-
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
SSD + Cable Only works on 1 USB 2.0 Port #183
Comments
It might be worth increasing the USB_MSD_LUN_TIMEOUT to 5 seconds in-case the NVME enclosure if very slow to initialise. Once the kernel has started that's the regular Linux USB stack, it might be a UASP issue so try disabling that to run in MSD mode to see if that will boot reliably first |
Steps to increase USB_MSD_LUN_TIMEOUT to 5 seconds: Booted the Pi from an SD card (one I used to setup SSD Boot)
At this point I then copied the *.dat and *.elf files from my SD /boot folder to SSD /boot folder
At this point I turned off the device, took out the SD Card and turned on the Device with the SSD in a 3.0 USB slot. It worked! Thank you for your help. Is there a blog somewhere that keeps track of SSDs and Enclosures. Would like to help anyone else who may have this issue. |
Gah, i spoke too soon. The first boot worked, but now the subsequent boots are not working. I am getting a similar error from before:
|
Steps taken from attached link to disable UASP using provided link: Booted int Raspberry Pi with SD Card and SSD attached. edited /media/pi/boot/cmdline.txt and added usb-storage=idVendor:idProduct:u to front of file Rebooted after this with SD card still in I Checked dmesg again and find
When I do below command I get:
this makes me think the quirk was not setup correctly. Below is setup of quirk:
Regardless I tried booting from SSD. The boot process ended up hanging on the three raspberry screen. I then went back and undid the above steps to return to the error reported in my previous comment when booting from USB 3.0. |
If the raspberries are visible then this sounds like a Linux driver issue at that point the bootloader no longer exists and PCI has been reset. You could try a 5.4 kernel from rpi-update or the latest nightly build http://downloads.raspberrypi.org/nightlies/ |
One thing I noticed when booting from USB vs booting from SD card, is that when booting from USB the USB devices are powered on at the same time as the RPI, which I has a feeling causes a voltage drop, and may cause random issues. I can only boot once out of every 10 times because of this. |
@DrizzutoJr have you tried some of the later eeproms regarding boiting from SSD? |
@DrizzutoJr It would be worth trying the 2021-01-16 latest image, other users have had success with NVMe enclosures using the same chipset |
Closed due to inactivity |
For general boot questions please check the read the Boot Problems sticky post on the forums.
N.B The bootloader does not persist in memory and if the rainbow splash screen has been displayed the issue is likely to be in the firmware or Linux. If so, it's better to target the bug in the Firmware or Linux repositories first e.g. NFS, USB or dmesg logs would be Linux issues.
Describe the bug
A clear and concise description of what the bug is.
I have purchased an SSD Card:
Crucial P2 500GB 3D NAND NVMe PCIe M.2 SSD - CT500P2SSD8
and Enclosure:
TDBT M.2 NVMe SSD Enclosure with Heat Sink - via Amazon
to boot Raspberry Pi from SSD. I followed the Toms Hardware Guide and am unable to boot via either USB 3.0 and one of the USB 2.0. The boot does work on one of the USB 2.0 ports.
When I boot from USB 3.0, I either get stuck in a loop of:
Failed to open devices 'sdcard' (cmd 371a0010 status 1fff0001)
Reset USB port-power 500 ms
root Hub port 1 init
root Hub port 3 init
MSD [2:00] 3.32 000000:03 register MSD
MSD [2:00] 3.32 000000:03 LUN 0
MSD [1:00] 2.16 000000:03 init port 3 speed 1
MSD [1:00] 2.16 000000:03 init port 4 speed 1
MSD [2:00] 3.32 000000:03 LUN 0 timeout 2000ms
OR
I get the screen with 3 raspberries and see
[sda] Asking for cache data failed
[sda] Assuming drive cache: write through
then hangs
To Reproduce
Steps to reproduce the behavior:
Plug in SSD to raspberry Pi (in enclosure) and plug into any USB port other than Bus 001 Device 003. Boot up Raspberry Pi.
Bus 001 Device 003 boots up successfully.
Expected behaviour
A clear and concise description of what you expected to happen.
To boot successfully to Raspian.
Screenshots
If applicable, add a photograph of the bootloader HDMI diagnostics screen.
Bootloader version and configuration
If you have modified the default bootloader release or configuration then please attach the bootloader configuration (vcgencmd bootloader_config) and version (vcgencmd bootloader_version)
vcgencmd bootloader_version:
Jul 6 2020 12:48:15
version 2139c00d5e0f370b707d6c50a738943a7e0cae95 (release)
timestamp 1594036095
vcgencmd bootloader_config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=1
DISABLE_HDMI=0
BOOT_ORDER=0xf41
USB boot (please complete the following information):
For issues booting with specific USB devices please verify that the system boots from an SD-card with the same devices connected and attach the results of 'lsusb -vvv'. This helps to rule out USB HUB power issues.
In the beta release it's likely that a UART or NetConsole boot trace will be required.
lsusb_vvv.txt
attached is lsusb -vvv output when booted from SD card
Additional context
The drive is mounted when I boot from an SD Card and readable by the OS.
The text was updated successfully, but these errors were encountered: