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] trixbox through hvm woes

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] trixbox through hvm woes
From: Steven Noels <stevenn@xxxxxxxxxxxxxxxx>
Date: Sat, 23 Jun 2007 09:14:56 +0200
Delivery-date: Sat, 23 Jun 2007 00:13:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

since Google and archive searches weren't particularly helpful, please allow me to post my call for help here.

I'm running Xen 3.0.3-0 using Ubuntu feisty as DomO:
Linux calimero 2.6.19-4-server #2 SMP Thu Apr 5 06:07:34 UTC 2007 i686

This is a remote and headless server. I've installed a Debian etch DomU client into it just fine using xen-tools. I even found my way around ifrename to make sure that my client network devices aren't renamed anymore.

Using the standard Trixbox ISO install image, I would like to install a full-virtualized Trixbox/CentOS image. My CPU has VT extensions as indicated by xm dmesg.

My problem is I can't attach to the boot terminal to track the Trixbox install process. Here's my xm dmesg output:

(XEN) (GUEST: 20) Start BIOS ...
(XEN) (GUEST: 20) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 20)  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) (GUEST: 20) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 20) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 20) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) (GUEST: 20) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $
(XEN) (GUEST: 20)
(XEN) (GUEST: 20) ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) (GUEST: 20) ata1  slave: Unknown device
(XEN) (GUEST: 20)
(XEN) (GUEST: 20) Booting from CD-Rom...

xm list output after xm create:

Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3010 2 r----- 2385.9 asterisk.outernet 21 512 1 r----- 32.5 intranet.outernet 2 512 1 -b---- 523.5

However xm top shows 100% CPU usage in the asterisk/trixbox domU:

asterisk.outernet -----r 93 100.0 537808 12.8 546000 13.0 1 1 0 0 2
       0        0        0    0

Here's my qemu output:

root@calimero:~# cat /var/log/xen/qemu-dm.7249.log
domid: 21
qemu: the number of cpus is 1
shared page at pfn:1ffff, mfn: 15a35
buffered io page at pfn:1fffd, mfn: 15a37
char device redirected to /dev/pts/2
False I/O request ... in-service already: 0, pvalid: 0, port: 0, data: 0, count: 0, size: 0

My main problem is I can't attach to the boot process. I've tried VNC, but the network setup is a bit convoluted and I'm unsure how to set this up. Besides, I'm not sure whether my Xen config is correct anyway:


kernel = '/usr/lib/xen-ioemu-3.0/boot/hvmloader'
builder='hvm'
memory  = '512'
root    = '/dev/sda1 ro'
disk = [ 'phy:calimero-volgroup-1/asterisk.outernet- disk,sda1,w','file:/root/trixbox-2.2.iso,hdc:cdrom,r' ]
name    = 'asterisk.outernet'
vif = [ 'type=ioemu,bridge=xenbr0,ip=192.168.123.13,mac=00:16:3E: 05:03:01' ]
cdrom='/root/trixbox-2.2.iso'
boot='d'
device_model='/usr/lib/xen-ioemu-3.0/bin/qemu-dm'
sdl=0
vnc=1
stdvga=0
serial='pty'
ne2000=0
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Could someone validate I'm at least heading in the right direction?

Thanks,

</Steven>
--
Steven Noels                            http://outerthought.org/
Outerthought                              Open Source Java & XML
stevenn at outerthought.org                stevenn at apache.org



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

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