PAE kernel package complains about missing headers

Bug #474367 reported by Kyle Guilbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.31-14-generic-pae

Just installed linux-generic-pae version 2.6.31.14.27 which installed linux-image-2.6.31-14-generic-pae . somewhere between running DKMS for the nvidia driver and running the nvidia-common postinst script, it printed a failure message. Here's the transcript:

################################################

Setting up linux-image-2.6.31-14-generic-pae (2.6.31-14.48) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-14-generic-pae
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.31-14-generic-pae
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found kernel: /boot/vmlinuz-2.6.28-16-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
 * Running DKMS auto installation service for kernel 2.6.31-14-generic-pae
 * nvidia (185.18.36)... nvidia (185.18.36): Installing module.
  Kernel headers for 2.6.31-14-generic-pae are not installed. Cannot install this module.
  Try installing linux-headers-2.6.31-14-generic-pae or equivalent.
                                                                         [fail]
run-parts: executing /etc/kernel/postinst.d/nvidia-common

Setting up linux-image-generic-pae (2.6.31.14.27) ...
Setting up linux-generic-pae (2.6.31.14.27) ...

################################################

I fixed this by installing linux-headers-generic-pae, then un-installing and re-installing linux-image-2.6.31-14-generic-pae.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kguilbert 14242 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xca100000 irq 22'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,11790588,00100100 HDA:11c13026,11790001,00100700'
   Controls : 22
   Simple ctrls : 15
Date: Wed Nov 4 11:17:51 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=8625c186-0de2-458b-9b3f-91b9068a43ed
MachineType: TOSHIBA TECRA A9
NonfreeKernelModules: nvidia
Package: linux-generic-pae 2.6.31.14.27
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=UUID=e8ac33c7-d8fc-4eef-9a9b-863ff47b7bcd ro splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.24
SourcePackage: linux-meta
Uname: Linux 2.6.31-14-generic i686
WifiSyslog:

WpaSupplicantLog:

dmi.bios.date: 11/22/2007
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 1.60
dmi.board.asset.tag: 0000000000
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnTOSHIBA:bvrVersion1.60:bd11/22/2007:svnTOSHIBA:pnTECRAA9:pvrPTS53U-01P00S:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
dmi.product.name: TECRA A9
dmi.product.version: PTS53U-01P00S
dmi.sys.vendor: TOSHIBA

Revision history for this message
Kyle Guilbert (kguilbert) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Kyle,

It seems this DKMS error message was correct in the fact that you didn't have the necessary kernel header files installed. After you installed them the DKMS nvidia package installed successfully. It doesn't seem this is really a bug but rather did the right thing in printing the error notifying you what the issue was.

Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
Kyle Guilbert (kguilbert) wrote :

Having modules requiring DKMS, I would expect that installing a new kernel package also somehow installs the correct headers for that kernel. If DKMS is always installed on ubuntu, perhaps the kernel packages should depend on their headers? Or have DKMS instruct you that your headers are missing and that you need to download them ("DKMS did not find the kernel headers for 2.6.31-14-generic-pae. Please run apt-get install linux-headers-2.6.31-14-generic-pae and then <instructions for re-running DKMS compilation>.")

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.