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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-09-03, 11:47 AM   #1
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Question nVidia Drivers - Installing from Source on RH9

I have the MSI K7N2G M/B with the nForce2 chipset.



I have managed to install Red Hat 9 (kernal 2.4.20-8) with no problems except that the Network isn't working and I think the hard disk is running slow.

I have seen posts on making and installing a new kernal to address the ATA100 problem but I am stuck on installing the nVidia drivers.

I have downloaded the source rpm
NVIDIA_nforce-1.0-0248.src.rpm

Put this in my home directory and tried to do the rebuild as instructed in the release notes.

After SU and password I am typing

rpm --rebuild NVIDIA_nforce-1.0-0248.src.rpm

This gives me the response

--rebuild: unknown option.

I have set up a couple of linux systems in the past but never had problems with drivers. So in this I am still just newbie.

Am I doing something fundamentally wrong?

Kennedy
Kennedy is offline   Reply With Quote
Old 05-09-03, 12:45 PM   #2
Birdie
Registered User
 
Join Date: Apr 2003
Location: Santiago, Chile
Posts: 6
Send a message via ICQ to Birdie Send a message via Yahoo to Birdie
Default

use rpmbuild --rebuild xxxx.src.rpm, if it doesn't work you'll need to install some rpm's, don't know the exact name, sorry.

by the way there is a newer nforce RPM that the one you have.

here
Birdie is offline   Reply With Quote
Old 05-10-03, 05:52 AM   #3
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Smile

Thanks Birdie

I won't get to try this until Monday but I will let you know how it goes.

Kennedy
Kennedy is offline   Reply With Quote
Old 05-13-03, 05:57 AM   #4
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Unhappy

OK so its Tuesday - things happen.

I tried this and it almost worked.

Problem seems to be with the audio drivers right near the end.

I'm not a 'C' person so a good chunk of this whistles past without landing.

Looking at other posts, this seems to be a common problem with RH9.

If there is anybody who has successfully done a src rebuild on RH9 then please let me know the secret.

Kennedy


[root@dbs kennedy]# rpmbuild --rebuild NVIDIA_nforce-1.0-0256.src.rpm

Installing NVIDIA_nforce-1.0-0256.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
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55610
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ 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 2003-04-02 19:19:32 nforce/
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/nvnet/
-r--r--r-- buildmeister/adm 16904 2003-04-02 19:21:41 nforce/nvnet/adapter.h
-r--r--r-- buildmeister/adm 794 2003-04-02 19:21:41 nforce/nvnet/basetype.h
-r--r--r-- buildmeister/adm 6752 2003-04-02 19:21:41 nforce/nvnet/nvnet.h
-r--r--r-- buildmeister/adm 4437 2003-04-02 19:21:41 nforce/nvnet/os.h
-r--r--r-- buildmeister/adm 4749 2003-04-02 19:21:41 nforce/nvnet/phy.h
-r--r--r-- buildmeister/adm 37870 2003-04-02 19:21:41 nforce/nvnet/nvnet.c
-rw-r--r-- buildmeister/adm 21488 2003-04-02 19:21:41 nforce/nvnet/nvnetlib.o
-r--r--r-- buildmeister/adm 3088 2003-04-02 19:21:41 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,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 2003-04-02 19:21:41 nforce/
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/nvaudio/
-r--r--r-- buildmeister/adm 2205 2003-04-02 19:21:41 nforce/nvaudio/Makefile
-r--r--r-- buildmeister/adm 57766 2003-04-02 19:21:41 nforce/nvaudio/nvcrush.c
-r--r--r-- buildmeister/adm 6925 2003-04-02 19:21:41 nforce/nvaudio/nvhw.c
-r--r--r-- buildmeister/adm 30753 2003-04-02 19:21:41 nforce/nvaudio/nvmain.c
-r--r--r-- buildmeister/adm 8314 2003-04-02 19:21:41 nforce/nvaudio/nvrec.c
-r--r--r-- buildmeister/adm 26224 2003-04-02 19:21:41 nforce/nvaudio/nvspdif.c
-r--r--r-- buildmeister/adm 10967 2003-04-02 19:21:41 nforce/nvaudio/nvwavout.c
-r--r--r-- buildmeister/adm 4546 2003-04-02 19:21:41 nforce/nvaudio/chaninfo.h
-r--r--r-- buildmeister/adm 2877 2003-04-02 19:21:41 nforce/nvaudio/nvhw.h
-r--r--r-- buildmeister/adm 1080 2003-04-02 19:21:41 nforce/nvaudio/nvioctl.h
-r--r--r-- buildmeister/adm 1392 2003-04-02 19:21:41 nforce/nvaudio/nvrec.h
-r--r--r-- buildmeister/adm 1618 2003-04-02 19:21:41 nforce/nvaudio/nvspdif.h
-r--r--r-- buildmeister/adm 1405 2003-04-02 19:21:41 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,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 2003-04-02 19:21:41 nforce/
-r--r--r-- buildmeister/adm 1084 2003-04-02 19:21:41 nforce/Makefile
-r--r--r-- buildmeister/adm 5404 2003-04-02 19:21:41 nforce/NVLicense.txt
-r--r--r-- buildmeister/adm 18007 2003-04-02 19:21:41 nforce/GNULicense.txt
-r--r--r-- buildmeister/adm 21779 2003-04-02 19:21:41 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,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.44772
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nforce
+ LANG=C
+ export LANG
+ 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__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
ld -r -o temp.o nvnet.o nvnetlib.o
objcopy --strip-symbol="gcc2_compiled." temp.o
cp temp.o nvnet.o
rm temp.o
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make -C nvaudio
make[1]: Entering directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make nvaudio.o
make[2]: Entering directory `/usr/src/redhat/BUILD/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvhw.o nvhw.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvrec.o nvrec.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvwavout.o nvwavout.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvspdif.o nvspdif.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvcrush.o nvcrush.c

************* errors seem to start here ************

nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make[2]: *** [nvcrush.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make: *** [nvaudio_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.44772 (%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
Bad exit status from /var/tmp/rpm-tmp.44772 (%build)
Kennedy is offline   Reply With Quote
Old 05-13-03, 10:57 AM   #5
Eci
Registered User
 
Join Date: May 2003
Posts: 2
Default

I have same mobo with lan but MDK 9.1.
Errors were same. I found somewhere in mandrakes newsgroups that you must first install MDK's kernel source and after that nforce drivers. With MDK that works. I don't know if it is necessary with RH, but you can try it.

Eci
Eci is offline   Reply With Quote
Old 05-13-03, 11:34 AM   #6
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Smile

Thanks Eci

I think I have sorted it, at least temporarily.

I went back to the previous version drivers 0248.

I got a few strange messages but it seems to have done the trick.

The sound seems to be working although I don't have the kit for a 5.1 setup.

The network seems to be on.

Regards

Kennedy
Kennedy is offline   Reply With Quote
Old 05-21-03, 12:54 AM   #7
bromod
Shuttle SN41G2 - AMD 2500
 
bromod's Avatar
 
Join Date: May 2003
Posts: 13
Default

I have this fixed, see my thread:http://www.nvnews.net/vbulletin/show...threadid=11630

titled: error: remap_page_range_R2baf18f2



bump

Last edited by bromod; 06-05-03 at 03:11 AM.
bromod is offline   Reply With Quote
Old 05-21-03, 04:28 AM   #8
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Smile

Thanks Bromod

That seems to work fine.

Regards

Kennedy
Kennedy 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
monitor not recognised after installing nvidia drivers Horaciusl NVIDIA Linux 3 08-10-12 11:59 PM
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 06:30 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 09:35 PM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 10:31 PM
Do I have to reinstall NVIDIA drivers after every kernel upgrade? supernaut NVIDIA Linux 3 07-31-02 07:50 PM

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


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