OpenSUSE :: Recent Kernel Update Seems To Have Misplaced The Kernel Headers
Mar 24, 2010
A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version 18.104.22.168-0.2-desktop were not found.
Having ubuntu 8.04, when I updated my computer to the latest kernel and headers through Update Manager, an error popped up. The error stated that it wouldn't update at this time. When I tried to download again, the update was gone in Update Manager. I checked and I don't have the most recent kernel installed. I still have 2.6.24-19. Accrding to [URL]the most recent one is: 2.6.27.
Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`
I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:
Code: Failed to open a session for the virtual machine Win7Main. The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.
This week my ubuntu 10.10 was updated via update center. I obtained the new kernel headers 2.6.35-23-generic but now I can't boot using this kernel version and I have to select manually 2.6.35-22-generic in grub. I can see the ubuntu plymouth splash screen but it never rise gnome. where are the boot logs and how to activate them, In /var/log/ I have "boot" file but is empty and in "boot.log" I cant see any usefull information (I have BOOTLOGD_ENABLE=yes in /etc/defaul/bootlogd).
The most recent kernel update, to version 2.6.38-11 has been a horror. It hangs on boot up. Sometimes I can get to the log in screen, then it hangs there as well. However, after 3-5 reboots (which is absolutely annoying to do when I just want to use my computer), it sometimes loads up finally. However, if I go to older Linux version in the Grub menu, then I can select 2.6.38-10 and it runs just fine.
So I am looking for a way to fix this problem, whether it be removing the most recent kernel update, or making 2.6.38-10 boot up by default. I noticed that the kernels are listed in the synaptic package manager, but I am afraid to remove the most recent one via synaptic. Is it as simple as removing the Linux version and headers I don't want, or are there other things I need to do in order to make 2.6.38-10 my default kernel at start-up?
As a follow-on to something Telemachos said in another post:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Also, the linux-headers packages I have installed are:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??
Search the forums first. Well I did, can't find anything I understand. So please help an ignoramus in simple terms. The problem:- I'm trying to run vmware workstation and I get a desktop box pop up which says "Kernel .heade4s for version 22.214.171.124-1.2 desktop not found" How do I find them and install please.
I have installed OpenSUSE 11.3 64 bit and want to install VMWare workstation 7.1. I have run the install script for VMWare without any issues. When I start the VMWare Workstation I get a window saying this: Before you can run VMWare, several modules must be compiled and loaded into the running kernel. Kernel Headers 2.6.34-12-desktop Kernel headers for version 2.6.34-12-desktop were not found.
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".
I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/126.96.36.199-0.1-desktop/build, is it configured?."
I'm running 11.2 with standard repositories (plus packman). I want to install a recent kernel and then compile some variations of it (to investigate a hardware problem).
So I took these steps:
(1) add the 11.2 Kernel:/HEAD repository (2) enable multiversion in zypp.conf (3) use YaST software management to select the kernel development pattern
Note that at the moment, the standard 11.2 kernel ( 188.8.131.52-0.6-desktop) is in use and I have not selected any packages from HEAD. But it has installed 2.6.37-41.1 versions of all the kernel packages I didn't already have (source & docs etc) instead of the 2.6.31 versions. /usr/src/linux symlinks to linux-2.6.37-41 instead of to a directory for the running kernel!
(1) it should have loaded the packages corresponding to the running kernel (2) it's not supposed to switch repositories
I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
I have the following strange thing with a RHEL4 installation. Since last week, the system did a reboot and now something is really fucked up. During boot we get the following messages (don't care about 'strange' typo's, my colleague typed it 'blind' from the screen)
The strange thing is that we never see a 'could not mount blabla' or similar messages. First we thought it was a failing kernel update by plesk, but even after manually updating the kernel with RHN RPM's, still the same message. Booting with rescue mode and then chroot the system works. After that we even can start things like plesk and so on.
We double checked things with another RHEL4 install, and at least two things were odd:
1: the working machine has /dev/dm-0 and /dev/dm-1, the broken one doesn't
2: some files on /dev didn't have group root, but 252
We tried to recreate the /dev/dm-X nodes with [vgmknodes -v], output:
A fdisk /dev/sda shows: /dev/sda2 XX XXX XXXXX Linux LVM (I removed the numbers because this line is from another machine, but rest was identical)
We have a copy of the boot partition so if one need more info please let me know.
last part of init extracted from initrd-2.6.9-78.0.8.ELsmp.img:
I'm running Virtualbox from the Sun website (need the USB support) and it breaks after each kernel update.The problem is that I installed a lot of Ubuntu systems for transitioning windows users with Windows in virtualbox to ease the migration but I have to rerun vboxdrv setup after each kernel patch.
At the moment I am using kernel 2.6.31-14-generic. I'm not one of those people who needs to have the latest and greatest kernel to be happy, I just rely on the update manager. I swore that I saw an update for a new kernel, but my kernel version hasn't changed. I'm just curious if there was a new kernel that was released or if that was just an update to the kernel listed above.
The server runs# uname -r2.6.18-128.4.1.el5However, today I executed yum update kernel*due to security advisory. I was just about to reboot the system when I realized that it runs VMWare Server Instance that will most likely fail to restart after kernel upgrade (I had a hard time fixing it after previous kernel update). Now I want to keep 2.6.18-128.4.1.el5 after reboot.I see that new kernel is scheduled for booting:
9.04 this morning updated my kernel to I believe it is 184.108.40.206 and upon the reboot I had no desktop. It booted wanting to go into low graphics.
So I drop to shell and stop the gdm and try to run the latest nvidia run file I have and it hangs saying I have a x server running.
Otherwise I am needing assistance with getting my desktop back! I can boot into an older kernel and if need be I would like to roll back that latest update this morning, but once again I am forgetting the command line for that.