[arch-general] [arch-dev-public] Mkinitcpio replacement with Dracut

Genes Lists lists at sapience.com
Mon May 27 18:07:54 UTC 2019


Hi

I've come across a possible issue which related to usb keyboard/mouse
device.

I notice that booting using dracut initramfs with kernel 5.2-rc2 that as
soon as it boots it shows on the console: stopping job udev Kernel
Device Manager with red spinner.

This times out and boot continues fine - once the system has booted I
check the boot log and included interesting part of logs below. Keyboard
and mouse are both working and the relevant hid modules are loaded fine
- and xinput shows all looking normal.

Interesingly, using mkinitcpio initrd with same 5.2 kernel- the system
comes up with no keyboard or mouse (it uses logitech wireless
kbd/mouse). The hid_logitech modules seem not to have been loaded at
all. So something in the newer kernel is leading to this issue but
dracut manages to pull through anyway while mkinitcpio does not.

Obviously anyone experiencing this might be quite taken aback.

Also, everythign works fine with 5.1.5 kernel with both dracut and
mkinitcpio. the hid modules are all fine for that test case.

udev is a bit of a mystery to me - but thought I'd best mention the problem.

gene



--- boot journal with 5.2 with dracut --------

 saplinux systemd[1]: systemd-udev-trigger.service: Succeeded.
 saplinux systemd[1]: Stopped udev Coldplug all Devices.
 saplinux systemd[1]: dracut-pre-trigger.service: Succeeded.
 saplinux systemd[1]: Stopped dracut pre-trigger hook.
 saplinux systemd[1]: Stopping udev Kernel Device Manager...

...

 saplinux systemd-udevd[386]: Giving up waiting for workers to finish.
 saplinux systemd-udevd[386]: Event loop failed: Connection timed out
 saplinux systemd[1]: systemd-udevd.service: Main process exited,
code=exited, status=1/F>
 saplinux systemd[1]: systemd-udevd.service: Killing process 459
(systemd-udevd) with sig>
 saplinux systemd[1]: systemd-udevd.service: Killing process 480
(systemd-udevd) with sig>
 saplinux systemd[1]: systemd-udevd.service: Killing process 482
(systemd-udevd) with sig>

 saplinux kernel: input: Logitech USB Receiver as
/devices/pci0000:00/0000:00:14.0/usb1/1>
 saplinux kernel: hid-generic 0003:046D:C52B.0001: input,hidraw0: USB
HID v1.11 Keyboard >
 saplinux kernel: input: Logitech USB Receiver Mouse as
/devices/pci0000:00/0000:00:14.0/>
 saplinux kernel: input: Logitech USB Receiver Consumer Control as
/devices/pci0000:00/00>
 saplinux kernel: input: Logitech USB Receiver System Control as
/devices/pci0000:00/0000>
 saplinux kernel: hid-generic 0003:046D:C52B.0002:
input,hiddev0,hidraw1: USB HID v1.11 M>
 saplinux kernel: hid-generic 0003:046D:C52B.0003: hiddev1,hidraw2: USB
HID v1.11 Device >
 saplinux kernel: usbcore: registered new interface driver usbhid
 saplinux kernel: usbhid: USB HID core driver
 saplinux systemd[1]: systemd-udevd.service: Failed with result
'exit-code'.

 saplinux systemd[1]: Stopped udev Kernel Device Manager.
 saplinux systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.


More information about the arch-general mailing list