[Pkg-fglrx-devel] Bug#647629: fglrx-modules-dkms fails to build with kernel 3.0.8 and 3.0.4

Thorsten Glaser tg at mirbsd.de
Fri Nov 18 14:53:49 UTC 2011


Package: fglrx-driver
Followup-For: Bug #647629

Version: 1:11-11-1


Sorry, this happens with the version in unstable (once you get
past the broken xserver dependency from #639875), too:


Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.0.0-1-686-pae
Error! Bad return status for module build on kernel: 3.0.0-1-686-pae (i686)
Consult /var/lib/dkms/fglrx/8.801/build/make.log for more information.
root at rfisch-nb:~ # less /var/lib/dkms/fglrx/8.801/build/make.log
DKMS make.log for fglrx-8.801 for kernel 3.0.0-1-686-pae (i686)
Fri Nov 18 15:43:52 CET 2011
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/3.0.0-1-686-pae/build SUBDIRS=/var/lib/dkms/fglrx/8.801/build/2.6.x modules
make[1]: Entering directory /usr/src/linux-headers-3.0.0-1-686-pae'
  CC [M]  /var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.c:117:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[4]: *** [/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.o] Error 1
make[3]: *** [_module_/var/lib/dkms/fglrx/8.801/build/2.6.x] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-headers-3.0.0-1-686-pae'
make: *** [kmod_build] Error 2
build failed with return value 2




-- Package-specific info:
VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series

DRM and fglrx Informations from dmesg:
[    0.350607] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[    1.744837] Linux agpgart interface v0.103

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1447 Oct 12 12:51 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	Screen         "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
EndSection

Section "Module"
EndSection

Section "ServerFlags"
	Option	    "Xinerama" "on"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-1"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	Option	    "DesktopSetup" "horizontal"
	Option	    "OverlayOnCRTC2" "1"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-1"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-1"
	Device     "aticonfig-Device[0]-1"
	Monitor    "aticonfig-Monitor[0]-1"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection



[ X log snipped, since it's from the 11-10 version
  and this is a "doesn't install" sort of bug      ]


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages fglrx-driver depends on:
ii  glx-alternative-fglrx                  0.2.0         
ii  libc6                                  2.13-21       
ii  libfglrx                               1:11-11-1     
ii  libgl1-mesa-glx [libgl1]               7.11-6        
ii  libx11-6                               2:1.4.4-2     
ii  libxext6                               2:1.3.0-3     
ii  libxrandr2                             2:1.3.2-2     
ii  libxrender1                            1:0.9.6-2     
ii  xserver-xorg-core [xorg-video-abi-11]  2:1.11.1.902-1

Versions of packages fglrx-driver recommends:
ii  fglrx-atieventsd                         1:11-11-1
ii  fglrx-modules-dkms [fglrx-kernel-11-11]  1:11-11-1
ii  libgl1-fglrx-glx                         1:11-11-1

Versions of packages fglrx-driver suggests:
pn  fglrx-control   1:11-11-1
pn  xvba-va-driver  <none>   

-- debconf information:
  fglrx-driver/acpi_switch: false





More information about the Pkg-fglrx-devel mailing list