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

[Xen-users] Kernel panic when trying to create a DomU



Hi,all
I'm trying to create a DomU with 'xm create VM1.cfg' but encountered
some problems. It told me there is a kernel panic when trying to boot
the DomU kernel. Does anyone know how to fix it? Thanks for your help.
-Yangyang
Part of the error message is:

 Unpacking initramfs...
[    0.812155] Kernel panic - not syncing: Out of memory and no
killable processes...
[    0.812158]
[    0.812175] Pid: 1, comm: swapper Not tainted 2.6.32-5-amd64 #1
[    0.812182] Call Trace:
[    0.812193]  [<ffffffff812fa4f1>] ? panic+0x86/0x143
[    0.812204]  [<ffffffff8100dc35>] ? xen_force_evtchn_callback+0x9/0xa


Below is the VM1.cfg I used to create DomU:

#
# Configuration file for the Xen instance VM1, created
# by xen-tools 4.2 on Fri Jul 22 10:38:57 2011.
#

#
#  Kernel + memory size
#
#kernel      = '/boot/vmlinuz-2.6.32.41'
#ramdisk     = '/boot/initrd.img-2.6.32.41'
kernel  = '/boot/vmlinuz-2.6.32-5-amd64'
ramdisk = '/boot/initrd.img-2.6.32-5-amd64'

vcpus       = '1'
memory      = '64'

#
#  Disk device(s).
#
root        = '/dev/hda2 ro'
disk        = [
                  'tap:aio:/root/xen/domains/VM1/disk.img,hda2,w',
                  'tap:aio:/root/xen/domains/VM1/swap.img,hda1,w',
              ]


#
#  Physical volumes
#


#
#  Hostname
#
name        = 'VM1'

#
#  Networking
#
dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:53:09:03' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
extra = 'xencons=tty'

_______________________________________________
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®.