[Bug 430405] New: mkinitrd should not check the running kernel
https://bugzilla.novell.com/show_bug.cgi?id=430405 Summary: mkinitrd should not check the running kernel Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: hare@novell.com ReportedBy: agruen@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=242101) --> (https://bugzilla.novell.com/attachment.cgi?id=242101) Buggy check When computing the list of modules which should be included in the initrd, mkinitrd tries to be smart about modules which used to be standalone, and which have been built into the main kernel image later. There is no way to determine which modules have been built into a kernel, so mkinitrd currently looks at the running kernel and tries to guess from the contents of /sys/modules whether a module has likely become a built-in. This is broken. Nevertheless, we want to keep kernel upgrade paths painless and so failing mkinitrd whenever a module cannot be found is not acceptable. I have sent a proposal how to fix this to the upstream kbuild maintainer (Hannes, you were CCed). The proposal is to compute the list of built-in modules and attach that to the kernel image, or at least the kernel package. I am attaching a patch showing where mkinitrd gets this wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430405
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=430405
User hare@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c2
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=430405
User agraf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c3
Alexander Graf
https://bugzilla.novell.com/show_bug.cgi?id=430405
User agruen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c4
Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=430405
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c5
--- Comment #5 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=430405
User agruen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c6
--- Comment #6 from Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=430405
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430405#c7
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=430405
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com