Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

Troubleshooting • Re: Raspberry pi 5: usb disk disconnects randomly

$
0
0
]
OK strange.

i have rpimonitor installed since the beginning, and yesterday, i saw that it said there were several updates on the raspberry pi (i had done a full suite of updates when i first set it up a couple of days ago, so i was surprised there were more updates). So i did the updates, and so far 22 hours later, there has not been ANY usb disk disconnects. dmesg log is totally clean, and everything seems to be running fine. I did not add any software other than doing the sudo apt-updates yesterday and then rebooting the pi5... I wonder if something was fixed?

if this continues, i'm going to count my blessings and become a happy Pi5 user! :)
so, after 72 hours of running. I was fiddling with some settings in rpimonitor and did a sudo reboot. After that, the USB HDD decided to disconnect again. I decided to buy the official raspberry pi 27w power supply for pi5 to eliminate all possibilities. Got it yesterday, installed it, and guess what - same issue.... USB HDD disconnects (as it attempts to wake from sleep i think). Is this still a power issue? even with the official Pi5 power supply?? This is super frustrating

when this happens, dmesg says

Code:

[60651.191211] usb 2-1: cmd cmplt err -71[60656.378942] scsi host1: uas_pre_reset: timed out
Is this a UAS problem? do i need to relook into turning off UAS?
It then has a bunch of buffer io errors, before a reset of all USB ports it seems..

Code:

[60656.675300] usb 2-1: Disable of device-initiated U1 failed.[60656.675314] usb 2-1: Disable of device-initiated U2 failed.[60656.675678] usb 2-1: Enable of device-initiated U1 failed.[60656.675899] usb 2-1: Enable of device-initiated U2 failed.[60656.875059] usb 2-1: reset SuperSpeed USB device number 2 using xhci-hcd[60656.901913] scsi host2: uas[60656.903389] scsi 2:0:0:0: Direct-Access     SABRENT                   0204 PQ: 0 ANSI: 6
I'm stumped, again, this did not happen with a Pi4!!!

full dmesg error below

Code:

[60651.191211] usb 2-1: cmd cmplt err -71[60656.378942] scsi host1: uas_pre_reset: timed out[60656.379169] sd 1:0:0:0: [sda] tag#1 uas_zap_pending 0 uas-tag 1 inflight: CMD[60656.379174] sd 1:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 00 04 3a 64 00 00 04 00[60656.379187] sd 1:0:0:0: [sda] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=DRIVER_OK cmd_age=5s[60656.379191] sd 1:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 00 04 3a 64 00 00 04 00[60656.379193] I/O error, dev sda, sector 2216736 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2[60656.388475] Buffer I/O error on dev sda1, logical block 276836, async page read[60656.388485] Buffer I/O error on dev sda1, logical block 276837, async page read[60656.388487] Buffer I/O error on dev sda1, logical block 276838, async page read[60656.388490] Buffer I/O error on dev sda1, logical block 276839, async page read[60656.389441] Buffer I/O error on dev sda1, logical block 276836, async page read[60656.389448] Buffer I/O error on dev sda1, logical block 276837, async page read[60656.389451] Buffer I/O error on dev sda1, logical block 276838, async page read[60656.389453] Buffer I/O error on dev sda1, logical block 276839, async page read[60656.389524] Buffer I/O error on dev sda1, logical block 276920, async page read[60656.389528] Buffer I/O error on dev sda1, logical block 276921, async page read[60656.435027] sd 1:0:0:0: [sda] Synchronizing SCSI cache[60656.674944] sd 1:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=DRIVER_OK[60656.675300] usb 2-1: Disable of device-initiated U1 failed.[60656.675314] usb 2-1: Disable of device-initiated U2 failed.[60656.675678] usb 2-1: Enable of device-initiated U1 failed.[60656.675899] usb 2-1: Enable of device-initiated U2 failed.[60656.875059] usb 2-1: reset SuperSpeed USB device number 2 using xhci-hcd[60656.901913] scsi host2: uas[60656.903389] scsi 2:0:0:0: Direct-Access     SABRENT                   0204 PQ: 0 ANSI: 6[60656.907585] sd 2:0:0:0: Attached scsi generic sg0 type 0[60661.612014] sd 2:0:0:0: [sdc] 1220942646 4096-byte logical blocks: (5.00 TB/4.55 TiB)[60661.612197] sd 2:0:0:0: [sdc] Write Protect is off[60661.612200] sd 2:0:0:0: [sdc] Mode Sense: 53 00 00 08[60661.612516] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA[60661.612709] sd 2:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes[60661.612711] sd 2:0:0:0: [sdc] Optimal transfer size 33550336 bytes[60661.616025]  sdc: sdc1[60661.616145] sd 2:0:0:0: [sdc] Attached SCSI disk
just found this github issue, which seems very similar

https://github.com/raspberrypi/linux/issues/6055

Statistics: Posted by j3rich0 — Fri May 24, 2024 10:16 pm



Viewing all articles
Browse latest Browse all 3556

Trending Articles