LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-30-2003, 12:38 PM   #1
xxbartosxx
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Suse 8.2, nForce2, nvgart


Hi now i am stuck again, lol.
I patch the kernel with the patch from nvidia for the agp support.
When i patch get something like chunk #1 failed et 607
and when i do 'make bzImage' I get the following, I cut the important stuff(I think) from the compile output:
Code:
d7xx_tco.o amd7xx_tco.c
make -C agp modules
make[3]: Entering directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon  -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe  -c -o agpgart_fe.o agpgart_fe.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon  -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_be  -DEXPORT_SYMTAB -c agpgart_be.c
agpgart_be.c: In function `agp_generic_create_gatt_table':
agpgart_be.c:589: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_create_gatt_table':
agpgart_be.c:2499: warning: assignment from incompatible pointer type
agpgart_be.c:2500: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_free_gatt_table':
agpgart_be.c:2526: warning: assignment from incompatible pointer type
agpgart_be.c:2527: warning: assignment from incompatible pointer type
agpgart_be.c: In function `x86_64_insert_memory':
agpgart_be.c:2819: warning: integer constant is too large for "long" type
agpgart_be.c:2820: warning: integer constant is too large for "long" type
agpgart_be.c: In function `amd_8151_configure':
agpgart_be.c:3002: warning: integer constant is too large for "long" type
agpgart_be.c: In function `serverworks_create_gatt_table':
agpgart_be.c:3608: warning: assignment from incompatible pointer type
agpgart_be.c:3609: warning: assignment from incompatible pointer type
agpgart_be.c: In function `serverworks_free_gatt_table':
agpgart_be.c:3637: warning: assignment from incompatible pointer type
agpgart_be.c:3638: warning: assignment from incompatible pointer type
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: error: structure has no member named `num_of_masks'
make[3]: *** [agpgart_be.o] Fout 1
make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
make[2]: *** [_modsubdir_agp] Fout 2
make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
make[1]: *** [_modsubdir_char] Fout 2
make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
make: *** [_mod_drivers] Fout 2
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # gpgart_be.c:3638: warning: assignment from incompatible pointer type
bash: gpgart_be.c:3638:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # agpgart_be.c: In function `nvidia_generic_setup':
> agpgart_be.c:4347: error: structure has no member named `num_of_masks'
> make[3]: *** [agpgart_be.o] Fout 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
bash: agpgart_be.c:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[2]: *** [_modsubdir_agp] Fout 2
bash: make[2]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
> make[1]: *** [_modsubdir_char] Fout 2
> make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
> make: *** [_mod_drivers] Fout 2
> MYAMD2600XP:/usr/src/linux-2.4.20.SuSE #gpgart_be.c:3638: warning: assignment from incompatible pointer type
> agpgart_be.c: In function `nvidia_generic_setup':
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 4: syntax error: unexpected end of file
bash: make[2]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # agpgart_be.c:4347: error: structure has no member named `num_of_masks'
> make[3]: *** [agpgart_be.o] Fout 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
> make[2]: *** [_modsubdir_agp] Fout 2
> make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 4: syntax error: unexpected end of file
bash: agpgart_be.c:4347:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[1]: *** [_modsubdir_char] Fout 2
bash: make[1]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
> make: *** [_mod_drivers] Fout 2
Oh yeah 'Fout' = 'Error'

Pls help me
 
Old 08-31-2003, 08:17 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Did the kernel source and the patch match?

If you used the Suse 2.4.20 stock kernel source and the Nvidia site has a patch for 2.4.20, they are not the same... suse applies so much other stuff to their kernel tree that adding another patch is usually impossible.

If nothing else works... you can get the vanilla kernel from 2.4.20 OR if I remember right, support for the nforce2 chipset and the nvidia agp bridge is simply part of 2.4.22

Cheers,

Finegan
 
  


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
SuSE 9.0 Nforce2 troykent Linux - Networking 16 05-03-2004 09:32 PM
nvgart Vs. agpgart Spasmolytic Linux - Hardware 1 05-01-2004 09:14 PM
SuSE 9 + nforce2 NIC + n00b MrSelfDestruct Linux - Hardware 8 02-24-2004 11:12 AM
How do i do the netinstall of suse with my nforce2 NIC elpipetuanis Linux - Newbie 1 12-14-2003 04:56 PM
Mandrake 9.1 + NVGart Celeron463 Mandriva 0 08-24-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:53 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