On Sun, Apr 18, 2010 at 4:10 PM, Mark Knecht <markkne...@gmail.com> wrote: > On Sun, Apr 18, 2010 at 3:19 PM, pk <pete...@coolmail.se> wrote: >> On 2010-04-18 19:43, Mark Knecht wrote: >> >>>> suspicion is that Linux is doing something that wakes the drive up >>>> once every two minutes and then lets the drive go back to sleep. That >> >> Sounds a bit like: >> http://lwn.net/Articles/257426/ >> >> Although it may be different in your case... >> >> Best regards >> >> Peter K > > Yeah, does sound very similar. A few others have mentioned this in the > past but I've not yet discovered what Gentoo or specifically my kernel > config might have done to set it off. > > gandalf linux # date && smartctl -A /dev/sda | grep Load_Cycle_Count > Sun Apr 18 16:08:16 PDT 2010 > 193 Load_Cycle_Count 0x0032 187 187 000 Old_age > Always - 41929 > gandalf linux # > > I'd experiment with the hdparm command but it doesn't work. Maybe > there's somethign else I need to do first or something: > > gandalf linux # hdparm -B 254 /dev/sda > > /dev/sda: > setting Advanced Power Management level to 0xfe (254) > HDIO_DRIVE_CMD failed: Input/output error > HDIO_DRIVE_CMD(identify) failed: Input/output error > gandalf linux # > > hdparm does work though: > > gandalf linux # hdparm -tT /dev/sda > > /dev/sda: > Timing cached reads: 11552 MB in 2.00 seconds = 5779.10 MB/sec > Timing buffered disk reads: 314 MB in 3.00 seconds = 104.50 MB/sec > gandalf linux # > > Thanks, > Mark >
It seems that this possibly doesn't APM... gandalf linux # hdparm -i /dev/sda /dev/sda: Model=WDC WD10EARS-00Y5B1, FwRev=80.00A80, SerialNo=WD-WCAV55464493 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=no WriteCache=enabled Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7 * signifies the current active mode gandalf linux #