Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-16-2010, 09:32 AM
#1
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Rep:
is my harddisk dying?
This is a block of dmesg:
Code:
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:10:47:97:85/00:00:09:00:00/40 tag 2 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:00:47:97:85/00:00:09:00:00/40 tag 0 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:10:47:97:85/00:00:09:00:00/40 tag 2 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:00:47:97:85/00:00:09:00:00/40 tag 0 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:10:47:97:85/00:00:09:00:00/40 tag 2 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/08:00:47:97:85/00:00:09:00:00/40 tag 0 ncq 4096 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
sd 3:0:0:0: [sda] Unhandled sense code
sd 3:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 3:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
09 85 97 48
sd 3:0:0:0: [sda] ASC=0x11 ASCQ=0x4
sd 3:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 09 85 97 47 00 00 08 00
end_request: I/O error, dev sda, sector 159749960
Buffer I/O error on device sda1, logical block 159749897
Buffer I/O error on device sda1, logical block 159749898
Buffer I/O error on device sda1, logical block 159749899
Buffer I/O error on device sda1, logical block 159749900
Buffer I/O error on device sda1, logical block 159749901
Buffer I/O error on device sda1, logical block 159749902
Buffer I/O error on device sda1, logical block 159749903
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
ata4.00: irq_stat 0x40000008
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/07:00:48:97:85/00:00:09:00:00/40 tag 0 ncq 3584 in
res 41/40:00:48:97:85/00:00:09:00:00/40 Emask 0x409 (media error) <F>
ata4.00: status: { DRDY ERR }
ata4.00: error: { UNC }
ata4.00: configured for UDMA/133
sd 3:0:0:0: [sda] Unhandled sense code
sd 3:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 3:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
09 85 97 48
sd 3:0:0:0: [sda] ASC=0x11 ASCQ=0x4
sd 3:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 09 85 97 48 00 00 07 00
end_request: I/O error, dev sda, sector 159749960
Buffer I/O error on device sda1, logical block 159749897
Buffer I/O error on device sda1, logical block 159749898
Buffer I/O error on device sda1, logical block 159749899
Buffer I/O error on device sda1, logical block 159749900
Buffer I/O error on device sda1, logical block 159749901
Buffer I/O error on device sda1, logical block 159749902
Buffer I/O error on device sda1, logical block 159749903
ata4: EH complete
10-16-2010, 09:52 AM
#2
Member
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778
Rep:
It looks it does. What SMART says? (smartctl [Dev Name]). And is your harddisk securely placed? Small vibrations may cause reading instabilities but that's really unlikely. Back up your data. How old is the harddisk?.
10-16-2010, 10:34 AM
#3
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Original Poster
Rep:
My harddisk is well placed. And I have tried to replace the cable without help. I bought this new harddisk about 4 months ago.
here is the result of smartctl --all /dev/sda
Code:
smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: WDC WD10EARS-00Y5B1
Serial Number: WD-WCAV57518085
Firmware Version: 80.00A80
User Capacity: 1,000,204,886,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Oct 16 23:24:41 2010 CST
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: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
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: (18960) 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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 219) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x3031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
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 0x002f 200 200 051 Pre-fail Always - 1951
3 Spin_Up_Time 0x0027 129 127 021 Pre-fail Always - 6550
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 548
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 2536
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 544
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 75
193 Load_Cycle_Count 0x0032 154 154 000 Old_age Always - 139120
194 Temperature_Celsius 0x0022 111 096 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 80
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 127
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 156
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Conveyance offline Completed without error 00% 1818 -
# 2 Short offline Completed without error 00% 1798 -
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.
10-16-2010, 11:00 AM
#4
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
Now, you have 127 bad sectors and 80 sectors suspected to be damaged. It's time to seriously think about a full backup and buying a new hard drive. Sorry!
10-16-2010, 11:22 AM
#5
Member
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778
Rep:
Quote:
Originally Posted by
Darth Vader
Now, you have 127 bad sectors and 80 sectors suspected to be damaged. It's time to seriously think about a full backup and buying a new hard drive. Sorry!
And do it quickly. HDDs dies in radom intervals. It can go kaput at any given time now. Don't loose any time.
10-16-2010, 12:31 PM
#6
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Try a smartctl long test: 'smartctl -t long /dev/sda'
10-16-2010, 07:56 PM
#7
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Original Poster
Rep:
Thanks for pointing out. This is really horrible considering that it is a new hard disk.
I ran a a smartctl long test: 'smartctl -t long /dev/sda', but do not know where to collect the output/result.
10-16-2010, 08:13 PM
#8
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
Just do a dump of "smartctl --all /dev/sda" for our eyes pleasure.
BTW, the long test don't fix anything and will abort on first problem. Consider to buy a new hard drive quickly.
10-16-2010, 08:15 PM
#9
LQ Newbie
Registered: Sep 2010
Location: Costa Rica
Distribution: SalineOS 1.5
Posts: 20
Rep:
Just get another drive. These daze they are chump change.
10-17-2010, 04:21 AM
#10
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Original Poster
Rep:
Thanks for everyone. I have bought another harddisk.
10-17-2010, 05:13 AM
#11
Member
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778
Rep:
Quote:
Originally Posted by
kite
Thanks for everyone. I have bought another harddisk.
Was the original HDD in the guarantee? They may give you a nice disk.
10-17-2010, 05:30 AM
#12
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Original Poster
Rep:
Yes, I think so. I bought the old one in March 2010. Then I will have an extra harddisk for backup purpose. thanks a lot.
10-17-2010, 06:29 AM
#13
Member
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459
Rep:
I would have used spinrite on it and see if it can sort it out... ! Google for the free one.
All times are GMT -5. The time now is 05:44 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News