LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2006, 08:15 PM   #16
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198

I've just been setting my system up so it should look somewhat like yours. Here's what I get (read carefully):
Code:
$ ls -la /usr/src/linux-headers-2.6.15-20-686/ | grep -B1 -A1 scripts
lrwxrwxrwx 1 root root     30 2006-05-10 09:40 net -> ../linux-headers-2.6.15-20/net
drwxr-xr-x 9 root root   4096 2006-05-10 09:40 scripts
lrwxrwxrwx 1 root root     35 2006-05-10 09:40 security -> ../linux-headers-2.6.15-20/security

$ slocate gcc-version.sh
/usr/src/linux-headers-2.6.15-20-686/scripts/gcc-version.sh
/usr/src/linux-headers-2.6.15-20/scripts/gcc-version.sh
As you see - in my case, the "scripts" file is a directory where yours is a link. slocate has found my gcc-version.sh file exactly where it is expected by the nvidia installer.

Last edited by Simon Bridge; 05-09-2006 at 08:16 PM. Reason: cleaning up the "code" part
 
Old 05-10-2006, 12:55 AM   #17
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Code:
ls /usr/src/kernel-headers-2.6.11-1/
arch/    drivers/  include/  ipc/     kernel-headers.revision  Makefile  net/      security/  usr/
crypto/  fs/       init/     kernel/  lib/                     mm/       scripts@  sound/
p4ssmahome:~# ls /usr/src/kernel-headers-2.6.11-1/scripts
/usr/src/kernel-headers-2.6.11-1/scripts@
p4ssmahome:~# slocate -u (wait) slocate gcc-version.sh
-su: syntax error near unexpected token `('
p4ssmahome:~# slocate -u slocate gcc-version.sh
-su: slocate: command not found
p4ssmahome:~# slocate -u slocate gcc-version.sh
-su: slocate: command not found
p4ssmahome:~# locate gcc-version.sh
find gcc-version.sh
find: gcc-version.sh: No such file or directory
ok i feel like a fool... *frown*
 
Old 05-10-2006, 01:07 AM   #18
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Code:
p4ssmahome:~# slocate gcc-version.sh
slocate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory
p4ssmahome:~# logout
ray@p4ssmahome:~$ slocate gcc-version.sh
slocate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory
had to add slocate to my system.
 
Old 05-10-2006, 05:51 AM   #19
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
locate will do. slocate = secure locate
You have to create the database first:

$ sudo locate -u (or sudo slocate -u)

...wait for the database to be built, then you can run the search:

$ locate gcc-version.sh

note: "find gcc-version.sh" dosn't find it for me either - you have to be more cunning about the search expression to use find properly. Basically it helps to have some idea of where to find the file you are looking for in the first place.
 
Old 05-10-2006, 09:06 AM   #20
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Code:
find / -name gcc-version.sh
 
Old 05-10-2006, 10:32 AM   #21
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
i must of messed something up big time then:

Code:
ray@p4ssmahome:~$ sudo locate -u
Password:
ray@p4ssmahome:~$ slocate gcc-version.sh
ray@p4ssmahome:~$ su -
Password:
p4ssmahome:~# slocate -u
p4ssmahome:~# find / -name gcc-version.sh
find: WARNING: Hard link count is wrong for /proc/1/task: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
p4ssmahome:~# slocate gcc-version.sh
p4ssmahome:~#
but a whereis tells me it is there, or i think it is telling me that, just no clue were:

Code:
whereis gcc-version.sh
gcc-version:
appriciate all of the help. ill keep trying as long as you do *smiles*
 
Old 05-10-2006, 11:25 AM   #22
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by lleb
but a whereis tells me it is there, or i think it is telling me that, just no clue were:

Code:
whereis gcc-version.sh
gcc-version:
no... whereis is telling you it doesn't have anything for you...

you can see what i mean with a:
Code:
whereis jamaican-voodoo-banshee.sh

Last edited by win32sux; 05-10-2006 at 11:37 AM.
 
Old 05-10-2006, 11:30 AM   #23
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by lleb
p4ssmahome:~# find / -name gcc-version.sh
find: WARNING: Hard link count is wrong for /proc/1/task: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
check the google i did about this error... the first result sounds like it might be worth looking-into, specially (but not exclusively) if you have a tyan motherboard:

http://lists.suse.com/archive/suse-a...-Jun/0012.html

even if it doesn't help, perhaps some of the other search results will...

this issue might be related to your main issue, but i'm not sure...
 
Old 05-10-2006, 11:42 AM   #24
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i found this in the debian bug tracker:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302317

it's not nvidia-related, but it's about the missing gcc-version.sh and stuff...

from that link:
Quote:
I've got a work around:

The failure does not longer occurs after re-installing the package
"kernel-kbuild-2.6-3":
apt-get --reinstall install kernel-kbuild-2.6-3
so perhaps you could try doing the same, in other words, reinstall your kernel-kbuild package??

anyways, it's just a thought...
 
Old 05-10-2006, 12:58 PM   #25
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
well seems we are getting closer, but why can it not be downloaded?

Code:
p4ssmahome:~# apt-get --reinstall install kernel-kbuild-2.6-3
Reading Package Lists... Done
Building Dependency Tree... Done
Reinstallation of kernel-kbuild-2.6-3 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 405 not upgraded.
p4ssmahome:~# apt-get install kernel-kbuild-2.6-3
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-kbuild-2.6-3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 405 not upgraded.
p.s. yes i did try apt-get update again just to see if anything changed... nope. same error.
 
Old 05-10-2006, 02:05 PM   #26
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
well i seem to be making some progress found this site:

http://www.debianhelp.co.uk/nvidia.htm

followed it up to the point it asked for the following command:

#m-a a-i -i -t -f nvidia-kernel

i am still getting the following errors:

Code:
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-3.3"  /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv -f Makefile SYSSRC=/lib/modules/2.6.11-1-686/build   KBUILD_PARAMS="-C /lib/modules/2.6.11-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'

NVIDIA: calling KBUILD...
make CC=gcc-3.3 -C /lib/modules/2.6.11-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
/bin/sh: /usr/src/kernel-headers-2.6.11-1-686/scripts/gcc-version.sh: No such file or directory
make[3]: Entering directory `/usr/src/kernel-headers-2.6.11-1-686'
make[4]: scripts/Makefile.build: No such file or directory
make[4]: *** No rule to make target `scripts/Makefile.build'.  Stop.
make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.6.11-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /var/cache/modass/nvidia-kernel-source.buildlog.2.6.11-1-686.1147284408 for details.
so it would seem my system is a bit fubar, and now i have zero nvidia drivers installed *frown* and my GUI is now completely gone. well not accessable.
 
Old 05-10-2006, 02:08 PM   #27
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
and when i try to use the kernel-headers path i get this error:

Code:
p4ssmahome:~# m-a a-i -i -t -f /usr/src/kernel-headers-2.6.11-1-686 nvidia-kernel
/usr/src/kernel-headers-2.6.11-1-686, what is /usr/src/kernel-headers-2.6.11-1-686?
LoL... so nothing seems to know what is going on in my system including me.
 
Old 05-11-2006, 12:20 AM   #28
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
well upgraded my kernel to 2.6.15-686 and that alowed me to install the nvidia drivers with the nvidia installer and well it seems to of worked. testing right now to see if it resovled my issue with EQ or not.

well so far looks good. i have a new issue now

i have lost sound.

should i make a new thread or keep thing here.

what info do you need to help me get my sound back, how do i get that info, and no i have never been lucky enough to get alsa working, just what ever sound was loaded from the very first time i installed debian on this box back when the 2.4.x-speakup kernel was on the sarge disk...

Asus does provide Alsa drivers, but i am such an idiot when it comes to loading drivers in linux that i have never been successful at installing them.

glad to have my 3D back, now to get sound to join it *grins*
 
Old 05-11-2006, 12:31 AM   #29
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
i have lost sound.
should i make a new thread or keep thing here.
New thread: sound vanishes after installing nvidia drivers.

explain how you upgraded the kernel (state command) and then installed nvidia drivers (state command). Say what you've done to remidy the situation: like had a look at alsamixer for eg? lsmod and looked for the snd-* modules? Modprobe missing modules? (Does sound return when you boot into your old kernel?)

Basically it sounds like some modules didn't get loaded with the new kernel.
 
Old 05-11-2006, 11:35 AM   #30
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
well the good news is the sound just has some extra new options from before. i dug around for a bit and found the new options and played with them until i got my sound back.

i am still having an issue with Cedega and EQ. i can not login, get to my toon, but as soon as i try to do anything the screen goes black. i have the mouse curser from the game, but nothing on my screen and the system is extreemly slow. i have to go to a termianl and kill -9 the 3 proccess that are cedega running the game to get my GUI back.

i installed via the following:

Code:
apt-get install linux-image-2.6.15-1-686 linux-headers-2.6.15-1-686
after a reboot i did the following for the nvidia:

Code:
sh /home/xxxxxxxx/nvidia/NVIDIA-Linux-x86-1.0-7676-pkg1.run
then i double checked my XFConfig86-4 file and it was fine. i get the Nvidia logo when i startx, glxgears is still high at right around 6950 FPS so i am happy with that.

just need to figure out what is going on with Cedega and EQ. *frowns* i really hate using windows to play any game worst of all one that is known to have plenty of bugs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing NVidia Drivers darrenforster99 Linux - Hardware 10 07-22-2005 06:31 AM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 10:19 AM
Installing nVidia Drivers LTF Debian 2 09-02-2004 05:40 AM
installing nvidia drivers.... slivuh Linux - Newbie 2 02-25-2004 09:51 PM
installing nVidia drivers... gigs_42 Linux - Hardware 1 03-09-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 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