Custom Query (1556 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (289 - 291 of 1556)

Ticket Resolution Summary Owner Reporter
#1501 invalid Buffer I/O error logical block async page read (TOSHIBA MQ01ABD100) 4joeyirosh1
Description

Hi!I have Debian 11 64 bit installed on my machine.

When I booted my machine today,I got the errors below during boot.Please find the output of the smartctl command below

# smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-7-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MQ01ABD...
Device Model:     TOSHIBA MQ01ABD100
Serial Number:    87PSPGCKT
LU WWN Device Id: 5 000039 7f2f0a12f
Firmware Version: AX1R4C
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jun 12 19:55:38 2021 EAT
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:  (0x86)	Offline data collection activity
					was aborted by the device with a fatal error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(  120) seconds.
Offline data collection
capabilities: 			 (0x51) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 199) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control 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   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0027   100   100   050    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0023   100   100   002    Pre-fail  Always       -       1762
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3079
  5 Reallocated_Sector_Ct   0x0033   099   099   010    Pre-fail  Always       -       320
  7 Seek_Error_Rate         0x002f   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   058   058   000    Old_age   Always       -       17022
 10 Spin_Retry_Count        0x0033   161   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2919
183 Runtime_Bad_Block       0x0032   100   100   001    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
185 Unknown_Attribute       0x0032   100   100   001    Old_age   Always       -       65535
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       1653
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   001    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   067   052   040    Old_age   Always       -       33 (Min/Max 28/42)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       213
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       5308497
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       5737
194 Temperature_Celsius     0x0022   067   052   040    Old_age   Always       -       33 (Min/Max 28/42)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       36
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 1653 (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 1653 occurred at disk power-on lifetime: 17011 hours (708 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 d0 06 f6 7f 40  Error: UNC at LBA = 0x007ff606 = 8386054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 f8 d8 86 f6 7f 40 00      01:02:19.290  READ FPDMA QUEUED
  60 08 d0 06 f6 7f 40 00      01:02:19.290  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      01:02:19.282  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:02:19.281  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      01:02:19.281  SET FEATURES [Set transfer mode]

Error 1652 occurred at disk power-on lifetime: 17011 hours (708 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 28 06 f6 7f 40  Error: UNC at LBA = 0x007ff606 = 8386054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 f8 30 86 f6 7f 40 00      01:02:19.070  READ FPDMA QUEUED
  60 08 28 06 f6 7f 40 00      01:02:19.070  READ FPDMA QUEUED
  ef 10 03 00 00 00 a0 00      01:02:19.058  SET FEATURES [Enable SATA feature]
  ef 10 02 00 00 00 a0 00      01:02:19.046  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:02:19.045  IDENTIFY DEVICE

Error 1651 occurred at disk power-on lifetime: 17011 hours (708 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 f8 06 f6 7f 40  Error: UNC at LBA = 0x007ff606 = 8386054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 f8 00 86 f6 7f 40 00      01:02:18.597  READ FPDMA QUEUED
  60 78 f8 06 f6 7f 40 00      01:02:18.597  READ FPDMA QUEUED
  60 30 b8 c6 f5 7f 40 00      01:02:18.597  READ FPDMA QUEUED
  60 10 b0 a6 f5 7f 40 00      01:02:18.597  READ FPDMA QUEUED
  60 08 a8 8e f5 7f 40 00      01:02:18.597  READ FPDMA QUEUED

Error 1650 occurred at disk power-on lifetime: 17011 hours (708 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 08 06 f6 7f 40  Error: UNC at LBA = 0x007ff606 = 8386054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 20 50 1e a6 94 40 00      01:02:04.069  READ FPDMA QUEUED
  60 02 08 06 f6 7f 40 00      01:02:04.060  READ FPDMA QUEUED
  60 02 18 0c f6 7f 40 00      01:02:04.027  READ FPDMA QUEUED
  60 00 10 1e 89 95 40 00      01:02:04.027  READ FPDMA QUEUED
  60 60 08 1e f6 7f 40 00      01:02:04.027  READ FPDMA QUEUED

Error 1649 occurred at disk power-on lifetime: 17011 hours (708 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 e0 06 f6 7f 40  Error: UNC at LBA = 0x007ff606 = 8386054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 48 1e 89 95 40 00      01:02:03.896  READ FPDMA QUEUED
  60 02 00 0c f6 7f 40 00      01:02:03.872  READ FPDMA QUEUED
  60 02 f0 0a f6 7f 40 00      01:02:03.872  READ FPDMA QUEUED
  60 02 e8 08 f6 7f 40 00      01:02:03.872  READ FPDMA QUEUED
  60 02 e0 06 f6 7f 40 00      01:02:03.872  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     17008         209712646
# 2  Short offline       Completed: read failure       90%     17008         209712646
# 3  Short offline       Completed without error       00%      6747         -
# 4  Short offline       Completed without error       00%      6747         -
# 5  Short offline       Completed without error       00%      6747         -
# 6  Extended offline    Aborted by host               90%      6747         -

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 dmesg from linux is as below

# dmesg
[ 8431.341307] sd 0:0:0:0: [sda] tag#13 Sense Key : Medium Error [current]
[ 8431.341316] sd 0:0:0:0: [sda] tag#13 Add. Sense: Unrecovered read error - auto reallocate failed
[ 8431.341327] sd 0:0:0:0: [sda] tag#13 CDB: Read(10) 28 00 0c 7f f6 06 00 00 08 00
[ 8431.341340] blk_update_request: I/O error, dev sda, sector 209712646 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 8431.341358] Buffer I/O error on dev sda6, logical block 17, async page read
[ 8431.341415] ata1: EH complete
[ 8432.438648] ata1.00: exception Emask 0x0 SAct 0x8000000 SErr 0x40000 action 0x0
[ 8432.438653] ata1.00: irq_stat 0x40000008
[ 8432.438656] ata1: SError: { CommWake }
[ 8432.438659] ata1.00: failed command: READ FPDMA QUEUED
[ 8432.438664] ata1.00: cmd 60/08:d8:00:f6:7f/00:00:0c:00:00/40 tag 27 ncq dma 4096 in
                        res 41/40:00:06:f6:7f/00:00:0c:00:00/40 Emask 0x409 (media error) <F>
[ 8432.438666] ata1.00: status: { DRDY ERR }
[ 8432.438668] ata1.00: error: { UNC }
[ 8432.441244] ata1.00: configured for UDMA/100
[ 8432.441258] sd 0:0:0:0: [sda] tag#27 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 8432.441260] sd 0:0:0:0: [sda] tag#27 Sense Key : Medium Error [current]
[ 8432.441262] sd 0:0:0:0: [sda] tag#27 Add. Sense: Unrecovered read error - auto reallocate failed
[ 8432.441264] sd 0:0:0:0: [sda] tag#27 CDB: Read(10) 28 00 0c 7f f6 00 00 00 08 00

What do these errors mean and how can I resolve them.Seems there is a disk I/O error and I hope I dont have to replace the disk. /dev/sda6 is my /home partition and I have manged to boot my OS and reach the gnome desktop and somehow I am able to work normally but the disk I/O issues concern me.

Please help

#1217 fixed Buffer length for message is not enough on macOS mahori
Description

DEVICESCAN is specified on macOS, devices are recognized as follows:

IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@17/AppleIntelPchSeriesAHCI/PRT1@1/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice

Because the device name is too long, buffer length for message is not enough.

Example:

The following warning/error was logged by the smartd daemon:

Device: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP21@1B,4/IOPP/PXSX@0/IOPP/pci-bridge@4/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/pci1b21,625@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice, ATA error count inc

Device info:
ST8000DM004-2CX188, S/N:WCT1NET7, WWN:5-000c50-0c00c0c0a, FW:0001, 8.00 TB
#1934 fixed Buffer overflow in scsi_decode_lu_dev_id Ross Lagerwall
Description

Hi, I encountered a buffer overflow in smartd:

(gdb) bt
#0  0x00007f70d94031d4 in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007f70d93b0b8e in raise () from /lib64/libc.so.6
#2  0x00007f70d9399378 in abort () from /lib64/libc.so.6
#3  0x00007f70d939a428 in __libc_message_impl.cold () from /lib64/libc.so.6
#4  0x00007f70d947a0a9 in __fortify_fail () from /lib64/libc.so.6
#5  0x00007f70d9479a54 in __chk_fail () from /lib64/libc.so.6
#6  0x00007f70d947b135 in __snprintf_chk () from /lib64/libc.so.6
#7  0x0000555d9d10ca59 in snprintf (__fmt=0x555d9d16b101 "%02x", __n=18446744073709551614, __s=0x7ffd540faa52 "") at /usr/include/bits/stdio2.h:68
#8  scsi_decode_lu_dev_id (slen=64, transport=0x0, s=0x7ffd540faa10 "0x600a098038313577792450384a4a62750x2450384a4a62750000a09838313", blen=<optimized out>, b=0x7ffd540fac94 "\002\001") at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/scsicmds.cpp:793
#9  SCSIDeviceScan (cfg=..., state=..., scsidev=<optimized out>, prev_cfgs=prev_cfgs@entry=0x7ffd54100800) at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/smartd.cpp:2462
#10 0x0000555d9d11420a in register_device (prev_cfgs=<optimized out>, dev=..., state=..., cfg=...) at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/smartd.cpp:5604
#11 register_devices (conf_entries=..., scanned_devs=..., configs=..., states=..., devices=...) at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/smartd.cpp:5694
#12 0x0000555d9d11d8a1 in main_worker (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/smartd.cpp:5792
#13 0x0000555d9d105ac2 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/smartmontools-7.4-4.xs9.x86_64/smartd.cpp:5942 

It is triggered by a device with the following VPD 0x83 page:

$ sg_vpd -p 0x83 /dev/sdb
Device Identification VPD page:
  Addressed logical unit:
    designator type: T10 vendor identification,  code set: ASCII
      vendor id: NETAPP  
      vendor specific:  LUN 815wy$P8JJbu       
    designator type: NAA,  code set: Binary
      0x600a098038313577792450384a4a6275
    designator type: EUI-64 based,  code set: Binary
      0x2450384a4a62750000a0983831357779
  Target port:
    designator type: NAA,  code set: Binary
      0x600a098000000001200500a098f5f6d0
    designator type: Relative target port,  code set: Binary
      Relative target port: 0x12
    designator type: Target port group,  code set: Binary
      Target port group: 0x3e8
  Target device that contains addressed lu:
    designator type: SCSI name string,  code set: UTF-8
      SCSI name string:
      naa.600A098038313577792450384A4A626E

$ sg_vpd --hex -p 0x83 /dev/sdb
Device Identification VPD page:
 00     00 83 00 9c 02 01 00 20  4e 45 54 41 50 50 20 20    ....... NETAPP  
 10     20 4c 55 4e 20 38 31 35  77 79 24 50 38 4a 4a 62     LUN 815wy$P8JJb
 20     75 20 20 20 20 20 20 20  01 03 00 10 60 0a 09 80    u       ....`...
 30     38 31 35 77 79 24 50 38  4a 4a 62 75 01 02 00 10    815wy$P8JJbu....
 40     24 50 38 4a 4a 62 75 00  00 a0 98 38 31 35 77 79    $P8JJbu....815wy
 50     01 13 00 10 60 0a 09 80  00 00 00 01 20 05 00 a0    ....`....... ...
 60     98 f5 f6 d0 01 14 00 04  00 00 00 12 01 15 00 04    ................
 70     00 00 03 e8 03 28 00 28  6e 61 61 2e 36 30 30 41    .....(.(naa.600A
 80     30 39 38 30 33 38 33 31  33 35 37 37 37 39 32 34    0980383135777924
 90     35 30 33 38 34 41 34 41  36 32 36 45 00 00 00 00    50384A4A626E....

I have attached a couple of patches to fix the issue.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.