TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:4775] Redhat 5.2, Nec Versa LX and unresolved symbol(s)



RedHat kernels can range from a variety of releases for a single kernel
point release.  For example, 5.2 shipped with a pre-2.0.36 kernel which
they called "2.0.36-0.7" and subsequently placed the respective modules
into /lib/modules/2.0.36-0.7 and not /lib/modules/`uname -r` which is
where kerneld expects to find its modules.  To compensate, RedHat linked
the live kernel modules to /lib/modules/preferred and rc.sysinit expects
to find the modules there.  It'll perform a depmod -a preferred rather
than a depmod -a `uname -r`.  This is a porper way to handle things, but
if you upgrade your kernel, rc.sysinit will link /lib/modules/preferred to
the previous kernel module tree.  Either edit rc.sysinit directly to
replace the "depmod -a preferred" with "depmod -a 2.0.36-3" (since
RedHat's kernel module tree follows the kernel's rpm version and release
name rather than the kernel's version number so you'd have to change this
the next time you upgrade the kernel rpm).

Peter Lukas

On Mon, 15 Mar 1999, Chris Kesler wrote:

> You might want to try 'depmod -a'.
> 
> 
> On Sun, 14 Mar 1999, Bob Tanner wrote:
> 
> Loaded RH 5.2 onto my Nec Versa LX, no problems.
> 
> After the first reboot, I got unable to find /lib/modules/2.0.36. No
> problem, I symlink 2.0.36-0.7 to 2.0.36 and rebooted.
> 
> This time, I get a ton of 
> 
> /lib/modules/2.0.36/<dir>/<module>: unresolved symbol(s)
> 
> Never had this happen before. 
> 
> I am running the pcmcia services which is something I have not done on
> any other RH install.
> 
> Any ideas?
> 
> -- 
> Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
> http://www.real-time.com                | Fax   : (612)943-8500
> Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
> 
>