-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crucial BX500 SSD using a StarTech USB 3.0(USB3S2SAT3CB) cable USB-Boot fails after doing a soft reboot #261
Comments
Have you tried experimenting with the |
Thanks for the link @lurch. I've just read through and two settings stand out: It seems with I also try a few settings using Given these settings, I have updated my config in post 1. |
Just did a fresh install on my Pi. Here's a couple of things I discovered (still with the same boot loader config). 1. With both devices plugged in (Crucial BX500 and WD Elements HDD), it boots fine every-time At this stage the WD Elements is not mounted. Contents in
|
Could you try 1a. - boot with both devices plugged in but with WD Elements not mounted, mount it manually using the This sounds like such a strange edge-case that I suspect Tim will need XHCI_DEBUG logs in order to diagnose this further. |
I would recommend getting an HDMI cable or hooking up a serial interface in order to find out at what point the boot fails. Without this information we are just guessing. Also think about the power supply - one difference with the automatic mounting is the higher peak power consumption during boot when, thanks to systemd, everything is happening at once. |
Thank you both (@lurch + @pelwell - appreciate your time!
I have just commented out the line in
Thanks Phil, you're right. I have went ahead and order a cable which should arrive tomorrow. Hoping that there is a obvious error waiting for me when I login. I think my power supply is fine and has plenty of power. It is the only one connected into an Anker PowerPort 60 W. Lucky this has been pretty solid over the years. So far, I am thinking it's fine when my main bootable SSD is plugged in (BX500), and when my elements hard drive is also plugged in, it does not like it (I really need my Elements HHD as it stores a ton of media). Once the cable has arrived, I'll plug in and reveal any findings. |
So the able arrived but a an opps moment! I ordered the a mini USB cable rather than the micro! Should arrive on Thursday and should be able to show you what is going on at boot. I also forgot to mention, I have another USB attached which is the conbee ii Zigbee stick which I use for my home automation system. I managed to get the UID and PID for this also and just added it to the config... made no difference however. Here is the latest config:
|
A Zigbee stick probably doesn't appear as a USB Mass Storage Device, and so there's no need to add it to the MSD_EXCLUDE list 🙂 |
Please can you try the experimental bootloader on this comment #266 (comment) to see if it improves the situation. |
Thanks! I have uploaded this firmware and it gets passed the error screen. Now that I have a monitor, I can now see things I couldn't before. Upload booting, I noticed an error with 'Network-Manager' which looks like it was left over from some other install (Home Assistant) and I deleted it. After a few restarts, I am still facing the same issue of not being able to login to SSH after a soft-reboot (I am able to login directly on the Pi but not on another system on the network). Fresh install: Fast forward a couple of hours, I decided to start a clean install and not configure a single thing yet to rule everything I have done out. First boot, I login via the default credentials then initiate the reboot Summary: I am not sure what is going on here. It seems like it just looses the connection on a soft-reboot and struggles to recover from it. Upon removing the ethernet and plugging it back in, I can again login to SSH. I can always login to SSH directly on the Pi. When in the state when I am unable to login externally... I try to ping my router via the Pi and it does not respond to pings. I remove the ethernet cable, plug it in again and suddenly everything works again. |
Here's a couple of things I found out:
|
If Linux is running, then your problems with networking are a Linux-related issue rather an EEPROM-related issue, so you should probably ask for help on the Raspberry Pi forums. |
The 2021-02-16 stable release now configures now configures the Ethernet PHY rxid mode in the same manner as the 5.10 Raspberry Pi OS kernel. This might improve the situation on Home Assistant. |
Closed due to inactivity |
Describe the bug
I am booting from a Crucial BX500 SSD using a StarTech USB 3.0(USB3S2SAT3CB) cable. When doing a soft reboot via
sudo reboot
the system does not boot back up (but it does work fine if doing a hard reboot).@tmm1 was having similar issues in #241. I installed the
2020-10-28 BETA
and seemed to be working fine but has returned on the2020-11-24
version.Unfortunately, I do not have a HDMI cable to attach a monitor to get the output of the screen. If you think that will help (if no one else has reported such issues), I can purchase one to help with the issue.
Expected behaviour
Always boot via Crucial BX500 SSD when doing a soft reboot via
sudo reboot
.Bootloader version and configuration
For
USB_MSD_PWR_OFF_TIME:
settings, see comments in post 3USB boot:
I am booting from: Crucial BX500 SSD using a StarTech USB 3.0 (USB3S2SAT3CB) cable.
In addition, I have a WD Elements connected that stores media only and not used for booting.
'lsusb -vvv' Output
The text was updated successfully, but these errors were encountered: