Kernel update broke graphics driver due to gcc segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
After upgrading from 2.6.32-33-generic to 2.6.32-34-generic X was no longer working on my system. During install an alert had appeared in the Gnome status bar indicating an install error for the psb-kernel-source driver for the graphics chip in this machine. The alert did not provide any information on where to find logs from the failing install, thus making further debugging hard. Moreover the button to report the bug directly from the alert was not functional.
After a bit of searching I found out that I could run the driver build manually by running this command as root:
dkms ^Cild -k 2.6.32-34-generic -m psb-kernel-source -v 4.42.0
This also failed, but at least pointed at the logfile in /var/lib/
In this logfile I could see that the reason for the failure was that gcc was segfaulting during the build. The segfault would happen at different points during the build.
The following workaround worked for me:
1. Add "kernel.
2. Reboot
3. Uninstall linux-image-
4. Install linux-image-
5. Reboot
This is a regression as no such problems happened during earlier kernel upgrades. The kernel has been upgraded a few times already on this machine without problems. The last upgrade that worked without problems was to 2.6.32-33-generic, which worked flawless and would also have performed a build of this driver.
I don't know which component is responsible for the gcc segfaults, so I am reporting this against my best guess.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image (not installed)
Regression: Yes
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-34-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'MID'/'HDA Intel MID at 0xb0050000 irq 22'
Mixer name : 'Realtek ALC662 rev1'
Components : 'HDA:10ec0662,
Controls : 33
Simple ctrls : 19
Card1.Amixer.info:
Card hw:1 'Audio'/'USB Audio at usb-0000:00:1d.0-2, full speed'
Mixer name : 'USB Mixer'
Components : 'USB0d8c:0006'
Controls : 12
Simple ctrls : 7
Date: Wed Oct 5 17:56:55 2011
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
MachineType: CompuLab CM-iAM/SBC-FITPC2i
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_DK.utf8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 09/14/2010
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: NAPA0001.
dmi.board.name: CM-iAM/SBC-FITPC2i
dmi.board.vendor: Intel Corporation
dmi.board.version: 1.x
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: OEM
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: CM-iAM/SBC-FITPC2i
dmi.product.
dmi.sys.vendor: CompuLab
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Here is the end of /var/lib/ dkms/psb- kernel- source/ 4.42.0/ build/make. log from one of the runs:
CC [M] /var/lib/ dkms/psb- kernel- source/ 4.42.0/ build/drm_ scatter. o dkms/psb- kernel- source/ 4.42.0/ build/drm_ memory_ debug.o dkms/psb- kernel- source/ 4.42.0/ build/ati_ pcigart. o dkms/psb- kernel- source/ 4.42.0/ build/drm_ sman.o dkms/psb- kernel- source/ 4.42.0/ build/drm_ hashtab. o //usr/share/ doc/gcc- 4.4/README. Bugs> for instructions. dkms/psb- kernel- source/ 4.42.0/ build/drm_ hashtab. o] Error 1 /var/lib/ dkms/psb- kernel- source/ 4.42.0/ build] Error 2 linux-headers- 2.6.32- 34-generic'
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make[2]: *** [/var/lib/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [modules] Error 2