Arthur S. Alexion on Mon, 5 Aug 2002 16:30:09 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] hdparm problem


Following a recent thread, and reading the cited URLs, I added the 
following lines to /etc/rc.d/rc.local

hdparm -c1 /dev/hde
hdparm -d1 -X66 /dev/hde
hdparm -m 16 /dev/hde

so as to set those parameters on boot up.  The parameters have provided 
a very significant boost in HD i/o speed.  However, I have a weird 
problem.  When I first boot up, the machine locks as soon as the above 
commands are executed.  If I press the hardware reset button on the 
case, the machine boots fine, executing the lines quickly, then going 
to a login prompt.

This behavior is consistent.  There is a lockup on EVERY FIRST BOOT and 
NEVER A PROBLEM on reboot.  Any ideas?

I should mention that I boot from a drive that returns the following 
from hdparm -i

 Model=Maxtor 5T040H4, FwRev=TAH71DP0, SerialNo=T4J4KEFC
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=80043264
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2
 AdvancedPM=yes: disabled (255)
 Drive Supports : ATA/ATAPI-6 T13 1410D revision 0 : ATA-1 ATA-2 ATA-3 
ATA-4 ATA-5 ATA-6

It's on a Maxtor/Promise ATA/100 PCI card.

Based on the documents that I read the parameters I am using are 
supported by this drive.  Further, it runs very well on reboot.

Again, any ideas?
-- 

_______________________________
Art Alexion
Arthur S. Alexion LLC
mailto:arthur@alexion.com
http://www.alexion.com
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug