I broke my system trying to port a USB device driver module

I was working on porting the module (u50.ko) for a USB device (U60 LonTalk interface). At some point, new SSH sessions were unresponsive. rebooting…emergency mode…etc
Now 5.14.0-284.11.1.el9_2.x86_64 has booted and the terminal window is responsive. The two newer kernels either boot to emergency mode or have an unresponsive terminal window. Some history:

For kernel 5.14.0.-362.13.1.el9_3.x86_64:
cp /boot/initramfs-<kernel_version>.img /boot/initramfs<kernel_version>.bak
dracut -f /boot/initramfs-<kernel_version>.img <kernel_version>

realpath: extra/u50.ko: No such file or directory
dracut: installkernel failed in module kernel-modules-extra

restored u50.ko from /var/tmp and ran dracut cmd again - succeeded and rebooting

Warning: /dev/mapper/rl00-root does not exist
Warning: /dev/rl00/root does not exist
Warning: /dev/rl100/swap does not exist

I saved “journalctl -xb” to a text file. With this kernel, I see /dev/rl00 home, root and swap.

I booted from a minimal 9.3 CD. The system is mounted at /mnt/sysroot;. There is no /mnt/sysroot/run/initramfs/rdsosreport.txt.

When it boots to emergency mode, neither the wireless keyboard nor a wired keyboard works.

I was able to boot an older kernel but was unable to fix or remove the newest kernel. I gave up and re-installed.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.