[97936] in RedHat Linux List
custom kernel problems
daemon@ATHENA.MIT.EDU (Jim Kannengieser)
Thu Nov 5 21:21:49 1998
Date: Thu, 5 Nov 1998 21:20:31 -0500 (EST)
From: Jim Kannengieser <jimk@echonyc.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hi. I was wondering if I could enlist the help of this list. I tried to compile a custom kernel this evening and ran into three problems. I used the instructions in the Red Hat 5.1 users manual, which don't seem accurate enough. First, after issuing the 'make modules' command, I got these errors at the end of a seemingly success compilation.
make[2]: Leaving directory /usr/src/linux-2.0.34/drivers/sound'
make[1]: *** [modules] Error 2
make[1]: Leaving directory /usr/src/linux-2.0.34/drivers'
make: *** [modules] Error 2
Next when running /sbin/mkinitrd, I got this message.
mount: the kernel does not recognize /dev/loop0 as a block device
(maybe nsmod driver'?)
Can't get a loopback device
Lastly, I followed the advice in the manual and removed my old kernel modules using the following commands.
mv /lib/modules/2.0.34-0.6 /lib/modules/2.0.34-0.6-old
rm -rf /lib/modules/2.0.34-0.6-old
When I rebooted with my old kernel, I couldn't do log onto the net, play audio, or do anything related to my old modules.Is there a way to preserve my old modules while creating new ones for a custom kernel? I don't want to have to reinstall my OS every time a kernel fails.
Thanks in advance for your help.
Jim
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.