You are not logged in.

#1 2019-07-25 02:17:50

1Disciple
Member
Registered: 2019-07-25
Posts: 2

[SOLVED] trouble reading disk - ata1.00: exception Emask 0x0 SAct 0x0

Hello,

To provide some context, 2 days ago, I was customizing my Acer TravelMate P245 Laptop. It has LVM on LUKS.

I installed betterlockscreen and after that, basic commands such as ls and cd gave: bash: /bin/ls: input/output error.

I did reboot -f since reboot alone wasn't working. I've had this error before and reboot -f would do the trick, but now my laptop gave me this screen.

laWe9Li.png

It just hangs there; I could not change tty nor shutdown using Ctrl+Alt+Del, so I hard shutdown.

I started laptop again to edit the commands run by grub and removed 'quiet' to see output: 

voI0wg3.jpg

I tried arch-chrooting in to try running systemctl status, but soon realized that systemd doesn't work like that lol.

I tried mounting to the -root directory which worked fine, but mounting to -home only gave the very long output of ata1.00...

Output of smartctl -a:

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.20.6-arch1-1-ARCH] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA (AF)
Device Model:     WDC WD3200BPVT-22JJ5T0
Serial Number:    WD-WX11E73ND692
LU WWN Device Id: 5 0014ee 65952afd1
Firmware Version: 01.01A01
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Wed Jul 24 03:28:31 2019 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: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

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: 		( 8100) 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: 	 (  82) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	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       -       0
  3 Spin_Up_Time            0x0027   144   141   021    Pre-fail  Always       -       1800
  4 Start_Stop_Count        0x0032   089   089   000    Old_age   Always       -       11873
  5 Reallocated_Sector_Ct   0x0033   134   134   140    Pre-fail  Always   FAILING_NOW 558
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       2
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       2318
 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   099   099   000    Old_age   Always       -       1640
191 G-Sense_Error_Rate      0x0032   001   001   000    Old_age   Always       -       975
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       72
193 Load_Cycle_Count        0x0032   157   157   000    Old_age   Always       -       130916
194 Temperature_Celsius     0x0022   113   101   000    Old_age   Always       -       30
196 Reallocated_Event_Count 0x0032   091   091   000    Old_age   Always       -       109
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
Warning: ATA error count 49851 inconsistent with error log pointer 2

ATA Error Count: 49851 (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]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 49851 occurred at disk power-on lifetime: 2318 hours (96 days + 14 hours)
  When the command that caused the error occurred, the device was in standby mode.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      00:05:01.000  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.999  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:05:00.998  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      00:05:00.997  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.996  IDENTIFY DEVICE

Error 49850 occurred at disk power-on lifetime: 2318 hours (96 days + 14 hours)
  When the command that caused the error occurred, the device was in standby mode.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 46 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 a0 00      00:05:00.998  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      00:05:00.997  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.996  IDENTIFY DEVICE
  c8 00 00 00 00 00 e0 00      00:05:00.964  READ DMA
  ef 10 02 00 00 00 a0 00      00:05:00.962  SET FEATURES [Enable SATA feature]

Error 49849 occurred at disk power-on lifetime: 2318 hours (96 days + 14 hours)
  When the command that caused the error occurred, the device was in standby mode.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      00:05:00.997  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.996  IDENTIFY DEVICE
  c8 00 00 00 00 00 e0 00      00:05:00.964  READ DMA
  ef 10 02 00 00 00 a0 00      00:05:00.962  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.961  IDENTIFY DEVICE

Error 49848 occurred at disk power-on lifetime: 2318 hours (96 days + 14 hours)
  When the command that caused the error occurred, the device was in standby mode.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 00 00 00 00 e0  Device Fault; Error: ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 00 00 00 e0 00      00:05:00.964  READ DMA
  ef 10 02 00 00 00 a0 00      00:05:00.962  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.961  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:05:00.961  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      00:05:00.960  SET FEATURES [Enable SATA feature]

Error 49847 occurred at disk power-on lifetime: 2318 hours (96 days + 14 hours)
  When the command that caused the error occurred, the device was in standby mode.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      00:05:00.962  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.961  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:05:00.961  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      00:05:00.960  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      00:05:00.959  IDENTIFY DEVICE

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.

output of hdparm -I:

/dev/sdb:

ATA device, with non-removable media
	Model Number:       WDC WD3200BPVT-22JJ5T0                  
	Serial Number:      WD-WX11E73ND692
	Firmware Revision:  01.01A01
	Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:    16514064
	LBA    user addressable sectors:   268435455
	LBA48  user addressable sectors:   625142448
	Logical  Sector size:                   512 bytes
	Physical Sector size:                  4096 bytes
	Logical Sector-0 offset:                  0 bytes
	device size with M = 1024*1024:      305245 MBytes
	device size with M = 1000*1000:      320072 MBytes (320 GB)
	cache/buffer size  = 8192 KBytes
	Nominal Media Rotation Rate: 5400
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: 96
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	    	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	{READ,WRITE}_DMA_EXT_GPL commands
	   *	Segmented DOWNLOAD_MICROCODE
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Gen2 signaling speed (3.0Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	   *	Idle-Unload when NCQ is active
	   *	NCQ priority information
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Write Same (AC2)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
	    	unknown 206[14] (vendor specific)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
		frozen
	not	expired: security count
		supported: enhanced erase
	82min for SECURITY ERASE UNIT. 82min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee65952afd1
	NAA		: 5
	IEEE OUI	: 0014ee
	Unique ID	: 65952afd1
Checksum: correct

I know that I need to find a way to run systemctl status etc, but I can't even log in to get a command line, is there some way I need to manipulate the grub to get the output?

Last edited by 1Disciple (2019-07-26 04:30:48)

Offline

#2 2019-07-25 05:58:04

frostschutz
Member
Registered: 2013-11-15
Posts: 1,418

Re: [SOLVED] trouble reading disk - ata1.00: exception Emask 0x0 SAct 0x0

you need a new drive, no way around it

if you need data off the failed drive... ddrescue is your only hope

Offline

#3 2019-07-25 06:18:24

seth
Member
Registered: 2012-09-03
Posts: 51,272

Re: [SOLVED] trouble reading disk - ata1.00: exception Emask 0x0 SAct 0x0

+1 - the disk is dead.

Also stop booting from the drive - ddrescue should be the next thing that accesses it.

Also, the drive doesn't seem that old (unless somebody tampered w/ the smart data) but

191 G-Sense_Error_Rate      0x0032   001   001   000    Old_age   Always       -       975

suggests that the problems stem from some rough environment/handling. If you cannot treat it better (because it's used in a shaky environment) you're much better off w/ an SSD.

Offline

#4 2019-07-25 06:42:54

frostschutz
Member
Registered: 2013-11-15
Posts: 1,418

Re: [SOLVED] trouble reading disk - ata1.00: exception Emask 0x0 SAct 0x0

well the device has seen some use if the keyboard imprints on the display are anything to judge by :-)

unfortunately such things are rather normal for a laptop you take with you everywhere

SSDs are great but SSDs fail too so - backups, backups, backups

Offline

#5 2019-07-26 04:29:51

1Disciple
Member
Registered: 2019-07-25
Posts: 2

Re: [SOLVED] trouble reading disk - ata1.00: exception Emask 0x0 SAct 0x0

so the resolve is to use ddrescue to try recovering the disk, consider getting an SSD as a replacement, and overall handle my disks with more care.

i did not know about ddrescue nor the fact that hdds could be so fragile, let alone smartctl that can count errors from rough handling

thanks!

Offline

Board footer

Powered by FluxBB