ERROR: Missing kernel headers Kosmic

Bug #389763 reported by bsdwrangler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Trying Kosmic AMD64 alpha 2 via http:..cdimage.ubuntu.com/release/karmic/alpha-2 (Attempting to get xen working - seems Xen is 'not native' and I can not find a 'use this repository to get a native version' - so selected the native KVM instead)

Setting up kvm-source (1:84+dfsg-0ubuntu14) ...
Removing all [kvm-84] DKMS Modules
Done.
Adding [kvm-84] Module to DKMS build system

*************************************************
ERROR: Missing kernel headers.

You appear to have at least some kernel headers
installed, but you do not have the necessary
headers to build kvm-source against this kernel.

You might try installing the meta package:
 $ sudo apt-get install linux-headers-server
or specifically
 $ sudo apt-get install linux-headers-2.6.30-8-server
to obtain the necessary build dependencies.

*************************************************

dpkg: error processing kvm-source (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 kvm-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@u2:/usr/src/linux-2.6.18-xen-3.4.0#

root@u2:~/Desktop# dpkg --get-selections | grep linux-header
linux-headers-2.6.26-2-all-amd64 install
linux-headers-2.6.26-2-common-xen install
linux-headers-2.6.30-9 install
linux-headers-2.6.30-9-generic install
linux-headers-2.6.30-9-server install
linux-headers-generic install
linux-headers-server install
root@u2:~/Desktop#

And using the xen kernel from the xen project

root@u2:/usr/src# cd linux-2.6.18-xen-3.4.0
root@u2:/usr/src/linux-2.6.18-xen-3.4.0# make menuconfig | head
  HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No such file or directory

Philip Muškovac (yofel)
affects: ubuntu → kvm (Ubuntu)
Revision history for this message
Chuck Short (zulcss) wrote :

Not a kvm problem.

affects: kvm (Ubuntu) → qemu-kvm (Ubuntu)
affects: qemu-kvm (Ubuntu) → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi bsdwrangler,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 389763

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.