And another thing: If you have also gcc-4.0 installed you must redirect the 'gcc'-link from gcc-4.0 to gcc-3.4 To do so:
cd /usr/bin sudo rm gcc sudo ln -s gcc-3.4 gcc Hope that helped |
See i new i had it installed even throught nvida said i dident, now what should i do about the kernel tree?
nos@ubuntu:~$ sudo apt-get install gcc-3.4 Password: Reading package lists... Done Building dependency tree... Done gcc-3.4 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. nos@ubuntu:~$ |
Did you do, what I posted before?
Quote:
|
I did not know if i had the header installed or not. so could you give me the commands to run :)
|
sudo apt-get install linux-headers-$(uname -r)
|
It worked so were are on the wright track shout i shout down x and try to install the driver now?
nos@ubuntu:/usr/bin$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: linux-headers-2.6.12-10 The following NEW packages will be installed: linux-headers-2.6.12-10 linux-headers-2.6.12-10-386 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 6727kB of archives. After unpacking 70.2MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://security.ubuntu.com breezy-security/main linux-headers-2.6.12-10 2. 6.12-10.25 [5926kB] Get:2 http://security.ubuntu.com breezy-security/main linux-headers-2.6.12-10-38 6 2.6.12-10.25 [801kB] Fetched 6727kB in 1m2s (107kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 column s wide.) debconf: falling back to frontend: Readline Preconfiguring packages ... Selecting previously deselected package linux-headers-2.6.12-10. (Reading database ... 68215 files and directories currently installed.) Unpacking linux-headers-2.6.12-10 (from .../linux-headers-2.6.12-10_2.6.12-10.25 _i386.deb) ... Selecting previously deselected package linux-headers-2.6.12-10-386. Unpacking linux-headers-2.6.12-10-386 (from .../linux-headers-2.6.12-10-386_2.6. 12-10.25_i386.deb) ... Setting up linux-headers-2.6.12-10 (2.6.12-10.25) ... Setting up linux-headers-2.6.12-10-386 (2.6.12-10.25) ... nos@ubuntu:/usr/bin$ |
I really don't know what you could do else!? ;-)
|
ha ha ok well i tryed to install the driver and while it was building a kernel moduel i got this error. :( what should i do now?
Error: unable to load the kernel module 'nvidia.ko'. this is most likely beacyes the kernel modyle was built using the wrong kernel source file. please make sure you have installed the kernel source files for your kernel and that they are properly configured. |
Did you try inicate the kernel-path explicite as I told you? I.e:
./NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/ look in '/usr/src' for the right dir-name of your headers |
when i use that command it tells bash: ./NVIDIA-Linux-x86-1.0-8178-pkg1.run: permission denied whats that all about. nerver mind i fixed that
|
Do you run it as root? Otherwise you have to "sudo", of course!
|
ok so this is what i did, i stoped x and then loged in as root when to the directory where the file was and typed it in just like this
sh NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/ and yes i did check and that is the right header what to do now |
here is what i get when i get the installer to run
No precompiled kernel interface found to match your kernel; would you like the installer to attempt to download a kernel interface for you kernel from the nvidia ftp site: so i say yes and then i get. No matching precompiled kernel interface was found on the nivdia ftp site this means that the installer will ne to compile a kernel interface for your kernel so i set the directory and file /usr/src/linux-hearders-2.6.12-10-386 and i have taken off the -386 and tryed again but i still get the same thing unable to load the kernel module nvidia.ko ASDGASDGASDGASDG so now what should i do :(( |
dont leave me i need your help :( plz
|
I have no real answer to that. This doesn't make sense for me. What you can try is, to get a new kernel-image (maybe there is something broken??):
sudo apt-get install linux-image-$(uname -r) this will set up a new entry in your menu.lst of yout grub (your bootloader). So boot this new kernel and try the same thing as before. But I must say, that I don't think, that it will work..., but try. If that doesn't do the trick you may try to compile a kernel for yourself. There are severel tutorials, how to do this for Ubuntu. Use google for that. But maybe there is someone out there how had the same Problem as you and know of a trick, that doesn't came to my mind... Good luck! |
All times are GMT -5. The time now is 02:36 AM. |