Closed SimoB closed 2 years ago
Have you tried using a powered USB hub?
I have had this issue before and a powered USB 3.0 hub was able to fix the problem. I know this does not explain the issues showing up after a update but it could be a power delivery issue.
Have you tried using a powered USB hub?
I have had this issue before and a powered USB 3.0 hub was able to fix the problem. I know this does not explain the issues showing up after a update but it could be a power delivery issue.
No, but because I do weekly auto backups of my system I was able to roll back to a backup before the update and from what I see I was on kernel 4.19.
I'll report back if the problem is present with kernel 4.19 or not.
I can confirm that rolling back to kernel 4.19 resolved my problem with usb ssd disconnections.
I can not reproduce this issue. I have a raspberry pi 4 8gb running 24/7 w/ usb drives w/o any issues. hmmmm
That's quite interesting, I am not a kernel developer so I am not the most aware but 4.19 is a LTS so you could just keep backporting the kernel by recompiling any patches that are added in this repo.
This may be bad advice so please take it with a grain of salt.
On Wed, Aug 26, 2020 at 9:08 AM Simon Gardling notifications@github.com wrote:
I can not reproduce this issue. I have a raspberry pi 4 8gb running 24/7 w/ usb drives w/o any issues. hmmmm
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/raspberrypi/linux/issues/3814#issuecomment-680902678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDZGLHKMCDVU2BUMLBFNVTSCUJNZANCNFSM4QJY3EKQ .
-- Ryan Hirasaki
From experience, I think the issue is power related
I've had issues w/ usb HDDs (as in the spinning kind) pulling to much power and the pi just shuts off, tries to turn back on, the hdd pulls to much power, and it's stuck like that. That's why I use an enclosure so the power is provided by the wall outlet.
For what it's worth, I don't think this issue is related to the HDD not having enough power as I run mine on a powered USB hub. Even when I don't the drive is only reported to use a maximum of 896mA of current from lsusb
, since I only have 1 device attached to any USB ports, and the Pi can supply 1.2A total, I don't think power is an issue.
I'm running a Samsung 980 Pro NVMe drive inside a RTL9210 enclosure, so the NVMe drive is treated as a USB Mass Storage device with UAS enabled. I too see that fs/fs-writeback.c:2323 __mark_inode_dirty+0x310/0x424
line in the log, especially after getting hit a couple of times by #3404.
[6382.291188] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [ 6382.291214] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x2a 2a 00 19 56 48 00 00 04 00 00 [ 6382.291370] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [ 6382.291386] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x2a 2a 00 53 fd b5 10 00 04 00 00 [ 6382.291501] sd 0:0:0:0: [sda] tag#3 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [ 6382.291514] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x2a 2a 00 19 9d 85 e8 00 02 18 00 [ 6382.291650] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT [ 6382.291663] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x2a 2a 00 19 56 50 00 00 01 18 00 [ 6382.291750] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [ 6382.291762] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x2a 2a 00 19 56 4c 00 00 04 00 00 [ 6382.291868] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT [ 6382.291880] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 53 fd b1 10 00 04 00 00 [ 6382.315191] scsi host0: uas_eh_device_reset_handler start [ 6382.643282] usb 2-1.4: reset SuperSpeed USB device number 3 using xhci-hcd [ 6382.668578] scsi host0: uas_eh_device_reset_handler success [ 6392.774725] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [ 6392.774747] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x0 00 00 00 00 00 00 [ 6392.774758] scsi host0: uas_eh_device_reset_handler start [ 6398.150797] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6403.526264] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6403.734231] usb 2-1.4: device not accepting address 3, error -62 [ 6409.158022] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6414.533817] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6414.741819] usb 2-1.4: device not accepting address 3, error -62 [ 6420.165563] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6425.541335] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6425.749298] usb 2-1.4: device not accepting address 3, error -62 [ 6431.173082] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6436.548853] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6436.756805] usb 2-1.4: device not accepting address 3, error -62 [ 6436.757713] scsi host0: uas_eh_device_reset_handler FAILED err -19 [ 6436.757734] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757744] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757751] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757758] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757765] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757772] sd 0:0:0:0: Device offlined - not ready after error recovery [ 6436.757813] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=DRIVER_OK cmd_age=85s [ 6436.757826] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 53 fd b1 10 00 04 00 00 [ 6436.757834] blk_update_request: I/O error, dev sda, sector 1409134864 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0 [ 6436.768898] sd 0:0:0:0: rejecting I/O to offline device [ 6436.768924] sd 0:0:0:0: [sda] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=DRIVER_OK cmd_age=85s [ 6436.769264] usb 2-1.4: USB disconnect, device number 3 [ 6436.773512] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x2a 2a 00 19 56 4c 00 00 04 00 00 [ 6436.773513] blk_update_request: I/O error, dev sda, sector 1409136912 op 0x1:(WRITE) flags 0x0 phys_seg 125 prio class 0 [ 6436.773520] blk_update_request: I/O error, dev sda, sector 425085952 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0 [ 6436.784331] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 176142238) [ 6436.795309] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 176142239) [ 6436.795383] blk_update_request: I/O error, dev sda, sector 429756624 op 0x1:(WRITE) flags 0x0 phys_seg 9 prio class 0 [ 6436.795761] blk_update_request: I/O error, dev sda, sector 429780112 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0 [ 6436.805817] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53719587) [ 6436.816805] blk_update_request: I/O error, dev sda, sector 429774320 op 0x1:(WRITE) flags 0x0 phys_seg 29 prio class 0 [ 6436.816850] Buffer I/O error on device sda1, logical block 53719322 [ 6436.817014] blk_update_request: I/O error, dev sda, sector 429781136 op 0x1:(WRITE) flags 0x0 phys_seg 17 prio class 0 [ 6436.817026] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53722659) [ 6436.817043] blk_update_request: I/O error, dev sda, sector 425086976 op 0x1:(WRITE) flags 0x0 phys_seg 35 prio class 0 [ 6436.817051] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53135906) [ 6436.817057] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53135907) [ 6436.817067] blk_update_request: I/O error, dev sda, sector 429753832 op 0x1:(WRITE) flags 0x0 phys_seg 67 prio class 0 [ 6436.817073] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53719296) [ 6436.817091] blk_update_request: I/O error, dev sda, sector 1409135888 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0 [ 6436.817101] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 176142158) [ 6436.817112] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53135873) [ 6436.817157] EXT4-fs warning (device sda1): ext4_end_bio:344: I/O error 10 writing to inode 13238281 starting block 53750564) [ 6436.818461] Aborting journal on device sda1-8. [ 6436.818506] Buffer I/O error on dev sda1, logical block 124813312, lost sync page write [ 6436.819553] EXT4-fs error (device sda1): ext4_journal_check_start:83: comm smbd: Detected aborted journal [ 6436.821484] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6436.821507] CIFS: VFS: Send error in read = -5 [ 6436.823823] JBD2: Error -5 detected when updating journal superblock for sda1-8. [ 6436.823930] Buffer I/O error on dev sda1, logical block 0, lost sync page write [ 6436.823955] EXT4-fs (sda1): I/O error while writing superblock [ 6436.823960] EXT4-fs (sda1): Remounting filesystem read-only [ 6436.827386] Buffer I/O error on device sda1, logical block 53721534 [ 6436.834323] Buffer I/O error on device sda1, logical block 53719323 [ 6436.940954] Buffer I/O error on device sda1, logical block 53719324 [ 6436.947262] Buffer I/O error on device sda1, logical block 53719325 [ 6436.955525] Buffer I/O error on device sda1, logical block 53719326 [ 6436.961791] Buffer I/O error on device sda1, logical block 53719327 [ 6436.967733] Buffer I/O error on device sda1, logical block 53719328 [ 6436.974152] Buffer I/O error on device sda1, logical block 53719329 [ 6436.980151] Buffer I/O error on device sda1, logical block 53719330 [ 6436.986323] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.001657] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.013428] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.025570] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.039009] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.050706] EXT4-fs (sda1): failed to convert unwritten extents to written extents -- potential data loss! (inode 13238281, error -30) [ 6437.093675] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 6437.103244] CIFS: VFS: Send error in write = -5 [ 6437.205171] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6437.205209] CIFS: VFS: Send error in read = -5 [ 6437.217253] CIFS: VFS: Send error in write = -5 [ 6437.241299] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6437.241335] CIFS: VFS: Send error in read = -5 [ 6437.253286] CIFS: VFS: Send error in write = -5 [ 6437.273204] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6437.273236] CIFS: VFS: Send error in read = -5 [ 6437.285287] CIFS: VFS: Send error in write = -5 [ 6437.300857] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=DRIVER_OK [ 6437.316359] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6437.316392] CIFS: VFS: Send error in read = -5 [ 6437.321380] CIFS: VFS: Send error in write = -5 [ 6437.385446] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.393611] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.404416] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.416398] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.425220] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.436066] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.448095] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.457091] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6437.468170] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6442.692569] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6448.068340] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6448.276303] usb 2-1.4: device not accepting address 4, error -62 [ 6453.700127] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6459.075884] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6459.283833] usb 2-1.4: device not accepting address 5, error -62 [ 6459.288823] usb 2-1-port4: attempt power cycle [ 6465.731584] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6467.949444] EXT4-fs error: 200 callbacks suppressed [ 6467.949459] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6467.957346] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6467.967883] EXT4-fs warning: 23 callbacks suppressed [ 6467.967895] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6467.967979] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6471.107357] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6471.315314] usb 2-1.4: device not accepting address 6, error -62 [ 6476.739149] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6479.474184] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6479.483011] EXT4-fs error (device sda1): __ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6479.492483] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6479.492573] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6479.663321] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6479.672647] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6479.681531] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6479.681612] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6480.263710] Buffer I/O error on dev sda1, logical block 188727351, async page read [ 6480.277978] Buffer I/O error on dev sda1, logical block 188727351, async page read [ 6480.282378] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6480.282400] CIFS: VFS: Send error in read = -5 [ 6480.288278] Buffer I/O error on dev sda1, logical block 188727351, async page read [ 6480.295022] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6480.295049] CIFS: VFS: Send error in read = -5 [ 6480.811456] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6480.821159] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6480.829795] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6480.829881] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6480.914323] Buffer I/O error on dev sda1, logical block 53379658, async page read [ 6480.928863] Buffer I/O error on dev sda1, logical block 53379658, async page read [ 6480.932942] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6480.932973] CIFS: VFS: Send error in read = -5 [ 6480.937773] Buffer I/O error on dev sda1, logical block 53379658, async page read [ 6480.945156] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6480.945185] CIFS: VFS: Send error in read = -5 [ 6481.486329] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6481.495231] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.039082] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.114893] xhci-hcd xhci-hcd.0.auto: Timeout while waiting for setup device command [ 6482.322842] usb 2-1.4: device not accepting address 7, error -62 [ 6482.327024] usb 2-1-port4: unable to enumerate USB device [ 6482.464868] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.636411] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.732677] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.760269] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6482.825807] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6518.858625] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6518.858664] CIFS: VFS: Send error in read = -5 [ 6529.375183] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6529.375221] CIFS: VFS: Send error in read = -5 [ 6540.382714] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6540.382751] CIFS: VFS: Send error in read = -5 [ 6551.382349] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6551.382387] CIFS: VFS: Send error in read = -5 [ 6562.386017] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6562.386055] CIFS: VFS: Send error in read = -5 [ 6566.254501] EXT4-fs error: 71 callbacks suppressed [ 6566.254517] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6566.262157] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6566.272513] EXT4-fs warning: 17 callbacks suppressed [ 6566.272524] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6566.272608] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6571.885552] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6571.885588] CIFS: VFS: Send error in read = -5 [ 6573.385632] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6573.385670] CIFS: VFS: Send error in read = -5 [ 6584.400831] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6584.400868] CIFS: VFS: Send error in read = -5 [ 6589.408640] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6589.408680] CIFS: VFS: Send error in read = -5 [ 6591.914822] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6591.914855] CIFS: VFS: Send error in read = -5 [ 6591.919088] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6591.919119] CIFS: VFS: Send error in read = -5 [ 6591.923572] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6591.923610] CIFS: VFS: Send error in read = -5 [ 6601.926935] CIFS: Status code returned 0xc0000185 STATUS_IO_DEVICE_ERROR [ 6601.926971] CIFS: VFS: Send error in read = -5 [ 6621.443984] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6621.451285] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6621.461885] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6621.461961] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6632.800928] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6632.810258] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6632.818903] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6632.818984] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.299864] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.307546] EXT4-fs error (device sda1): __ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.317888] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.317990] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.500488] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.507204] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.518463] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.518571] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.538426] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #13238273: comm smbd: reading directory lblock 0 [ 6634.545784] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.553250] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.555674] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.561471] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.567837] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.573903] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6634.579814] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #13238273: lblock 0: comm smbd: error -5 reading directory block [ 6670.902576] EXT4-fs warning: 10 callbacks suppressed [ 6670.902594] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm ls: error -5 reading directory block [ 6718.314714] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm ls: error -5 reading directory block [ 6722.626766] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm ls: error -5 reading directory block [ 6760.528675] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm find: error -5 reading directory block [ 6768.741047] EXT4-fs error: 50 callbacks suppressed [ 6768.741059] EXT4-fs error (device sda1): ext4_get_inode_loc:4433: inode #46530561: block 186122272: comm smbd: unable to read itable block [ 6768.752105] EXT4-fs error (device sda1): ext4_get_inode_loc:4433: inode #46530561: block 186122272: comm smbd: unable to read itable block [ 6768.764832] EXT4-fs error (device sda1): ext4_get_inode_loc:4433: inode #46530561: block 186122272: comm smbd: unable to read itable block [ 6768.776428] EXT4-fs error (device sda1): ext4_get_inode_loc:4433: inode #46530561: block 186122272: comm smbd: unable to read itable block [ 6768.793280] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.799967] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.810138] EXT4-fs error (device sda1): __ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.820239] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm smbd: error -5 reading directory block [ 6768.820344] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.831610] EXT4-fs error (device sda1): ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.840186] EXT4-fs error (device sda1): __ext4_find_entry:1663: inode #2: comm smbd: reading directory lblock 0 [ 6768.850503] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm smbd: error -5 reading directory block [ 6768.859854] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm smbd: error -5 reading directory block [ 6775.996954] EXT4-fs warning (device sda1): htree_dirblock_to_tree:1072: inode #2: lblock 0: comm smbd: error -5 reading directory block
Goodday!
It's seems i solve the problem aflter replacing short usb cable to long usb cable.
I have ssd usb drive
UPDATE: with short usb cable read speed ~270МB/s(i have odroid c4), write speed ~45MB/s; with long sub cable i have 32MB/s read and write speed.
Seems there is a bug on high data transfer rate...
My external SSD attached to one of the USB3 ports of my rpi4 is not accessible after some time, from the dmsg log seems to me it get disconnected, but I'm not sure.
The sata/usb thing I am using is one of the jmicron crappy one that needs UAS disabled to work well.
This setup has been ultra stable for months (with 0 problems and no reboots) until I think 2/3 weeks ago I did a sudo apt update && sudo apt full-upgrade, maybe some update messed up my system?
System RPI 4 4gb with raspbian lite on sd card
Logs