• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Kernel 2.6.12.2 + ATI Modul

dietzi

Newbie
Hallo,

ich habe mir für SUSE 9.2 den Kernel 2.6.12.2 lt. der Anleitung von Gimpel gebaut und ihn parallel installiert. Er bootet auch anstandslos und funktioniert (einziges Manko, beim Booten bleibt er elendslange bei folgender Zeile hängen: lmPS/2 Generic Wheel Mouse on isa0060/serio1, aber das ist zu verschmerzen).

Jetzt wollte ich das ATI Modul nach der Anleitung von Appleonkel installieren, die Vorgangsweise ist für den Kernel 2.6.12.2 ja wahrscheinlich die selbe.

So schaut's aus:

Zuerst fglrx_6_8_0-8.12.10-1.i386.rpm (fglrx_6_8_0-8.14.13-1.i386.rpm liefert schon beim ati2.patch lauter Fehlermeldungen) installiert.

Dann die Patches:

Code:
PC:/lib/modules/fglrx/build_mod # patch -p 1 < /.../ati1.patch
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|
|2005-03-02 22:32            diff -lu or.c agpgart_be.c            Page 1
|
|
|--- or.c       2005-01-31 19:50:00.000000000 +0200
|+++ agpgart_be.c       2005-03-02 22:19:25.000000000 +0200
--------------------------
File to patch: agpgart_be.c
patching file agpgart_be.c

PC:/lib/modules/fglrx/build_mod # patch -p 1 < /.../ati2.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- 2.c        2005-02-10 04:15:00.000000000 +0200
|+++ firegl_public.c    2005-03-02 22:21:42.000000000 +0200
--------------------------
File to patch: firegl_public.c
patching file firegl_public.c
Hunk #1 succeeded at 1663 (offset -1 lines).
Hunk #2 succeeded at 2108 (offset -1 lines).
Hunk #3 succeeded at 2211 (offset -1 lines).
Hunk #4 succeeded at 2580 (offset -1 lines).
Hunk #5 succeeded at 2743 (offset -1 lines).
Hunk #6 succeeded at 2810 (offset -1 lines).
Hunk #7 succeeded at 2847 (offset -1 lines).
Hunk #8 succeeded at 2897 (offset -1 lines).

Und ab jetzt hagelt es Fehlermeldungen, mit denen ich nichts anfangen kann.

Code:
PC:/lib/modules/fglrx/build_mod # chmod +x make.sh
PC:/lib/modules/fglrx/build_mod # ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/packages/BUILD/kernel-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7153: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7173: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7178: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7204: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7224: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7244: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7249: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6545: warning: unused variable `cap_ptr'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7635: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7645: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6526: warning: `agp_check_supported_device' defined but not used
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Fehler 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Fehler 2
make[1]: Leaving directory `/usr/src/packages/BUILD/kernel-2.6.12.2'
make: *** [kmod_build] Fehler 2
build failed with return value 2

Irgendeine Idee?

LG
Dietmar
 

Gimpel

Guru
dietzi schrieb:
Dann die Patches:

Code:
PC:/lib/modules/fglrx/build_mod # patch -p 1 < /.../ati1.patch
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|
|2005-03-02 22:32            diff -lu or.c agpgart_be.c            Page 1
|
|
|--- or.c       2005-01-31 19:50:00.000000000 +0200
|+++ agpgart_be.c       2005-03-02 22:19:25.000000000 +0200
--------------------------
File to patch: agpgart_be.c
patching file agpgart_be.c

PC:/lib/modules/fglrx/build_mod # patch -p 1 < /.../ati2.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- 2.c        2005-02-10 04:15:00.000000000 +0200
|+++ firegl_public.c    2005-03-02 22:21:42.000000000 +0200
--------------------------
File to patch: firegl_public.c
patching file firegl_public.c
Hunk #1 succeeded at 1663 (offset -1 lines).
Hunk #2 succeeded at 2108 (offset -1 lines).
Hunk #3 succeeded at 2211 (offset -1 lines).
Hunk #4 succeeded at 2580 (offset -1 lines).
Hunk #5 succeeded at 2743 (offset -1 lines).
Hunk #6 succeeded at 2810 (offset -1 lines).
Hunk #7 succeeded at 2847 (offset -1 lines).
Hunk #8 succeeded at 2897 (offset -1 lines).
ich hab zwar keine ati, aber:

patch -p1, und nicht -p 1! leerzeichen muss raus!

schau mal obs daran liegt, zumindest meckert patch deshalb
 
OP
D

dietzi

Newbie
Hallo Gimpel,

dasselbe in Grün, daran liegt es wahrscheinlich nicht.

Kann es irgendwie, irgendwo an den Kernel-Quellen scheitern?

LG
Dietmar
 
Gimpel schrieb:
dietzi schrieb:
ich hab zwar keine ati, aber:
patch -p1, und nicht -p 1! leerzeichen muss raus!
schau mal obs daran liegt, zumindest meckert patch deshalb
Nene. Das geht mit -p1 als auch -p 1, schließlich ist ein Argument ("1") erforderlich für -p, und ob das nun ge"bundle"d wird (-p1) oder "standard" (-p 1) ist wumpe, egal, wayne.

Na klar, sind es die Kernelquellen. Die haben sich zwischen 2.6.11 und .12 (und erst recht .13-rc1) ziemlich verändert. Ich musste schon meinen Nvidia-Treiber (ein alter!) selbst hochdevelopen.
 
OP
D

dietzi

Newbie
Na gut,

da habe ich also einen neuen, stabilen Kernel 2.6.12 (mit Realtime- und Inotifypatch) und die neuesten ATI-Treiber. Und muß/sollte trotzdem noch irgendwo händisch nachbessern?

Braucht es für die neuen Treiber 8.14.13 eigentlich auch noch die Patches aus der Anleitung von Appleonkel (für Treiber 8.10.19)? Ich gehe mal davon aus, daß diese nicht mehr notwendig sind.

Unter dem Originalkernel 2.6.8-24.16 funktioniert die Installation, unter 2.6.12 hagelt es die Fehlermeldungen aus der agpgart_be.c

Welche Einstellung in der Kernelkonfiguration könnte dafür verantwortlich sein (AGP-Unterstützung ist aktiviert).

LG
Dietmar
 
A

Anonymous

Gast
Vielleicht liegt es ja gar nicht an dem Kernel, sondern an dem Treiber.
Es wäre ja nicht das erste Mal,daß die ATI-Treiber mit neueren Kerneln Probleme haben....
 
A

Anonymous

Gast
Schau mal hier:
http://www2.ati.com/drivers/linux/linux_8.14.13.html

Da steht was von
Linux 2.6.11 Kernel Support

This release of the ATI Proprietary Linux driver introduces driver compatibly with Linux 2.6.11 kernel.

Also wird es eine Unterstützung für neuere Kernel erst ab er nächsten Treiber-Version geben wird.
 
Oben