[5164] in RedHat Linux List
Re: kernelitis
daemon@ATHENA.MIT.EDU (Alex Mottram)
Tue Nov 19 11:55:42 1996
Date: Tue, 19 Nov 1996 10:48:55 -0600 (CST)
From: Alex Mottram <alex@net-connect.net>
To: Gene Wilburn <njo@io.org>
cc: redhat-list@redhat.com
In-Reply-To: <2.2.32.19961119135041.00697d08@io.org>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 19 Nov 1996, Gene Wilburn wrote:
> Every time I rebuild, I get a kernel that seems to work, but I also get a
> stream of error messages or warnings at boot time. One set I've figured out
> -- looking for dependencies (I've built a monolithic kernel). I was able to
> eliminate these messages with #depmod -a in /etc/rc.d/rc.sysinit but I'm
> still getting a stream of insmod messages that end in "wrong version or
> undefined".
Uncomment the depmod -a line in rc.sysinit.
Then:
cd /lib/modules ; rm -fr 2.0.18
cd /usr/src/linux
make modules ; make modules_install
run depmod -a by hand (as root) to see if the errors stopped.
reboot
The problem is that when you "make modules_install", it doesn't clear out
out the old modules in /lib/modules/kernel_version. Since you are re-making
modules for the same kernel version, and probably have set "Set version
information on all symbols for modules" to "No", depmod is kindly telling
you that these modules are screwed up. (given the current kernel/module
combo).
Good Luck!
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null