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] dom0 console weirdness (reboot the only fix I've found)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] dom0 console weirdness (reboot the only fix I've found)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=vdD6rX0ARwRXMt0xH90OR+WDlNRkgr0su8ob67Cgr6w=; b=sIE17Sf0jmLvPsrJQyB9HXltZ/xzMT/WTiqNoOWpmrOVrITNvfBvowCAfv+B7qxkm7 jjdx8rvEV1R/H2jMTxjvH2kxK+oFf6/olP+iWMlLK4RuUmI8ULJTGTycHFAiC6TRTk/+ ZQINVtyHjMjCcijOsFV27MyaXQJtlDqBn1exU=
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=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>