LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2003, 10:18 PM   #1
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
a twist on the old Nvidia problem


trying to install the nvidia drivers on new install of RH9.

I've followed the instructs and received a cc_mismatch error - "bailing out!"

Ok so come here and search it...I learn the 'export IGNORE_CC_MISMATCH=1" trick

It didn't work.

Here's my output

[root@localhost NVIDIA_kernel-1.0-4180]# export IGNORE_CC_MISMATCH=1
[root@localhost NVIDIA_kernel-1.0-4180]# make install
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4180 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_X86_64 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
make: cc: Command not found
make: *** [nv.o] Error 127
[root@localhost NVIDIA_kernel-1.0-4180]#

C'mon folks, HELP!!! I've a got a three year old thats addicted to tux racer!!!
 
Old 09-17-2003, 10:52 PM   #2
gizmogadgetus
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora Core 2
Posts: 71

Rep: Reputation: 15
Why make?

Any reason in particular for the make command? I thought the script provided by nvidia would take care of building a custom driver if necessary> Just curious...
 
Old 09-18-2003, 08:46 AM   #3
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
There are two files on the nvidia website right now:

nvidia_kernel and nvidia_glx.

I am following the instructions from the nvidia website to install files of that type and thats getting me to the make *** error.

I dunno. I'm just having a lot of problems with redhat and linux.

I have 2 computers that I'm trying to changeover to linux. The one I'm referring to here is athlon 1.1gig, GF4MX440, 320 megs pc100, onboard sound, linksys nic, 30 gig maxtor, gateway ev700 monitor.

The second one had Redhat 9 on it for a while. I got another video card to trade out video cards with the above, another budget one, and redhat goes blank screen immediately if I choose graphical install, or before first boot if I choose text install. it says "no screens" detected.

Its a athlon XP 1700, GF5200FX, 512 pc 2700, ensonique sound, realtek nic, maxtor 40 gig.

The gf5200fx seems to be a problem for more than one distro. I have the same problem with Knoppix 3.2 but was able to install Knoppix 3.1. Go figure.

I don't like Knoppix much...too many programs nad cdroms and dvd drives aren't detected.

Since I'm not having much luck with "easy" installs I might have to go with slackware or gentoo and take a crash course in frustration. At least then I won't be a noob that can't make a noob distro work.

Thanks for any advice. I'm trying to go legal software at home. The only windows I ever bought came pre-installed on a gateway I bought back in '96! I bought Mandrake 8 at the bookstore though!!
 
Old 09-18-2003, 08:59 AM   #4
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
I am writing this is thinking that you will stay with Linux.
I think http://www.nvidia.com/object/linux_d..._ia32_1.0-4496 has the driver for you.It is really a simple task installing this.(If you read README carefuly).
about the other problem,i have posted in a similar thread the answer for your problem.that is http://www.linuxquestions.org/questi...threadid=94121
Configuring your videocard in linux is not at all tough these days.I am sure that someone will be able to help you out.
 
Old 09-18-2003, 11:57 AM   #5
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the nvidia link.

On the other, I tried everything except posting the log file. The last line in the log indicates finding the mouse then nothing. I have seen "mode not supported" and "no screens found"

In my mind, i don't think it likes the card-monitor combo. I don't know if that makes sense. I had RH9 on that machine prior to changing video cards. I have selected both the generic VESA and the generic nvidia during setup. Add to that the the newest Knoppix didn't like it either, I could boot into 3.2 under the old config but can't with the new card and no one else is having trouble with fx5200s. I have a couple different monitors... I guess I could try that...kind of a pain though.

Once I get everything set at a base level, then I can try to set up the linux boxes to do everything I do in windows.

Download stuff (irc, gnutella, etc)
Burn stuff (music, iso's, VCD's, etc)
rip DVD's to Divx, mpg
watch dvd's
record and watch TV programs, using a remote control
play fps online games
play instantchess

That will be what determines if I stay with linux. So it took me a long time to figure that in windows, hopefully it won't take as long in linux. I'll give it some time.
 
Old 09-19-2003, 09:11 AM   #6
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
did you try installing the nvdia driver I refered to??There is nothing tough in installing it (just give 'sh <nvidia filename> from text mode)provided you read the README quite carefully.just download it and try installing it.
also,did you try 'redhat-config-xfree86' or 'xf86config'.??
ps:i dont think that someone will be able to help you out without seeing your log file and config file.What prevents you from posting it??just post the trouble and someone may be help you out.
 
Old 09-19-2003, 10:25 AM   #7
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Yes the link worked for redhat, didn't work for Knoppix. I can't post the log file since I put Knoppix on that machine instead.
 
Old 09-19-2003, 10:35 AM   #8
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
did you try google.com??the keyword 'nvidia+knoppix' gives a number of results.
try
http://www.knoppix.net/forum/viewtopic.php?t=2037#9699 (i read somewhere that everything related to nvidia+knoppix starts from this link)
http://www.knoppix.net/forum/viewtop...=4016&start=15
http://www.knoppix.net/forum/viewtopic.php?t=4475
--------------------
I have never used an OS bootable from CD except a 190MB slackware live,which I have used a couple of times-no more.so I dont know to help you in the case of knoppix.
 
Old 09-19-2003, 06:45 PM   #9
bitterjack
Member
 
Registered: Sep 2003
Location: Monroe, Louisiana
Distribution: RedHat 9
Posts: 41

Rep: Reputation: 15
nvidia-installer BROKE

I have the EXACT same problem trying to install the new nvidia driver (NVIDIA-Linux-x88-1.0-4496-pkg2.run). It will not recognize the kernel header for the 4.20-20.9 kernel update. I even tried the --kernel-include-path /usr/inlcude. It tries to install then but fails. It does not build. It gets all the way to compiling the (nv) kernel but fails because "You appear to compiling the NVIDIA kernel with a different compiler than was used to compile the running kernel." Later I see the error of "failed the cc sanity check."
I tried to enable gcc and butls but I get dependency errors that I can not resolve. It says I need krb5-libs=1.2.7.8 and openssl =0.9.7a-2. When I try to install the latest RPM's of the above two things, I am told they are already installed. I keep going in a circle and so far no one has been able to help me.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Sep 19 17:22:12 2003

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : /usr/include
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel include path '/usr/include' as specified by the
'--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/include'...

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
 
  


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
my distro's better then yours with a twist! berrance General 22 03-03-2005 02:30 PM
MP3 problem with a twist jeffChuck Fedora 1 02-24-2005 07:32 PM
another which distro? with a twist wrat Linux - Newbie 13 05-10-2004 08:06 AM
Gentoo Nvidia error (with a twist!) Wonko the Sane Linux - General 2 11-10-2003 03:41 AM
New twist on modems Darrell Willis Linux - Hardware 5 07-24-2003 07:28 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration