LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-24-2004, 12:47 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
emerge nforce-net not working


Hey

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
 
Old 03-24-2004, 12:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how to get around it..... give up! use the lovely nice open source forcedeth module instead, it's part of the real 2.6.x kernel now. use it.

as for nvaudio.... again, try using the open source version. the alsa module snd_intel8x0 should do you fine. nvaudio always locked my system hard.
 
Old 03-31-2004, 01:13 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
hey Chris,

how do I install the forcedeth module? I'm currently running 2.4.25.

I have downloaded the forcedeth_2_4_patch_v14.txt from http://www.hailfinger.org/carldani/l...es/forcedeth/. The only instructions there are to "2.4.25, apply forcedeth_2_4_patch_v23.txt and recompile".

How do I apply the patch? Is htere then an option in the kernel compilation to make this module?

Thanks for your help so far.
Hamish
 
Old 03-31-2004, 04:02 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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.


Håkan
 
Old 03-31-2004, 04:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as of 2.6.1, forcedeth is no longer a patch, it was brought into the kernel for real.
 
Old 03-31-2004, 04:11 PM   #6
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 04-07-2004, 10:48 AM   #7
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Hey

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.

Is this a known problem?
Hamish
 
  


Reply



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
emerge on gentoo not working ubu_roi Linux - Distributions 4 10-31-2005 02:42 AM
emerge working on Yoper! mikecrowe Yoper 7 11-28-2004 11:09 PM
is the command emerge supposed to be working while installing gentoo? mdpniesta Linux - Newbie 1 11-27-2004 02:38 AM
nforce-net and nforce-audio not working on gentoo bling bling Linux - Hardware 2 12-16-2003 06:11 PM
gentoo emerge not working!! Gill Bates Linux - Distributions 3 11-03-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 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
Open Source Consulting | Domain Registration