Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else?
#3
Thank you LMM for the great reply.

Good thought to try it out with a desktop PSU (I should have thought of that!). I tried that first to isolate whether Pine 12V5A PSU might be the issue. Powered by the desktop PSU, I still get that same failures! So I am guessing this is not a power issue after all.

CPU is at ~38°C according to armbianmonitor. I do not currently have a heat sink installed on the SATA card.

I'm not quite ready to reinstall OS with newer kernel (unless there's a way to do without doing a fresh install? I'd have to research).

I will try the gen2 overlay you suggest.

In the meantime, can anyone see from this dmesg output (from right after the failure) if there are any hints as to what is wrong?

Code:
[16242.704653] ata1.00: exception Emask 0x10 SAct 0x7fffff7f SErr 0x400000 action 0x6 frozen
[16242.704661] ata1.00: irq_stat 0x08000000, interface fatal error
[16242.704666] ata1: SError: { Handshk }
[16242.704673] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704682] ata1.00: cmd 61/00:00:00:48:e9/08:00:5b:00:00/40 tag 0 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704687] ata1.00: status: { DRDY }
[16242.704691] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704698] ata1.00: cmd 61/00:08:00:50:e9/08:00:5b:00:00/40 tag 1 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704703] ata1.00: status: { DRDY }
[16242.704707] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704714] ata1.00: cmd 61/00:10:00:58:e9/08:00:5b:00:00/40 tag 2 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704718] ata1.00: status: { DRDY }
[16242.704722] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704729] ata1.00: cmd 61/00:18:00:60:e9/08:00:5b:00:00/40 tag 3 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704733] ata1.00: status: { DRDY }
[16242.704737] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704744] ata1.00: cmd 61/00:20:00:68:e9/08:00:5b:00:00/40 tag 4 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704748] ata1.00: status: { DRDY }
[16242.704752] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704759] ata1.00: cmd 61/00:28:00:70:e9/08:00:5b:00:00/40 tag 5 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704764] ata1.00: status: { DRDY }
[16242.704767] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704774] ata1.00: cmd 61/00:30:00:78:e9/08:00:5b:00:00/40 tag 6 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704778] ata1.00: status: { DRDY }
[16242.704782] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704789] ata1.00: cmd 61/00:40:00:80:e9/08:00:5b:00:00/40 tag 8 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704793] ata1.00: status: { DRDY }
[16242.704797] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704803] ata1.00: cmd 61/00:48:00:88:e9/08:00:5b:00:00/40 tag 9 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704808] ata1.00: status: { DRDY }
[16242.704811] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704818] ata1.00: cmd 61/00:50:00:90:e9/08:00:5b:00:00/40 tag 10 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704822] ata1.00: status: { DRDY }
[16242.704826] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704833] ata1.00: cmd 61/00:58:00:98:e9/08:00:5b:00:00/40 tag 11 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704837] ata1.00: status: { DRDY }
[16242.704841] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704848] ata1.00: cmd 61/00:60:00:b0:e8/08:00:5b:00:00/40 tag 12 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704852] ata1.00: status: { DRDY }
[16242.704855] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704862] ata1.00: cmd 61/00:68:00:b8:e8/08:00:5b:00:00/40 tag 13 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704866] ata1.00: status: { DRDY }
[16242.704870] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704877] ata1.00: cmd 61/00:70:00:c0:e8/08:00:5b:00:00/40 tag 14 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704881] ata1.00: status: { DRDY }
[16242.704884] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704891] ata1.00: cmd 61/00:78:00:c8:e8/08:00:5b:00:00/40 tag 15 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704895] ata1.00: status: { DRDY }
[16242.704899] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704906] ata1.00: cmd 61/00:80:00:d0:e8/08:00:5b:00:00/40 tag 16 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704910] ata1.00: status: { DRDY }
[16242.704913] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704920] ata1.00: cmd 61/00:88:00:d8:e8/08:00:5b:00:00/40 tag 17 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704925] ata1.00: status: { DRDY }
[16242.704928] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704935] ata1.00: cmd 61/00:90:00:e0:e8/08:00:5b:00:00/40 tag 18 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704939] ata1.00: status: { DRDY }
[16242.704942] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704949] ata1.00: cmd 61/00:98:00:e8:e8/08:00:5b:00:00/40 tag 19 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704953] ata1.00: status: { DRDY }
[16242.704957] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704964] ata1.00: cmd 61/00:a0:00:f0:e8/08:00:5b:00:00/40 tag 20 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704968] ata1.00: status: { DRDY }
[16242.704971] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704978] ata1.00: cmd 61/00:a8:00:f8:e8/08:00:5b:00:00/40 tag 21 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704982] ata1.00: status: { DRDY }
[16242.704986] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.704993] ata1.00: cmd 61/00:b0:00:00:e9/08:00:5b:00:00/40 tag 22 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.704997] ata1.00: status: { DRDY }
[16242.705000] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705007] ata1.00: cmd 61/00:b8:00:08:e9/08:00:5b:00:00/40 tag 23 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705011] ata1.00: status: { DRDY }
[16242.705015] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705022] ata1.00: cmd 61/00:c0:00:10:e9/08:00:5b:00:00/40 tag 24 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705026] ata1.00: status: { DRDY }
[16242.705029] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705036] ata1.00: cmd 61/00:c8:00:18:e9/08:00:5b:00:00/40 tag 25 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705040] ata1.00: status: { DRDY }
[16242.705044] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705051] ata1.00: cmd 61/00:d0:00:20:e9/08:00:5b:00:00/40 tag 26 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705055] ata1.00: status: { DRDY }
[16242.705058] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705065] ata1.00: cmd 61/00:d8:00:28:e9/08:00:5b:00:00/40 tag 27 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705069] ata1.00: status: { DRDY }
[16242.705073] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705080] ata1.00: cmd 61/00:e0:00:30:e9/08:00:5b:00:00/40 tag 28 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705084] ata1.00: status: { DRDY }
[16242.705087] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705094] ata1.00: cmd 61/00:e8:00:38:e9/08:00:5b:00:00/40 tag 29 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705098] ata1.00: status: { DRDY }
[16242.705102] ata1.00: failed command: WRITE FPDMA QUEUED
[16242.705109] ata1.00: cmd 61/00:f0:00:40:e9/08:00:5b:00:00/40 tag 30 ncq 1048576 out
                        res 50/00:00:00:98:e9/00:08:5b:00:00/40 Emask 0x10 (ATA bus error)
[16242.705113] ata1.00: status: { DRDY }
[16242.705119] ata1: hard resetting link
[16252.708615] ata1: softreset failed (1st FIS failed)
[16252.708632] ata1: hard resetting link
[16262.708897] ata1: softreset failed (1st FIS failed)
[16262.708916] ata1: hard resetting link
[16297.708770] ata1: softreset failed (1st FIS failed)
[16297.708789] ata1: limiting SATA link speed to 3.0 Gbps
[16297.708795] ata1: hard resetting link
[16302.708802] ata1: softreset failed (1st FIS failed)
[16302.708821] ata1: reset failed, giving up
[16302.708829] ata1.00: disabled
[16302.709006] ata1: EH complete
[16302.709144] sd 0:0:0:0: [sda] tag#12 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.709156] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 40 00 00 00 08 00 00 00
[16302.709163] blk_update_request: I/O error, dev sda, sector 1542012928
[16302.709178] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 931135488 size 8388608 starting block 192751872)
[16302.709187] Buffer I/O error on device sda1, logical block 192751360
[16302.709205] Buffer I/O error on device sda1, logical block 192751361
[16302.709211] Buffer I/O error on device sda1, logical block 192751362
[16302.709217] Buffer I/O error on device sda1, logical block 192751363
[16302.709224] Buffer I/O error on device sda1, logical block 192751364
[16302.709230] Buffer I/O error on device sda1, logical block 192751365
[16302.709236] Buffer I/O error on device sda1, logical block 192751366
[16302.709242] Buffer I/O error on device sda1, logical block 192751367
[16302.709248] Buffer I/O error on device sda1, logical block 192751368
[16302.709254] Buffer I/O error on device sda1, logical block 192751369
[16302.709263] sd 0:0:0:0: [sda] tag#24 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.709283] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e8 e0 00 00 00 08 00 00 00
[16302.709365] blk_update_request: I/O error, dev sda, sector 1541988352
[16302.709410] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 922746880 size 4194304 starting block 192748800)
[16302.710175] sd 0:0:0:0: [sda] tag#13 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.710187] sd 0:0:0:0: [sda] tag#13 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 38 00 00 00 08 00 00 00
[16302.710193] blk_update_request: I/O error, dev sda, sector 1542010880
[16302.710206] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 931135488 size 8388608 starting block 192751616)
[16302.710624] sd 0:0:0:0: [sda] tag#25 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.710628] sd 0:0:0:0: [sda] tag#12 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.710638] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 a8 00 00 00 08 00 00 00
[16302.710647] blk_update_request: I/O error, dev sda, sector 1542039552
[16302.710657] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 947912704 size 8388608 starting block 192755200)
[16302.710690] sd 0:0:0:0: [sda] tag#25 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e8 d8 00 00 00 08 00 00 00
[16302.710709] blk_update_request: I/O error, dev sda, sector 1541986304
[16302.710748] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 922746880 size 4194304 starting block 192748544)
[16302.710878] sd 0:0:0:0: [sda] tag#14 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.710888] sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 30 00 00 00 08 00 00 00
[16302.710894] blk_update_request: I/O error, dev sda, sector 1542008832
[16302.710906] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 931135488 size 8388608 starting block 192751360)
[16302.711665] sd 0:0:0:0: [sda] tag#24 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.711683] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 b8 00 00 00 08 00 00 00
[16302.711690] blk_update_request: I/O error, dev sda, sector 1542043648
[16302.711702] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 947912704 size 8388608 starting block 192755712)
[16302.711952] sd 0:0:0:0: [sda] tag#26 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.711977] sd 0:0:0:0: [sda] tag#15 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.711982] sd 0:0:0:0: [sda] tag#26 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e8 d0 00 00 00 08 00 00 00
[16302.711997] blk_update_request: I/O error, dev sda, sector 1541984256
[16302.712008] sd 0:0:0:0: [sda] tag#15 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 28 00 00 00 08 00 00 00
[16302.712018] blk_update_request: I/O error, dev sda, sector 1542006784
[16302.712029] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 931135488 size 8388608 starting block 192751104)
[16302.712043] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 922746880 size 4194304 starting block 192748288)
[16302.712372] sd 0:0:0:0: [sda] tag#25 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[16302.712385] sd 0:0:0:0: [sda] tag#25 CDB: opcode=0x8a 8a 00 00 00 00 00 5b e9 c0 00 00 00 08 00 00 00
[16302.712392] blk_update_request: I/O error, dev sda, sector 1542045696
[16302.712406] EXT4-fs warning (device sda1): ext4_end_bio:330: I/O error -5 writing to inode 171186174 (offset 947912704 size 8388608 starting block 192755968)
[16302.741874] EXT4-fs error (device sda1): ext4_wait_block_bitmap:523: comm kworker/u12:1: Cannot read block bitmap - block_group = 5883, block_bitmap = 192413707
[16302.741904] JBD2: Detected IO errors while flushing file data on sda1-8
[16302.742065] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[16302.742137] EXT4-fs (sda1): Delayed block allocation failed for inode 171186174 at logical offset 251904 with max blocks 1024 with error 5
[16302.742142] EXT4-fs (sda1): This should not happen!! Data will be lost

[16302.743857] Aborting journal on device sda1-8.
[16302.743890] EXT4-fs (sda1): previous I/O error to superblock detected
[16302.743923] Buffer I/O error on dev sda1, logical block 365985792, lost sync page write
[16302.743955] JBD2: Error -5 detected when updating journal superblock for sda1-8.
[16302.743984] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[16302.744069] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
[16302.744079] EXT4-fs (sda1): Remounting filesystem read-only
[16302.744084] EXT4-fs (sda1): previous I/O error to superblock detected
[16302.744118] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[16302.744158] EXT4-fs (sda1): ext4_writepages: jbd2_start: 1024 pages, ino 171186174; err -30
[16302.744175] EXT4-fs (sda1): I/O error while writing superblock
[16302.744193] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
[16302.758539] JBD2: Detected IO errors while flushing file data on sda1-8
  Reply


Messages In This Thread
RE: Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? - by daffy - 05-20-2021, 09:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,883 11-20-2024, 03:53 PM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 106,110 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 289 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  RK3399 PCIe enumeration jhadd 0 523 01-31-2024, 08:56 AM
Last Post: jhadd
  yocto for RockPro64 Fide 1 1,114 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 3,482 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,331 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 93,019 08-11-2023, 11:13 AM
Last Post: mara
  How to enable CoreSight ETM trace on RockPro64 shpark 0 865 05-21-2023, 11:34 PM
Last Post: shpark
  Rockpro64 Dead on arrival? quixoticgeek 1 1,371 03-12-2023, 06:55 PM
Last Post: quixoticgeek

Forum Jump:


Users browsing this thread: 1 Guest(s)