LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2003, 12:53 PM   #1
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
nforce2 driver issue with new kernel


i compiled the 2.4.22 kernel, and everything was great except no network. so i reinstalled the nvidia drivers, but got an error message saying something about the drivers were compiled for 2.4.20 (my previous kernel) and wouldn't work. sorry i don't remember the exact message b/c i've since had to go back to 2.4.20 to get everything stabilized. i would also get about 4 screens of insmod errors while booting, though, if that tells you anything.

but my question is does that have something to do with the drivers themselves (e.g., they don't work past 2.420), or did i need to "make uninstall" the drivers first before installing them again for the new kernel version? anyone with nforce2 onboard lan and 2.4.22 kernel or later? i would just like to know b4 trying to recompile 2.4.22 again, thx.
 
Old 09-01-2003, 04:48 PM   #2
srenar
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
ok here's what i did to get the nvnet drivers installed

go to www.nvidia.com and download this file

"NVIDIA_nforce-1.0-0261tar.gz" yes its the one you compile yourself.

once downloaded make yourself root, then
"tar xvfz NVIDIA_nforce-1.0-0261tar.gz"

then "cd /nforce/nvnet"
then "make"
then "make Install"
then "insmod nvnet"
and after that type "dhcpcd" at the command line to retrieve a ip address from your DHCP Server

and you should be surfing the www
 
Old 09-01-2003, 04:50 PM   #3
srenar
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
when you compiled your new kernel, did you do a "make clean"
 
Old 09-01-2003, 05:47 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
yes i did make clean. and all the other steps except the dhcpcd. maybe that was it, thanks. (actually, i should say i compiled the drivers from the nforce directory, not the nvnet directory, b/c i had trouble b4 from not installing all of them. thx)

edit, come to think of it, the dhcpcd shouldn't matter to the error i was getting. maybe the drivers need a path to the kernel source to install correctly. i'm going to scour the install file and see if i missed anything. thx.

Last edited by synaptical; 09-01-2003 at 05:54 PM.
 
Old 10-01-2003, 08:41 AM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
I overcame the same problem after kernel upgrade, but I don't really understand why it works. The nforce2 platform drivers require the same version of the kernel in source as the currently running kernel. I read here: http://lists.debian.org/debian-user/.../msg01484.html that the drivers rely on the modversions.h file found in kernel headers. I made sure source and header files matched my current kernel (2.4.22). I went back to the nforce directory and did "make" and "make install", but when I tried to do "insmod nvnet", I received the kernel mismatch error. What I found that work was "make uninstall" from the nforce directory. I made sure nvnet.o and nvaudio.o were gone from /lib/modules/2.4.22/kernel/drivers/. Then I removed the nforce directory. I unpacked the "NVIDIA_nforce*.tgz" file to re-create the directory and did "make" and "make install" again. That time it worked.

Maybe someone who knows "make" better can explain why removing the directory and recreating it allowed it to compile correctly, but it is important to make sure the source kernel and headers match the new kernel.
 
  


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
NForce2 Sound issue Jajamd Linux - Hardware 3 08-10-2004 02:48 AM
nForce2 driver installation problems thorax Linux - Hardware 8 06-09-2004 09:50 AM
Nforce2 driver install can564 Linux - Newbie 1 05-06-2004 06:20 AM
nForce2 sound issue gurra Linux - Hardware 18 04-01-2004 08:20 PM
NForce2 SPDIF issue oneman00 Linux - Hardware 6 03-26-2004 10:42 AM


All times are GMT -5. The time now is 04:00 PM.

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