← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 747729] Re: fglrx crashes X server on startup

 

I already deleted my PAE kernel, therefore I reinstalled the removed packages:
apt-get install linux-generic-pae linux-image-2.6.38-8-generic-pae linux-image-generic-pae

These are the interesting lines:

run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-8-generic-pae /boot/vmlinuz-2.6.38-8-generic-pae
 * dkms: running auto installation service for kernel 2.6.38-8-generic-pae                          
 *       fglrx (8.840)...                                                                    [fail] 
dkms: WARNING: linux headers are missing, which may explain the above failures.
      please install the linux-headers-2.6.38-8-generic-pae package to fix this.

The dkms build failed, too:
dkms build -m fglrx -v 8.840 -k 2.6.38-8-generic-pae

Error! Your kernel headers for kernel 2.6.38-8-generic-pae cannot be found at
/lib/modules/2.6.38-8-generic-pae/build or /lib/modules/2.6.38-8-generic-pae/source.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.38-8-generic-pae package.

Then I added the PAE headers...:
apt-get install linux-headers-2.6.38-8-generic-pae

... which built and installed the missing driver automatically:
...
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.38-8-generic-pae /boot/vmlinuz-2.6.38-8-generic-pae
 * dkms: running auto installation service for kernel 2.6.38-8-generic-pae                          
 *       fglrx (8.840)...                                                                    [ OK ] 
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.38-8-generic-pae /boot/vmlinuz-2.6.38-8-generic-pae

Booting into the new PAE was flawless. The missing package (linux-headers-2.6.38-8-generic-pae)
was not present when I updated to 11.04. Therefore I suggest that this package is added when a PAE
kernel is set to be installed with drivers like fglrx.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/747729

Title:
  fglrx crashes X server on startup


References