Bug 2155882 - Raspberry Pi 4 does not boot with USB HDD attached
Summary: Raspberry Pi 4 does not boot with USB HDD attached
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: uboot-tools
Version: 37
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-22 18:05 UTC by Joshua Noeske
Modified: 2023-12-05 20:32 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-05 20:32:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joshua Noeske 2022-12-22 18:05:43 UTC
Description of problem:
When I attach an USB HDD to my Raspberry Pi 4, it does not boot any more. When U-Boot initialises the USB controller, it shows:

scanning bus xhci_pci for devices... Device NOT ready
    Request Sense returned 02 04 01

Afterwards, nothing happens.

Version-Release number of selected component (if applicable):
The package uboot-images-armv8 (which I could not select as component, sadly) is at version 2022.10-1.fc37.

How reproducible:
I am not sure what exactly is meant with that, but this happens every time with my Pi.


Steps to Reproduce:
1. Install Fedora Linux on an SD Card as described in https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/
2. Finish initialisation.
3. Plug HDD and reboot the Pi.

Actual results:
Pi does not boot and is stuck with the message above being the last thing printed on the screen

Expected results:
The Pi boots just fine.

Additional info:
While this happens, the HDD is in the spin-up phase, thus I think this might mean that the device is not ready *yet*. But the boot process does not continue by itself, and since I want to use the Pi headless without physical access all the time, it is no solution to always unplug the HDD before rebooting.
I have not tried it with another HDD since I only have one, but it is brand-new and it works fine with other devices.
Moreover, I have tried connecting an USB-stick during boot, and this also works fine.

Comment 1 Joshua Noeske 2022-12-22 18:20:17 UTC
Sorry, what I forgot to mention: I used the aarch64 raw image of Fedora, not the arm32 variant.

Comment 2 Peter Robinson 2022-12-25 03:57:21 UTC
What sort of PSU are you running the RPi with, is the HDD self powered or USB powered. What is the make/model.

Comment 3 Joshua Noeske 2022-12-25 08:45:05 UTC
I am using the official EU PSU for the RPi. The HDD is a WD Elements Portable 2TB, so it does not have an external PSU. 
I successfully ran the same setup with Ubuntu Server/Raspberry Pi OS installed on the Pi. The HDD was connected at all times and the Pi was able to boot successfully with it connected and spinning up during boot.

Comment 4 miwagner1 2023-04-13 02:54:57 UTC
I have the exact same results with a couple of my pi4s and USB-powered HDD which have been used to USB boot Raspberry pi os in the Past.
F37 IoT with all of my WD drives.

Comment 5 Aoife Moloney 2023-11-23 00:49:36 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Joshua Noeske 2023-12-05 20:32:22 UTC
This does not seem to be the case any more with Fedora 39.


Note You need to log in before you can comment on or make changes to this bug.