-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Firmware change initial_turbo=60 causes kernel hangs when booting from USB #1958
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
Comments
Does 'force_turbo=1' work ? Please could you try this on RPi OS to help us determine whether it's just software or software + hardware? |
Checking the code, |
FWIW, this is the kernel boot log firmware information: Non-working, from 4f43ba2.
Working, from 3b48b3b
Testing now with |
So with the latter firmware (from 3b48b3b) and
I've tried that on the non-working firmware (from 4f43ba2), and it seems to hang after a short while as well.
That setup worked for about 2 years, in my closet as a test setup, and it definitely is related to the mentioned firmware update. But if necessary, I can try to reproduce it on RPi OS as well. |
Just some thoughts: Since I guess that wouldn't explain why old firmware + |
I was able to reproduce the problem on the same device with a different USB SSD, in this case a Samsung Portable SSD T1. Same thing with Home Assistant, shortly after boot with the new firmware or the old firmware plug I then moved on to Raspberry Pi OS (64-bit), and it didn't manage to complete booting. The system did hang during later bootup stage, similar to Home Assistant OS. I then replaced the firmware files with the older ones, and bootup completed successful. So on my Raspberry Pi 3+, this is definitely also reproducible with Raspberry Pi OS. |
I've looked into this again today, it seems that Raspberry Pi OS initially comes with an older version, specifically:
Today however, that firmware with Raspberry Pi OS behaved just fine 🤔 🤷 I then updated to the problematic firmware:
First things appeared to be stable for a while, but by stressing I/O a bit (downloading a Docker container) the Raspberry Pi OS froze twice here.
With that, HAOS this seems to freeze already in U-Boot. FWIW, I also switched the power supply, but that didn't seem to make things more stable. |
Describe the bug
Running firmwares from 4f43ba2 or newer cause Home Assistant OS 15.1.dev20250326 (using Raspberry Pi Kernel 6.6.74) to hang on I/O with hung tasks errors (presumably USB bus stops working).
Note: I am one of the developer of Home Assistant OS. I report this here as the error has been pinpointed to the firmware update, and bisected to the offending firmware commit: The firmware before 4f43ba2 works reliable, the firmware at 4f43ba2 doesn't work.
I've also tried to revert the change by setting
initial_turbo=0
(presumably the previous default) inconfig.txt
manually. However, this does not seem to resolve the issue.Are there other changes in that particular firmware update which might be responsible for this behavior change?
Sidenote: Besides the above issue we have also noticed that some SD card stopped working in U-Boot (timeouts communicating with the SD card, see home-assistant/operating-system#3965). That seemed to be resolved by
initial_turbo=0
. Now this might be a bug in U-Boot, and not related what I am reporting here, just thought I mention that this firmware update seems to have side effects.To reproduce
Install Home Assistant OS 15.1 on a USB flash drive (by default shipped with firmware binaries from 1.20250305 tag).
Expected behaviour
No hangs.
Actual behaviour
Kernel hang on I/O.
System
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:
cat /etc/rpi-issue
)? Home Assistant OS 15.1vcgencmd version
)? See aboveuname -a
)?Linux ha-shelf1-rpi3plus-usb 6.6.74-haos-raspi #1 SMP PREEMPT Wed Mar 26 18:49:29 UTC 2025 aarch64 HAOS
Logs
If applicable, add the relevant output from
dmesg
or similar.Additional context
Add any other relevant context for the problem.
The text was updated successfully, but these errors were encountered: