I'm using WDC WD60EFRX (68MYMN1 and 68L0BN1) drives
The drives were working without issue previously behind a ASMedia ASM1062 SATA Controller, I've also used some of them behind ASM1542 (external eSATA enclosure)
I can reproduce the issue on a clean install of Armbian 20.08.21 Buster and Focal
I can reproduce via simple `dd` to `/dev/null` from the drive so filesystem does not seem to be the underlying cause
Every drive is affected (i.e. each SATA slot)
At what point dd produces an error varies from SATA slot to SATA slot (not drive dependent), SATA slot 4 can reproducibly produce the error almost immediately after starting a read
The problem goes away when setting `extraargs=libata.force=3.0` in `/boot/armbianEnv.txt` [1]
[1] However, even with SATA limited to 3 Gbps, the problem did reappear when hot-plugging a drive.
This reset happened on drive slot 3 when I hot-plugged a drive onto slot 5. This seems weird to me considering they are supposed to be on different power rails. This may suggest there is in general a problem with either the PSU or power delivery to the drives. Here's an excerpt from the reset:
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
ShadowDance
This is a continuation of ata1.00: failed command: READ FPDMA QUEUED noted by @djurny. I've experienced the same issue, and have some additional data points to provide.
My observations so far:
[1] However, even with SATA limited to 3 Gbps, the problem did reappear when hot-plugging a drive.
This reset happened on drive slot 3 when I hot-plugged a drive onto slot 5. This seems weird to me considering they are supposed to be on different power rails. This may suggest there is in general a problem with either the PSU or power delivery to the drives. Here's an excerpt from the reset:
And the full dmesg from when the error happened is below:
[152957.354311] ata3.00: exception Emask 0x10 SAct 0x80000000 SErr 0x9b0000 action 0xe frozen
[152957.354318] ata3.00: irq_stat 0x00400000, PHY RDY changed
[152957.354322] ata3: SError: { PHYRdyChg PHYInt 10B8B Dispar LinkSeq }
[152957.354328] ata3.00: failed command: READ FPDMA QUEUED
[152957.354335] ata3.00: cmd 60/58:f8:00:f8:e7/01:00:71:02:00/40 tag 31 ncq dma 176128 in
res 40/00:f8:00:f8:e7/00:00:71:02:00/40 Emask 0x10 (ATA bus error)
[152957.354338] ata3.00: status: { DRDY }
[152957.354345] ata3: hard resetting link
[152962.114138] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[152962.115442] ata4.00: configured for UDMA/133
[152962.334140] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[152962.335386] ata3.00: configured for UDMA/133
[152962.335438] sd 2:0:0:0: [sdc] tag#31 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=5s
[152962.335444] sd 2:0:0:0: [sdc] tag#31 Sense Key : 0x5 [current]
[152962.335448] sd 2:0:0:0: [sdc] tag#31 ASC=0x21 ASCQ=0x4
[152962.335454] sd 2:0:0:0: [sdc] tag#31 CDB: opcode=0x88 88 00 00 00 00 02 71 e7 f8 00 00 00 01 58 00 00
[152962.335458] blk_update_request: I/O error, dev sdc, sector 10500962304 op 0x0:(READ) flags 0x700 phys_seg 5 prio class 0
[152962.335477] zio pool=rpool vdev=/dev/mapper/luks-ata-WDC_WD60EFRX-68MYMN1_WD-************-part4 error=5 type=1 offset=5374864261120 size=176128 flags=40080cb0
[152962.335558] ata3: EH complete
[152967.562044] ata5: softreset failed (device not ready)
[152970.353986] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[152970.354724] ata5.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133
[152970.354732] ata5.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[152970.355605] ata5.00: configured for UDMA/133
[152970.356728] scsi 4:0:0:0: Direct-Access ATA WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5
[152970.362585] scsi 4:0:0:0: Attached scsi generic sg4 type 0
[152970.367108] sd 4:0:0:0: [sde] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
[152970.367123] sd 4:0:0:0: [sde] 4096-byte physical blocks
[152970.367150] sd 4:0:0:0: [sde] Write Protect is off
[152970.367154] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[152970.367185] sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[152970.453251] sde: sde1 sde9
[152970.454796] sd 4:0:0:0: [sde] Attached SCSI disk
Removed drive serial number from dmesg
Link to comment
Share on other sites
77 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.