kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #44568
[Bug 868498] Re: Kernel update broke graphics driver due to gcc segfault
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]
** Changed in: linux (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/868498
Title:
Kernel update broke graphics driver due to gcc segfault
Status in “linux” package in Ubuntu:
Expired
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/dkms
/psb-kernel-source/4.42.0/build/make.log
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.randomize_va_space = 0" to /etc/sysctl.conf
2. Reboot
3. Uninstall linux-image-2.6.32-34-generic
4. Install linux-image-2.6.32-34-generic again
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
ProcVersionSignature: Ubuntu 2.6.32-34.77-generic 2.6.32.44+drm33.19
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/controlC1: kasperd 1782 F.... pulseaudio
/dev/snd/controlC0: kasperd 1782 F.... pulseaudio
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,10ec0662,00100101'
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=UUID=e14584e1-caed-4150-9e25-e364d27bebe3
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
MachineType: CompuLab CM-iAM/SBC-FITPC2i
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-34-generic root=UUID=8bf29c49-594d-41b8-8513-ac3cf4bf4e1b ro crashkernel=384M-2G:64M,2G-:128M rootdir=lucid
ProcEnviron:
PATH=(custom, user)
LANG=en_DK.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.7
RfKill:
SourcePackage: linux
dmi.bios.date: 09/14/2010
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: NAPA0001.86C.0000.D.1009141059
dmi.board.name: CM-iAM/SBC-FITPC2i
dmi.board.vendor: Intel Corporation
dmi.board.version: 1.x
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: OEM
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrNAPA0001.86C.0000.D.1009141059:bd09/14/2010:svnCompuLab:pnCM-iAM/SBC-FITPC2i:pvrNotApplicable:rvnIntelCorporation:rnCM-iAM/SBC-FITPC2i:rvr1.x:cvnOEM:ct1:cvrN/A:
dmi.product.name: CM-iAM/SBC-FITPC2i
dmi.product.version: Not Applicable
dmi.sys.vendor: CompuLab
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/868498/+subscriptions