Skip to content

Instantly share code, notes, and snippets.

@jbfavre
Created May 21, 2016 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbfavre/4942a67e49c26b75ceaf3234438b167d to your computer and use it in GitHub Desktop.
Save jbfavre/4942a67e49c26b75ceaf3234438b167d to your computer and use it in GitHub Desktop.
dmesg extract ata1 errors after 4.5.4-1 upgrade
[ 4773.219496] ata1.00: device reported invalid CHS sector 0
[ 4773.219506] ata1: EH complete
[ 4773.219554] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 4773.219558] sd 0:0:0:0: [sda] Sense Key : Illegal Request [current] [descriptor]
[ 4773.219560] sd 0:0:0:0: [sda] Add. Sense: Unaligned write command
[ 4773.219561] sd 0:0:0:0: [sda] Stopping disk
[ 4773.263222] scsi 0:0:0:0: Direct-Access ATA Micron_M600_MTFD MA01 PQ: 0 ANSI: 5
[ 4773.303130] ata1.00: Enabling discard_zeroes_data
[ 4773.303144] sd 0:0:0:0: [sdb] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[ 4773.303146] sd 0:0:0:0: [sdb] 4096-byte physical blocks
[ 4773.303159] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 4773.303187] sd 0:0:0:0: [sdb] Write Protect is off
[ 4773.303190] sd 0:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4773.303204] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4773.303302] ata1.00: Enabling discard_zeroes_data
[ 4773.306677] sdb: sdb1 sdb2 sdb3
[ 4773.306956] ata1.00: Enabling discard_zeroes_data
[ 4773.307018] sd 0:0:0:0: [sdb] Attached SCSI disk
[ 4773.904703] ata1.00: Enabling discard_zeroes_data
[ 4773.939390] ata1.00: Enabling discard_zeroes_data
[ 4774.002920] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40000 action 0x0
[ 4774.002923] ata1.00: irq_stat 0x40000001
[ 4774.002925] ata1: SError: { CommWake }
[ 4774.002927] ata1.00: failed command: WRITE DMA
[ 4774.002930] ata1.00: cmd ca/00:08:00:08:00/00:00:00:00:00/e0 tag 27 dma 4096 out
res 71/04:00:00:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4774.002931] ata1.00: status: { DRDY DF ERR }
[ 4774.002932] ata1.00: error: { ABRT }
[ 4774.010100] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4774.010102] ata1.00: revalidation failed (errno=-2)
[ 4774.010106] ata1: hard resetting link
[ 4774.322813] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4774.332105] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4774.343688] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4774.345671] ata1.00: configured for UDMA/133
[ 4774.355951] ata1: EH complete
[ 4774.367013] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4774.367017] ata1.00: irq_stat 0x40000001
[ 4774.367020] ata1.00: failed command: WRITE DMA
[ 4774.367024] ata1.00: cmd ca/00:08:00:08:00/00:00:00:00:00/e0 tag 29 dma 4096 out
res 71/04:00:00:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4774.367026] ata1.00: status: { DRDY DF ERR }
[ 4774.367027] ata1.00: error: { ABRT }
[ 4774.374307] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4774.374311] ata1.00: revalidation failed (errno=-2)
[ 4774.374315] ata1: hard resetting link
[ 4774.686032] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4774.695403] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4774.707010] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4774.709088] ata1.00: configured for UDMA/133
[ 4774.719376] ata1: EH complete
[ 4774.730987] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4774.730991] ata1.00: irq_stat 0x40000001
[ 4774.730992] ata1.00: failed command: WRITE DMA
[ 4774.730996] ata1.00: cmd ca/00:08:00:08:00/00:00:00:00:00/e0 tag 2 dma 4096 out
res 71/04:00:00:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4774.730997] ata1.00: status: { DRDY DF ERR }
[ 4774.730998] ata1.00: error: { ABRT }
[ 4774.738274] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4774.738277] ata1.00: revalidation failed (errno=-2)
[ 4774.738280] ata1: hard resetting link
[ 4854.926271] ata1.00: revalidation failed (errno=-2)
[ 4854.926275] ata1: hard resetting link
[ 4855.238974] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4855.248346] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.259632] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.261620] ata1.00: configured for UDMA/33
[ 4855.271879] ata1: EH complete
[ 4855.283072] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4855.283077] ata1.00: irq_stat 0x40000001
[ 4855.283081] ata1.00: failed command: WRITE DMA
[ 4855.283087] ata1.00: cmd ca/00:01:01:08:00/00:00:00:00:00/e0 tag 18 dma 512 out
res 71/04:00:01:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4855.283089] ata1.00: status: { DRDY DF ERR }
[ 4855.283091] ata1.00: error: { ABRT }
[ 4855.290344] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4855.290348] ata1.00: revalidation failed (errno=-2)
[ 4855.290354] ata1: hard resetting link
[ 4855.602834] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4855.612142] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.623471] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.625467] ata1.00: configured for UDMA/33
[ 4855.635740] ata1: EH complete
[ 4855.635773] ata1.00: Enabling discard_zeroes_data
[ 4855.647069] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4855.647072] ata1.00: irq_stat 0x40000001
[ 4855.647075] ata1.00: failed command: WRITE DMA
[ 4855.647079] ata1.00: cmd ca/00:01:01:08:00/00:00:00:00:00/e0 tag 21 dma 512 out
res 71/04:00:01:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4855.647080] ata1.00: status: { DRDY DF ERR }
[ 4855.647081] ata1.00: error: { ABRT }
[ 4855.654358] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4855.654362] ata1.00: revalidation failed (errno=-2)
[ 4855.654366] ata1: hard resetting link
[ 4855.966691] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4855.975936] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.987237] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4855.989155] ata1.00: configured for UDMA/33
[ 4855.999427] ata1: EH complete
[ 4856.011027] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4856.011030] ata1.00: irq_stat 0x40000001
[ 4856.011033] ata1.00: failed command: WRITE DMA
[ 4856.011036] ata1.00: cmd ca/00:01:01:08:00/00:00:00:00:00/e0 tag 5 dma 512 out
res 71/04:00:01:08:00/00:00:00:00:00/60 Emask 0x1 (device error)
[ 4856.011038] ata1.00: status: { DRDY DF ERR }
[ 4856.011039] ata1.00: error: { ABRT }
[ 4856.018277] ata1.00: both IDENTIFYs aborted, assuming NODEV
[ 4856.018280] ata1.00: revalidation failed (errno=-2)
[ 4856.018283] ata1: hard resetting link
[ 4856.330806] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 4856.340119] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4856.351431] ata1.00: ACPI cmd ef/10:09:00:00:00:b0 (SET FEATURES) succeeded
[ 4856.353379] ata1.00: configured for UDMA/33
[ 4856.363650] sd 0:0:0:0: [sdb] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 4856.363654] sd 0:0:0:0: [sdb] tag#5 Sense Key : Illegal Request [current] [descriptor]
[ 4856.363658] sd 0:0:0:0: [sdb] tag#5 Add. Sense: Unaligned write command
[ 4856.363660] sd 0:0:0:0: [sdb] tag#5 CDB: Write(10) 2a 00 00 00 08 01 00 00 01 00
[ 4856.363661] blk_update_request: I/O error, dev sdb, sector 2049
[ 4856.363665] Buffer I/O error on dev sdb1, logical block 1, lost async page write
[ 4856.363683] ata1: EH complete
[ 4856.363707] ata1.00: Enabling discard_zeroes_data
[ 4856.391065] ata1.00: Enabling discard_zeroes_data
[ 4909.103707] EXT4-fs error (device dm-1): ext4_find_entry:1451: inode #270381: comm upowerd: reading directory lblock 0
[ 4909.103712] EXT4-fs (dm-1): previous I/O error to superblock detected
[ 4909.103820] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment