Jump to content

can't compile nForce drivers on 2.6.3-4mdk


Guest paulryanonline
 Share

Recommended Posts

Guest paulryanonline

Hi

 

I'm having trouble installing the nForce NVIDIA driver NFORCE-Linux-x86-1.0-0292-pkg1.run which I downloaded from www.nvidia.com (the IA32 one for Intel/Athlon 32 bit)

 

The nvidia-installer doesn't have a pre-packaged binary for my kernel (2.6.3-4mdk), so it says it must compile one, which seems reasonable.

 

I have installed the kernel-source for version 2.6.3-4mdk (which is the kernel I am running) but the nvidia-installer fails, saying:

 

> If you are using a Linux 2.6 kernel [i am], please make sure

> you have configured kernel sources matching your kernel

> installed on your system [i have].

> If you specified a separate output directory

> using either the "KBUILD_OUTPUT" or

> the "O" KBUILD parameter, make sure to specify this

> directory with the SYSOUT environment variable or with

> the appropriate nvidia-installer command line option.

 

It's this last bit (about a separate output directory) I don't understand and which is presumably the crux of the matter - can anyone explain please ?

 

(copy of /var/log/nvidia-nforce-installer.log attached)

 

Thanks,

Paul

(London, UK)

Link to comment
Share on other sites

The following will help you compile the module. Even if the nvnet.c file has the changes below, save the file anyway and you should be able to build the module. Now I've just go to figure out how to kill the forcedepth default module perminently from loading

 

From the nVidia Linux Forumn:

 

 

I made a fix for nvnet network module.

 

unpack nforce driver by typing in:

NFORCE-Linux-x86-1.0-0292-pkg1.run -x

 

Next open:

./NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.c

 

in text editor. Go to line 1318:

pci_save_state(priv->pdev, priv->pci_state);

and change it to:

pci_save_state(priv->pdev);

 

Next, go to line 1374:

pci_restore_state(priv->pdev, priv->pci_state);

change it to:

pci_restore_state(priv->pdev);

 

Save changes to file in your text editor.

 

Next go to ./NFORCE-Linux-x86-1.0-0292-pkg1 directory and execute:

nforce-installer

(remember this patch fixes only nvnet!, to have nvsound fixed you have to do fix for nvsound described above).

 

The best way is to apply both fixes and run nforce-installer at the end.

Link to comment
Share on other sites

why? forcedeth is at least as good as the nvidia driver and you won't need to rebuild it every time you update your kernel. There's really no need for either driver any more, forcedeth and snd-intel8x0 work fine in my experience.

 

I too use snd-intel8x0 for my sound with my nforce chipset (nforce1, NOT nforce2) and have no troubles with it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...