public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] module-init-tools vs. mkinitrd
@ 2003-02-11  7:48 Boszormenyi Zoltan
  2003-02-11 21:19 ` Nicholas Miell
  0 siblings, 1 reply; 2+ messages in thread
From: Boszormenyi Zoltan @ 2003-02-11  7:48 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

Hi Rusty, Alan,

I am using RedHat 8.0 and experimenting sometimes with 2.5.x.
Some time ago I installed modutils-2.4.21-12 from Rusty's directory
from kernel.org and yesterday I upgraded to the latest RH errata kernel.
What surprised me was that the upgraded kernel did not boot up.
The problem is that mkinitrd does not copy /sbin/insmod.static.old
to the initrd image. Using the attached patch or downgrading to the RH8
modutils before upgrading the kernel fixes it.

Best regards,
Zoltán Böszörményi


[-- Attachment #2: mkinitrd.diff --]
[-- Type: text/plain, Size: 400 bytes --]

--- /sbin/mkinitrd.old	2002-09-05 07:07:04.000000000 +0200
+++ /sbin/mkinitrd	2003-02-10 20:40:04.000000000 +0100
@@ -501,6 +501,10 @@
 
 inst /sbin/nash "$MNTIMAGE/bin/nash"
 inst /sbin/insmod.static "$MNTIMAGE/bin/insmod"
+if [ -x /sbin/insmod.static.old ]
+then
+  inst /sbin/insmod.static.old "$MNTIMAGE/bin/insmod.old"
+fi
 ln -s /sbin/nash $MNTIMAGE/sbin/modprobe
 
 for MODULE in $MODULES; do

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-11 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11  7:48 [PATCH] module-init-tools vs. mkinitrd Boszormenyi Zoltan
2003-02-11 21:19 ` Nicholas Miell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox