Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2016 22:53:18 -0700
From:      Nathan Friess <nathan.friess@gmail.com>
To:        =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <roger.pau@citrix.com>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: 11-RELEASE acting as vbd backend
Message-ID:  <39e43ae4-6388-c698-c3c2-43cbc1f7b93c@gmail.com>
In-Reply-To: <20161206100414.pi7ep2zbkduhuol7@dhcp-3-221.uk.xensource.com>
References:  <247e5b6c-2713-27cf-f8fa-61e55c9e2025@gmail.com> <20161206100414.pi7ep2zbkduhuol7@dhcp-3-221.uk.xensource.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/6/2016 3:04 AM, Roger Pau Monné wrote:
>
> Hello,
>
> There have been some blkback changes in FreeBSD 11.0 in order to support using
> more disk types from blkback (like iSCSI). In order to achieve this, if you want
> to use blkback from a driver domain you will have to install the xen-tools
> package in the driver domain, and execute the xendriverdomain at domain startup
> (add xendriverdomain_enable="YES" to your rc.conf). After that, everything
> should work as expected.


Hi Roger,

I installed xen-tools and added xendriverdomain_enable="YES" to rc.conf. 
  After rebooting this is what I see:

Dec  6 19:14:20 host xenstored: Checking store ...
Dec  6 19:14:20 host xenstored: Checking store complete.
Dec  6 19:14:20 host xenstored: Checking store ...
Dec  6 19:14:20 host xenstored: Checking store complete.
Dec  6 19:14:21 host kernel: Failed to initialize dom0 state: No such 
file or directory
Dec  6 19:14:22 host kernel: .
Dec  6 19:14:51 host last message repeated 28 times
Dec  6 19:14:52 host xenconsoled: Failed to contact xenstore (No such 
file or directory).  Is it running?


Trying to start xenstoredomain manually results in:

Starting xenservices: xl devd.libxl: error: libxl.c:124:libxl_ctx_alloc: 
cannot connect to xenstore: No such file or directory
cannot init xl context


The kernel is showing a xenstore device on boot

... kernel: xenstore0: <XenStore> on xenpv0


I see that there is a xencommons rc script too so I also tried to add 
xencommons_enable="YES" and start that first.  No luck.

I must still be missing a step...

Thanks,

Nathan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39e43ae4-6388-c698-c3c2-43cbc1f7b93c>