Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-21-06, 03:00 PM   #1
kenyee
Registered User
 
Join Date: Jan 2006
Posts: 148
Default segfault during gcc-version-check w/ 8756 drivers on amd64 system?

Running on the latest Kanotix (Debian sid) w/ latest updates (including Xorg 7.0).

During the install, I get a segfault:
[13158] segfault at 000000000000000000 rip 000000000000000000 rsp 00007fffffc336e8 error 14

cat /proc/version gives me:
Linux version 2.6.16.8-slh64-smp-1 (root@x2-4200) (gcc version 4.0.3 (Debian 4.0.3-1)) #1 SMP Wed Apr 19 01:12:27 CEST 2006


cc -dumpversion gives me:
4.0.3


Nothing useful in the nvidia log:
---------
Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC test with CC="cc".
-> gcc-version-check failed:
----------


I extracted all the files in the .run file, found the gcc-version-check.c file and did this:
$ cc gcc-version-check.c
$ BLAH=`cat /proc/version`
$ echo $BLAH
Linux version 2.6.16.8-slh64-smp-1 (root@x2-4200) (gcc version 4.0.3 (Debian 4.0.3-1)) #1 SMP Wed Apr 19 01:12:27 CEST 2006

$ a.out "$BLAH"
The compiler used to compile the kernel matches the current compiler (gcc 4.0)

so if I compile this by hand and run it, it thinks the version matches and the gcc-version-check passes w/o any segfaults.

Any suggestions on what I can try next? :-P
kenyee is offline   Reply With Quote
Old 04-21-06, 03:20 PM   #2
myshkinbob
Registered User
 
myshkinbob's Avatar
 
Join Date: Mar 2004
Posts: 402
Default Re: segfault during gcc-version-check w/ 8756 drivers on amd64 system?

I'm also using debian sid amd64, xorg 7.0, gcc 4.0.3 (Debian 4.0.3-1), but i'm not getting any gcc version check failures. The only difference i'm assuming is you're using the latest pre-built kernel from apt? i'm using a self-compiled 2.6.16.1 kernel from source.

The trouble with sid is the various dependent packages are often updated at different times. It could be out of date kernel headers, or mismatching headers, or just a bug in the gcc packages. I compiled both my kernel and the nvidia driver today with the exact same gcc 4.0.3-1 package as yours though, with no errors at all.

The nvidia-installer version check is probably not in error, as aside from our kernel and kernel-headers, we're both on the exact same environment and package versions. I'd assume that the problem lies within one of the kernel debs you're using.

Have you tried installing a different kernel and headers?

also if you haven't apt-get dist-upgrade on sid for a while, older versions of base packages can get partly left behind by much newer packages when you do finally upgrade and cause all kinds of nasty issues.
__________________
Core2Duo E6400 (3.0GHz@1.3v) | Gigabyte 965P-DS3 | 2x 1024MB Elixir PC6400 (Dual-Channel DDR2@1.8v) | 3x Spinpoint SATA 80GB | Gainward GeForce 8800GTS (@600/1900) | Mitsubishi DiamondPlus 93SB 19" (1600x1200@75Hz)
myshkinbob is offline   Reply With Quote
Old 04-21-06, 03:40 PM   #3
kenyee
Registered User
 
Join Date: Jan 2006
Posts: 148
Default haven't had any problems w/ nvidia driver installs until this last big dist-upgrade

I've held off the past two weeks because Xorg 7.0 was uploaded and wanted to make sure the quirks were fixed before I tried it :-)

Tried installing kernel 2.16.9...kernel installed successfully, but I still get the same segfault running the nvidia installer. I'm baffled :-P

Last edited by kenyee; 04-21-06 at 03:58 PM.
kenyee is offline   Reply With Quote
Old 04-21-06, 06:36 PM   #4
kenyee
Registered User
 
Join Date: Jan 2006
Posts: 148
Default Re: segfault during gcc-version-check w/ 8756 drivers on amd64 system?

FYI: I got it to install w/o the segfault by doing this:

sh NVIDIA-Linux-x86_64-1.0-8756-pkg2.run --x-module-path=/usr/lib/xorg/modules

I get an nVidia splash screen now :-)
Unfortunately, now X still won't start and complains about:
Fatal server error:
could not open default font 'fixed'

but this is no longer an nVidia issue. Damn Xorg 7.0....grrrr
kenyee is offline   Reply With Quote
Old 04-21-06, 06:44 PM   #5
BashfulTux
Registered User
 
Join Date: Apr 2006
Posts: 147
Default Re: segfault during gcc-version-check w/ 8756 drivers on amd64 system?

Quote:
Originally Posted by kenyee
FYI: I got it to install w/o the segfault by doing this:

sh NVIDIA-Linux-x86_64-1.0-8756-pkg2.run --x-module-path=/usr/lib/xorg/modules

I get an nVidia splash screen now :-)
Unfortunately, now X still won't start and complains about:
Fatal server error:
could not open default font 'fixed'

but this is no longer an nVidia issue. Damn Xorg 7.0....grrrr
http://wiki.debian.org/Xorg69To7
BashfulTux is offline   Reply With Quote
Old 04-21-06, 08:16 PM   #6
kenyee
Registered User
 
Join Date: Jan 2006
Posts: 148
Default Re: segfault during gcc-version-check w/ 8756 drivers on amd64 system?

bashful: yep, I know about that wiki. I added the 2nd paragraph on xserver-xorg being removed by a dist-upgrade after I learned the hard way :-P

The puzzling thing is I used the Kanotix install-nvidia-debian.sh script to install the nvidia driver and it also got the segfault, but it does specify that module path parameter in the script automatically...
kenyee is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
3123 drivers cause system hang kgf NVIDIA Linux 5 09-28-02 07:32 AM
Kernel drivers and GCC 3.2 Alan666 NVIDIA Linux 2 08-24-02 10:21 PM
Question about GCC version shosking NVIDIA Linux 5 07-29-02 11:10 AM

All times are GMT -5. The time now is 01:38 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.