LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-30-2004, 09:35 PM   #1
cprogrck
Member
 
Registered: May 2004
Posts: 91

Rep: Reputation: 15
fedora core 2 nvidia drivers


Due to cheapness (extream cheapness) I decided to buy a computer with a intergrated video card. Fedora core 2 sees my video card but it (apperently) dose not support 3d acelleration. So I downloaded the official nvidia drivers for the nforce chipset. There's no rpm for fedora core 2 so i downloaded the source rpm. When i tried to compile the rpm this happens:


[jay@x1-6-00-09-5b-0b-8b-37 downloads]$ su
Password:
[root@x1-6-00-09-5b-0b-8b-37 downloads]# rpmbuild --rebuild NVIDIA_nforce-1.0-0274.src.rpm
Installing NVIDIA_nforce-1.0-0274.src.rpm
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.72028
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/redhat/BUILD
+ rm -rf nforce
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:10:49 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:10:49 nforce/nvnet/
-rw-r--r-- buildmeister/adm 23833 2004-04-16 15:17:45 nforce/nvnet/adapter.h
-rw-r--r-- buildmeister/adm 6867 2004-04-16 15:17:45 nforce/nvnet/basetype.h
-rw-r--r-- buildmeister/adm 6219 2004-04-16 15:17:45 nforce/nvnet/drvinfo.h
-rw-r--r-- buildmeister/adm 12003 2004-04-16 15:17:45 nforce/nvnet/nvenet.h
-rw-r--r-- buildmeister/adm 5129 2004-04-16 15:17:45 nforce/nvnet/os.h
-rw-r--r-- buildmeister/adm 6945 2004-04-16 15:17:45 nforce/nvnet/phy.h
-rw-r--r-- buildmeister/adm 102460 2004-04-16 15:17:45 nforce/nvnet/nvenet.c
-rw-r--r-- buildmeister/adm 38352 2004-04-16 15:17:45 nforce/nvnet/nvenetlib.o
-rw-r--r-- buildmeister/adm 3717 2004-04-16 15:17:45 nforce/nvnet/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:17:46 nforce/nvaudio/
-rw-r--r-- buildmeister/adm 3202 2004-04-16 15:17:46 nforce/nvaudio/Makefile
-rw-r--r-- buildmeister/adm 64845 2004-04-16 15:17:46 nforce/nvaudio/nvcrush.c
-rw-r--r-- buildmeister/adm 84378 2004-04-16 15:17:46 nforce/nvaudio/nvhw.c
-rw-r--r-- buildmeister/adm 41741 2004-04-16 15:17:46 nforce/nvaudio/nvmain.c
-rw-r--r-- buildmeister/adm 9910 2004-04-16 15:17:46 nforce/nvaudio/nvrec.c
-rw-r--r-- buildmeister/adm 20056 2004-04-16 15:17:46 nforce/nvaudio/nvspdif.c
-rw-r--r-- buildmeister/adm 18339 2004-04-16 15:17:46 nforce/nvaudio/nvwavout.c
-rw-r--r-- buildmeister/adm 2651 2004-04-16 15:17:46 nforce/nvaudio/chaninfo.h
-rw-r--r-- buildmeister/adm 10215 2004-04-16 15:17:46 nforce/nvaudio/nvhw.h
-rw-r--r-- buildmeister/adm 2797 2004-04-16 15:17:46 nforce/nvaudio/nvioctl.h
-rw-r--r-- buildmeister/adm 1392 2004-04-16 15:17:46 nforce/nvaudio/nvrec.h
-rw-r--r-- buildmeister/adm 1618 2004-04-16 15:17:46 nforce/nvaudio/nvspdif.h
-rw-r--r-- buildmeister/adm 1499 2004-04-16 15:17:46 nforce/nvaudio/nvwavout.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:17:45 nforce/
-rw-r--r-- buildmeister/adm 1259 2004-04-16 15:17:45 nforce/Makefile
-rw-r--r-- buildmeister/adm 5404 2004-04-16 15:17:45 nforce/NVLicense.txt
-rw-r--r-- buildmeister/adm 18007 2004-04-16 15:17:45 nforce/GNULicense.txt
-rw-r--r-- buildmeister/adm 28128 2004-04-16 15:17:45 nforce/ReleaseNotes.html
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvgart.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 15:17:46 nforce/nvgart/
-rw-r--r-- buildmeister/adm 854 2004-04-16 15:17:46 nforce/nvgart/Makefile
-rw-r--r-- buildmeister/adm 2093 2004-04-16 15:17:46 nforce/nvgart/README
-rw-r--r-- buildmeister/adm 21192 2004-04-16 15:17:46 nforce/nvgart/linux-2.4.20-agpgart.diff
-rw-r--r-- buildmeister/adm 1211 2004-04-16 15:17:46 nforce/nvgart/linux-2.4.21-102-agpgart.diff
-rw-r--r-- buildmeister/adm 13557 2004-04-16 15:17:46 nforce/nvgart/linux-2.4.21-4.EL-agpgart.diff
-rw-r--r-- buildmeister/adm 22493 2004-04-16 15:17:46 nforce/nvgart/linux-2.4.21-agpgart.diff
-rw-r--r-- buildmeister/adm 13775 2004-04-16 15:17:46 nforce/nvgart/linux-2.4.22-agpgart.diff
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.89256
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nforce
+ LANG=C
+ export LANG
+ unset DISPLAY
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/redhat/BUILD/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/lib/modules/2.6.5-1.358/build/include nvenet.c
In file included from /lib/modules/2.6.5-1.358/build/include/linux/irq.h:20,
from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.5-1.358/build/include/linux/irq.h:72,
from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
nvenet.c: In function `nvenet_open':
nvenet.c:692: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvenet.c: In function `nvenet_remove':
nvenet.c:1214: error: structure has no member named `driver_data'
nvenet.c: In function `nvenet_reboot_handler':
nvenet.c:2360: warning: implicit declaration of function `pci_for_each_dev'
nvenet.c:2361: error: syntax error before '{' token
nvenet.c: At top level:
nvenet.c:2367: error: syntax error before '}' token
nvenet.c: In function `nvenet_proc_full_info_open':
nvenet.c:2605: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_hardware_info_open':
nvenet.c:2645: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_command_line_open':
nvenet.c:2686: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_configuration_open':
nvenet.c:2727: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_rx_stats_open':
nvenet.c:2762: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_tx_stats_open':
nvenet.c:2804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_release':
nvenet.c:2821: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:513)
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89256 (%build)


RPM build errors:
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.89256 (%build)
[root@x1-6-00-09-5b-0b-8b-37 downloads]#


what in god's name dose that mean? Shouldn't that produce a rpm file for my driver? also not it dose not produce a rpm.
 
Old 05-31-2004, 10:44 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
I used the source file (not rpm) to install my nvidia driver. I am not using core 2 though. Maybe you could try it and see if you get the same results.
 
Old 05-31-2004, 04:01 PM   #3
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
ummm

so ur saying don't download the srpms and download the tar.gz files?
 
Old 05-31-2004, 05:31 PM   #4
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
Hi!

The reason why Fedora Core is having problems with rpm type files is that something in the file system has been altered and it will not recognise some rpm's because of it.
Use the tar.gz file for your nVidia video instead. It is fairly straight forward.
Nvidia now build their own drivers for video cards and mobos and hence do no longer allow their drivers to be included in Linux distros. This is why 3D is disabled until you update. Does up2date not allow you to download and install the correct video drivers?

Terri
 
Old 05-31-2004, 07:06 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Yes, you should not have a problem with the .gz file. If you do post the error from the logfile. THe filename will be given if there is an error building the module.
 
Old 06-01-2004, 02:15 AM   #6
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
well it turns out that there's an easier way, I was downloading the files off of an no official nvidia site. nvidia has a SH file that will compile a video card drive for me. however my problems are not solved. I did exactly what their readme said but when i changed my XF*^config file to the right settings (and I quote the readme):

Change the Driver "nv" or "vesa" line to Driver "nvidia" (in my case it was nv)
make sure Load glx is under the module section.
remove Load "dri" and Load "GLcore" (for some reason only the dri was there for me).
 
Old 06-01-2004, 02:22 AM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
What's it doing?
 
Old 06-01-2004, 03:43 PM   #8
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
my screen turns completely black when i start x server. In other words, when I use the driver it dosen't work. The nvidia program showed no errors, but the driver dosen't work. I've even look at their read me to see if my video card is supported in the driver and it is. "gforce 4 mx intergrated GPU". I even tried changing the name of it from Gforce 4 mx (generic) to gforce 4 mx intergrated GPU. However that dosen't work. I am completely and totaly out of ideas. Also note, the driver installation program did compile a kernel module for the driver. It didn't "say" it had any errors so I assume it didn't.
 
Old 06-01-2004, 10:46 PM   #9
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Try to disable the framebuffer if your using one. In your bootloader.

What screen size and color depth are you setup for? You should probably try some changes to those settings.

You might also try this..

nvidia-installer --update
 
Old 06-02-2004, 12:06 AM   #10
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
I found ne info: the nvidia drivers do not work for fedora core 2 because they can not run on a kernel with a 4k stack. the site i found that info from is listed here http://rebus.webz.cz/.
 
Old 06-04-2004, 01:25 AM   #11
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
but, i get some weird error when i try to run any kind of 3d program. something to do with the glx library or somthing like that. I can actualy get the driver working but the kernel I have to install to do it dosen't support a lot of things. not only that I can't download rpms, and on top of that there's some weird problems with my compiler. Hence fedora core 2 sucks. Antway, it's alot of work to get almost any linux distro up and running but, I can't get use to a distro with a sucky compiler (don't ask). Anyway, a least it's not as bad as some other distros. This is a problem that should have been sorted out way before fedora core 2 was relased. Has anyone had any problems with compiling things on fedora core 2?? I get an erro with the make file that says theres no rule to make it stop or it simple fails to compile (by that I mean it won't build object files!!!!), for example while compiling the nvidia nforce driver I got an error message saying that a object file (aperently one it was suppose to compile) could not be found. Fedora core 2 is doing a lot of weird things. Like making files that I extract under root only useable under root. When I mount my windows partition (FYI: IS SET UP RIGHT SO ANY USER SHOULD BE ABLE TO USE IT) It's permissions are set so that only root can use it. quiet odd actualy. The first time I installed fedora core 2 that didn't even happen. The system is behaving odd and sometimes un stable. There really needs to be some work done to fedora. On the upside it did atomaticaly configure (working) drivers for my intergrated sound card (red hat 8,9, and fedora cre 1 did not) of course there's allways this other weird error where I can't play cds. (the cd player programs I use (grip included) all seem to play the cd but no sound comes out) Which is extreamly ironic because I have no problems playing dvds. Well, almost none, note spontanious restart. However other than that I think Fedora has potential. I also relize that It's not Fedora's fualt because no OS can be expected to support every peice of hardware. This problem could take very long to install. Maybe if I was a linux guru i could solve it. I must say, this gets very annoying. Did I mention I haven't slept well for the last week. So, excuse any massive logic errors or prolong rants. In fact it's about 12:24am right now haven't really slept all day.

so if u have any ideas plz help me out, as for now I sleep.
 
Old 06-04-2004, 02:31 PM   #12
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Fedora is inherantly Beta at best maybe Alpha. It's purpose is community driven development. It's best to have another distro as your main system if your even considering Fedora. Fedora is a good thing, although it's not ever going to be a dependable distro for main stream use. It's sole purpose prevents it from being such.

It can be setup to work very well on most systems as any other distro depending on your hardware. Keep in mind that updates are subject to break stuff. If your looking for a replacement for RedHat Linux you might try Mandrake or SuSE.


The 2.6 kernel is not really working with enough other stuff to be ready for everyone to use yet.

Fedora Core 1 seems pretty well stable for me.
 
Old 06-04-2004, 03:47 PM   #13
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
I was thinking about mandrake. What version do you recomend? I was thinking about 10. Also, does mandrake 10 come with the official nvidia drivers?
 
Old 06-04-2004, 04:02 PM   #14
cprogrck
Member
 
Registered: May 2004
Posts: 91

Original Poster
Rep: Reputation: 15
after a little reserch I decided to try mandrake 10. Although I don't like that whole membership thing. It seems like they're holding alot of good apps and support for Their members, which costs too much. I would be like buying more a exspensive OS every year.
 
Old 06-04-2004, 05:29 PM   #15
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
Lightbulb Other RPM distros...

Hi again!

Hope you managed to catch up with some sleep by now!
David Philip's suggestion of using Mandrake or SuSE is very good in my opinion. Actually, when I first started out with Linux, I had Mandrake 9.1 installed. It's an easy to use distro.
Since then I tried out SuSE, because I wanted to try as many different distros as possible to get acquainted with Linux. I've since settled on SuSE and now have 9.1 installed, which I'm very happy with due to ease of use and because it's a highly polished distro.

If you want to pick up the 4 CD version of Mandrake or SuSE 9.1 at a reasonable price, then have a look here:
www.linuxcd.org
I use this site a lot and can highly recommend it.

As for the "official" nVidia drivers, due to policies of nVidia, no distro will be able to offer you the official drivers with the installation media. But with SuSE and probably also with Mandrake, you can download the drivers as an update.

Good luck!

Terri
 
  


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
Re: Fedora Core 4 beta 1 and NVIDIA drivers MunCH Fedora 2 03-29-2005 05:13 PM
nvidia drivers on fedora core 3 srasiroslayer Linux - Software 2 12-31-2004 12:17 PM
fedora core 3 nvidia drivers doralsoral Linux - Software 4 12-03-2004 09:58 PM
New Nvidia Drivers - Fedora Core 2 JustOl'Bob Linux - Newbie 10 07-08-2004 06:28 PM
Nvidia drivers with Fedora core 1 doralsoral Linux - Software 5 12-24-2003 06:56 AM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
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