utsrelease.h not found during DKMS build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
The configuration of the fglrx package fails reproducibly on Ubuntu 10.04 and 10.10 (with the latest updates applied), which results in a system that fails to boot the graphical environment, requiring a fresh installation because I don't know how to fix the system's state. The graphics card in question is an ATI Mobility Radeon HD 3450.
The output of the "apt-get install" command looks as follows. It has been taken from [1], which is a description of the very same bug. Unfortunately, I didn't make a copy of the output as seen on my machine.
Loading new fglrx-8.723.1 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.33.5-rt23
Building for architecture x86_64
Building initial module for 2.6.33.5-rt23
Error! Bad return status for module build on kernel: 2.6.33.5-rt23 (x86_64)
Consult the make.log in the build directory
/var/lib/
dpkg: error processing fglrx (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
fglrx-amdcccle depends on fglrx; however:
Package fglrx is not configured yet.
dpkg: error processing fglrx-amdcccle (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Rebuilding /usr/share/
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
Processing triggers for python-support ...
Errors were encountered while processing:
fglrx
fglrx-amdcccle
E: Sub-process /usr/bin/dpkg returned an error code (1)
The content of my make.log:
DKMS make.log for fglrx-8.723.1 for kernel 2.6.35-19-generic (x86_64)
Fri Aug 27 22:54:10 CEST 2010
AMD kernel module generator version 2.1
cat: /lib/modules/
Error:
kernel includes at /lib/modules/
they are versioned as ""
instead of "2.6.35-
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
[1] http://
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: fglrx (not installed)
ProcVersionSign
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
DRM.card0.DVI.D.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.LVDS.1:
status: connected
enabled: enabled
dpms: On
modes: 1440x900 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
edid-base64: AP/////
DRM.card0.VGA.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
Date: Sat Aug 28 14:00:59 2010
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100827)
MachineType: Hewlett-Packard HP EliteBook 6930p
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=en
PATH=(custom, user)
LANG=de_CH.utf8
SHELL=/bin/bash
SourcePackage: fglrx-installer
dmi.bios.date: 03/05/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PCD Ver. F.17
dmi.board.name: 30DC
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 87.2A
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP EliteBook 6930p
dmi.product.
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: maverick
architecture: x86_64
kernel: 2.6.35-19-generic
My fglrx worked fine on 10.04 to the best of my knowledge. After performing an upgrade to 10.10 on 9/10 I experienced the same output trying to run dkms build manually. Removing fglrx and my xorg.conf allowed me to reboot into a GUI using Radeon.. which I am using now.
In the process of debugging, I purged all dkms cruft (old modules) and tried purging and re-adding the fglrx packages.