I would have expected rc9 before... But thanks that it finally arrived.
Phoronix: Linux 2.6.24 Kernel Released
In time for Linux.Conf.Au that is starting in just four days, Linus Torvalds has this afternoon released the Linux 2.6.24 kernel. Compared to the 2.6.24-rc8 kernel there aren't many changes...
http://www.phoronix.com/vr.php?view=NjMwMQ
I would have expected rc9 before... But thanks that it finally arrived.
finally. let's see those angry faces that (presumably) can't get fglrx to build with it now :]
There is absolutely no problem to compile latest fglrx with it. Kanotix uses 2.6.24 and you can use fglrx down to 8.39.4 (with mlau's patch) and without it works since 7-11. There are just packageing problems when you can not install the driver.
Well fglrx doesn't compile for me on this 2.6.24 (gold)
make -j2 HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.24 KDIR=/usr/src/linux kmod_build
/usr/bin/make -C /usr/src/linux M=/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
CC [M] /var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci':
/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: error: implicit declaration of function 'pci_find_slot'
/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: warning: assignment makes pointer from integer without a cast
make[2]: *** [/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/paludis/x11-drivers/ati-drivers-8.452/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [kmod_build] Error 2
Maybe gentoo added additional patches. I usually use Ubuntu git code.
I think I found the problem.
See
In /usr/src/linux/.config I noticed this option; or better in `make menuconfig`:error: implicit declaration of function 'pci_find_slot'
Bus options (PCI etc.) > Enable deprecated pci_find_* API
The help on that option:
EDIT: Yup worked as a charm >_>│ CONFIG_PCI_LEGACY:
│ Say Y here if you want to include support for the deprecated
│ pci_find_slot() and pci_find_device() APIs. Most drivers have
│ been converted over to using the proper hotplug APIs, so this
│ option serves to include/exclude only a few drivers that are
│ still using this API.
| Symbol: PCI_LEGACY [=y]
│ Prompt: Enable deprecated pci_find_* API
│ Defined at drivers/pci/Kconfig:24
│ Depends on: PCI
│ Location:
│ -> Bus options (PCI etc.)
Well, guess we're lucky fglrx is one of those *few* driversMost drivers have been converted over to using the proper hotplug APIs, so this option serves to include/exclude only a few drivers that are still using this API.
Last edited by n3Cre0; 01-25-2008 at 06:41 PM.
So, after You disabled this option, You were able to install AMD/ATI drivers on 2.6.24 kernel?
Well it seems all kernels which allow it use
CONFIG_PCI_LEGACY=y
that means enabled.
Hmm, but when I had this option enabled, I got the same error as presented above...
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24-rt1/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.24'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_init_module’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:888: error: expected expression before ‘{’ token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_check_pci’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_pci_find_slot’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2840: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
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.24'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.