WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] DomU kernel upgrade tool

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU kernel upgrade tool
From: Esteban Cerutti <ecerutti@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Dec 2008 14:07:52 -0200
Delivery-date: Fri, 12 Dec 2008 08:09:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=D52EFCA5; url=pgp.mit.edu
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081125)
Hi,

please, excuse my poor English

Exist any tool for upgrade kernel automatically in DomU machines?
Because I have the following problem:

After upgrade the kernel package from linux-image-2.6.24-21-xen to
linux-image-2.6.24-22-xen in Dom0 (an Ubuntu Server), I modified the
config files in /etc/xen/domUmachine.cfg for all my VM. Later a
restarted its, but i found the following error

// DomU //

# uname -a
Linux DomUmachine 2.6.24-22-xen #1 SMP Mon Nov 24 21:35:54 UTC 2008
x86_64 GNU/Linux

# ls /lib/modules
2.6.24-21-xen

# iptables -L
FATAL: Could not load /lib/modules/2.6.24-22-xen/modules.dep: No such
file or directory
iptables v1.3.8: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

// Dom0 //

# uname -a
Linux Dom0machien 2.6.24-22-xen #1 SMP Mon Nov 24 21:35:54 UTC 2008
x86_64 GNU/Linux

I solved this problem copying /lib/modules/2.6.24-22-xen from Dom0 to DomU

// Dom0 //

# xm shutdown DomUmachine

# mount /dev/vg1/DomUmachine-disk /mnt/DomUmachine/

# mkdir /mnt/DomUMahcine/2.6.24-22-xen

# cp -a /lib/modules/2.6.24-22-xen/* /mnt/DomUmachine/2.6.24-22-xen

but it is possible than exist a tool that do this work automatically?
(similar to xen-update-image)

Thanks,
Esteban

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

<Prev in Thread] Current Thread [Next in Thread>