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

hdparm



Evening all.
I've been trying to get hdparm to work, but it seems ( I can not verify)
unsuccessfully.
I got 

Scorpio:/home/ryn# hdparm -i /dev/hda

/dev/hda:

 Model=WDC AC11000H, FwRev=12.07H12, SerialNo=WD-WT364
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq
}
 RawCHS=2046/16/63, TrkSize=57600, SectSize=600, ECCbytes=22
 BuffType=3(DualPortCache), BuffSize=128kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
 CurCHS=2046/16/63, CurSects=2062368, LBA=yes, LBAsects=2062368
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2 
 IORDY=on/off, tPIO={min:160,w/IORDY:120}, PIO modes: mode3 mode4

an IDE drive (one of my 3), and -i seems to work fine.
However, when I try to do

Scorpio:/home/ryn# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  32 MB in  7.46 seconds = 4.29 MB/sec
HDIO_DRIVE_CMD failed: Invalid argument

I get that HDIO_DRIVE error message. But it at least read the disk once.
Same error occurs when trying to 
Scorpio:/home/ryn# hdparm -S 120 /dev/hda

/dev/hda:
 setting standby to 120 (10 minutes)
 HDIO_DRIVE_CMD failed: Invalid argument

I guess my question is: What does that error mean, and is hdparm really
setting the sleep time, or does it quit with error message?
I guess I'd find out soon enough, but I want to know for sure.

TIA,
 Andrew



---------------------------------------------------------------------------
 Andrei S. Ivanov                  
 c680789@showme.missouri.edu       
 UIN 12402354                      
 http://members.tripod.com/AnSIv   <--Little things for Linux.


Reply to: