LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2004, 07:45 PM   #1
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Rep: Reputation: 30
nforce patch kernel errors


I have a Gigabyte 7n400pro 2 nforce2 with redhat 9.

I need to get the nforce agpgart drivers on before attempting to get the ati radeon drivers.

I downloaded the nforce-rh9-2.4.20-8.src.rpm, an exact match for my kernel version (2.4.20-8), yet when doing an rpm --rebuild nforce-rh9-2.4.20-8.src.rpm, I get some nvidia files installed under /usr/src/redhat plus a few errors about buildmeister not found, using root. I get no rpm built.

Therefore I went back to source. make and make install ok. Build s a few modules, but it's the .diff file that is my problem. I copied the linux-2.4.20.diff file to my /usr/src/linux directory and ran patch -p1 < linux-2.4.20.diff.

All HUNKS succeeded except for the last one in the includes/ directory. So I manually copied the failed lines into the .h file myself.

Then I started the usual procedure to set the options inthe kernel and recompile. At the make bzImage stage I get this error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-19.9/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_be -DEXPORT_SYMTAB -c agpgart_be.c
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: structure has no member named `num_of_masks'
make[3]: *** [agpgart_be.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-19.9/drivers/char/agp'
make[2]: *** [_modsubdir_agp] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-19.9/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-19.9/drivers'
make: *** [_mod_drivers] Error 2

Does anyone have any ideas here? I am going to give in soon and just install kernel 2.4.26 but I would like to do this for educational purposes.
 
Old 08-18-2004, 08:44 PM   #2
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Original Poster
Rep: Reputation: 30
To bring closure to this thread, this problem could not be solved and I therefore went with a better alternative method. Hence, I have since had success and have posted the following manual:

http://www.linuxquestions.org/questi...hreadid=219480
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia nForce (original) glx errors ! tionik06 Linux - Hardware 4 07-22-2005 04:04 PM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
Is there a NVIDIA nForce/nForce2 AGPGART Kernel Patch for 2.6.2? jimdaworm Slackware 1 02-09-2004 04:38 PM
installing nforce driver on RedHat 9. Make errors... riczan Linux - Software 3 10-12-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Open Source Consulting | Domain Registration