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