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

Re: [Xen-users] DomU kernel upgrade tool

To: Esteban Cerutti <ecerutti@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] DomU kernel upgrade tool
From: Steven Timm <timm@xxxxxxxx>
Date: Fri, 12 Dec 2008 10:15:06 -0600 (CST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Dec 2008 08:26:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49428C58.6000206@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <49428C58.6000206@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Esteban, did you run depmod after you installed the
new kernel package?  That's how you make a modules.dep file.

just say

depmod 2.6.24-22-xen

and it should work.

Steve


On Fri, 12 Dec 2008, Esteban Cerutti wrote:

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


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

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

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