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
 
   
 

xci-devel

Re: [Xci-devel] qemu-dm segfault at pv guest system

To: Kornelius Prell <kornelius.prell@xxxxxxxxxxxxxx>
Subject: Re: [Xci-devel] qemu-dm segfault at pv guest system
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Wed, 2 Sep 2009 01:21:20 +0100
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 01 Sep 2009 17:22:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dTyv8S3AVgOmEhojXU1AgmqjwHT9YreCQsOCWAQArn0=; b=vYCPzeXhklTfQqA3zI++6iE4TfjXlyFH++ZKjlGb7Yocmf5Mw0HZoX87jOBugKNeym aeKMbrJ7lttVMfbvRBdLIsB78bVXD9iJWvaNQ4/tEY2znOL5ts5js/cpLkvAwNMmst9s N62Te401fWnTczFZ1PwhLnQphB1WhfASAvbpA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IOU4Dsb/5cNb7XQWAiy2YQc/bl63uLJSbaqVTmA0Pq50LimJKaJp6akpq92qp1So7m HWuqW4QsY6kk9UFztAoFSbtYfIO4eTOReGK8GOttVs7SkpMO644rNvmCZH8pjTboNJoh SwCYsRqDYXBj0bVr0gPrL5AyVaTv8jgo+ryjQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <be63558e0909010714y68e3904di13a49e2406d49caa@xxxxxxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xci-devel>
List-help: <mailto:xci-devel-request@lists.xensource.com?subject=help>
List-id: xci-devel.lists.xensource.com
List-post: <mailto:xci-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=unsubscribe>
References: <be63558e0909010714y68e3904di13a49e2406d49caa@xxxxxxxxxxxxxx>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

2009/9/1 Kornelius Prell <kornelius.prell@xxxxxxxxxxxxxx>:
> Hello,
>
> I set the vnc option in a pv domain config file (Ubuntu 9.04 32 bit with XCI
> kernel/initrd) to test qemu-dm and its framebuffer support (see below for
> full config file).
> Unfortunately it runs into a segmentation fault as soon as I try to access
> it via a vnc viewer (dom0 dmesg):
> [  156.326275] qemu-dm[1500]: segfault at 494 ip 080c2f7a sp bff11b40 error
> 4 in qemu-dm[8048000+10d000]
>
> Debugging with gdb shows the cause of the error in the function xenfb_update
> in /xenclient-ioemu/hw/xenfb.c
> The parameter passed to the function is 0, but as it should be a pointer to
> the xenfb device it results later in a segmentation fault (as the height and
> the width of it are tested to be not 0).
>
> Hower using xenconsole to connect to the domain reveals that xenbus tries to
> connect to the vfb device during the boot process, but fails (domU console):
> [    5.678469] XENBUS: Waiting for devices to initialise:
> 295s...290s...285s...(...)...0s...
> [  300.588592] XENBUS: Timeout connecting to device: device/vfb/0 (local
> state 3, remote state 1)
>

That is because the devices are not properly initialise. Vincent an idea?

> Looking at /proc/fb however shows its existence:
> cat /proc/fb
> 0 VGA16 VGA
> 1 xen
>
> pv dom config file:
> uuid = 01000000-0000-0000-0000-102130000004
> hvm = false
> memory = 1024
> debug = true
> kernel = /boot/vmlinuz-xci
> initrd = /boot/initrd.img-xci
> cmdline = root=/dev/sda1 video=xenfb

That should be cmdline = root=/dev/xvda1

> disk = /dev/sda:file:sda:w:disk

I don't know what you are trying to do.
Pvm guest only boots from partition not from disk.

disk = <path of a file>:file:xvda1:w:disk
disk = <path of a disk>:phy:xvda1:w:disk

> vif = bridge=xenbr0
> serial = /dev/tty2
> extra-hvm = dom0-input=1
This is to use dom0 keyboard and mouse directly so you don

> extra-hvm = intel=

You don't want to have this option here. This is only to have the
output of your vm on the top of an already initialize (it means
initialize by another domain) intel graphic card.

> extra-hvm = std-vga=

For pv guest you use xenfb so you probably don't need that as well.

>
> Am I missing essential parameters?
>

There is a new xenvm option now call display.
So you should probably use in you config file,
but we need to wait for Vincent confirmation on that one.

display = vnc

Thanks,
Jean

_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel

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