Date: Fri, 9 Dec 2016 14:46:30 +0000 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com> To: Nathan Friess <nathan.friess@gmail.com> Cc: <freebsd-xen@freebsd.org> Subject: Re: 11-RELEASE acting as vbd backend Message-ID: <20161209144630.dfga5mozh72veo4g@dhcp-3-221.uk.xensource.com> In-Reply-To: <39e43ae4-6388-c698-c3c2-43cbc1f7b93c@gmail.com> References: <247e5b6c-2713-27cf-f8fa-61e55c9e2025@gmail.com> <20161206100414.pi7ep2zbkduhuol7@dhcp-3-221.uk.xensource.com> <39e43ae4-6388-c698-c3c2-43cbc1f7b93c@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 06, 2016 at 10:53:18PM -0700, Nathan Friess wrote: > 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... Hello, Sorry for the delay, there was a huge can of worms behind this. I have a solution, but it requires patching both Xen and the FreeBSD kernel. Please bear with me, I will send those patches once ready. Roger.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161209144630.dfga5mozh72veo4g>