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

Re: [Xen-devel] xenstore xenbus failure

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] xenstore xenbus failure
From: Adam Wendt <thelsdj@xxxxxxxxx>
Date: Fri, 23 Jan 2009 13:14:05 -0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Jan 2009 13:14:39 -0800
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; bh=LpwArZF3JvrG8FFBvH3ntfKyvaf1Se0iWJYpl7dvKIc=; b=PDY+7fmz1h/mZQ58+4mSLv2E43mKS9LYfoIYRey4licNx/fKdm7ZKPQEncSinJAoro kdu8QRW7incgcWsk4DvjkUyHjpsagp7Q+PXo7RBHgRlG7Wx7OI0fRIMZjklLg/O47r2m N+rv/LOPrMnvc2yTpl42rxiJTxPqpL/oD1N+k=
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; b=pgvdVEd8q0QRpdES8FDU3cgm8WT7NMItwrgEq//Heys9fjKrg9BROs0f/GDfh9bD04 Pyys1aA4cfHXB6YJL2AWQQMvfz2ybnhnC3uT5TtiAiEPWRzJ8ngVALES7++j3u4BG/0R c+1eqj1XwKL6w+ayKHDboYYlrm5kVNJ7H8zwQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1232724250.1818.9.camel@xxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7385ecaf0901201112w19b0b210r304397cbaae0422@xxxxxxxxxxxxxx> <1232724250.1818.9.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, Jan 23, 2009 at 7:24 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Tue, 2009-01-20 at 11:12 -0800, Adam Wendt wrote:
> Hi,
>
> Still having problems getting xenstore working without the socket
> interface. Here is output running simple xenstore-ls:
>
> Got message DIRECTORY len 2 from 0x1451b80
> Writing msg DIRECTORY (tool) out to 0x1451b80
> xenstore-ls: xs_directory (/): Invalid argument
> IN 0x1451b80 20090120 10:43:23 DIRECTORY (/ )
> OUT 0x1451b80 20090120 10:43:23 DIRECTORY (tool vm local )

I just noticed something very similar...
       root@bogga:~# xenstore-ls
       xenstore-ls: xs_directory (/): Success
       root@bogga:~# strace xenstore-ls
       [...]
       open("/proc/xen/xenbus", O_RDWR|O_LARGEFILE) = 3
       [...]
       write(3, "\1\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
       write(3, "/\0", 2)                      = -168004416

I don't like the look of that return value and:
         CC      drivers/xen/xenfs/xenbus.o
       /local/scratch/ianc/devel/kernels/paravirt/drivers/xen/xenfs/xenbus.c: In function 'xenbus_file_write':
       /local/scratch/ianc/devel/kernels/paravirt/drivers/xen/xenfs/xenbus.c:294: warning: 'rc' may be used uninitialized in this function

Can you try this patch, it fixes things for me:
<snip>

The patch fixed my issues with xenbus/xenstore. Now having other problems starting guest:

1. vif hotplug hangs and then errors out, haven't looked deeper into this due to the following issues.
2. Without a vif entry when I start guest it fails to find the disk partition names I have defined in my guest config file, disks only seem to be available on ca01 (for initial root) and then /dev/xvdaX, no hdaX entries like my guest config has.
3. I don't get a login prompt on the console, my entire init process is displayed up to starting local (this is gentoo) but then no login, I see a /dev/xvc0 device and I have a valid inittab entriy (along with securetty entry) but never get a login promt on the console

So without networking no way to get into my guest, guess I'll try to debug the vif hotplug issue next.


Adam
Adam Wendt Consulting
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>