Artix Linux Forum

Artix Linux => System => Topic started by: phoenix_king_rus on 14 December 2023, 18:32:40

Title: [Solved] udev removes usb root device making system unbootable
Post by: phoenix_king_rus on 14 December 2023, 18:32:40
Hi all!
After recent update one of my SBCs became unbootable due to strange udev behavior. This SBC uses /dev/sda1 as / which itself is an USB HDD. When udevadm trigger is run, USB hub disconnects thus removing /dev/sda entirely and is afterwards added again with /dev/sdb for the same disk. Can anyone explain why does this happen and how to fix it? I tried with both mainline and lts kernels, also tried to downgrade udev. Dmesg from this case: https://paste.artixlinux.org/f750d748 (https://paste.artixlinux.org/f750d748)
Title: Re: udev removes usb root device making system unbootable
Post by: phoenix_king_rus on 14 December 2023, 20:11:47
The solution appeared to be adding onboard_usb_hub module to initramfs