Bug 1965585 - Boot process hangs at "Switch Root" with bluetooth modules
Summary: Boot process hangs at "Switch Root" with bluetooth modules
Keywords:
Status: CLOSED DUPLICATE of bug 1964879
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 34
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1968699 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-28 08:10 UTC by hyphone
Modified: 2021-06-10 00:50 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-06-10 00:50:34 UTC
Type: Bug
Embargoed:
kparal: fedora_prioritized_bug?


Attachments (Terms of Use)
initramfs generated with dracut 053 (254.06 KB, text/plain)
2021-05-28 16:32 UTC, Guilherme C.
no flags Details
initramfs generated with dracut 054 (285.80 KB, text/plain)
2021-05-28 16:33 UTC, Guilherme C.
no flags Details

Description hyphone 2021-05-28 08:10:11 UTC
Originally filed here: https://github.com/dracutdevs/dracut/issues/1521

Description:
- as soon as I pair my Bluetooth devices and regenerate the initramfs it does not boot anymore
  - hanging at Starting... Switch Root

Setup:
- LUKS encrypted system
- dracut 054-12.git20210521.fc34

Expected behavior:
- boot process should be successful

Bluetooth devices:
- lspci: 02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
- lsusb: Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth

- Thinkpad BT keyboard with trackpoint
- Logitech MX Master mouse

Workaround:
- as soon as I omit the bluetooth module from dracut and regenerate the initramfs the boot process succeeds

Could this be related with https://bugzilla.redhat.com/show_bug.cgi?id=1963424 ?

Comment 1 Guilherme C. 2021-05-28 16:32:11 UTC
I confirm the issue.

I've attached is "lsinitrd /boot/initramfs-$(uname -r).img" results as advised by @javierm on #fedora-dev

Each initramfs made with a different dracut:
dracut053.log
dracut054.log

For now the problem is somewhat unnoticeable because dracut was pushed before the kernel updates.
As long the users start to receive kernel updates they will have systems with broken boot.

I've also commented on the bodhi release here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b4fb378d55

I've also have attached Bluetooth devices.

Workaround for me was to downgrade to dracut 0.53

Comment 2 Guilherme C. 2021-05-28 16:32:51 UTC
Created attachment 1787872 [details]
initramfs generated with dracut 053

This initramfs works

Comment 3 Guilherme C. 2021-05-28 16:33:14 UTC
Created attachment 1787873 [details]
initramfs generated with dracut 054

this one doesn't work

Comment 4 hyphone 2021-05-28 16:59:50 UTC
This also applies for dracut 055-1.fc34

Comment 5 Andrea Perotti 2021-05-28 17:12:09 UTC
Same problem here: Updated to dracut-054-12.git20210521.fc34.x86_64 and later to a new kernel and I have keyboard + mouse connected via bluetooth, .

At first reboot system stuck for long time at "Switch Root" and when move over
abrtd, avahi-daemon, bluetooth, dbus, NetworkManager, rtkit-daemon, systemd-machined are in failed state.

Restarting them bring the system back to its full capabilities, but is bad experience for end-user.

If any log may be useful, let me know

Comment 7 Alexander Scheel 2021-06-07 23:45:43 UTC
*** Bug 1968699 has been marked as a duplicate of this bug. ***

Comment 8 Adam Williamson 2021-06-10 00:50:34 UTC
yeah, I think these are all the same thing.

*** This bug has been marked as a duplicate of bug 1964879 ***


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