LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help with nforce drivers (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-nforce-drivers-172350/)

lhiggins 04-20-2004 01:00 AM

Need help with nforce drivers
 
Hello,

Im running Mandrake 10. I have noticed that the drivers that the drivers for my sound and nic aren't working 100%. Basically when my eth0 starts it hangs for about 2 minutes. Also my sound has crackling coming out of the speakers ever now and then even when im not using any sounds (not my mic). I decided to install the nVidia drivers and this is the error message i get:

make -C nvnet
make[1]: Entering directory `/root/drivers/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.6.3-4mdk/build/include nvnet.c
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.3-4mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.3-4mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:72,
from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.3-4mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.3-4mdk/build/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[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/root/drivers/nforce/nvnet'
make: *** [nvnet_make] Error 2

I didnt have much luck with the RPM either. I have the kernel source installed and I believe it's 2.6.3. I'm not entirely sure what the issue is.

Any help of this issue is appreciated.
Thanks

mdavidn 04-20-2004 01:21 AM

The Nforce audio and NIC drivers require a 2.4 series kernel. (I use the same drivers, actually.)

mdavidn

dimi 04-20-2004 01:52 AM

Go to www.nvidia.com.au and download a driver call NVIDIA-Linux-x86-1.0-5336-pkg1.run. I'm running Kernel-2.6.5 and I don't have any problems with nvidia drivers.

Once u have downloaded the above driver, u simply have to execute the file (ie $./NVIDIA-Linux-x86-1.0-5336-pkg1.run). and it'll do the rest, v easy. Once the module is compiled, u just need to load the module and reconfigure the Xserver and select nvidia driver.

Good luck.
D

dimi 04-20-2004 01:56 AM

Sorry didn't read the whole thing :-) U might need to recompile the kernel and select the right sound card. If you do lspci -v and see what Multimedia audio controller is and select that from the kernel.

Just ignore the earlier post.

Good luck
D

lhiggins 04-20-2004 02:07 AM

Thats ok. So it all had to do with the 2.6 kernel!

Thanks for that. Cheers for that command "lspci" great little tool that one!

Ta fellas


All times are GMT -5. The time now is 03:54 PM.