Weird messages after compiling kernel.

Weird messages after compiling kernel.

Post by Jari Ivanof » Tue, 28 Dec 1999 04:00:00



Hi!
I get *alot* of unresolved symbol error messages when i boot my machine
after compiling the kernel. It seems like it is modules i have choosen to
leave out, like ISDN and IR support. The machine runs fine but it disturbs
me to see those messages. I have done a "make mrproper" and a "make clean"
before compiling the kernel. I have also done a "make dep" and of course
"make modules;make modules_install". I have also redone the entire process.
How can i get rid of those messages??
/Jari Ivanoff
 
 
 

Weird messages after compiling kernel.

Post by Al Smi » Tue, 28 Dec 1999 04:00:00




Quote:>Hi!
>I get *alot* of unresolved symbol error messages when i boot my machine
>after compiling the kernel. It seems like it is modules i have choosen to
>leave out, like ISDN and IR support. The machine runs fine but it disturbs
>me to see those messages. I have done a "make mrproper" and a "make clean"
>before compiling the kernel. I have also done a "make dep" and of course
>"make modules;make modules_install". I have also redone the entire
process.
>How can i get rid of those messages??
>/Jari Ivanoff

run a depmod -a then rebuild and reinstall the modules
--
Al Smith
Systems Engineer
========================================================================
Thomas Jefferson Univ. Hospital                      Phone: 215-503-6808
130 S. 9th St. Suite 600                             Fax:   215-503-4336

========================================================================

 
 
 

Weird messages after compiling kernel.

Post by Jehs » Tue, 28 Dec 1999 04:00:00



> I get *alot* of unresolved symbol error messages when i boot my machine
> How can i get rid of those messages??

as root:
rm -r /lib/modules/*
cd /usr/src/linux
make modules && make modules_install
depmod -a

Moshe

--

ICQ 1900670 - 350467 GT Station - 6-0985 - HEF 214

 
 
 

Weird messages after compiling kernel.

Post by Matthew » Wed, 29 Dec 1999 04:00:00


After the command " make modules" and before "make modules_install"
mv   the /lib/modules/yourversion/  to /lib/modules/yourversion-old (you may
need them later) . then run "make modules-install"
                                            Matthew

> Hi!
> I get *alot* of unresolved symbol error messages when i boot my machine
> after compiling the kernel. It seems like it is modules i have choosen to
> leave out, like ISDN and IR support. The machine runs fine but it disturbs
> me to see those messages. I have done a "make mrproper" and a "make clean"
> before compiling the kernel. I have also done a "make dep" and of course
> "make modules;make modules_install". I have also redone the entire process.
> How can i get rid of those messages??
> /Jari Ivanoff

 
 
 

Weird messages after compiling kernel.

Post by Omkharan Arasaratna » Sat, 01 Jan 2000 04:00:00



> Hi!
> I get *alot* of unresolved symbol error messages when i boot my machine
> after compiling the kernel. It seems like it is modules i have choosen to
> leave out, like ISDN and IR support. The machine runs fine but it disturbs
> me to see those messages. I have done a "make mrproper" and a "make clean"
> before compiling the kernel. I have also done a "make dep" and of course
> "make modules;make modules_install". I have also redone the entire process.
> How can i get rid of those messages??
> /Jari Ivanoff

Don't forget to copy your new System.map over to the /boot directory after
recompiling your kernel!
 
 
 

Weird messages after compiling kernel.

Post by Paul J Collin » Sat, 01 Jan 2000 04:00:00



    >> Hi!  I get *alot* of unresolved symbol error messages when i
    >> boot my machine after compiling the kernel. It seems like it is
    >> modules i have choosen to leave out, like ISDN and IR
    >> support. The machine runs fine but it disturbs me to see those
    >> messages. I have done a "make mrproper" and a "make clean"
    >> before compiling the kernel. I have also done a "make dep" and
    >> of course "make modules;make modules_install". I have also
    >> redone the entire process.  How can i get rid of those
    >> messages??  /Jari Ivanoff

    Omkharan> Don't forget to copy your new System.map over to the
    Omkharan> /boot directory after recompiling your kernel!

There is often a link in /lib/modules called default that points to
the *old* kernel version.  If this is the same version, then note that
you *must* do "rm -rf /lib/modules/2.2.13" before you do "make
modules_install" to clear out the old modules.

Obviously, change the above to match your kernel version.

Paul.

--

Fingerprint: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
                      >>>>> A&P,a&f <<<<<

 
 
 

Weird messages after compiling kernel.

Post by --==[bolMyn]==- » Sat, 01 Jan 2000 04:00:00


Not here.  After a clean install of RedHat 6.0, there was no "default" link
in my /lib/modules you refer to.  When compiling a new kernel, it simply
creates a new directory with that kernel's version number.  Makes it much
easier and keeps my other kernel's modules alive and kicking if I wanted to
switch back... :-)





>     >> Hi!  I get *alot* of unresolved symbol error messages when i
>     >> boot my machine after compiling the kernel. It seems like it is
>     >> modules i have choosen to leave out, like ISDN and IR
>     >> support. The machine runs fine but it disturbs me to see those
>     >> messages. I have done a "make mrproper" and a "make clean"
>     >> before compiling the kernel. I have also done a "make dep" and
>     >> of course "make modules;make modules_install". I have also
>     >> redone the entire process.  How can i get rid of those
>     >> messages??  /Jari Ivanoff

>     Omkharan> Don't forget to copy your new System.map over to the
>     Omkharan> /boot directory after recompiling your kernel!

> There is often a link in /lib/modules called default that points to
> the *old* kernel version.  If this is the same version, then note that
> you *must* do "rm -rf /lib/modules/2.2.13" before you do "make
> modules_install" to clear out the old modules.

> Obviously, change the above to match your kernel version.

> Paul.

> --

> Fingerprint: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
>                       >>>>> A&P,a&f <<<<<

 
 
 

Weird messages after compiling kernel.

Post by walt » Sat, 01 Jan 2000 04:00:00



> Hi!
> I get *alot* of unresolved symbol error messages when i boot my machine
> after compiling the kernel. It seems like it is modules i have choosen to
> leave out, like ISDN and IR support. The machine runs fine but it disturbs
> me to see those messages. I have done a "make mrproper" and a "make clean"
> before compiling the kernel. I have also done a "make dep" and of course
> "make modules;make modules_install". I have also redone the entire process.
> How can i get rid of those messages??
> /Jari Ivanoff

If you have more than one set of source files in /usr/src, like
/usr/src/2.2.12 and /usr/src/2.2.13 then you MUST make sure that
you have a symbolic link named /usr/src/linux which points to
the correct version BEFORE you start to make the new kernel.

If /usr/src/linux is pointing at the wrong source code you will
have many headaches.  Just ask me.

 
 
 

Weird messages after compiling kernel.

Post by Sjoe » Sun, 02 Jan 2000 04:00:00



Quote:

>    Omkharan> Don't forget to copy your new System.map over to the
>    Omkharan> /boot directory after recompiling your kernel!

Never done that before booting with the new kernel? Probably lilo will do
that for me.

Quote:>There is often a link in /lib/modules called default that points to
>the *old* kernel version.  If this is the same version, then note that
>you *must* do "rm -rf /lib/modules/2.2.13" before you do "make
>modules_install" to clear out the old modules.

Hmm yes, but when using a laptop (that needs pcmcia support), I would at
least keep the pcmcia stuff, since they're not made when rebuilding a new
kernel.

Sjoerd

 
 
 

Weird messages after compiling kernel.

Post by Flux » Fri, 07 Jan 2000 04:00:00


I get something similar.  After compiling and installing the new kernel I
getting errors like the following in my /var/log/messages when using linuxconf:

Jan  2 15:27:45 flux modprobe: can't locate module lo:0
Jan  2 15:27:45 flux modprobe: can't locate module lo:1
Jan  2 15:27:45 flux modprobe: can't locate module lo:2
Jan  2 15:27:45 flux modprobe: can't locate module lo:3
Jan  2 15:27:45 flux modprobe: can't locate module lo:4
Jan  2 15:27:45 flux modprobe: can't locate module lo:5
Jan  2 15:27:46 flux modprobe: can't locate module lo:6
Jan  2 15:27:46 flux modprobe: can't locate module lo:7
Jan  2 15:27:46 flux modprobe: can't locate module lo:8
Jan  2 15:27:46 flux modprobe: can't locate module lo:9
Jan  2 15:27:46 flux modprobe: can't locate module lo:10

Any ideas on what this is about?

Thanx,
Flux.


> Hi!
> I get *alot* of unresolved symbol error messages when i boot my machine
> after compiling the kernel. It seems like it is modules i have choosen to
> leave out, like ISDN and IR support. The machine runs fine but it disturbs
> me to see those messages. I have done a "make mrproper" and a "make clean"
> before compiling the kernel. I have also done a "make dep" and of course
> "make modules;make modules_install". I have also redone the entire process.
> How can i get rid of those messages??
> /Jari Ivanoff

 
 
 

Weird messages after compiling kernel.

Post by Patrick Augerea » Sat, 22 Jan 2000 04:00:00


Erase the /lib/modules/2.x.y directory (or save it under another name), before
installing your new modules. This is explained in the RedHat manual.

> I get something similar.  After compiling and installing the new kernel I
> getting errors like the following in my /var/log/messages when using linuxconf:

> Jan  2 15:27:45 flux modprobe: can't locate module lo:0
> Jan  2 15:27:45 flux modprobe: can't locate module lo:1
> Jan  2 15:27:45 flux modprobe: can't locate module lo:2
> Jan  2 15:27:45 flux modprobe: can't locate module lo:3
> Jan  2 15:27:45 flux modprobe: can't locate module lo:4
> Jan  2 15:27:45 flux modprobe: can't locate module lo:5
> Jan  2 15:27:46 flux modprobe: can't locate module lo:6
> Jan  2 15:27:46 flux modprobe: can't locate module lo:7
> Jan  2 15:27:46 flux modprobe: can't locate module lo:8
> Jan  2 15:27:46 flux modprobe: can't locate module lo:9
> Jan  2 15:27:46 flux modprobe: can't locate module lo:10

> Any ideas on what this is about?

> Thanx,
> Flux.


> > Hi!
> > I get *alot* of unresolved symbol error messages when i boot my machine
> > after compiling the kernel. It seems like it is modules i have choosen to
> > leave out, like ISDN and IR support. The machine runs fine but it disturbs
> > me to see those messages. I have done a "make mrproper" and a "make clean"
> > before compiling the kernel. I have also done a "make dep" and of course
> > "make modules;make modules_install". I have also redone the entire process.
> > How can i get rid of those messages??
> > /Jari Ivanoff