-   Linux - Kernel (
-   -   problem with kernel 2.6.19 and ati radeon drivers (

cigamiga 12-05-2006 07:36 PM

problem with kernel 2.6.19 and ati radeon drivers
compiled 2.6.19 and its working superbly but when i tried to compile my ati radeon drivers (v. 8.31.5) i get this error when i go into /lib/modules/fglrx/build_mod


root@dread:/lib/modules/fglrx/build_mod# sh
ATI module generator V 2.0
cat: /lib/modules/2.6.19/build/include/linux/version-*.h: No such file or directory line 451: [: =: unary operator expected line 525: [: =: unary operator expected
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.19/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:89:26: linux/config.h: No such file or directory
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:456: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_open':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:579: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_request_irq':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2528: warning: passing arg 2 of `request_irq' from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [kmod_build] Error 2
build failed with return value 2

just for the record i have ati radeon 9600XT, and if u need any info or got any solutions how can i make my 3D games work fine ;p (mmorpg ftw ;p) just post ;p

thx in advance

Hangdog42 12-06-2006 12:50 PM


/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:89:26: linux/config.h: No such file or directory
This problem has also cropped up in the wireless forums. I haven't had time to dig into it, but apparently 2.6.19 doesn't have a config.h file and that is breaking both ATI drivers and madwifi wireless drivers.

The only information I've found about it is here and it sounds like config.h is gone for good. You'll likely either have to go to an earlier kernel or wait for a patch to the ATI drivers.

Hangdog42 12-06-2006 04:08 PM

There is a similar post on the Slackware forum and apparently doing

touch /usr/src/linux/include/linux/config.h

first will take care of this problem. Just be sure /usr/src/linux points to your kernel source directory (or adjust the command).

cigamiga 12-06-2006 04:56 PM

will try with too busy getting fat :)

thx, gonna post if i get something good out of it (not my fat ;p )


cigamiga 12-07-2006 10:19 AM

i compiled drivers without any errors but there is no 3d acceleration, and i configured nicely my xorg.conf

here is the error i get in Xorg.0.log


--- snip ---
(II) fglrx(0): driver needs 6.8.x.y with x.y >= 99.8
(II) fglrx(0): detected
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)            *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
--- snip ---

does ati have working drivers for 6.9.0 ? those drivers are compiled for 6.8.x.y (that says in log file) but i guess they compile for 6.9.0 but without 3k acceleration

if u need more info from log just tell me...
and i have 6.9.0 not 7.0.0 ;p

if anyone have managed who has slackware 11 to get his ati radeon going on nicely plz share your knowledge ;)

thx in advance

Hangdog42 12-07-2006 01:21 PM

Have you checked out this thread in the Slackware forum?

All times are GMT -5. The time now is 10:11 PM.