initramfs: kernel update adds unwanted driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fedora 27 with kernel recently updated to 4.15.15-300.fc27.i686, I
ran into a problem when I installed a new version of a driver (we'll
call "foo") in /lib/modules/$(uname -r)/kernel/drivers/[...].

Doing a "rmmod foo; modprobe foo" loads the new driver and everything
works great.  However, rebooting loads a 15-year old version of the
driver (which doesn't work great).

lsinitrd shows that the 15-year old driver is present in the
initramfs.  On a clean install of Fedora 27 (running an identical
kernel version) the initramfs does not contain the "foo" driver at
all.

Did the kernel upgrade process muck up the initramfs by adding the old
version of the "foo" driver?  The "old" version is the one that's
shipped with the kernel package, but I've never seen it included in
the initramfs before.

What's the best way to remove the old, broken driver from the
initramfs so that the driver in the root filesystem is used on boot?

Is there a way to prevent the kernel update process from adding the
driver back to the initramfs the next time a kernel is updated?

Alternatively, I suppose I could add a "service" that runs at boot
time and does a "rmmod foo; modrobe foo", but that seems like the
wrong way to fix this...

-- 
Grant
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux