fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| fglrx-installer (Ubuntu) |
High
|
Unassigned | ||
| Quantal |
High
|
Alberto Milone |
Bug Description
Apport report. fglrx 8.960 fails to build with kernel 3.4.0-1-generic.
Module compilation failed with:
CC [M] /var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
make[2]: *** [/var/lib/
ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: fglrx 2:8.960-0ubuntu1
Uname: Linux 3.3.0-4.
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
DKMSKernelVersion: 3.4.0-1-generic
Date: Wed May 2 16:31:41 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64+mac (20111012)
PackageVersion: 2:8.960-0ubuntu1
SourcePackage: fglrx-installer
Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
Jonathon Fernyhough (jfernyhough) wrote : | #1 |
Jonathon Fernyhough (jfernyhough) wrote : | #2 |
tags: | removed: need-duplicate-check |
The attachment "34.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]
tags: | added: patch |
Launchpad Janitor (janitor) wrote : Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in fglrx-installer (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
Changed in fglrx-installer (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
summary: |
- fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build + fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: + ‘cpu_possible_map’ undeclared (first use in this function)] |
Paul Maseberg (pdmaseberg) wrote : | #5 |
I can get the module to build with that 34.patch but then I get
fglrx: Unknown symbol old_rsp (err 0)
and I found someone else reporting that bug to amd
Changed in fglrx-installer (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
tags: | added: rls-mgr-p-tracking |
Jonathon Fernyhough (jfernyhough) wrote : | #6 |
New patch from http://
(Testing on my system with AMD driver is in progress ;)
Jonathon Fernyhough (jfernyhough) wrote : | #7 |
Using only the patch from #6 fglrx builds and X loads. glxinfo reports info as expected (as far as I can tell ;). Unity3D starts.
I had no luck with the new patch. It still gave compiler warnings. So I combined the two patches to one and that worked for my situation.
Daniel Letzeisen (dtl131) wrote : | #9 |
fglrx-installer (2:8.960-0ubuntu2) quantal; urgency=low
* replace-
replace-
- Add support for Linux 3.5.
-- Alberto Milone <email address hidden> Sun, 17 Jun 2012 17:20:49 +0200
Changed in fglrx-installer (Ubuntu Quantal): | |
status: | Triaged → Fix Released |
Christopher (soft-kristal) wrote : | #10 |
Fix works for me on my AMD 64 bit system. Thanks.
Still gives on x86 system:
/var/lib/
/var/lib/
/var/lib/
That was fixed in the combined patch:
@@ -187,6 +187,9 @@
#include <linux/gfp.h>
#include <linux/swap.h>
#include "asm/i387.h"
+#if LINUX_VERSION_CODE >= KERNEL_
+#include <asm/fpu-
+#endif
#include "firegl_public.h"
#include "kcl_osconfig.h"
Shabang (theshabang) wrote : | #12 |
Guys,
Im with same problem installing fglrx AMD driver in 3.4 kernel from ubuntu mainline.
Can you explain me how to apply this patch?
Thank you
Jonathon Fernyhough (jfernyhough) wrote : | #13 |
@Shabang: Check out the thread on ubuntuforums: http://
There's also a new patch for kernel 3.5 which works for me (credited to Enrico Tagliavini).
Holm Dressler (velovity) wrote : | #14 |
For everybody who is interested in: for my Kernel 3.5.1 and the newest
amd-driver-
get amd-driver-
get FGLRX-8-
./amd-driver-
patch a/common/
patch a/common/
cd a
sh /usr/share/
./ati-installer.sh 8.98 --install
Have fun,
Holm
Václav Šmilauer (eudoxos) wrote : | #15 |
@Holm: patches much appreciated. Last hunk ("for_each_
Perhaps the xorg-edgers guys might be interested in putting those patches to the fglrx-installer packages?
Changed in fglrx-installer (Ubuntu): | |
assignee: | Alberto Milone (albertomilone) → Luke Raadschelders (luke-raadschelders) |
assignee: | Luke Raadschelders (luke-raadschelders) → nobody |
Possible patch taken from:
http:// phoronix. com/forums/ showthread. php?68922- Patch-to- compile- fgrlx-module- on-Linux- 3-3-rc4- with-x86- 32-bit- arch&p= 257809# post257809