From: Boszormenyi Zoltan <zboszor@freemail.hu>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] module-init-tools vs. mkinitrd
Date: Tue, 11 Feb 2003 08:48:33 +0100 [thread overview]
Message-ID: <3E48AAD1.6060200@freemail.hu> (raw)
[-- 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
next reply other threads:[~2003-02-11 7:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-11 7:48 Boszormenyi Zoltan [this message]
2003-02-11 21:19 ` [PATCH] module-init-tools vs. mkinitrd Nicholas Miell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E48AAD1.6060200@freemail.hu \
--to=zboszor@freemail.hu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.