umbrel-os
umbrel-os copied to clipboard
SSD cannot be found
Most of the time, after upgrading and re-updating my alias for LND, I have to disable the UAS protocol so Umbrel can see my SSD, ....I use the following command.
sed -i 's/ blacklist_uas/ #blacklist_uas/g' /home/umbrel/umbrel/scripts/umbrel-os/external-storage/mount
I was given this command by one of the guys that was working on the project previously. Is it possible to fix this so I don't have to run this command and then reboot afterwards?
So, I was trying to figure out why my SSD wasn't loading, and why it did before. Before, I manually mounted my SSD, which bypassed all the umbrel OS scripts. Then, I decided to start fresh and let Umbrel OS manage my storage. After doing this "fresh install" I had no idea why I was getting the following error when it worked perfectly before:
dmesg
output (either directly after boot with the drive plugged in, or inserting the drive after boot).
[ 8.537117] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 8.665315] usb 1-1: device descriptor read/64, error -7]
[ 8.901338] usb 1-1: device descriptor read/64, error -71
[ 9.137114] usb 1-1: new high-speed USB device number 3 using xhci_hcd
[ 9.265308] usb 1-1: device descriptor read/64, error -71
[ 9.501316] usb 1-1: device descriptor read/64, error -71
[ 9.609326] usb usb1-port1: attempt power cycle
[ 10.021124] usb 1-1: new high-speed USB device number 4 using xhci_hcd
[ 10.629025] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 10.833220] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 11.037279] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 11.037314] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.041155] usb 1-1: device not accepting address 4, error -22
[ 11.169131] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[ 11.169251] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 11.377227] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 11.585115] usb 1-1: device not accepting address 5, error -22
[ 11.585349] usb usb1-port1: unable to enumerate USB device
Furthermore, after plugging in the SSD and having this error occur, it would wipe out functionality on all USB ports on the RPI (simple keyboard and all)
It seems that this blacklist function is not ready for primetime??
Was trying to figure out which device to return, the Raspberry Pi or the SSD, before I install rasperry pi OS and realized it had something to do with Umbrel OS
Are you using the official Raspberry Pi power supply and the reccomended SSD and enclosure on our website?
The Pi has underpowered USB ports and can be very unreliable with certain combinations. Blacklisting the UAS drivers offers significantly improved stability but only under most hardware we've tested. But some combinations of hardware can still have issues.
No, I am using the 5.1v 3.5a power supply that came with the Canakit Raspberry Pi 4 set up kit, and the hard drive is Crucial X6 1TB Portable SSD - Up to 540 MB/s - USB 3.2 - External Solid State Drive, USB-C - CT1000X6SSD9.
I think this combination works fine, in fact I've been hammering it with experiments to debug https://github.com/getumbrel/umbrel-lightning/issues/20 and it's been rock solid. The black list script was kind of like a hidden gotcha from my perspective.
How would you feel about prompting the user at start up that their configuration is unsupported and to proceed with caution?
We've had a huge amount of reports from users experiencing problems with the Canakit power supplies. Would strongly advise changing to the official Raspberry Pi power supply.
How would you feel about prompting the user at start up that their configuration is unsupported and to proceed with caution?
It's a nice idea although I think it could cause some confusion for non-technical users, when there hardware config may work well even if it's non-standard. It would also mean maintaining and constantly updating a list of supported/unsupported hardware which was the problem we had before when we were manually disabling UAS for certain devices and then decided to stop doing that and just blanket disable for all devices.
Same issue: hard drive Crucial X6 1TB Portable SSD - Up to 540 MB/s - USB 3.2 - External Solid State Drive, USB-C - CT1000X6SSD9 I've changed my power supply...and that's it! Awesome! All works very nice