Skip to content

Firmware change initial_turbo=60 causes kernel hangs when booting from USB #1958

Open
@agners

Description

@agners

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).

Image

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) in config.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:

  • Which model of Raspberry Pi? Pi3B+
  • Which OS and version (cat /etc/rpi-issue)? Home Assistant OS 15.1
  • Which firmware version (vcgencmd version)? See above
  • Which kernel version (uname -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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions