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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-10-02, 06:48 PM   #176
doctorpon
Registered User
 
Join Date: Dec 2002
Location: /dev/null
Posts: 4
Send a message via ICQ to doctorpon
Lightbulb To all those having problems compiling from src.rpm

I have spent several days trying to figure out what the problem was. Accidentaly, in one of the topics I read,thet the kernel sources are specific by version (of course). My mistake was that I did not have an upgraded kernel source installed. I had two kernels, and a kernel source that came with RH 8.0. After installing an upgraded source, everything worked fine. I still got errors during compilation, yet the binaries were written allright, and everything works fine.
Oh yeah... I have added a nologin user "buildmeister" to get rid of the nagging warnings.

Hope this helps... Good luck, everyone!
__________________
--Be Free
doctorpon is offline   Reply With Quote

Old 12-11-02, 06:47 AM   #177
striffelbuur
Registered User
 
Join Date: Dec 2002
Posts: 2
Question In layman's terms please?

I was thinking of switching from Windows 2000 Pro to Linux, so I downloaded and burned the 5 install-discs for RedHat 8.0.

I am now left with the following problem: practically all previous messages in this thread are, to me, less comprehensible than most Chinese texts, and though I know a few words of Cantonese, this means that, after reading this thread I still haven't got a clue on where to start getting my GeForce 4 drivers to work.

Apparently I would need to recompile the software NVidia is offering on it's site, correct? If that is indeed the case, does anyone have the compiled versions of the drivers for RedHat 8, or does it not work that way?

Thanks very much in advance,
Kind regards,
Striffelbuur.
striffelbuur is offline   Reply With Quote
Old 12-11-02, 11:36 AM   #178
Genovese
Registered User
 
Join Date: Dec 2002
Posts: 5
Default

striffelbuur -

here is a nice well-written walkthrough:

http://www.linuxiso.org/forums/viewtopic.php?t=1959

all the necessary commands and edits are in red or green.

good luck
Genovese is offline   Reply With Quote
Old 12-11-02, 03:26 PM   #179
striffelbuur
Registered User
 
Join Date: Dec 2002
Posts: 2
Talking thnx!

thnx!
striffelbuur is offline   Reply With Quote
Old 12-11-02, 03:48 PM   #180
doctorpon
Registered User
 
Join Date: Dec 2002
Location: /dev/null
Posts: 4
Send a message via ICQ to doctorpon
Default If anyone is interested, I can put my binary on the Web.

Compiled for latest kernel, RH 8.0
__________________
--Be Free
doctorpon is offline   Reply With Quote
Old 12-12-02, 09:18 AM   #181
Rmax
Registered User
 
Join Date: Dec 2002
Posts: 1
Default

what appen? i got that RPM while rebuilding from source rpm with no problem....

[root@ulb i386]# rpm --force -ivh NVIDIA_kernel-1.0-4191.i386.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-14/kernel/drivers/video/NVdriver.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-14/NVIDIA/NVdriver.o
/lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o: kernel-module version mismatch
/lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o was compiled for kernel version 2.4.18-14custom
while this kernel is version 2.4.18-14.
/lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.18-14/kernel/drivers/video/nvidia.o: insmod nvidia failed

Failed to install nvidia.o

error: %post(NVIDIA_kernel-1.0-4191) scriptlet failed, exit status 1
Rmax is offline   Reply With Quote
Old 12-12-02, 03:55 PM   #182
doctorpon
Registered User
 
Join Date: Dec 2002
Location: /dev/null
Posts: 4
Send a message via ICQ to doctorpon
Default Read the error messages.

It says that kernel is mismatched. The rpm was compiled for a custom kernel, and you are trying to install it under a regular *18 kernel. Build both GLX and kernel module under the kernel you will be using.
__________________
--Be Free
doctorpon is offline   Reply With Quote
Old 12-14-02, 07:16 PM   #183
linuxnub
Registered User
 
Join Date: Dec 2002
Location: California
Posts: 1
Default

Ok, if you can't tell by name i know very little about linux. My dad helps me out a lot and I have most of the basic commands, but i'm still adjusting from my usual Windows interface.

Anways, let me list my specs:
IWILL KK266Plus Motherboard
nvidia Geforce2plus
AMD Athlon 1.2
ViewSonic 17" monitor
Redhat 8.0 kernel-source-2.4.18-14

Now, I've downloaded xfree86 4.0.2, just the minimum possible to make everything works. I don't plan on getting this right the first time as I have already reinstalled Redhat 4 times once I get stuck in a spot I don't know how to get out of. Now, I didn't install it in the command line instead of the GNOME like it "recommended" too, so I'm not sure if thats what did it.

Then, I downloaded and did exactly what STEEL1's guide told me to do. Then, I rebooted and everthing went fine until I got back to GNOME. I went to display to check if it had enabled 3D acceleration, the whole point of me dling the drivers and everything, but it wasn't. In fact, before I had installed xfree86 and the drivers, it had showed that what I had was a Geforce2 GTS (generic) instead of Pro, which was weird but I ignored it and it said that it was 64 mg video card. Now it doesn't say what mg it is or the type of card it is. It says "Unsupported VGA Card" when I hit probe and then when I go to select the type of card manually the only type of Nvidia card listed is NVidia GeForce. That's it. Also, it still has a grayed out check box for "Enable 3D Acceleration".

So, I guess my question is, what did I do wrong? Also, the way I get to the console/command line is to go through /etc/inittab, make a _bu of the orig, make a _mod of the orig, and then comment out the X11 line near the bottom on the mod file. Then link the inittab to the mod when i want to reboot in console/command line, etc., etc. Is their an easier way to do this? When I do a search on google it doesn't find anything to stop X11, only stuff to start it back up.

Sorry for the long post, and I hope these questions haven't been asked/answered in the space of time it took me to ask this question.

thanks for any help,
linuxnub


*edit*
I was looking through the posts and realized that if the NVIDIA screen came up before login then 3D acceleration was enabled. This was happening before I installed XFree86 and had just installed the NVIDIA drivers, so I think i'm just going to reinstall RedHat and install the NVidia Drivers and see if that works. With the XFree86 installed the NVIDIA screen before the login doesn't appear. But, I do think that XFree86 is in the RedHat package already installed, so maybe that was my problem.

I am still interested in what could have gone wrong and may wait awhile to reinstall the OS to see if I can get it working as is.
__________________
I suck at Linux.

Last edited by linuxnub; 12-14-02 at 07:53 PM.
linuxnub is offline   Reply With Quote
Old 12-17-02, 01:25 PM   #184
mltngpot
Registered User
 
Join Date: Dec 2002
Posts: 2
Default RH 8.0, Nvidia 1.0-4191, GeForce4 Ti 4200

ok, here is my problem, Fresh install of RH8, on reboot, it crashes, but only with the GeForce4 installed, i used another vid card, no problem.

so i installed the kernel and glx drivers, and figured i should be fine, but same problem, it keeps crashing as soon as i get to the login.

i then went through the logs and could not find any reason for the crash.

Any Suggestions? even if futile, it would be better than nothing.
mltngpot is offline   Reply With Quote
Old 12-24-02, 12:15 PM   #185
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default

________________________________________
originally posted by steel1

Step 2> Make sure you have the kernel headers installed along with all other dev tools - these are needed along with other dependencies. The best way to ensure that you have all dependencies is to just go start menu > system settings > packages > and in the development section choose the Kernel development packge and install the whole thing.
________________________________________

When i tried to install the kernel development tools it gave me an error "Package Not Found"....

"Unlocatable package krb5-libs = 1.2.5-6" "Required by krb5-devel"

what should i do? please don't be to technical as this is my first time with linux.
linuxnewb is offline   Reply With Quote
Old 12-26-02, 10:02 AM   #186
tarnis
Registered User
 
Join Date: Dec 2002
Posts: 3
Send a message via AIM to tarnis Send a message via Yahoo to tarnis
Default

Was hoping someone might give me a small hand installing nvidia drivers Think I just screwed up a line in my XF86Conf while messing with Emacs but have nothing to compare it to...I'm running Redhat 8, the linux drivers were just downloaded so they're pretty current.

There is an error it says in my XF86Config file and in the server layout section I have a line that says

Screen 0 "Screen0" 0 0

Is there an extra 0 in that? It doesn't look quite right next to the rest of the lines... Else, here's my whole file down bellow.

Thanks,
Matt


(I fixxed it)

Last edited by tarnis; 12-30-02 at 09:01 AM.
tarnis is offline   Reply With Quote
Old 12-26-02, 01:11 PM   #187
pkorpela
Registered User
 
Join Date: Dec 2002
Posts: 1
Default Strange trails on screen

Hi,

Just installed latest Nvidia drivers (1.0-4191) on my Dell M50 laptop with Quadro4 500 GoGL graphics.

Everything seems to work OK, if I boot to init level 3 and start X manually after logging in to the system. If I set my default init level as 5, all opened windows leave strange trails on the desktop and I can't refresh the screen without restaring the X.

The system is RH 7.1 with XFree 4.0.3-5. Has anyone else seen the same?

Cheers,

Perttu
pkorpela is offline   Reply With Quote
Old 12-29-02, 08:06 PM   #188
Masta-G
Registered User
 
Join Date: Dec 2002
Location: The Netherlands - Amersfoort
Posts: 3
Send a message via AIM to Masta-G
Default why going through all this :P

Hey I have a better idea...
I tried everything
I have RedHat 8
kenrel 2.4.18-19.8.0 + source that matches that version.
I got the latest headers, binutils rpm and rpmbuilt and it still failed making the driver from source.

So why dont u guys upload ur compiled driver to some place with the kernel/linux version specified in the filename so ppl can download it. Modifying the XF86Config worked great for me on the old (2.4.18-14) kernel using offical nv driver. So that shouldnt be a big problem for most noobs. Only getting the source compiled is a bigger problem. Waiting for NV te compile an new driver takes ages. So plz be kind and upload ur driver and let us know
Masta-G is offline   Reply With Quote

Old 12-29-02, 11:34 PM   #189
mog78
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

Ok guys, a newbie to this needs some questions answered. I installed the correct RPMs (I'm on RH 8.0) but I get a signal 11 error when I loaded X. I then just rpm -e it and I can now boot into X at least. However, I have not yet followed STEEL's step-by-step instructions. And before I do, I got a few questions:

1. I just upgraded the default Red Hat 8.0 kernel to a customized kernel that I compiled.....version 2.4.20. Will this in any way give me any errors? Like, will it give me errors expecting a default RH 8 kernel? I ran nvchooser.sh and got the right SRPMS

2. Let's say it works and latter down the line I upgrade my kernel to 2.4.21. Will I then have to recompile these drivers? Or can I leave it and it will work with all future kernel recompiles?

Thanks.
mog78 is offline   Reply With Quote
Old 12-30-02, 09:03 AM   #190
tarnis
Registered User
 
Join Date: Dec 2002
Posts: 3
Send a message via AIM to tarnis Send a message via Yahoo to tarnis
Default

Ok, here's how I got it to finally work. Download the src.rpm file, and make your own...had never done it before but that went right in.

use "rpmbuild --rebuild NVIDIA_kernel.src.rpm"

It will spit out a path to the rpm it builds at the end, simpley use rpm -ivh /path it gave/NVIDIA_kernel.i386.rpm

Boom! Done
Matt
tarnis is offline   Reply With Quote
Old 12-30-02, 11:21 AM   #191
MdG
Registered User
 
Join Date: Dec 2002
Posts: 1
Send a message via AIM to MdG
Default Nervous...backing up?

So, I've tried so many ways to get these Nvidia drivers installed. I'm running RH8 and have a RIVA TNT2 card.

I'm about to try the stuff that STEELE added. But, in past attempts, I've screwed up the XServer so much that it wouldn't even start. And I never know how to get back to where I was when it was running.

So...what can I backup so that when I screw it up, I am not lost in the darkness?

Thanks,
MdG
MdG is offline   Reply With Quote
Old 12-30-02, 12:26 PM   #192
tarnis
Registered User
 
Join Date: Dec 2002
Posts: 3
Send a message via AIM to tarnis Send a message via Yahoo to tarnis
Default

Backup "/etc/X11/XF86Config" or "/etc/X11/XF86Config-4" if you have it before doing anything...
tarnis is offline   Reply With Quote
Old 12-31-02, 12:11 AM   #193
ftz
Registered User
 
Join Date: Dec 2002
Posts: 4
Send a message via ICQ to ftz
Default RH8 nvidia driver install

Thanks man..
You saved me on this one.
Just wanted to let you know after i updated and crashed X, I installed again with the --force option and I was up in 2 min

I just reran the /usr/src/redhat/sources/i386/rpm -ivh NVIDIA_kernel.rpm --force

and

rpm -ivh NVIDIA_GLX.rpm --force

Worked great. I got 320fps on UT and leveled out at 180-220. UT 2003 runs like poop.

AMD XP1800
256 Meg DDR266
geforce4 Ti4200 128meg

crazy ut2003.. WTF do you need to run it decent?
ftz is offline   Reply With Quote
Old 12-31-02, 09:01 PM   #194
PSBarger
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

I need some help bad guys!
I'm trying to install these drivers on RH8, but I've got a problem trying to load the rpms. When run:

rpm -ivh NVIDIA_kernel I get
Preparing.... ##### [100%]
1:NVIDIA_kernel ##### [100%]
modprobe: Can't locate module nvidia

Failed to install nvidia.o

error: %post(NVIDIA_kernel) scriplet failed, exit status 1


And I'm screwed right now because I thought maybe it was still cool and rebooted, now I can't even load xwindows.... could use some help really badly!! The GLX rpm loads fine, but the kernel refuses to work right. I'm using exactly what the NVchooser.sh told me to use..... Please help me

Thanks.
PSBarger is offline   Reply With Quote
Old 12-31-02, 09:18 PM   #195
mog78
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

Quote:
Originally posted by PSBarger
I need some help bad guys!
I'm trying to install these drivers on RH8, but I've got a problem trying to load the rpms. When run:

rpm -ivh NVIDIA_kernel I get
Preparing.... ##### [100%]
1:NVIDIA_kernel ##### [100%]
modprobe: Can't locate module nvidia

Failed to install nvidia.o

error: %post(NVIDIA_kernel) scriplet failed, exit status 1


And I'm screwed right now because I thought maybe it was still cool and rebooted, now I can't even load xwindows.... could use some help really badly!! The GLX rpm loads fine, but the kernel refuses to work right. I'm using exactly what the NVchooser.sh told me to use..... Please help me

Thanks.
"XFree86 -configure" will produce a generic XFree86Config file so you can at least get back into X windows and try again. This happened to me and I had to type that in order to log back in.
mog78 is offline   Reply With Quote
Old 12-31-02, 09:31 PM   #196
PSBarger
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

Quote:
Originally posted by mog78
"XFree86 -configure" will produce a generic XFree86Config file so you can at least get back into X windows and try again. This happened to me and I had to type that in order to log back in.
Thats not even working for me. I think I got it really screwed up.... Thanks for the advice though.
PSBarger is offline   Reply With Quote
Old 12-31-02, 09:37 PM   #197
mog78
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

Quote:
Originally posted by PSBarger
Thats not even working for me. I think I got it really screwed up.... Thanks for the advice though.
Did you delete the old XFree86Config? What I did was delete that and use the one that XFree86 -config produced. ALways good to backup your XFree86Config file.
mog78 is offline   Reply With Quote
Old 12-31-02, 09:49 PM   #198
PSBarger
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

Quote:
Originally posted by mog78
Did you delete the old XFree86Config? What I did was delete that and use the one that XFree86 -config produced. ALways good to backup your XFree86Config file.
Nope, I didn't delete it, I made a copy of it before I changed anything (XFree86Config.bak). The thing I did that was dumb, even though I was getting the error installing the RPMS (the one I posted up a few posts), I still rebooted my computer and now I think I got it really messed up. I'm hoping somebody can tell me whats wrong with my RPM extraction, because if I can get that to extract properly I'm hoping that it will boot up right. I think my RPM is partially installed or something, and thats why even using the backed up version of Free86Config its still not working right (at least thats my theory, if you have any ideas I'd love to hear 'em).
PSBarger is offline   Reply With Quote
Old 01-01-03, 05:21 PM   #199
mb[DK]
Registered User
 
Join Date: Jan 2003
Location: Denmark
Posts: 12
Send a message via ICQ to mb[DK]
Default

When I try to install I get this:

root@dreck - 00:19:14]$ rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm
Forbereder... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: unresolved symbol irq_stat_R2eb93455
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.18-19.8.0/kernel/drivers/video/nvidia.o: insmod nvidia failed

Failed to install nvidia.o

fejl: %post(NVIDIA_kernel-1.0-4191) scriptlet failed, exit status 1


>> Its always the same, no matter how I try to install it.
Im using red hat 8 with kernel version: 2.4.18-19.8.0
mb[DK] is offline   Reply With Quote
Old 01-02-03, 10:52 AM   #200
keung
Registered User
 
Join Date: Jan 2003
Posts: 16
Smile report success install driver for kernel-2.4.18-19.8.0

I follow STEEL1 steps and sucessfully install NVidia
driver for Linux RH8.0 and update to kernel 2.4.18-19.8.0

I add some updated comments on STEEL1 said :
Step 1> Download the following from NVidia's site. (Note that the NVIDIA_kernel is the **src.rpm** rpm file and the NVIDIA_GLX is a **rpm**):
NVIDIA_kernel-1.0-4191.src.rpm
and
NVIDIA_GLX-1.0-4191.i386.rpm

Step 2> Make sure you have the kernel headers installed along with all other dev tools - these are needed along with other dependencies. The best way to ensure that you have all dependencies is to just go start menu > system settings > packages > and in the development section choose the Kernel development packge and install the whole thing.

Step 3> update the kernel bin and source to 2.4.18-19.8.0

Step 4> reboot system, so new kernel reference its new source as mp3tricord said.
On login, image login screen fail. Press cancel two time to enter text login screen.
I login as root.

Step 5> "rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm" to create drivers for the RH 8.0 kernel. (This will create the binary RPM in "/usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm")

Step 6> Installed this new (NVIDIA_kernel-1.0-4191.i386.rpm)
"rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm"

Step 7> Installed GLX
"rpm -ivh NVIDIA_GLX-1.0-4191.i386.rpm"

That all !

Same as mwgoodman said,
If building src.rpm failed. The Buildmeister is not really an error just a warning. I have failed because when I forgotten reboot the system after update the kernel bin and source. After reboot, building rpm successful.

Hope this help some people.

Regards,
Keung
keung 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
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 10:10 AM
The Nvidia Forums Are Still Not Available, Finally We Know Why News Archived News Items 0 07-14-12 05:10 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
NVidia Drivers HowTo for RedHat 8.0 needed eduardp NVIDIA Linux 10 10-04-02 03:59 AM
Redhat 8.0, no rpm, can't compile. Ironphil NVIDIA Linux 6 10-02-02 03:13 PM

All times are GMT -5. The time now is 01:24 AM.


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