Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Winchester Digital HD: Advanced Format
Date: Mon, 19 Apr 2010 00:03:13
Message-Id: i2l5bdc1c8b1004181610n6ac850b4j9fce81013b2426c@mail.gmail.com
In Reply to: Re: [gentoo-user] Winchester Digital HD: Advanced Format by pk
1 On Sun, Apr 18, 2010 at 3:19 PM, pk <peterk2@××××××××.se> wrote:
2 > On 2010-04-18 19:43, Mark Knecht wrote:
3 >
4 >>> suspicion is that Linux is doing something that wakes the drive up
5 >>> once every two minutes and then lets the drive go back to sleep. That
6 >
7 > Sounds a bit like:
8 > http://lwn.net/Articles/257426/
9 >
10 > Although it may be different in your case...
11 >
12 > Best regards
13 >
14 > Peter K
15
16 Yeah, does sound very similar. A few others have mentioned this in the
17 past but I've not yet discovered what Gentoo or specifically my kernel
18 config might have done to set it off.
19
20 gandalf linux # date && smartctl -A /dev/sda | grep Load_Cycle_Count
21 Sun Apr 18 16:08:16 PDT 2010
22 193 Load_Cycle_Count 0x0032 187 187 000 Old_age
23 Always - 41929
24 gandalf linux #
25
26 I'd experiment with the hdparm command but it doesn't work. Maybe
27 there's somethign else I need to do first or something:
28
29 gandalf linux # hdparm -B 254 /dev/sda
30
31 /dev/sda:
32 setting Advanced Power Management level to 0xfe (254)
33 HDIO_DRIVE_CMD failed: Input/output error
34 HDIO_DRIVE_CMD(identify) failed: Input/output error
35 gandalf linux #
36
37 hdparm does work though:
38
39 gandalf linux # hdparm -tT /dev/sda
40
41 /dev/sda:
42 Timing cached reads: 11552 MB in 2.00 seconds = 5779.10 MB/sec
43 Timing buffered disk reads: 314 MB in 3.00 seconds = 104.50 MB/sec
44 gandalf linux #
45
46 Thanks,
47 Mark

Replies

Subject Author
Re: [gentoo-user] Winchester Digital HD: Advanced Format Mark Knecht <markknecht@×××××.com>