<---- template headericclude ----->
F16 ATI Catalyst module build problem
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2012
    Location
    Montreal
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    F16 ATI Catalyst module build problem

    Hello, I've just come to Fedora from Debian a few days ago and find myself in a bit of trouble with building a kernel module for the ATI Catalyst driver (for HD 5800). Various posts suggest that akmods (similar to Debian's DKMS) is the best way to go so that's where I started. After installing akmod-catalyst and realizing that no module was generated, I tried:
    Code:
    % sudo akmods --force
    /usr/sbin/akmods: line 145: ulimit: core file size: cannot modify limit: Invalid argument
    Checking kmods exist for 3.2.9-2.fc16.x86_64               [  OK  ]
    Building and installing catalyst-kmod                      [FAILED]
    Building rpms failed; see /var/cache/akmods/catalyst/12.1-1-for-3.2.9-2.fc16.x86_64.failed.log for details
    
    Hint: Some kmods were ignored or failed to build or install.
    You can try to rebuild and install them by by calling
    '/usr/sbin/akmods --force' as root.
    Checking the specified log file, the highlights seem to be:
    Code:
    12 Mar 20:59:06 akmods: Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 3.2.9-2.fc16.x86_64 /usr/src/akmods/catalyst-kmod.latest'
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: 'module_log_map' defined but not used [-Wunused-variable]
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: 'module_type_map' defined but not used [-Wunused-variable]
      CC [M]  /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
    In file included from /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:33:0:
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
    In file included from /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/uaccess.h:575:0,
                     from include/asm-generic/termios.h:51,
                     from /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/termios.h:1,
                     from include/linux/termios.h:5,
                     from include/linux/tty.h:41,
                     from include/linux/vt_kern.h:11,
                     from /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:35:
    /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/uaccess_64.h: In function 'copy_from_user':
    /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/uaccess_64.h:57:7: error: called object '2' is not a function
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: At top level:
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: 'module_log_map' defined but not used [-Wunused-variable]
    /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: 'module_type_map' defined but not used [-Wunused-variable]
    make[2]: *** [/tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
    make[1]: *** [_module_/tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/kernels/3.2.9-2.fc16.x86_64'
    make: *** [kmod_build] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.hKSYWC (%build)
    ...
    ...
    ...
    12 Mar 20:59:10 akmodsbuild: from /tmp/akmodsbuild.0JR0K814/BUILD/catalyst-kmod-12.1/_kmod_build_3.2.9-2.fc16.x86_64/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:35:
    12 Mar 20:59:10 akmodsbuild: /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/uaccess_64.h: In function 'copy_from_user':
    12 Mar 20:59:10 akmodsbuild: /usr/src/kernels/3.2.9-2.fc16.x86_64/arch/x86/include/asm/uaccess_64.h:57:7: error: called object '2' is not a function
    ...
    Poking around the internet, I don't find much reference to the same problem aside from a few build.log files that look similar (with no background or resolution nearby). I then tried to install the Catalyst drivers directly from AMD and was notified of an error in building the module with a log dumped in /usr/share/ati/fglrx-install.log. In this file was the exact same error...

    Does anyone have any idea what may be going on here?

    Thanks,

    bnahill
    Last edited by bnahill; 13th March 2012 at 02:20 AM. Reason: Typo...

Similar Threads

  1. [SOLVED]
    blacklisting radeon module for catalyst
    By mikeym in forum Hardware
    Replies: 3
    Last Post: 27th February 2012, 12:33 AM
  2. [SOLVED]
    Unable to build kernel module
    By year4e in forum Using Fedora
    Replies: 2
    Last Post: 6th August 2011, 04:32 PM
  3. Cannot install Module::Build without Module::Build
    By hackman989 in forum Using Fedora
    Replies: 2
    Last Post: 14th July 2006, 02:58 PM
  4. Trying to build Wireless NIC Module
    By zaecron in forum Fedora Core 5 - Dev
    Replies: 1
    Last Post: 25th February 2006, 12:11 AM
  5. ATI module build fail
    By jakman85 in forum Hardware
    Replies: 3
    Last Post: 22nd December 2005, 08:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]