LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nforce-driver (https://www.linuxquestions.org/questions/slackware-14/nforce-driver-46639/)

zorolowski 02-22-2003 10:11 AM

nforce-driver
 
Hi,
I have a new board, the ASUS A7N8X Deluxe, with some problems:

1. when I try to compile the driver for the NVIDIA-LAN-adapter I get an error message:
cc1: Invalid option `-falign-functions=4'
make: *** [nvnet.o] Error 1

2. when I try to load the module for the second on board LAN-adapter (3com) i get the message:
No such device
/lib/modules/2.4.18/kernel/drivers/net/3c90x.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

3. is there a way to enable udma-support for the ide-devices with a kerneldriver?

any ideas?

Zorolowski

payback 03-01-2003 10:13 AM

Edit the Makefile(in the nvnet directory) and change the -falign to a -malign
If this doesn't work then you'll probably have to upgrade your version of GCC (3.2.2 is the latest) it should support the falign function.

For the 3com nic you'll need to make a small patch to the kernel i beleive (see the link posted below for details)

Check this guide for more info on getting the ASUS A7N8X running under redhat (i know your running slackware but it might give you some helpful hints on what to do, they both come with the same stock kernel)

http://attila.stevens-tech.edu/~dkopko/a7n8x.txt


The udma is not enabled because the kernel does not recognise your nForce 2 IDE controller. There are a few updated kernels that aim to fix this problem it might be worth you trying one of these. Version 2.4.21-pre4-ac4 is supposed to work, but i have not been able to test it as yet. (The guide posted above provides some information about this topic)

If you don't feel like compiling your own kernel the just use hdparm to enable UDMA for your hdd (typically installed in /sbin/hdparm) Check it's man pages for more info, i'd suggest something along the lines of /sbin/hdparm -d 1 -c 1 /dev/hda (read the man pages first, that's just a suggestion)

I hope this has been of some help.

zorolowski 03-02-2003 06:59 AM

Thanks!
That works!


All times are GMT -5. The time now is 02:19 AM.