Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-09-03, 11:19 AM   #1
cyber Fry
Registered User
 
Join Date: Dec 2003
Posts: 4
Angry nvnet doest work

Hoi!

I wanna to install the driver for the network on board card. i have a shuttle pc with nforce2 chip. i did the following
first my kernel ( I use RH9 )

uname -r ----> 2.4.20-20.9

i download this driver and installed it with rpm --->NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm
( no errors )

further i installed the kernelsource -->kernel-source-2.4.20-9.i386.rpm
( no errors )

next step:

cd /usr/src/linux
make menuconfig
make dep

then i looked in the files for the rpm archive:

rpm -qpl NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm

/lib/modules/2.4.20-9/kernel/drivers/net/nvnet.o
/lib/modules/2.4.20-9/kernel/drivers/sound/nvaudio.o
/usr/share/doc/NVIDIA_nforce-1.0
/usr/share/doc/NVIDIA_nforce-1.0/GNULicense.txt
/usr/share/doc/NVIDIA_nforce-1.0/NVLicense.txt
/usr/share/doc/NVIDIA_nforce-1.0/ReleaseNotes.html
/usr/src/nvidia/nvgart/README
/usr/src/nvidia/nvgart/linux-2.4.20-agpgart.diff

then i want to check:
modprobe -l | grep nv
/lib/modules/2.4.20-20.9/kernel/drivers/char/nvram.o

o_O where is my module nvnet.o???

cat /etc/modules.conf
[...]
alias eth0 nvnet
[...]

when i use modeprobe nvnet: cant locate module

when i use the redhat networktool ( and also in startup screen ) device seems to be missing, delay install

whats going wrong?

Fry
cyber Fry is offline   Reply With Quote
Old 12-11-03, 07:02 AM   #2
1stFlight
 
Join Date: Aug 2002
Location: Baghdad
Posts: 95
Default

Use the tarball,

tar -xzf nforce<whatever>.tar.gz

cd to the nvnet directory

and run a

make && make install

reboot and it should work.
__________________
[b]He who fights with monsters might take care lest he thereby become a monster.[/b]

Friedrich Nietzsche
-------------------------------------------------
[u]Desktop[/u]
AMD AthlonXP 2500 | Corsair CAS2 2x256MB | AOpen AK79G-1394 Nforce2 | GeForce4 4200 128MB | 80 & 60 GB WesternDigital HD's | WinXP & RH Linux 9.0

[u]Laptop[/u]
Dell Inspiron 8600 - Centrino 1.6, 768MB ram, 9600pro 128, WSXGA+ screen
1stFlight is offline   Reply With Quote
Old 12-11-03, 08:08 AM   #3
cyber Fry
Registered User
 
Join Date: Dec 2003
Posts: 4
Default

ok, i tried it:

make
make -C nvnet
make[1]: Wechsel in das Verzeichnis Verzeichnis »/home/xxx/nforce/nvnet«
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-20.9/build/include nvnet.c
In file included from /usr/include/linux/module.h:20,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from nvnet.h:23,
from nvnet.c:21:
[...]
vnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1268: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1271: dereferencing pointer to incomplete type
nvnet.c:1274: warning: implicit declaration of function `unregister_netdev'
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_init_module':
nvnet.c:1297: warning: implicit declaration of function `pci_module_init'
nvnet.c: In function `nvnet_cleanup_module':
nvnet.c:1303: warning: implicit declaration of function `pci_unregister_driver'
nvnet.c: In function `nvnet_suspend':
nvnet.c:1322: warning: implicit declaration of function `pci_get_drvdata'
nvnet.c:1323: dereferencing pointer to incomplete type
nvnet.c:1325: warning: implicit declaration of function `netif_running'
nvnet.c:1331: warning: implicit declaration of function `netif_device_detach'
nvnet.c: In function `nvnet_resume':
nvnet.c:1347: dereferencing pointer to incomplete type
nvnet.c:1350: dereferencing pointer to incomplete type
nvnet.c:1355: warning: implicit declaration of function `netif_device_attach'
nvnet.c: At top level:
nvnet.c:99: storage size of `nvnet_driver' isn't known
make[1]: *** [nvnet.o] Fehler 1
make: *** [nvnet_make] Fehler 2

wow

Fry
cyber Fry is offline   Reply With Quote
Old 12-11-03, 11:23 AM   #4
TheOneKEA
Fifteen-K Saiyan Bastard
 
TheOneKEA's Avatar
 
Join Date: Aug 2002
Location: Somewhere in England, waiting for ROTK and drooling over the A64 3000+
Posts: 417
Send a message via ICQ to TheOneKEA Send a message via AIM to TheOneKEA Send a message via Yahoo to TheOneKEA
Question

WTH? It's complaining about incorrect include files even though you passed it the correct include path?
__________________
/me \/\/@|\|t5 $$$$$ F0r @|\| u65r 3|33t G@/\/\1|\|G r1G

SCREW THE ADS! http://adblock.mozdev.org/
Proud user of teh Fox of Fire - Mozilla Firefox 0.8

Registered Linux User #289618
TheOneKEA is offline   Reply With Quote
Old 12-11-03, 01:12 PM   #5
geowiz
Registered User
 
Join Date: Jul 2003
Location: Houston, Tx USA
Posts: 110
Default Error

I know you said you installed the kernel-source but the errors you reported are consistent with no kernel-source installed.
I don't remember if you have to have the correct .config as part of the kernel-source to get the module to build and install. The other thought is that if you do have the kernel-source installed that make dep may have to be done.
I switched to "stock" Linux kernels and I just don't remember what is needed to get the installed source and nvnet to compile cleanly with RH9 kernels.

Hope this helps ...
geowiz is offline   Reply With Quote
Old 12-11-03, 01:33 PM   #6
TheOneKEA
Fifteen-K Saiyan Bastard
 
TheOneKEA's Avatar
 
Join Date: Aug 2002
Location: Somewhere in England, waiting for ROTK and drooling over the A64 3000+
Posts: 417
Send a message via ICQ to TheOneKEA Send a message via AIM to TheOneKEA Send a message via Yahoo to TheOneKEA
Default Re: Error

Quote:
Originally posted by geowiz
I know you said you installed the kernel-source but the errors you reported are consistent with no kernel-source installed.
I don't remember if you have to have the correct .config as part of the kernel-source to get the module to build and install. The other thought is that if you do have the kernel-source installed that make dep may have to be done.
I switched to "stock" Linux kernels and I just don't remember what is needed to get the installed source and nvnet to compile cleanly with RH9 kernels.

Hope this helps ...
Right!

Post the output of the command "ls -la /lib/modules/`uname -r`/build/include".
__________________
/me \/\/@|\|t5 $$$$$ F0r @|\| u65r 3|33t G@/\/\1|\|G r1G

SCREW THE ADS! http://adblock.mozdev.org/
Proud user of teh Fox of Fire - Mozilla Firefox 0.8

Registered Linux User #289618
TheOneKEA is offline   Reply With Quote
Old 12-13-03, 01:20 AM   #7
Seta-San
Registered User
 
Join Date: Dec 2003
Posts: 3
Send a message via AIM to Seta-San
Default

you have to wait for new drivers if it doesn't work. unfortunately nvidia didn't release the drivers for nvnet. the nvidia source file you see only has the sound drivers(which are modified i810 drivers) and a BINARY nvnet.o
__________________
nVidia nForce2
nVidia GeForceFX 5900U overclocked to 5950U
AMD ATHLON XP 3200+
Mandrake10.0 Official
WindowsXP SP2 RC2
1024MB DDR 3200
Seta-San is offline   Reply With Quote
Old 12-14-03, 04:29 PM   #8
sparken
Registered User
 
Join Date: Dec 2003
Posts: 1
Default nvnet (or new modules) with new kernel

Sparky's Quickie Notes:

Download the new redhat kernel rpm you need ( ie kernel-2.4.20-24.9.athlon.rpm)
Download the kernel.i386.src rpm ( not sure of the exact name -kernel sources you need to compile new drivers)
Download the nvidia.src.tar.gz (or whatever they call them)

Install the rpms above in order
untar the nvidia stuff somewhere like /temp/nforce

now reboot into the NEW kernel - you must compile the module
while logged into the kernel you want to run it in.

do a "uname -r" and it should return "2.4.20-24.9" ( for the latest kernel)

then surf to the /temp/nforce/nvnet folder (or what ever folder you put them in)

just say "make" at command prompt and hit enter.

The drivers should compile and you should now have a file called "nvnet.o"
in that directory. If you get errors, make sure the kernel sources got put into
/usr/src/ ( you should have a /usr/src/linux-2.4.20-24.9 folder)

copy the nvnet.o file to your new /lib/modules/2.4.20-24.9/kernel/drivers/net directory
then make sure you have an entry in your /etc/modules.conf that reads like so:
alias eth0 nvnet
then ...

VERY IMPORTANT add a line to your
/lib/modules/2.4.20-24.9/modules.dep file
like this one if it's not there: (i put it in with the other /net/entries alphabetically)

/lib/modules/2.4.20-24.9/kernel/drivers/net/nvnet.o:

then do a:

#modprobe nvnet
and see if it likes it ( it will be tainted - no biggie)

Hair-saving note:


If you are able to "insmod somemodule" okay but not
"modprobe somemodule" (modprobe: can't find module), then chances are it needs to be listed in the modules.dep file.
sparken is offline   Reply With Quote

Old 12-19-03, 02:37 AM   #9
snatman
Registered User
 
Join Date: Dec 2003
Location: usa
Posts: 5
Default

Hello! I found this thread most helpful. I followed directions(Geowiz YOU ROCK!!!), and now my ethernet adapter works as advertised. RH9, Chaintech 7NJS with Nforce2. Thank you for all your wisdom. Hats off to you all!!!!
snatman is offline   Reply With Quote
Old 12-22-03, 01:19 PM   #10
cyber Fry
Registered User
 
Join Date: Dec 2003
Posts: 4
Default

... i just installed it ones again, and now it works...
dont know why
cyber Fry is offline   Reply With Quote
Old 01-05-04, 09:04 AM   #11
dnoyeB
Registered User
 
Join Date: Apr 2003
Location: Detroit, Michigan, The United States of America
Posts: 49
Default

cyberfry, you probably needed a reboot for some reason. probably some of the kernel source was pointing to the wrong place or some such.

anyway, I find the 261 nvnet portion to be garbage anyway that continuously causes my computer to stall and lockup in various areas on my nforce1. I hope you fair better, but I have reverted to substitutiing the 256 nvnet into the 261 build and that works fine.
__________________
...And now abideth faith, hope, charity, these three; but the greatest of these is charity.
dnoyeB is offline   Reply With Quote
Old 01-22-04, 01:06 AM   #12
Ge|atinousFury
Registered User
 
Join Date: Jan 2004
Posts: 11
Default

Ok, I'm trying to get the onboard Nvidia ethernet controller working in Fedora and I'm attempting to do exactly what Sparken laid out in his post. I'm getting an error though and I'm a total linux newbie, as this is my 2nd total day spending with linux

I downloaded the 3 files that I need:

1. NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm
2. kernel-source-2.4.20-9.i386.rpm
3. NVIDIA_nforce-1.0-0261.tar.gz

When I enter uname -r I see that I have 2.4.22-1.2115.nptl

Now, when I try to install file #1 it says that it's already installed!!

Ok, so no biggie, it's already installed, right? So I move on to installing file #2. When I try to install file #2 I get this message:

-----------------------------------------------------------------------------------------------------------------------
warning: kernel-source-2.4.20-9.i386.rpm: V# DSA signature: NOKEY, key ID db42a6
0e
error: Failed depedencies:
gcc >= 2.96-98 is needed by kernel-source-2.4.20-9
-----------------------------------------------------------------------------------------------------------------------

I would REALLY appreciate any help I could get in making all this work and make sense to me...thanks a ton!!!
Ge|atinousFury is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ask Stack: What is the best way to divide work between developers? News Archived News Items 0 06-10-12 02:10 AM
295.40 Does not Work Had to downgrade to 295.33 Archmbc NVIDIA Linux 4 05-03-12 02:38 PM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM
Can't get FSAA to work krow NVIDIA Linux 6 09-17-02 08:03 AM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.