LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2006, 01:30 PM   #16
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31

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
 
Old 01-08-2006, 01:40 PM   #17
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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:~$
 
Old 01-08-2006, 01:46 PM   #18
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Did you do, what I posted before?

Quote:
Originally Posted by Flesym
Do you have the headers installed? -If so and it doesn't find the kernel tree then indicate the install path explicite with then parameter:
--kernel-install-path
(type 'NVIDIA-Linux-x86-1.0-8178-pkg1.run -A' to get more information)

I.e. run:
./NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/
 
Old 01-08-2006, 01:54 PM   #19
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
I did not know if i had the header installed or not. so could you give me the commands to run
 
Old 01-08-2006, 02:01 PM   #20
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
sudo apt-get install linux-headers-$(uname -r)
 
Old 01-08-2006, 02:11 PM   #21
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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$
 
Old 01-08-2006, 02:24 PM   #22
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
I really don't know what you could do else!? ;-)
 
Old 01-08-2006, 02:34 PM   #23
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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.
 
Old 01-08-2006, 02:40 PM   #24
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
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
 
Old 01-08-2006, 02:55 PM   #25
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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

Last edited by badgerbox76; 01-08-2006 at 03:00 PM.
 
Old 01-08-2006, 03:03 PM   #26
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Do you run it as root? Otherwise you have to "sudo", of course!
 
Old 01-08-2006, 03:03 PM   #27
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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
 
Old 01-08-2006, 03:13 PM   #28
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
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 (
 
Old 01-08-2006, 03:21 PM   #29
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
dont leave me i need your help plz
 
Old 01-08-2006, 03:41 PM   #30
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xlib: extension "GLX" missing on display ":0.0". jrk5050 Linux - Hardware 5 05-08-2008 11:19 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". badgerbox76 Linux - Games 13 01-11-2006 04:47 PM
Xlib: extension "GLX" missing on display ":0.0". tekmorph Linux - Hardware 1 12-05-2004 01:52 AM
Xlib: extension "GLX" missing on display ":0.0" Evohack Linux - Software 18 10-23-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration