Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Linux 2.6.24 Kernel Released

  1. #1
    Join Date
    Jan 2007
    Posts
    14,541

    Default Linux 2.6.24 Kernel Released

    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

  2. #2
    Join Date
    Aug 2007
    Posts
    6,610

    Default

    I would have expected rc9 before... But thanks that it finally arrived.

  3. #3
    Join Date
    Sep 2006
    Location
    PL
    Posts
    910

    Default

    finally. let's see those angry faces that (presumably) can't get fglrx to build with it now :]

  4. #4
    Join Date
    Aug 2007
    Posts
    6,610

    Default

    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.

  5. #5
    Join Date
    Oct 2007
    Posts
    15

    Default

    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

  6. #6
    Join Date
    Aug 2007
    Posts
    6,610

    Default

    Maybe gentoo added additional patches. I usually use Ubuntu git code.

  7. #7
    Join Date
    Oct 2007
    Posts
    15

    Default

    I think I found the problem.

    See
    error: implicit declaration of function 'pci_find_slot'
    In /usr/src/linux/.config I noticed this option; or better in `make menuconfig`:
    Bus options (PCI etc.) > Enable deprecated pci_find_* API
    The help on that option:
    │ 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.)
    EDIT: Yup worked as a charm >_>
    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.
    Well, guess we're lucky fglrx is one of those *few* drivers
    Last edited by n3Cre0; 01-25-2008 at 07:41 PM.

  8. #8
    Join Date
    Oct 2007
    Location
    Poland
    Posts
    27

    Default

    So, after You disabled this option, You were able to install AMD/ATI drivers on 2.6.24 kernel?

  9. #9
    Join Date
    Aug 2007
    Posts
    6,610

    Default

    Well it seems all kernels which allow it use

    CONFIG_PCI_LEGACY=y

    that means enabled.

  10. #10
    Join Date
    Oct 2007
    Location
    Poland
    Posts
    27

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •