From owner-freebsd-xen@freebsd.org Wed Dec 7 05:53:25 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFFC3C6BE66 for ; Wed, 7 Dec 2016 05:53:25 +0000 (UTC) (envelope-from nathan.friess@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B684F11E0 for ; Wed, 7 Dec 2016 05:53:25 +0000 (UTC) (envelope-from nathan.friess@gmail.com) Received: by mail-io0-x234.google.com with SMTP id c21so639053098ioj.1 for ; Tue, 06 Dec 2016 21:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=9ZVnPSjnC8JiRhn77tvpPMaHSDBSw878mLdpCtKltO4=; b=sfnv7ApINr+dSkJcUmWbBR0XYMU9F1K7LVgxZEaq6NQ4/td/QfJkNqQdIsjNYshATc ijBjOO1Ju7Ty5unrH0lsUfjUapOmppJ1Z3REhgO4FXfjRj4vfAvCqjIH8CDCXXD1r0q2 1/i15X39CJGPDs2CpWJL6ANSmXEFQkiDkCmhAnA5Udf7rxhM1p+o9q3n8yv7GppFRgtj XkGAcY5TFE6YxS00zeqRoET7qNFaCmX98M53qRxBCkJePBYI2ChpZwErjJyCZaZ3LUDu XTyCEhDE5dHnvnHAqKIfKEJer+BYL7Jeh4yo7FDELVfvnGYxASrfPaxFDVv/mimuqTVA Vvhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=9ZVnPSjnC8JiRhn77tvpPMaHSDBSw878mLdpCtKltO4=; b=hcHhHPbx0tsTU/+/u5HJMXOf3Bhk8UrhkQISOGalDG7tz6728W6jcD+iHxik5A4I/w cjGvT33uBeWJOv41xaoO7E8hjavAWU9XMqVMd3h3hfuqYNovW7BV8qgCV4+fKfWCUQ8M 0UMwBL32ahD171Z8JVJZKlJe3ZLFfons1IYywtm+iD9chkyJJtRagl1WOsAvKnLViMmr t7jqTDAAB197oo3wX4OAFuQfve3fytumpNTnZJ8DCgSaNlDBbZWRPet7N+mcMY7iQQY8 GPlgQxXWy0q3x0Vr3CdMxRJpGniTRWrnkPOHi8ZADorIz70Xx5N62rW6PV8xvFz4/Ia8 gejA== X-Gm-Message-State: AKaTC02YSSYRk39aLEqCP2yuie50DFN99AtQ2uCGjDWKjCzef3YJKn1cZoBgLpGmHAujaw== X-Received: by 10.107.35.147 with SMTP id j141mr7171033ioj.41.1481090004925; Tue, 06 Dec 2016 21:53:24 -0800 (PST) Received: from [10.2.1.1] (S01060018e7c4b870.cg.shawcable.net. [50.66.15.125]) by smtp.gmail.com with ESMTPSA id i62sm2862385itb.12.2016.12.06.21.53.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 21:53:24 -0800 (PST) Subject: Re: 11-RELEASE acting as vbd backend To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= References: <247e5b6c-2713-27cf-f8fa-61e55c9e2025@gmail.com> <20161206100414.pi7ep2zbkduhuol7@dhcp-3-221.uk.xensource.com> Cc: freebsd-xen@freebsd.org From: Nathan Friess Message-ID: <39e43ae4-6388-c698-c3c2-43cbc1f7b93c@gmail.com> Date: Tue, 6 Dec 2016 22:53:18 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161206100414.pi7ep2zbkduhuol7@dhcp-3-221.uk.xensource.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 05:53:26 -0000 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: 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