[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem in updating linux kernel in a remote xen virtual machine


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: hxsrmeng <hxsrmeng@xxxxxxxxx>
  • Date: Wed, 28 Nov 2007 10:00:43 -0500
  • Delivery-date: Wed, 28 Nov 2007 07:04:22 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:subject:from:reply-to:to:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=XIV08KUREjeBYzOBsxhiQHhzVESYhA3HmKrSQNxpEhYDDRtE7yLt3RHrTaoKi3FuLvjnMWZdPvEI/Vke9K5xqcZAU/0MM0kzNCUG3tmhMv9wKxY3bNTOyJsDG6bdu1GnwkWcuaLnwRMSUeiDpLsTyUsRzzMtwo7u41OBWIXLMm4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi friends,

I'd like to update a linux kernel in a remote xen virtual machine but
met a problem.

The currently working kernel in that xen VM is linux-2.6.16.46-0.12, the
local version is "-xen".

I added one module, several kernel hacking options, and change the local
version to "-mine". After recompiling, I set this "-mine" kernel as my
default one in /boot/grub/menu.lst.

But the remote xen VM always boots with the original "-xen" kernel,
ignoring the "default" setting in the menu.lst. (I have not yet the
graphic access to the VM and host). Also I can not "modprobe" the module
I added.

So, I don't know what's wrong. Is there any difference in updating
kernels in VM? Or is there any general setting to set which kernels a VM
can boot with?

Thank you so much.

BTW, when doing kernel recompiling, I did

#make menuconfig
#make clean
#make 
#make modules_install install

At this point,
System.map-2.6.16.46-0.12-mine
config-2.6.16.46-0.12-mine
vmlinux-syms-2.6.16.46-0.12-mine
vmlinuz-2.6.16.46-0.12-mine

were generated and copied to /boot automatically, but no
initrd-2.6.16.46-0.12-mine. I had to use "mkinitrd" to generate it.Also,
the "-mine" entry in the menu.lst need to be added manually. 

Thank you again.




 


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.