View previous topic :: View next topic |
Author |
Message |
bud1979 Tux's lil' helper
Joined: 11 Nov 2002 Posts: 122 Location: St. Louis
|
Posted: Sat Aug 09, 2003 7:50 pm Post subject: HDParm settings not staying in place for more than 10 second |
|
|
After i put in dma settings i want my computer hangs for a few seconds and then the settings look like this.
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4865/255/63, sectors = 78165360, start = 0
I have the dma enabled in the kernel and in the bios. Any ideas why it would just reset? Thanks |
|
Back to top |
|
|
bud1979 Tux's lil' helper
Joined: 11 Nov 2002 Posts: 122 Location: St. Louis
|
Posted: Sat Aug 09, 2003 8:13 pm Post subject: |
|
|
got it now. but how do you get it to work on boot up. I have edited /etc/conf.d/hdparm to what i wannt and added hdparm to default but when it boots it says that it fails applying hdparm to drive0 and drive1. Any thoughts? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 10, 2003 3:15 am Post subject: |
|
|
You need support for your IDE controller chip compiled in the kernel if you want DMA to work. Use lspci to see what hardware you have :
Code: | # lspci
...
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
... |
Then select the correct one in menuconfig :
Code: | ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
[*] Use PCI DMA by default when available
[*] SiS5513 chipset support |
Once you have this, hdparm is usually not needed (it will boot with DMA already turned on). |
|
Back to top |
|
|
ZX-81 Guru
Joined: 23 Jul 2003 Posts: 355 Location: Germany
|
Posted: Mon Aug 11, 2003 12:19 am Post subject: Re: HDParm settings not staying in place for more than 10 se |
|
|
I had the same problem when compiling IDE chipset support as module and inserting it in modules.autoload. Seems to me as if the startup script executes its hdparm statement before modules.autoload. With linking IDE chipset support static in the kernel, it was ok. |
|
Back to top |
|
|
|