package fglrx 2:8.723.1-0ubuntu6 failed to install/upgrade: fglrx kernel module failed to build [kernel includes at ... do not match current kernel. they are versioned as "" instead of "3.0.0-19-generic-pae".]

Bug #992912 reported by Andrew Somerville
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Cannot install fglrx because of some error during install.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.723.1-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-19.33~lucid1-generic-pae 3.0.27
Uname: Linux 3.0.0-19-generic-pae i686
Architecture: i386
Date: Tue May 1 18:13:30 2012
DkmsStatus: fglrx, 8.723.1: added
ErrorMessage: fglrx kernel module failed to build
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Dell Inc. Vostro 420 Series
PackageVersion: 2:8.723.1-0ubuntu6
ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-19-generic-pae root=UUID=ce753912-e66c-4c54-8db3-6a0cb04a3ddc ro quiet splash
SourcePackage: fglrx-installer
Title: package fglrx 2:8.723.1-0ubuntu6 failed to install/upgrade: fglrx kernel module failed to build
dmi.bios.date: 02/10/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.4
dmi.board.name: 0N185P
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.4:bd02/10/2009:svnDellInc.:pnVostro420Series:pvr:rvnDellInc.:rn0N185P:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: Vostro 420 Series
dmi.sys.vendor: Dell Inc.
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 3.0.0-19-generic-pae

Revision history for this message
Andrew Somerville (andy-somerville) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

You need to use Catalyst >= 11-5 (8.850) for it to work on a 3.0 kernel

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

Where does one get 8.85? Not even xswat ppa has that.

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

Tried with direct-from-amd drivers and I still get a compile error when it tries to build the driver for 3.x kernels:

/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:5812: error: ‘TS_USEDFPU’ undeclared

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

solution:

Download amd driver pack directly from amd's website and then follow instructions taken from forum

    sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot
    cd ~/; mkdir catalyst12.4; cd catalyst12.4/
    wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
    chmod +x amd-driver-installer-12-4-x86.x86_64.run
    ./amd-driver-installer-12-4-x86.x86_64.run --extract driver
    cd driver/common/lib/modules/fglrx/build_mod/
    wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi

but the patch has to be modified by changing 3,2,0 to 3,0,0

    patch -p1 < fglrx.patch
    cd ~/catalyst12.4/driver/
    ./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
    cd ../

summary: package fglrx 2:8.723.1-0ubuntu6 failed to install/upgrade: fglrx kernel
- module failed to build
+ module failed to build [kernel includes at ... do not match current
+ kernel. they are versioned as "" instead of "3.0.0-19-generic-pae".]
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 601447, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

After reading the duplicate candidate, I do not believe this is the same bug.

As far as I know this bug is specific to 3.x kernels, and is not related to a symlink problem but rather a compile problem resulting from a missing symbol 'TS_USEDFPU'

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

Also, after reading the relevant code, I believe it would not affect x86_64 as the define guard around it would remove the offending code for x86_64.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Andy, the bug reported here is a duplicate of bug 601447.

The missing symbol TS_USEDFPU is a duplicate of bug 947871.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.