Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

badblocks

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
grogoreo



Joined: Tue Apr 12, 2005 7:46 pm
Posts: 11
Location: www.grogoreo.co.uk

PostPosted: Mon Jul 04, 2005 12:26 am    Post subject: badblocks Reply with quote

hi

For some reason when I do
Code:
sudo badblocks -c 512 /dev/hde

it stops at 35. The drive is SATA and I'm trying to install Ubuntu on it but it won't let me format it.

Here is the content from the smartmontools command smartctl on /dev/hde

Quote:
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: Maxtor 6Y160M0
Serial Number: Y489S3RE
Firmware Version: YAR51HW0
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
Local Time is: Sun Jul 3 21:40:22 2005 UTC
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: (0x80) Offline data collection activity was
never started.
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: ( 302) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 72) 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
3 Spin_Up_Time 0x0027 206 205 063 Pre-fail Always - 12723
4 Start_Stop_Count 0x0032 253 253 000 Old_age Always - 65
5 Reallocated_Sector_Ct 0x0033 252 252 063 Pre-fail Always - 20
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail Offline - 0
7 Seek_Error_Rate 0x000a 253 252 000 Old_age Always - 0
8 Seek_Time_Performance 0x0027 253 249 187 Pre-fail Always - 36361
9 Power_On_Minutes 0x0032 253 253 000 Old_age Always - 252h+33m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 253 253 000 Old_age Always - 241
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age Always - 47
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 2521
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age Offline - 9
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age Offline - 0
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 252 000 Old_age Always - 5
202 TA_Increase_Count 0x000a 247 180 000 Old_age Always - 10
203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail Always - 18
204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age Always - 0
205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age Always - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0
209 Offline_Seek_Performnce 0x0024 194 194 000 Old_age Offline - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0

SMART Error Log Version: 1
Warning: ATA error count 2112 inconsistent with error log pointer 5

ATA Error Count: 2112 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Timestamp = decimal seconds since the previous disk power-on.
Note: timestamp "wraps" after 2^32 msec = 49.710 days.

Error 2112 occurred at disk power-on lifetime: 236 hours
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 40 00 00 e0 Error: UNC at LBA = 0x00000040 = 64

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
29 00 08 40 00 00 e0 00 6567.584 READ MULTIPLE EXT
29 00 08 40 00 00 e0 00 6566.736 READ MULTIPLE EXT
c6 00 10 00 00 00 e0 00 6566.720 SET MULTIPLE MODE
25 00 08 40 00 00 e0 04 6566.688 READ DMA EXT
25 00 08 40 00 00 e0 00 6564.720 READ DMA EXT

Error 2111 occurred at disk power-on lifetime: 236 hours
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 40 00 00 e0 Error: UNC at LBA = 0x00000040 = 64

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
29 00 08 40 00 00 e0 00 6566.736 READ MULTIPLE EXT
c6 00 10 00 00 00 e0 00 6566.720 SET MULTIPLE MODE
25 00 08 40 00 00 e0 04 6566.688 READ DMA EXT
25 00 08 40 00 00 e0 00 6564.720 READ DMA EXT
25 00 08 40 00 00 e0 00 6562.784 READ DMA EXT

Error 2110 occurred at disk power-on lifetime: 236 hours
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
01 51 08 40 00 00 e0 Error: AMNF 8 sectors at LBA = 0x00000040 = 64

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 08 40 00 00 e0 00 6564.720 READ DMA EXT
25 00 08 40 00 00 e0 00 6562.784 READ DMA EXT
10 00 3f 00 00 00 e0 00 6562.768 RECALIBRATE [OBS-4]
25 00 08 40 00 00 e0 00 6560.848 READ DMA EXT
25 00 08 40 00 00 e0 00 6558.880 READ DMA EXT

Error 2109 occurred at disk power-on lifetime: 236 hours
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
01 51 08 40 00 00 e0 Error: AMNF 8 sectors at LBA = 0x00000040 = 64

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 08 40 00 00 e0 00 6562.784 READ DMA EXT
10 00 3f 00 00 00 e0 00 6562.768 RECALIBRATE [OBS-4]
25 00 08 40 00 00 e0 00 6560.848 READ DMA EXT
25 00 08 40 00 00 e0 00 6558.880 READ DMA EXT
25 00 08 40 00 00 e0 00 6558.048 READ DMA EXT

Error 2108 occurred at disk power-on lifetime: 236 hours
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
01 51 08 40 00 00 e0 Error: AMNF 8 sectors at LBA = 0x00000040 = 64

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 08 40 00 00 e0 00 6560.848 READ DMA EXT
25 00 08 40 00 00 e0 00 6558.880 READ DMA EXT
25 00 08 40 00 00 e0 00 6558.048 READ DMA EXT
25 00 08 40 00 00 e0 00 6557.200 READ DMA EXT
25 00 08 38 00 00 e0 00 6556.336 READ DMA EXT

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


Thank you,
Greg
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
youlikeicecream
LXF regular


Joined: Fri Jun 03, 2005 12:40 pm
Posts: 721
Location: Oxford

PostPosted: Mon Jul 04, 2005 8:13 pm    Post subject: RE: badblocks Reply with quote

MAybe it doesn't like DMA,

the readouts at the end appear to be showing values in registers (x,y,z) the timestamp and the Command

eg

CR FR SC SN CL CH DH DC Timestamp Command
25 00 08 40 00 00 e0 00 6560.848 READ DMA EXT

and says that the data it has shown are the commands and data just prior to the command that gave the error.

generally SMART is testing DMA in some fashion just prior to an error occuring. Also if the smart test is giving errors, you may be looking at a dying disk that can't perform certain functions handed to it from the BIOS.

a solution may be to get another disk, see if it lets you install, if it does allow installation, your other disk is probably damaged, but you can test if you ghost the new disk to the old disk and see if it boots okay.


hope this is of some help to you
Mike Smile
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
grogoreo



Joined: Tue Apr 12, 2005 7:46 pm
Posts: 11
Location: www.grogoreo.co.uk

PostPosted: Tue Jul 05, 2005 1:16 pm    Post subject: RE: badblocks Reply with quote

hi

Thanks for the reply youlikeicecream. I'm going to try a program that Maxtor says you should use to check if it's alright. If it isn't, I'll send it to Maxtor.

Thanks,
Greg
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Tue Jul 05, 2005 8:54 pm    Post subject: RE: badblocks Reply with quote

Maxtor have a great reputation for failing with a few days left of the warranty. We had 10 Maxtor drives fail within a month before (out of 50 servers). We have switched to Segates now for their 5 year warrantys. Touch wood nothing has failed yet, but I'm not risking a RAID0 yet.
In the Maxtor diags run the short test first as this checks the smart logs and often picks up faults the extended test can't find.
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
enroute



Joined: Sun Jul 24, 2005 2:44 am
Posts: 1

PostPosted: Sun Jul 24, 2005 2:46 am    Post subject: Reply with quote

If your interested in selling your maxtor, please e-mail me at internetcats@hotmail.com.

Thanks much,

JJ
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast