From owner-freebsd-virtualization@freebsd.org Thu Jun 9 08:03:50 2016 Return-Path: Delivered-To: freebsd-virtualization@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 F4000ADC8AA; Thu, 9 Jun 2016 08:03:49 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 8048614D3; Thu, 9 Jun 2016 08:03:49 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id n184so213160220wmn.1; Thu, 09 Jun 2016 01:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TgyMnnpyBccEzZw7NvLMgvDhsq5p9pnmaBhETU0o0pc=; b=a2XlvuMG8M7fWbC4FP0/vDgSx8C/6QuyIvP/rxMlvNB4Se83k6ICHmZidtoIjQKDPs SJ+eXFTRph2W7HvvgV7zNbBYh2EdVtPPrtl747kQ4ZgyWQI0wgApdGGwtuV4RxKu+awQ neUoKgy4oCnnOLN1cznI0R156WAdulmCfXumaYAc89JeYVHA539Ub9cSP3L70lZA9nim 2TYLEpr7VcS20d3M7YpMviJWYQqNQzHIPv9Uvp0EXDyApkVfpzoUjICemyeKWRvijjt0 VVRvq4bTW3IRyZyeMGks6MDozbeR1RFxjGZ/k7w3x+/LuzGSjg8xTagHYXYItFDH9LF+ 3INw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=TgyMnnpyBccEzZw7NvLMgvDhsq5p9pnmaBhETU0o0pc=; b=LPaE31/5e5R3pPHxvplQkdTels/k6UqmV24EajY55NuowuOnxc1EzTEmE/VTXpgjMr lIT2IvjzZjEao8WMRowYe4B4AhRLe33lQIbrSxVznIdzvrYV33QJTbcBGjxgpNz7/sro Cl9GWQJNcqd0xV9lPmtdV1xao25zccmC1JyZreI+5ZXcEq1LCFngFahEpO7Ug3QIBqL9 p9hpDEP3k3twhC9XkFf1+EsAvRCPEsWzm8O/ke5EBziIhj0BlXp8h7R/VWzru+3gT0N5 PVwfa4mFVKl190lVm1nJ9Nv0gxfqvGZWFXGkb4BAFgdvXcViX8C+zN+lo3TF3BaSZp8Q 2kIQ== X-Gm-Message-State: ALyK8tIfhZb8Fs9Je5WfKRQ3zF5kNP4n7v4WtfHY9amxSXV1AFaqKC+QWPnkpuo4Ma3TBA== X-Received: by 10.28.43.129 with SMTP id r123mr11053521wmr.99.1465459427854; Thu, 09 Jun 2016 01:03:47 -0700 (PDT) Received: from localhost (220.red-79-152-208.dynamicip.rima-tde.net. [79.152.208.220]) by smtp.gmail.com with ESMTPSA id r16sm15367248wmb.23.2016.06.09.01.03.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jun 2016 01:03:47 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Thu, 9 Jun 2016 10:03:43 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Marcin Cieslak Cc: freebsd-xen@FreeBSD.org, xen-devel@lists.xenproject.org, freebsd-virtualization@freebsd.org Subject: Re: HEADS UP: Imported Xen 4.7: no blkback Message-ID: <20160609080343.44rvpda4hskiy3ge@mac> References: <20160603120921.y5l362zgrhf4fdcb@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 08:03:50 -0000 On Thu, Jun 09, 2016 at 12:16:59AM +0000, Marcin Cieslak wrote: > On Fri, 3 Jun 2016, Roger Pau Monné wrote: > > > One of the more relevant changes in 4.7 regarding FreeBSD is the support for > > block hotplug scripts. This means that we now have the option to use > > backends different than simple block or regular files, provided that someone > > writes the proper hotplug scripts to attach them (I've heard there are some > > iSCSI hotplug scripts around). This however requires changes in blkback, so > > if you plan to use the Xen 4.7 port, please make sure that you are running a > > kernel that contains revision r301269 (or any later version). The same also > > I am running it with r301685 and the HVM guests have some trouble with > block devices. > > SeaBIOS does not find /dev/zvol/zroot/freebsd1,raw,xvda,w to boot FreeBSD > from, after chaging to "hda" I get up to the kernel mountroot prompt > (Xen block devices seem to be detected in dmesg). Yes, this is intentional, see: https://marc.info/?l=xen-devel&m=144482080812353 Have you checked if you need to change your /etc/fstab to correctly point to the new device? Does FreeBSD correctly list the disk(s) at the mountroot prompt when issuing a "?" command? Also, can you paste the output of `xenstore-ls -fp` from Dom0 when this happens? > What used to be Windows 2016 domU with /dev/zvol/zroot/windows0,raw,hda,w > ends up in the Tianocore UEFI shell. Block devices seem to be available, > I can even list the fs0: partition, but no booting further possible. Hm, I've never used Tianocore myself, so I'm not sure what the issue could be here. Again, can you post the output of `xenstore-ls -fp` from Dom0 when this happens? At least this will show if the PV block device has been correctly attached. Roger.