I can actually get an sata error pretty easy (different messaged thou): Steps:
1. run dd if=/dev/sdb of=/dev/null bs=1M (sdb attached to ata6). 2. Suspend the system to ram (I used the power button). 3. Wait to suspend. 4. Wake up the system after 2-5 secs. Result: Sata error messages below [706792.917607] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [706793.021631] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [706794.460778] ata6.00: exception Emask 0x52 SAct 0x1c0000 SErr 0x1000c00 action 0x6 frozen [706794.460786] ata6.00: irq_stat 0x08000000, interface fatal error [706794.460792] ata6: SError: { Proto HostInt TrStaTrns } [706794.460798] ata6.00: failed command: READ FPDMA QUEUED [706794.460812] ata6.00: cmd 60/78:90:88:c6:a4/01:00:00:00:00/40 tag 18 ncq dma 192512 in res 40/00:a4:48:cf:a4/00:00:00:00:00/40 Emask 0x52 (ATA bus error) [706794.460818] ata6.00: status: { DRDY } [706794.460823] ata6.00: failed command: READ FPDMA QUEUED [706794.460835] ata6.00: cmd 60/48:98:00:c8:a4/07:00:00:00:00/40 tag 19 ncq dma 954368 in res 40/00:a4:48:cf:a4/00:00:00:00:00/40 Emask 0x52 (ATA bus error) [706794.460841] ata6.00: status: { DRDY } [706794.460846] ata6.00: failed command: READ FPDMA QUEUED [706794.460855] ata6.00: cmd 60/b8:a0:48:cf:a4/00:00:00:00:00/40 tag 20 ncq dma 94208 in res 40/00:a4:48:cf:a4/00:00:00:00:00/40 Emask 0x52 (ATA bus error) [706794.460859] ata6.00: status: { DRDY } -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1800991 Title: Bad sata messages after upgrade to 4.15.0-41-generic on bionic Status in linux package in Ubuntu: Incomplete Bug description: Hi: After upgrading to latest 4.15.0-41 kernel on ubuntu bionic I start getting weird error messages on kernel log (see below) related to sata drive - in this case 128GB ssd drive. Couple of things - it happened after system get out from sleep state (s3), the hdd is ssd and it is a brand new one (I have bought it 2 weeks ago). System: asus rog G551JW-CN319D (cpu i7, 16GM ram, 128GB ssd, 1TB hdd) Kernel: Ubuntu 4.15.0-38.41-generic 4.15.18 [121459.829759] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [121459.831501] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded [121459.831505] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out [121459.831508] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out [121459.834767] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded [121459.834773] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out [121459.834777] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out [121459.836022] ata5.00: configured for UDMA/133 [121459.934847] IPv6: ADDRCONF(NETDEV_UP): enp5s0f1: link is not ready [121459.983752] r8169 0000:05:00.1 enp5s0f1: link down [121459.983923] IPv6: ADDRCONF(NETDEV_UP): enp5s0f1: link is not ready [121459.987018] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [121460.230787] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [121460.285034] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [121463.674998] wlp4s0: authenticate with 68:7f:74:3e:b0:b7 [121463.676976] wlp4s0: send auth to 68:7f:74:3e:b0:b7 (try 1/3) [121463.678951] wlp4s0: authenticated [121463.681714] wlp4s0: associate with 68:7f:74:3e:b0:b7 (try 1/3) [121463.684372] wlp4s0: RX AssocResp from 68:7f:74:3e:b0:b7 (capab=0x431 status=0 aid=3) [121463.687321] wlp4s0: associated [121464.754044] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready [121471.301682] ata6.00: exception Emask 0x10 SAct 0x6fffffff SErr 0x400100 action 0x6 frozen [121471.301685] ata6.00: irq_stat 0x08000000, interface fatal error [121471.301687] ata6: SError: { UnrecovData Handshk } [121471.301690] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301695] ata6.00: cmd 61/40:00:00:80:d2/05:00:01:00:00/40 tag 0 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301697] ata6.00: status: { DRDY } [121471.301698] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301702] ata6.00: cmd 61/40:08:40:85:d2/05:00:01:00:00/40 tag 1 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301704] ata6.00: status: { DRDY } [121471.301706] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301709] ata6.00: cmd 61/40:10:80:8a:d2/05:00:01:00:00/40 tag 2 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301711] ata6.00: status: { DRDY } [121471.301713] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301716] ata6.00: cmd 61/40:18:c0:8f:d2/00:00:01:00:00/40 tag 3 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301718] ata6.00: status: { DRDY } [121471.301720] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301724] ata6.00: cmd 61/40:20:00:60:d2/05:00:01:00:00/40 tag 4 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301725] ata6.00: status: { DRDY } [121471.301727] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301731] ata6.00: cmd 61/40:28:40:65:d2/05:00:01:00:00/40 tag 5 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301732] ata6.00: status: { DRDY } [121471.301734] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301738] ata6.00: cmd 61/40:30:80:6a:d2/05:00:01:00:00/40 tag 6 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301739] ata6.00: status: { DRDY } [121471.301741] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301744] ata6.00: cmd 61/40:38:c0:6f:d2/00:00:01:00:00/40 tag 7 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301746] ata6.00: status: { DRDY } [121471.301748] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301752] ata6.00: cmd 61/40:40:00:70:d2/05:00:01:00:00/40 tag 8 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301753] ata6.00: status: { DRDY } [121471.301755] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301759] ata6.00: cmd 61/40:48:40:75:d2/05:00:01:00:00/40 tag 9 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301760] ata6.00: status: { DRDY } [121471.301762] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301766] ata6.00: cmd 61/40:50:80:7a:d2/05:00:01:00:00/40 tag 10 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301768] ata6.00: status: { DRDY } [121471.301769] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301773] ata6.00: cmd 61/40:58:c0:7f:d2/00:00:01:00:00/40 tag 11 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301775] ata6.00: status: { DRDY } [121471.301776] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301780] ata6.00: cmd 61/40:60:00:90:d2/05:00:01:00:00/40 tag 12 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301782] ata6.00: status: { DRDY } [121471.301783] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301787] ata6.00: cmd 61/40:68:40:95:d2/05:00:01:00:00/40 tag 13 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301789] ata6.00: status: { DRDY } [121471.301790] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301794] ata6.00: cmd 61/40:70:80:9a:d2/05:00:01:00:00/40 tag 14 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301796] ata6.00: status: { DRDY } [121471.301797] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301801] ata6.00: cmd 61/40:78:c0:9f:d2/00:00:01:00:00/40 tag 15 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301803] ata6.00: status: { DRDY } [121471.301804] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301808] ata6.00: cmd 61/40:80:00:a0:d2/05:00:01:00:00/40 tag 16 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301810] ata6.00: status: { DRDY } [121471.301811] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301815] ata6.00: cmd 61/40:88:40:a5:d2/05:00:01:00:00/40 tag 17 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301817] ata6.00: status: { DRDY } [121471.301818] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301822] ata6.00: cmd 61/40:90:80:aa:d2/05:00:01:00:00/40 tag 18 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301824] ata6.00: status: { DRDY } [121471.301825] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301829] ata6.00: cmd 61/40:98:c0:af:d2/00:00:01:00:00/40 tag 19 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301831] ata6.00: status: { DRDY } [121471.301832] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301836] ata6.00: cmd 61/40:a0:00:b0:d2/05:00:01:00:00/40 tag 20 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301838] ata6.00: status: { DRDY } [121471.301839] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301843] ata6.00: cmd 61/40:a8:40:b5:d2/05:00:01:00:00/40 tag 21 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301845] ata6.00: status: { DRDY } [121471.301846] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301850] ata6.00: cmd 61/40:b0:80:ba:d2/05:00:01:00:00/40 tag 22 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301852] ata6.00: status: { DRDY } [121471.301853] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301857] ata6.00: cmd 61/40:b8:c0:bf:d2/00:00:01:00:00/40 tag 23 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301859] ata6.00: status: { DRDY } [121471.301860] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301864] ata6.00: cmd 61/40:c0:00:00:d0/05:00:01:00:00/40 tag 24 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301866] ata6.00: status: { DRDY } [121471.301867] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301871] ata6.00: cmd 61/40:c8:40:05:d0/05:00:01:00:00/40 tag 25 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301873] ata6.00: status: { DRDY } [121471.301874] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301878] ata6.00: cmd 61/40:d0:80:0a:d0/05:00:01:00:00/40 tag 26 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301880] ata6.00: status: { DRDY } [121471.301881] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301885] ata6.00: cmd 61/40:d8:c0:0f:d0/00:00:01:00:00/40 tag 27 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301887] ata6.00: status: { DRDY } [121471.301888] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301892] ata6.00: cmd 61/40:e8:80:4a:d2/05:00:01:00:00/40 tag 29 ncq dma 688128 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301894] ata6.00: status: { DRDY } [121471.301895] ata6.00: failed command: WRITE FPDMA QUEUED [121471.301899] ata6.00: cmd 61/40:f0:c0:4f:d2/00:00:01:00:00/40 tag 30 ncq dma 32768 out res 40/00:cc:40:05:d0/00:00:01:00:00/40 Emask 0x10 (ATA bus error) [121471.301901] ata6.00: status: { DRDY } [121471.301903] ata6: hard resetting link [121471.616012] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [121471.616487] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded [121471.616489] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out [121471.616491] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out [121471.623360] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded [121471.623362] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out [121471.623364] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out [121471.646140] ata6.00: configured for UDMA/133 [121471.646191] ata6: EH complete smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-38-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: MSH-128 Serial Number: 978072070241 LU WWN Device Id: 0 000000 000000000 Firmware Version: Q0407A User Capacity: 126,701,535,232 bytes [126 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Thu Nov 1 03:13:03 2018 EDT 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: ( 0) seconds. Offline data collection capabilities: (0x11) 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. No Selective Self-test supported. SMART capabilities: (0x0002) Does not save 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: ( 1) minutes. Extended self-test routine recommended polling time: ( 1) minutes. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x0000 100 100 050 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0002 100 100 050 Old_age Always - 0 9 Power_On_Hours 0x0000 100 100 050 Old_age Offline - 10 12 Power_Cycle_Count 0x0000 100 100 050 Old_age Offline - 33 160 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 0 161 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 67 162 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 1 163 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 5 164 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 1611 165 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 3 166 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 1 167 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 1 168 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 3000 169 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 100 192 Power-Off_Retract_Count 0x0000 100 100 050 Old_age Offline - 4 194 Temperature_Celsius 0x0000 100 100 050 Old_age Offline - 40 195 Hardware_ECC_Recovered 0x0000 100 100 050 Old_age Offline - 0 196 Reallocated_Event_Count 0x0000 100 100 050 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0000 100 100 050 Old_age Offline - 1 241 Total_LBAs_Written 0x0000 100 100 050 Old_age Offline - 4927 242 Total_LBAs_Read 0x0000 100 100 050 Old_age Offline - 6836 245 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 5754 Warning! SMART ATA Error Log Structure error: invalid SMART checksum. SMART Error Log Version: 1 Warning: ATA error count 0 inconsistent with error log pointer 1 ATA Error Count: 0 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 0 occurred at disk power-on lifetime: 12 hours (0 days + 12 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 -- -- -- -- -- -- -- 00 ff 00 00 01 00 00 Device Fault; Error: Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 00 00:01:05.536 NOP [Abort queued commands] 00 00 04 00 00 00 0f 0c 00:08:44.290 NOP [Abort queued commands] 00 00 00 00 00 00 00 04 00:04:22.156 NOP [Abort queued commands] 00 00 00 00 00 00 10 00 00:02:11.086 NOP [Abort queued commands] Error -4 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 -- -- -- -- -- -- -- 00 00 40 80 4a d2 00 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- b0 d0 01 00 4f c2 00 08 00:00:00.000 SMART READ DATA b0 d5 01 01 4f c2 00 08 00:00:00.000 SMART READ LOG b0 d5 01 00 4f c2 00 08 00:00:00.000 SMART READ LOG b0 da 00 00 4f c2 00 08 00:00:00.000 SMART RETURN STATUS b0 d1 01 01 4f c2 00 08 00:00:00.000 SMART READ ATTRIBUTE THRESHOLDS [OBS-4] SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Selective Self-tests/Logging not supported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1800991/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp