PDA

View Full Version : Installing Drivers help


Gegenki
05-22-2006, 11:42 PM
Im trying to install the nvidia nforce audio drivers for linux on ubuntu.

its a .run - NFORCE-Linux-x86_64-1.0-0310-pkg1.run - it tries to build a new kernel during the install - It can't find kernel sources which I tried downloading from synaptic. I'm pretty sure I chose the right kernel source package.

The instructions said to do
sh NFORCE-Linux-x86_64-1.0-0310-pkg1.run
so I added sudo before tha and the installation started

No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-
ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.

Now I read it again .rpm? I know mandriva takes rpm's but I dont think ubuntu does, there arent any on synaptic

Linux sonic 2.6.12-10-amd64-k8-smp #1 SMP Fri Apr 28 13:28:18 UTC 2006 x86_64 GNU/Linux is my kernel version. on synaptic i downloaded

2.6.12-10-amd64-k8-smp version number was 2.6.12-10.32

I'm thinking all I need to do is precompile the kernel myself.

Also does anyone know any good sites for learning?

Gegenki
05-22-2006, 11:59 PM
Ok new problem. I'm trying to build a kernel and I keep getting this and I have no idea how to fix it

tried using
gegenki@sonic:~$ sudo apt-get install linux-source
and
gegenki@sonic:~$ sudo apt-get install linux-source 2.6.12-10-amd64-k8-smp

both giving:

Reading package lists... Done
Building dependency tree... Done
Package linux-source is a virtual package provided by:
linux-source-2.6.12 2.6.12-10.32
You should explicitly select one to install.
E: Package linux-source has no installation candidate

edit:
I worked out that linux-source-2.6.12, starts something but i dont know how to use the other
2.6.12-10.32

Coded-Dude
05-23-2006, 12:15 AM
"gegenki@sonic:~$ uname -a" to see what kernel you are running....
and it should display somehting like this:
Linux your.hostname.here 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux

Thus, I would need the linux-source-2.6.9-11.ELsmp package.
I don't use package managers per se, so this is just a guess, but you are probably geting the error due to dependencies that reqire the kernel build(i.e. 2.6.9-11.ELsmp) to be specified.