LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2004, 06:02 AM   #1
can564
Member
 
Registered: Apr 2004
Location: Vermont,USA
Distribution: Fedora Core 1
Posts: 67

Rep: Reputation: 15
Two kernels?One won't load eth0.


I have installed Fedora Core 1 on a daul boot with Windows XP.It's been slow coming but I am sort of getting a hold on the new terminology of Linux.

My problem lies in a update I did.I installed suggested updates in my "up2date".It installed a new kernel 2.4.22-1.2188.nptl my original was 2.4.22-1.2115.nptl.My update suggested booting up and running the new kernel.When I did I have lost my internet connection.I get the following error on my network configuration screen.

Command failed: /sbin/modprobe nvnet

Output:
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: kernel-module version mismatch
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o was compiled for kernel version 2.4.22-1.2115.nptl
while this kernel is version 2.4.22-1.2188.nptl.
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: insmod /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o failed
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: insmod nvnet failed

I tried remaking and remaking installl with my tar files I had saved for the nvidia drivers of my nforce2 motherboard.I did this booted in my new kernel and figured all would be well.But I still get the error.

Any clues on how to approach the problem?

I tried to open /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o with emacs editor to look for differences but it did not open.

p.s. I am not sure what compiling involves.I thought that might be what I was doing when I remade my tar install.
 
Old 05-11-2004, 07:31 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
strange....
it seems your network card driver was compiled for your old kernel.

compile the new kernel again... but this time, un-install the old kernel source.
that way it will be impossible for drivers to be compiled for the wrong version.

also, have a look inside /usr/src/
you will probably find 2 kernel source folders, and old one and a new one.
ALSO, there will be an abreviated ( linux-2.4 ) symbolic link to one of the folders.
maybe your symbolic link was not updated to the new 2.4 kernel source when you up-graded, and the compiler followed it to the wrong source code.

thant all i can guess.

but delete the symbolic link, the slight convinience in an abreviated folder name does not make up for the havok it can cause when its wrong.
 
Old 05-11-2004, 11:58 AM   #3
can564
Member
 
Registered: Apr 2004
Location: Vermont,USA
Distribution: Fedora Core 1
Posts: 67

Original Poster
Rep: Reputation: 15
O.K. I will give it a try.I wondered if the nvnet.0 driver file could be compiled to run two kernels.It does still work fine on 2.4.22-1.2115.nptl.It just does not work in on 2.4.22-1.2188.nptl.

I will try the deleting and get back with you.Thanks.
 
Old 05-12-2004, 08:54 PM   #4
can564
Member
 
Registered: Apr 2004
Location: Vermont,USA
Distribution: Fedora Core 1
Posts: 67

Original Poster
Rep: Reputation: 15
O.K. I was a little nervous about deleting my only kernel that could access the web.So I went into a terminal as root.I tried one more time to "make" then "make install" for the drivers.I was booted in my new 2.4.22-1.2188.nptl kernel.The untarred files are on my desktop and this is what I saw.

root@localhost root]# cd Desktop
[root@localhost Desktop]# make
make -C nvnet
make[1]: Entering directory `/root/Desktop/nvnet'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/nvnet'
make -C nvaudio
make[1]: Entering directory `/root/Desktop/nvaudio'
make nvaudio.o
make[2]: Entering directory `/root/Desktop/nvaudio'
make[2]: `nvaudio.o' is up to date.
make[2]: Leaving directory `/root/Desktop/nvaudio'
make[1]: Leaving directory `/root/Desktop/nvaudio'
make -C nvgart
make[1]: Entering directory `/root/Desktop/nvgart'
making gart
make[1]: Leaving directory `/root/Desktop/nvgart'
[root@localhost Desktop]# make install
make -C nvnet install
make[1]: Entering directory `/root/Desktop/nvnet'
mkdir -p //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net
install -b -m 644 -o root nvnet.o //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o~
make[1]: Leaving directory `/root/Desktop/nvnet'
make -C nvaudio install
make[1]: Entering directory `/root/Desktop/nvaudio'
mkdir -p //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/sound
install -b -m 644 -o root nvaudio.o //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/sound
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o~
make[1]: Leaving directory `/root/Desktop/nvaudio'
make -C nvgart install
make[1]: Entering directory `/root/Desktop/nvgart'
mkdir -p //usr/src/nvidia/nvgart
install -b -m 644 -o root linux-2.4.20-agpgart.diff //usr/src/nvidia/nvgart
install -b -m 644 -o root README //usr/src/nvidia/nvgart
make[1]: Leaving directory `/root/Desktop/nvgart'
[root@localhost Desktop]# modprobe nvnet
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: kernel-module version mismatch
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o was compiled for kernel version 2.4.22-1.2115.nptl
while this kernel is version 2.4.22-1.2188.nptl.
/lib/modules/ .nptl/kernel/drivers/net/nvnet.o: insmod /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o failed
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: insmod nvnet failed
[root@localhost Desktop]#



My concern is that I checked the symbolic link and the properties show it pointing to my new 2.4.22-1.2188 kernel.
And the trouble appears to be the line

depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o~

What are unresolved symbols?
Is there a cure?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.8 kernels don't load ext3 module on boot! Malibyte Mandriva 2 03-16-2005 08:46 PM
Booting Error (eth0 won't load) julienroger Linux - Newbie 4 08-15-2004 01:00 AM
kde wont load while eth0 is up cadj Linux - Networking 1 05-28-2004 12:36 AM
modprobe cant load eth0 bezza Linux - Newbie 1 01-17-2002 05:50 PM
cant load module eth0? philfighter Linux - Networking 8 11-20-2001 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration