Persistent laptop drive clicking in kernels since 2006

Bug #164721 reported by Joseph Wolff on 2007-11-23
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fedora
Invalid
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Several laptops with various versions of Ubuntu all exhibit the same behaviour (but not the same as #104535, #59695):

- the drive clicks every few seconds, starting only after being powered on for some time.

- Nothing I can see is accessing the disk, despite attempting to log it

- no commands / nothing I can do will stop it

- it repeatably seems to be severely shortening the life of the drives, I have lost three drives in the past 11 months.

I have been a desktop (and laptop) user since 2001, and have noticed this problem ONLY since mid-late 2006. I have observed in Ubuntu Dapper, Edgy, and Feisty. I have also observed it in Fedora (again, only in later kernels, such as those found in FC6 or F7).

Other sources I have read about on the web have also observed this in kernels only since a certain release (2.6.x, as I recall).

I have lost AT LEAST THREE drives (different brands, Hitachi, IBM, and Fujitsu) since 2006, and the drive in my current laptop is now going (see below).

My company is an Ubuntu partner, and we are supposed to know these things, yet I have not been able to make progress on this.

Note that this is NOT the problem listed in either of: #104535, #59695 - because:

- the Load_Cycle_Count is steady at 4073 and has not changed / does not change.

- the hdparm -B 255 /dev/hda and hdparm -M 128 /dev/hda commands have NO EFFECT on the clicking

- the drive light comes on when clicking, for about 3/4 second each time - seemingly indicating that it is the OS hitting the drive.

Following are some repeated smartctl reports done in rapid successions, showing the load_ctl constant, but other errors increasing:

- - - - -

root@joe-laptop:/home/joe# smartctl -A -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 179858
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 711
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17743618
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 47 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2180
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 20780
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732294007280

root@joe-laptop:/home/joe# smartctl -A -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 179858
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 715
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17743625
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 47 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2180
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 20784
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732301281760

root@joe-laptop:/home/joe# smartctl -A -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 182257
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 931
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17743669
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 47 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2198
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 21002
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732298463925

root@joe-laptop:/home/joe# smartctl -A -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 89181
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 2076
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17744511
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 46 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 1481
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 21802
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732295973444

root@joe-laptop:/home/joe# smartctl -A -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 104954
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 2848
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17745379
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 46 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 1680
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 22570
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732306590247

root@joe-laptop:/home/joe# smartctl -a -d ata /dev/hda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: FUJITSU MHV2100AH
Serial Number: NT60T6B28E2T
Firmware Version: 000000A0
User Capacity: 100,030,242,816 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a
Local Time is: Fri Nov 23 08:41:58 2007 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection: ( 544) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
                                        No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 69) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 104954
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 26869760
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 616
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 2850
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 17745385
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 590
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4073
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 46 (Lifetime Min/Max 18/60)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 1680
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 458686464
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 22574
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 3732287650371

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
    1 0 0 Not_testing
    2 0 0 Not_testing
    3 0 0 Not_testing
    4 0 0 Not_testing
    5 0 0 Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

root@joe-laptop:/home/joe#

Rocko (rockorequin) wrote :

Just in case, have you tried hdparm -B 254 /dev/hda instead of 255, ie just in case the reported load cycle count of 4073 is not a correct representation? I think the last figure in each line is left up to the drive manufacturer to define (eg one of my drive's "temperature celcius" readings from smartctl reports as 906887219).

Buried way deep in bug 59695, someone pointed out that 255 isn't an officially defined setting. 255 doesn't make any difference to load cycles frequency on my drive, but 254 sure does.

Tom Musgrove (letterrip) wrote :
Download full text (7.0 KiB)

I also get the frequent click without the increase in load_cycle_count,

the hard drive click isn't quite as long

here is my smartctl -A -d ata /dev/hda4

output

smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 121131
  2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 27394048
  3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
  4 Start_Stop_Count 0x0032 097 097 000 Old_age Always - 12260
  5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
  7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 3179
  8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0
  9 Power_On_Seconds 0x0032 091 091 000 Old_age Always - 4695h+37m+30s
 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1703
192 Power-Off_Retract_Count 0x0032 098 098 000 Old_age Always - 551
193 Load_Cycle_Count 0x0032 095 095 000 Old_age Always - 105840
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 31 (Lifetime Min/Max 8/50)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2649
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 438042624
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 4440
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 2632768486980
240 Head_Flying_Hours 0x003e 200 200 000 Old_age Always - 0

and smartctrl -a /dev/hda4

smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Fujitsu MHV series
Device Model: FUJITSU MHV2100BH PL
Serial Number: NWAET6C28VHG
Firmware Version: 00000029
User Capacity: 100,030,242,816 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a
Local Time is: Sat Mar 8 01:30:24 2008 AKST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-...

Read more...

Hi Joseph,

Can you confirm if this is still an issue with the most recent Intrepid Ibex 8.10 release? Thanks.

Odd, Joe responded but it didn't show up in the bug report. Am pasting his response below:

"Leann,

Yes it is still an issue, the drive still clicks every 4-8 seconds or so.

I am on Intrepid Ibex, with this kernel:

> joe@joe-laptop:~$ uname -a
> Linux joe-laptop.truepost.com 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
> joe@joe-laptop:~$

Let me know if you'd like me to work directly with a developer to try to
debug the problem, I'd be happy to.

Best regards,
Joe"

Joe, would you be willing to do one more test and confirm this issue remains with the actively developed pre-release of Jaunty (currently Alpha4) - http://cdimage.ubuntu.com/releases/jaunty/ . I'd imagine you should be able to test using a LiveCD. Thanks in advance.

Not sure if the last bit about testing Jaunty was seen in the previous comment. . .The most recent Jaunty Jackalope 9.04 release is now available - http://www.ubuntu.com/getubuntu/download . If the issue remains, please run the following from a terminal (https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies).

apport-collect -p linux-image-`uname -r` 164721

Additionally this seems like it might be and issue which exists in the usptream kernel. The Ubuntu kernel team has started packaging upstream kernel builds for testing. https://wiki.ubuntu.com/KernelMainlineBuilds . I'd suggest testing the 2.6.29.2 stable kernel as well as the latest 2.6.30-rc3 release candidate. If the issue exists with the upstream kernels it's something that should likely be reported ti the upstream devs as well.

I'm also going to close the Fedora bug watch as it does not appear to have a reference bug #. Thanks.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in fedora:
status: New → Invalid
MDCollier (michael-d-collier) wrote :

No clicking until I upgraded to 9.10. Now constant, about 1/second. I've been leaving the computer on 24/7, but I suppose I should stop if it's going to burn up the drive?

Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers