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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-09-2006, 07:15 PM
|
#16
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
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 07:16 PM.
Reason: cleaning up the "code" part
|
|
|
05-09-2006, 11:55 PM
|
#17
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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*
|
|
|
05-10-2006, 12:07 AM
|
#18
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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.
|
|
|
05-10-2006, 04:51 AM
|
#19
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
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.
|
|
|
05-10-2006, 08:06 AM
|
#20
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Code:
find / -name gcc-version.sh
|
|
|
05-10-2006, 09:32 AM
|
#21
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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*
|
|
|
05-10-2006, 10:25 AM
|
#22
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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 10:37 AM.
|
|
|
05-10-2006, 10:30 AM
|
#23
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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...
|
|
|
05-10-2006, 10:42 AM
|
#24
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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...
|
|
|
05-10-2006, 11:58 AM
|
#25
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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.
|
|
|
05-10-2006, 01:05 PM
|
#26
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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.
|
|
|
05-10-2006, 01:08 PM
|
#27
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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.
|
|
|
05-10-2006, 11:20 PM
|
#28
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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*
|
|
|
05-10-2006, 11:31 PM
|
#29
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
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.
|
|
|
05-11-2006, 10:35 AM
|
#30
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
Original Poster
|
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.
|
|
|
All times are GMT -5. The time now is 04:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|