utsrelease.h not found during DKMS build

Bug #625787 reported by Severin H
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
Undecided
Unassigned
Nominated for Maverick by iMac

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/dkms/fglrx/8.723.1/build/ for more information.
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.
                          Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.33.5-rt23
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/2.6.35-19-generic/build/include/linux/utsrelease.h: No such file or directory
Error:
kernel includes at /lib/modules/2.6.35-19-generic/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.35-19-generic".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

[1] http://ubuntuforums.org/showthread.php?t=1519186

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: fglrx (not installed)
ProcVersionSignature: Ubuntu 2.6.35-19.26-generic 2.6.35.3
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///////wBMo0JUAAAAAAATAQOAHhN4Cof1lFdPjCcnUFQAAAABAQEBAQEBAQEBAQEBAQEBHCqgElKEDDAwgGMAL74QAAAZAAAADwAAAAAAAAAAAOb6AiMAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gAxNDFCVDA2LTAwMgogAG0=
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/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100827)
MachineType: Hewlett-Packard HP EliteBook 6930p
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-19-generic root=UUID=794c0d14-5678-4cae-888e-af91e5e39707 ro quiet splash
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-Packard:bvr68PCDVer.F.17:bd03/05/2010:svnHewlett-Packard:pnHPEliteBook6930p:pvrF.17:rvnHewlett-Packard:rn30DC:rvrKBCVersion87.2A:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 6930p
dmi.product.version: F.17
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

Revision history for this message
Severin H (severinh) wrote :
Revision history for this message
iMac (imac-netstatz) wrote :

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.

Revision history for this message
Matthew Holtz (matthew-holtz) wrote :

Just want to note that this is a different issue from https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/642518 . The issue there has to do with a kernel change caused fglrx not to compile. This change seems to be related to the fact that the ATI driver cannot make configure because of header files not existing in the expected locations. That is, we need a new fglrx from ATI that understands the new kernel header layout.

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.