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

Re: [Xen-users] DomU kernel upgrade tool



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


 


Rackspace

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