Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I jsut recompiled Gentoo2004 to put kernel 2.4.6 on it. With my previous kernel (2.4.25), the nforce audio (nforce-audio) and nforce network card (nforce-net) both work fine.
Now, when I try and emerge nforce-net I get this error message:
root@archimedes hamish # emerge nforce-net
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/nforce-net-1.0.0256 to /
>>> md5 src_uri ;-) NVIDIA_nforce-1.0-0256.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_nforce-1.0-0256.tar.gz to /var/tmp/portage/nforce-net-1.0.0256/work
>>> Source unpacked.
gcc -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/usr/src/linux/include nvnet.c
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
nvnet.c: In function `nvnet_open':
nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: error: structure has no member named `driver_data'
make: *** [nvnet.o] Error 1
!!! ERROR: net-misc/nforce-net-1.0.0256 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
Does anyone have any idea how I can get round this? `NR_IRQS' seems to be the problem. I wondered if I had to specify an IRQ for the onboard card, but I have no idea where to start.
the nvaudio stuff is the same.
I hope someone can help me here. Thanks in advance for all your suggestions.
hamish, the forcedeth patch is included with the gentoo-sources and gentoo-dev-sources kernel packages. Just make sure you have this option enabled in your kernel config: Device drivers >> Networking support >> Ethernet 10 or 100 mbit >> Reverse engineered nForce Ethernet support. I load it as a module and it works very well, as acid_kewpie pointed out.
Funny how people put version numbers after Gentoo... portage makes them pointless. Anyway, another idea would be to make sure you have a /usr/src/linux symbolic link to the sources for the kernel you're using, and if that doesn't work, go to the location of the nvnet ebuilds and type emerge newest-version.ebuild. That's a trick for getting the newest stuff when Gentoo only says that older versions are available.
I not have forcedeth running. Everything is working great, except one thing. Altough my internet is working perfectly, when I "lsmod" the forcedeth modules says that it is NOT being used by ANYTHING. yet my internet is workign find.
There are no other modules running which are being used by my nvnet card.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.