Public bug reported:

Using AMD's proprietary catalyst driver (12.6) from their site for my card (HD 
4850), I cannot successfully build the dkms module (I think) via any method.  I 
tried the normal catalyst install gui with automatic install, custom, tried 
building the packages via the gui, and lastly, followed this guide to try to 
make it work:
http://askubuntu.com/questions/124292/what-is-the-correct-way-to-install-ati-catalyst-video-drivers
(yes I do realized this is for 12.04, but it's all I had to go on...)

I get this as output while installing the resulting 
fglrx_8.970-0ubuntu1_amd64.deb file
Loading new fglrx-8.970 DKMS files...
First Installation: checking all kernels...
Building only for 3.5.0-17-generic
Building for architecture x86_64
Building initial module for 3.5.0-17-generic
Error! Bad return status for module build on kernel: 3.5.0-17-generic (x86_64)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.

The content of the make.log is the following:
Fri Oct 19 14:44:49 PDT 2012
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.5.0-17-generic/build 
SUBDIRS=/var/lib/dkms/fglrx/8.970/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
  CC [M]  /var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c: In function 
‘KCL_MEM_AllocLinearAddrInterval’:
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c:2152:5: error: implicit 
declaration of function ‘do_mmap’ [-Werror=implicit-function-declaration]
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c:2152:13: warning: cast to 
pointer from integer of different size [-Wint-to-pointer-cast]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.970/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

I was told that I may not be able to have 12.6 install in quantal, but I
tried, and I'm willing to keep trying.  I would just use the opensource
drivers if they weren't terrible for games and videos, but they are.  If
anyone can give me guidance, or help me help everyone (cause I know I'm
not the only one) figure this out, I'm willing to do some work to make
that happen.

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: fglrx 2:8.970-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DKMSKernelVersion: 3.5.0-17-generic
Date: Fri Oct 19 14:44:53 2012
DistUpgraded: 2012-10-19 03:09:43,655 DEBUG enabling apt cron job
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus: fglrx, 8.970: added
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI RV770 [Radeon HD 4850] [1002:9442] 
(prog-if 00 [VGA controller])
   Subsystem: Hightech Information System Ltd. Device [1787:2003]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Gigabyte Technology Co., Ltd. GA-880GM-USB3
PackageVersion: (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.5.0-17-generic 
root=UUID=36dff58e-e8c3-4774-b0b8-0e4c3ec751c9 ro rootflags=subvol=@ quiet 
splash vt.handoff=7
SourcePackage: fglrx-installer
Title: fglrx (not installed): fglrx kernel module failed to build
UnitySupportTest:
 Error: command ['/usr/lib/nux/unity_support_test', '-p', '-f'] failed with 
exit code 1: X Error of failed request:  BadAlloc (insufficient resources for 
operation)
   Major opcode of failed request:  154 (GLX)
   Minor opcode of failed request:  3 (X_GLXCreateContext)
   Serial number of failed request:  25
   Current serial number in output stream:  26
UpgradeStatus: Upgraded to quantal on 2012-10-19 (0 days ago)
dmi.bios.date: 10/15/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F8
dmi.board.name: GA-880GM-USB3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: 
dmi:bvnAwardSoftwareInternational,Inc.:bvrF8:bd10/15/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-880GM-USB3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-880GM-USB3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-880GM-USB3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.8.4-0ubuntu3
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

** Affects: fglrx-installer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package quantal ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1068877

Title:
  fglrx (not installed): fglrx kernel module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068877/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to