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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-14-03, 09:13 AM   #13
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Why are you using egcs to compile the driver?

Note that you have a compiler mismatch between your kernel and the nVidia module. This is known to not work in a lot of cases. Let me guess -- you used IGNORE_CC_MISMATCH, right? Don't do that -- fix the problem by installing the right compiler.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-17-03, 05:35 AM   #14
shish
Registered User
 
shish's Avatar
 
Join Date: Apr 2003
Posts: 10
Default

> Why are you using egcs to compile the driver?
> Note that you have a compiler mismatch between your kernel and the nVidia module. This is known to not work in a lot of cases. Let me guess -- you used IGNORE_CC_MISMATCH, right? Don't do that -- fix the problem by installing the right compiler.

Wha? I am? I thought I just ran the installer and it popped up "installed ok"

echo $CC
/usr/bin/gcc

actually I just made that up, but I've been using gcc for everything, and I'm pretty sure I don't even *have* egcs
shish is offline   Reply With Quote
Old 04-17-03, 08:42 AM   #15
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

shish: the module is compiled with egcs, I assume the kernel also,
do a cat /proc/version and you'll see that. and also do a
gcc --version

Andy: MTRR on a K6? do they exist there? IIRC not in the same
way as on intel chips and later K7...


cheers
mtrr is offline   Reply With Quote
Old 04-17-03, 09:25 AM   #16
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by shish
/proc/drivers/nvidia/version:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4349
Thu Mar 27 19:00:02 PST 2003
GCC version: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
This is why I think you're using egcs -- it says so. Your kernel, however, was actually compiled with gcc. Note your /proc/version:

Quote:
Linux version 2.4.18-6mdk (quintela@bi.mandrakesoft.com)
(gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)) #1
Fri Mar 15 02:59:08 CET 2002
My /proc/driver/nvidia/version looks like:

Quote:
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4349 Thu Mar 27 19:00:02 PST 2003
GCC version: gcc version 3.2
and my /proc/version has this in it:

Quote:
Linux version 2.4.20 (avatar@beta) (gcc version 3.2) #5 Thu Mar 20 13:24:20 EST 2003
Hold on, wait a minute. We both compiled nvidia.o at the same time? (Mar. 27, 7 PM Pacific Time, before the release?) That doesn't make any sense... umm... I don't know. Maybe that file (/proc/driver/nvidia/version) is reported by the precompiled nv-linux.o file then... hmm.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-17-03, 01:10 PM   #17
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Quote:
Maybe that file (/proc/driver/nvidia/version) is reported by the precompiled nv-linux.o file then...
Yes.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-17-03, 03:15 PM   #18
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Ah, that makes more sense then. Are there gcc 2.95 versions of nv-linux.o anywhere?

shish -- is the nVidia card sharing an IRQ with anything else? Check /proc/interrupts to see if any other kernel modules have registered interest in IRQ 11.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-22-03, 05:46 AM   #19
shish
Registered User
 
shish's Avatar
 
Join Date: Apr 2003
Posts: 10
Default

Nope, nothing else on IRQ 11. I've tried rebuilding the kernel with MTRR support, but I can't get it to boot:

Loading linux-shish......................
<screen goes blank>

the command being

make menuconfig
make dep && make bzImage && make modules && make modules_install
<move kernel to /boot/, edit lilo.conf>
lilo

Last edited by shish; 04-22-03 at 05:51 AM.
shish 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
Option "NvAGP" "0" causes crash w/ OpenGL. mujtaba NVIDIA Linux 5 08-25-02 12:16 PM

All times are GMT -5. The time now is 08:53 AM.


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