I have a linux vps running Ubuntu 12.04 and when I run uname-r it replies:

paul@webforms:~$ uname -r
paul@webforms:~$ sudo grub-install -v
grub-install (GRUB) 1.99-21ubuntu3.1

if I run update-grub I get:

paul@webforms:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-15-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-15-generic-pae

and then rebooting gives me the same dirty kernel

I'm going round in circles and as a relative noob I'm sure I must be missing something obvious so over to the hive-mind!!

  • Why do you think you need to update or worry about the kernel? – Zoredache Sep 10 '12 at 15:19
  • rsyslogd is consuming 99% of CPU and so Apache page loads are in the 2000ms range. If I stop rsyslog they are in the range of 600ms. I've seen discussions where updating to a more recent kernel can fix the issue. But also more generally I'm confused as to why the loaded kernel would be one that isn't listed in grub... – Paul D'Ambra Sep 10 '12 at 15:22
  • Ah, someone has pointed out that the kernel listed by uname is the KVM kernel and so is due to the virtualisation being used... I've logged a ticket with my host – Paul D'Ambra Sep 10 '12 at 15:47

On the off-chance that some as inexperienced as me gets here via Google... the kernel reported was a KVM kernel which means my VPS is using shared kernel virtualisation (http://www.virtuatopia.com/index.php/An_Overview_of_Virtualization_Techniques#Shared_Kernel_Virtualization) and so I couldn't update the kernel from within the VPS.

I contacted my host who have a secure console through which I could change the kernel version.

Incidentally this update also fixed the rsyslogd problem mentioned in the comments on the question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.