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

[Xen-users] dom0 console weirdness (reboot the only fix I've found)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Justin M. Hunter" <justinmhunter@xxxxxxxxx>
  • Date: Tue, 8 Jul 2008 17:11:50 -0700
  • Delivery-date: Tue, 08 Jul 2008 17:12:29 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qJdfHvKEijkhbyMyEr5oiYrceXmTd82qvDQfSxhVAxby7UmEieIRHZzJQ52HLOoJ6V vrnsdCWG/5+2L3g+lUfJ0UoozRIdIC+Yraemo3rrY/9l/9dlk51cKT2DMVukH3IddiY5 q9Pw9VudY2ENEIamYPVfDr0XfnBpuGgzrwNbU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hey ya'll! so I'll try to be as detailed as possible here. basically my xm console is getting corrupt somehow and the only fix I've found is a reboot. (lame)

first, the details..

[root@oak-dev-xen001 ~]# cat /etc/redhat-release
CentOS release 5 (Final)

[root@oak-dev-xen001 ~]# rpm -qa | grep -i xen | sort
kernel-xen-2.6.18-8.1.15.el5.x86_64
kernel-xen-2.6.18-8.el5.x86_64
xen-3.0.3-25.0.4.el5.x86_64
xen-libs-3.0.3-25.0.4.el5.x86_64

[root@oak-dev-xen001 ~]# uname -a
Linux oak-dev-xen001 2.6.18-8.1.15.el5xen #1 SMP Mon Oct 22 09:01:12 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

(i've been able to reproduce this behaviour with both kernels listed above)

****

I'm creating my (very basic) VM as follows:

dd if=/dev/zero of="foo" bs=1048576 count=1 seek=20480 &> /dev/null
mkfs.ext3 -qF foo
mount -o loop foo /mnt/xen

for i in console null zero mem port core full ram tty hda; do
    MAKEDEV -a -d /mnt/xen/dev $i
done

yum -t -e 0 -y --installroot=/mnt/xen install kernel

****

my config file (left out networking foo to just get the thing to boot):

[root@oak-dev-xen001 ~]# cat /etc/xen/configs/foo
name = "foo"
vif = [ '', 'bridge=xenbr0' ]
disk = [ 'file:/data/xen/disks/foo,hda1,w' ]
kernel = "/boot/vmlinuz-2.6.18-8.el5xen"
ramdisk = "/boot/initrd-2.6.18-8.el5xen-no-scsi.img"
memory= 1024
root = "/dev/hda1 ro"
extra = "4 enforcing=0"
>
****

NOW...the weird part.

'xm create -c /etc/xen/configs/foo' just hangs the console (no response) and eventually it exits with:
  Error: destroyDevice() takes exactly 3 arguments (2 given)

I tail the dom0 logs while starting up the domU and nothing stands out as erroring. once I corrupt the xen console via this method I can't boot ANY of my VMs -- even the ones I know are working. they all exit with the same error/blank console as above and require a reboot of the dom0 in order to boot successfully. once I reboot, I drop into the xen console without problem upon my next 'xm create' -- my VMs boot and everything works as it should.

mind you this -only- occurs during new VM creation via the above 'dd/yum install' method above. prior to corrupting my console, I can copy existing VMs/start them up without incident - it's just the 'dd/yum install' method that screws things up and prevents me from starting up any of my VMs.

my hypothesis? I think something confuses the dom0 during my VM creation, but I'm not sure where. my guess is the yum install.

TIA

j


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