ata NCQ error with md, drbd and high load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
With Ubuntu wily kernel 4.2.0-18-generic a SyncTarget to a DRBD on LVM on MD Raid1 produces errors:
Nov 14 17:46:20 kobol kernel: [ 198.351892] ata1.00: exception Emask 0x60 SAct 0x38 SErr 0x800 action 0x6 frozen
Nov 14 17:46:20 kobol kernel: [ 198.351922] ata1.00: irq_stat 0x20000000, host bus error
Nov 14 17:46:20 kobol kernel: [ 198.351935] ata1: SError: { HostInt }
Nov 14 17:46:20 kobol kernel: [ 198.351944] ata1.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.351957] ata1.00: cmd 61/48:18:
Nov 14 17:46:20 kobol kernel: [ 198.351957] res 40/00:20:
Nov 14 17:46:20 kobol kernel: [ 198.351988] ata1.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.351997] ata1.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.352009] ata1.00: cmd 61/40:20:
Nov 14 17:46:20 kobol kernel: [ 198.352009] res 40/00:20:
Nov 14 17:46:20 kobol kernel: [ 198.352039] ata1.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.352047] ata1.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.352059] ata1.00: cmd 61/80:28:
Nov 14 17:46:20 kobol kernel: [ 198.352059] res 40/00:20:
Nov 14 17:46:20 kobol kernel: [ 198.352090] ata1.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.352099] ata1: hard resetting link
Nov 14 17:46:20 kobol kernel: [ 198.352106] ata2.00: exception Emask 0x60 SAct 0x70000 SErr 0x800 action 0x6 frozen
Nov 14 17:46:20 kobol kernel: [ 198.352133] ata2.00: irq_stat 0x20000000, host bus error
Nov 14 17:46:20 kobol kernel: [ 198.352145] ata2: SError: { HostInt }
Nov 14 17:46:20 kobol kernel: [ 198.352154] ata2.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.352166] ata2.00: cmd 61/48:80:
Nov 14 17:46:20 kobol kernel: [ 198.352166] res 40/00:88:
Nov 14 17:46:20 kobol kernel: [ 198.352196] ata2.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.352204] ata2.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.352217] ata2.00: cmd 61/40:88:
Nov 14 17:46:20 kobol kernel: [ 198.352217] res 40/00:88:
Nov 14 17:46:20 kobol kernel: [ 198.352246] ata2.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.352254] ata2.00: failed command: WRITE FPDMA QUEUED
Nov 14 17:46:20 kobol kernel: [ 198.352266] ata2.00: cmd 61/80:90:
Nov 14 17:46:20 kobol kernel: [ 198.352266] res 40/00:88:
Nov 14 17:46:20 kobol kernel: [ 198.352295] ata2.00: status: { DRDY }
Nov 14 17:46:20 kobol kernel: [ 198.352304] ata2: hard resetting link
Nov 14 17:46:21 kobol kernel: [ 198.671678] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Nov 14 17:46:21 kobol kernel: [ 198.673618] ata2.00: configured for UDMA/133
Nov 14 17:46:21 kobol kernel: [ 198.673628] ata2: EH complete
Nov 14 17:46:21 kobol kernel: [ 198.727651] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Nov 14 17:46:21 kobol kernel: [ 198.735336] ata1.00: configured for UDMA/133
Nov 14 17:46:21 kobol kernel: [ 198.735343] ata1: EH complete
The error didn't show up before the update from kernel 4.2.0-16-generic.
Disabling NCQ with
echo 1 > /sys/block/
is a workaround.
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1516269
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.