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-devel

[Xen-devel] blkif_map error starting fourth guest domain

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] blkif_map error starting fourth guest domain
From: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Date: Thu, 07 Jun 2007 16:06:24 +0100
Delivery-date: Thu, 07 Jun 2007 08:04:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'm having problems starting more than three domains.  It sometimes
works fine, but more often than not the 4th domain's root block device
times out and so the domU kernel panics as there's no /dev/root:

XENBUS: Timeout connecting to device: device/vbd/2057 (state 6)
XENBUS: Timeout connecting to device: device/vif/0 (state 6)
XENBUS: Timeout connecting to device: device/vif/1 (state 6)
XENBUS: Device with no driver: device/console/0
Freeing unused kernel memory: 148k freed
Red Hat nash version 5.0.32 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!


My investigations suggest that this is due to the following in dom0's
kernel log:

Jun  7 15:37:18 dell2950g kernel: vbd vbd-4-2057: 1 mapping ring-ref 8
port 6

This is printed by connect_ring() in drivers/xen/blkback/xenbus.c, as a
result of the call to blkif_map() failing.

The reason for blkif_map() failing seems to be the map_frontend_page()
call failing.

xm dmesg prints out:
(XEN) mm.c:2610:d0 Could not find L1 PTE for address e1204000
which seems likely to be connected to map_frontend_page() failing.

I suspect it has something to do with going above the 2G memory
boundary.  Each domain is configured to have 512M, and so together with
dom0's 512M that puts the domain that fails just into this region.  If I
decrease the amount of memory given to each domain so that they'd all
fit into 2G, it doesn't fail in this way (yet).  I've never seen the
first three domains fail in this way (yet).

The source I'm running is based on xen-unstable.hg as of a couple of
weeks ago.

Advice for how to resolve this gratefully received.  I'm happy to help
debug it further.

Many thanks

Kieran







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

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