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

Re: [Xen-users] Guest doesn't start in reality

To: "Peter Privat" <peter.privat@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Guest doesn't start in reality
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 14 Nov 2008 23:16:02 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Nov 2008 20:16:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YA5mlH8JgIQ+TpUiw3w3kP2p+kcKMjuRBqECdZIYkx4=; b=hqt6nMfFQ12AeLyuKPLani4+XyLAAT4X7de1Opa3zilIhsuw20XCzUy5/MB25rMjP3 3/QbsKbQL3M0c8h1WTj3p2Mp/TQkLLF+OaJf7x5FtbLahS+yi6z8yoYTSkUZtxu9NrIp Tbog4P4J99K2fWzU8mFt4iM1RQzyNZselJ+qE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=IWKwvDVVAB/lJ2LxWZcqE5XT5xC2hWs2roGbirbMIPED7VSqL2i8hDaZ+CqENlnGJz 3rD/9qXAUz3n8lUp3flyJwmoesIh0PDGqkNtGj5F5KdEwpUdk63mOtbrd38nWvgCnjxA TaDPD/CJtEUae1dUOxt8Yv2dkNRQXFMjqlP68=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1226648786.6439.10.camel@cyrus>
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>
References: <8c38034806333e49792813aa8be23109.squirrel@xxxxxxxxxxxxxxxxxxx> <f1c9d250811131843r77b3e44bk89805d515b31c052@xxxxxxxxxxxxxx> <80d44878ff4b6bb62d0909a24affabd5.squirrel@xxxxxxxxxxxxxxxxxxx> <1226648786.6439.10.camel@cyrus>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Nov 14, 2008 at 2:46 AM, Peter Privat <peter.privat@xxxxxxxxxxxx> wrote:
> Hi,
>
> I finally managed to make the Xen to not complain about Windows guest
> configuration, devices, loops etc. But now there's another problem. The
> Guest doesn't turn up. It looks like it's been started fine when executing,
> but then doesn't show up in the XM list.

something went wrong during boot, check /var/log/xen/qemu*.log
(a qemu*.log is created for each Windows/HVM guest)

I would also try file: instead of tap:aio for the disks, even though
file: is supposed to be deprecated, sometimes it still works
better in some situations.

>
> I'm using this configuration file:
> ============================================
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
>     arch_libdir = 'lib64'
> else:
>     arch_libdir = 'lib'
>
> kernel = "/usr/lib/xen/boot/hvmloader"
>
> builder='hvm'
>
> memory = 1024
> shadow_memory = 8
> name = "xenhvm"
> vif = [ 'type=ioemu, bridge=xenbr0' ]
> disk = [ 'tap:aio:/home/xen/domains/windows/xenwin.img,hda,w',
> 'tap:aio:/home/xen/domains/windows/win2k3.iso,hdc:cdrom,r' ]
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> #device_model = '/usr/lib64/xen/bin/qemu-dm'
> # boot on floppy (a), hard disk (c) or CD-ROM (d)
> # default: hard disk, cd-rom, floppy
> boot="dc"
>
> sdl=0
> vnc=1
> vncconsole=1
> vncpasswd='123456'
> stdvga=0
> serial='pty'
> usbdevice='tablet'
> ============================================

What version of Xen are you working with?

setting the vnc options to 0 and sdl to 1 might be something
to try

Also if it happens to be Xen 3.3, replacing the vncconsole
line with vncviewer="yes" would be another thing to try.

Most of the time, when it quits write away it is a problem
with either the disk image or the cdrom.

Hope that helps.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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