Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HDParm settings not staying in place for more than 10 second
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bud1979
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2002
Posts: 122
Location: St. Louis

PostPosted: Sat Aug 09, 2003 7:50 pm    Post subject: HDParm settings not staying in place for more than 10 second Reply with quote

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
View user's profile Send private message
bud1979
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2002
Posts: 122
Location: St. Louis

PostPosted: Sat Aug 09, 2003 8:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 10, 2003 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
ZX-81
Guru
Guru


Joined: 23 Jul 2003
Posts: 355
Location: Germany

PostPosted: Mon Aug 11, 2003 12:19 am    Post subject: Re: HDParm settings not staying in place for more than 10 se Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum