#1141243 udev: When add "rw single init=/bin/bash" in cmdline, the USB device cannot be recognized after system startup.

Package:
udev
Source:
udev
Description:
/dev/ and hotplug management daemon
Submitter:
Fangli FL14 Wang
Date:
2026-07-02 02:33:03 UTC
Severity:
normal
#1141243#5
Date:
2026-07-02 02:31:33 UTC
From:
To:
Dear Maintainer,


   * What led up to the situation?
add "rw single init=/bin/bash" in cmdline to enter single user mode
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Add sleep before init exec scripts/init-bottom/udev
   * What was the outcome of this action?
It can resolve this problem
   * What outcome did you expect instead?
USB devices should work in single user mode

Log for this problem as below:
[    9.031529][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.36-1~deb12u1

[    9.121122][ T2260] fjes: module verification failed: signature and/or required key missing - tainting kernel
[    9.132577][    T8] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[    9.141673][    T8] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
[    9.150996][    T8] piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
[    9.165942][ T2248] ACPI: bus type USB registered
[    9.171248][ T2248] usbcore: registered new interface driver usbfs
[    9.178195][ T2248] usbcore: registered new interface driver hub
[    9.184987][ T2248] usbcore: registered new device driver usb
[    9.200847][    T8] xhci_hcd 0000:01:00.4: xHCI Host Controller
[    9.207514][    T8] xhci_hcd 0000:01:00.4: new USB bus registered, assigned bus number 1
[    9.216958][    T8] xhci_hcd 0000:01:00.4: hcc params 0x0120ffc5 hci version 0x120 quirks 0x0000000200000010
[    9.228066][    T9] nvme nvme0: pci function 0001:01:00.0
[    9.234571][    T8] xhci_hcd 0000:01:00.4: xHCI Host Controller
[    9.241232][    T8] xhci_hcd 0000:01:00.4: new USB bus registered, assigned bus number 2
[    9.250382][    T8] xhci_hcd 0000:01:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    9.259122][    T8] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    9.269184][    T8] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.278074][    T8] usb usb1: Product: xHCI Host Controller
[    9.284344][    T8] usb usb1: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.292260][    T8] usb usb1: SerialNumber: 0000:01:00.4
[    9.298228][    T9] nvme nvme0: Shutdown timeout set to 8 seconds
[    9.305154][    T8] hub 1-0:1.0: USB hub found
[    9.310153][    T8] hub 1-0:1.0: 1 port detected
[    9.315394][    T8] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.330226][    T8] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    9.340290][    T8] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.349181][    T8] usb usb2: Product: xHCI Host Controller
[    9.355441][    T8] usb usb2: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.363354][    T8] usb usb2: SerialNumber: 0000:01:00.4
[    9.369401][    T8] hub 2-0:1.0: USB hub found
[    9.374414][    T8] hub 2-0:1.0: 1 port detected
[    9.379762][    T8] xhci_hcd 0001:04:03.0: xHCI Host Controller
[    9.386425][    T8] xhci_hcd 0001:04:03.0: new USB bus registered, assigned bus number 3
[    9.395774][    T8] xhci_hcd 0001:04:03.0: hcc params 0x0118ffcd hci version 0x120 quirks 0x0000000200000010
[    9.406899][    T8] xhci_hcd 0001:04:03.0: xHCI Host Controller
[    9.413553][    T8] xhci_hcd 0001:04:03.0: new USB bus registered, assigned bus number 4
[    9.422643][    T8] xhci_hcd 0001:04:03.0: Host supports USB 3.1 Enhanced SuperSpeed
[    9.431352][    T8] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    9.441413][    T8] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.450299][    T8] usb usb3: Product: xHCI Host Controller
[    9.456557][    T8] usb usb3: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.464470][    T8] usb usb3: SerialNumber: 0001:04:03.0
[    9.470499][    T8] hub 3-0:1.0: USB hub found
[    9.475512][    T8] hub 3-0:1.0: 1 port detected
[    9.480771][    T8] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.490686][    T8] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    9.500736][    T8] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.509626][    T8] usb usb4: Product: xHCI Host Controller
[    9.515881][    T8] usb usb4: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.523794][    T8] usb usb4: SerialNumber: 0001:04:03.0
[    9.529826][    T8] hub 4-0:1.0: USB hub found
[    9.534840][    T8] hub 4-0:1.0: 1 port detected
[    9.540138][    T8] xhci_hcd 0001:05:00.4: xHCI Host Controller
[    9.546798][    T8] xhci_hcd 0001:05:00.4: new USB bus registered, assigned bus number 5
[    9.556285][    T8] xhci_hcd 0001:05:00.4: hcc params 0x0120ffc5 hci version 0x120 quirks 0x0000000200000010
[    9.567666][    T8] xhci_hcd 0001:05:00.4: xHCI Host Controller
[    9.574319][    T8] xhci_hcd 0001:05:00.4: new USB bus registered, assigned bus number 6
[    9.583419][    T8] xhci_hcd 0001:05:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    9.592150][    T8] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    9.602211][    T8] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.611099][    T8] usb usb5: Product: xHCI Host Controller
[    9.617356][    T8] usb usb5: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.625270][    T8] usb usb5: SerialNumber: 0001:05:00.4
[    9.631235][ T2587] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    9.639423][    T8] hub 5-0:1.0: USB hub found
[    9.644445][    T8] hub 5-0:1.0: 1 port detected
[    9.649708][    T8] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.659598][    T8] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    9.669657][    T8] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.678548][    T8] usb usb6: Product: xHCI Host Controller
[    9.684804][    T8] usb usb6: Manufacturer: Linux 6.6.95.ve.3-amd64 xhci-hcd
[    9.692717][    T8] usb usb6: SerialNumber: 0001:05:00.4
[    9.698786][    T8] hub 6-0:1.0: USB hub found
[    9.703790][    T8] hub 6-0:1.0: 1 port detected
[    9.730353][    T9] nvme nvme0: 256/0/0 default/read/poll queues
[    9.749003][ T1743]  nvme0n1: p1 p2 p3
[    9.763255][ T2590] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[    9.774915][ T2587] usb 1-1: New USB device found, idVendor=214b, idProduct=7250, bcdDevice= 1.00
[    9.784888][ T2587] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.793682][ T2587] usb 1-1: Product: USB2.0 HUB
[    9.835189][ T2587] hub 1-1:1.0: USB hub found
[    9.840427][ T2587] hub 1-1:1.0: 4 ports detected
[    9.897581][ T2590] usb 3-1: New USB device found, idVendor=1d6b, idProduct=0107, bcdDevice= 1.00
[    9.907547][ T2590] usb 3-1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.916338][ T2590] usb 3-1: Product: USB Virtual Hub
[    9.922010][ T2590] usb 3-1: Manufacturer: Aspeed
[    9.927290][ T2590] usb 3-1: SerialNumber: 00000000
[    9.939789][ T2590] hub 3-1:1.0: USB hub found
[    9.944826][ T2590] hub 3-1:1.0: 7 ports detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext4 (1) -- /dev/nvme0n1p2] fsck.ext4 -a -C0 /dev/nvme0n1p2
/dev/nvme0n1p2: clean, 35472/234332160 files, 15364251/937303040 blocks
done.
[   10.040495][ T2631] EXT4-fs (nvme0n1p2): mounted filesystem e21c2203-8ed0-4e9f-98e9-5506cab58393 r/w with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
[?2004hroot@(none):/# [   10.121266][ T1805] usb 1-1.1: new low-speed USB device number 3 using xhci_hcd
[   10.230124][ T1805] usb 1-1.1: No LPM exit latency info found, disabling LPM.
[   10.238147][ T2592] usb 3-1.1: new high-speed USB device number 3 using xhci_hcd
[   10.275120][ T1805] usb 1-1.1: New USB device found, idVendor=343c, idProduct=0000, bcdDevice= 0.00
[   10.285281][ T1805] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.294267][ T1805] usb 1-1.1: Product: USB Type-C Digital AV Adapter
[   10.301498][ T1805] usb 1-1.1: Manufacturer: xxxxxxxx
[   10.307170][ T1805] usb 1-1.1: SerialNumber: 000000000000
[   10.325582][ T2592] usb 3-1.1: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 1.00
[   10.335744][ T2592] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.344734][ T2592] usb 3-1.1: Product: Virtual Keyboard and Mouse
[   10.351672][ T2592] usb 3-1.1: Manufacturer: OpenBMC
[   10.357235][ T2592] usb 3-1.1: SerialNumber: OBMC0001
[   10.427269][ T1805] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[   10.515666][ T1805] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
[   10.525826][ T1805] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.534824][ T1805] usb 1-1.2: Product:  SanDisk 3.2Gen1
[   10.540788][ T1805] usb 1-1.2: Manufacturer:  USB
[   10.546077][ T1805] usb 1-1.2: SerialNumber: 0101db3d0d8c4d9437bd5350bcbee467f6be6d448a2c4e0df8e6b69e6c25f217635600000000000000000000cd801930001e1300915581079d3304a8
[   10.627264][ T1805] usb 1-1.3: new low-speed USB device number 5 using xhci_hcd
[   10.731116][ T1805] usb 1-1.3: New USB device found, idVendor=1c4f, idProduct=0002, bcdDevice= 1.10
[   10.741277][ T1805] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   10.750261][ T1805] usb 1-1.3: Product: USB Keyboard
[   10.755833][ T1805] usb 1-1.3: Manufacturer: SIGMACHIP
[   10.892276][ T1805] usb 1-1.4: new high-speed USB device number 6 using xhci_hcd
[   10.981917][ T1805] usb 1-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 3.00
[   10.992077][ T1805] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   11.001068][ T1805] usb 1-1.4: Product: AX88772E
[   11.006251][ T1805] usb 1-1.4: Manufacturer: ASIX
[   11.011532][ T1805] usb 1-1.4: SerialNumber: 00333AE5

udev exits in /scripts/init-bottom and kernel send uevent after this. So
USB devices cannot be recognized. I have tried two ways to resolve this
problem.
1. Add sleep before executing /scripts/init-bottom
2. load hid, usbid, hid-generic in early boot

Could you please help to resolve this problem?