xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <royger@FreeBSD.org>
To: Marcin Cieslak <saper@saper.info>
Cc: freebsd-xen@FreeBSD.org, freebsd-virtualization@freebsd.org,
	xen-devel@lists.xenproject.org
Subject: Re: HEADS UP: Imported Xen 4.7: no blkback
Date: Thu, 9 Jun 2016 10:03:43 +0200	[thread overview]
Message-ID: <20160609080343.44rvpda4hskiy3ge__22387.7614982941$1465459520$gmane$org@mac> (raw)
In-Reply-To: <alpine.BSF.2.11.1606090010280.2130@z.fncre.vasb>

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-06-09  8:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160603120921.y5l362zgrhf4fdcb@mac>
2016-06-08 22:18 ` HEADS UP: Imported Xen 4.7 and blkback changes Marcin Cieslak
     [not found] ` <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>
2016-06-08 22:35   ` HEADS UP: Imported Xen 4.7 and blkback changes - domU respawning on_crash Marcin Cieslak
2016-06-09  7:40   ` HEADS UP: Imported Xen 4.7 and blkback changes Roger Pau Monné
     [not found]   ` <alpine.BSF.2.11.1606082229190.2130@z.fncre.vasb>
2016-06-09  7:44     ` HEADS UP: Imported Xen 4.7 and blkback changes - domU respawning on_crash Roger Pau Monné
     [not found]   ` <20160609074021.uqtjio2vn7wo5h4m@mac>
2016-06-10 21:41     ` HEADS UP: Imported Xen 4.7 and blkback changes Marcin Cieslak
     [not found]     ` <alpine.BSF.2.11.1606102140290.2130@z.fncre.vasb>
2016-06-13  9:22       ` Roger Pau Monné
2016-06-09  0:16 ` HEADS UP: Imported Xen 4.7: no blkback Marcin Cieslak
     [not found] ` <alpine.BSF.2.11.1606090010280.2130@z.fncre.vasb>
2016-06-09  8:03   ` Roger Pau Monné [this message]
     [not found]   ` <20160609080343.44rvpda4hskiy3ge@mac>
2016-06-09  9:07     ` Wei Liu
2016-06-10 21:38     ` Marcin Cieslak
     [not found]     ` <alpine.BSF.2.11.1606102124330.2130@z.fncre.vasb>
2016-06-13  9:10       ` Roger Pau Monné
     [not found]       ` <20160613091003.cejnbuqepp25zanc@mac>
2016-06-13  9:44         ` Marcin Cieslak
2016-06-13 19:26         ` Marcin Cieslak
     [not found]         ` <alpine.BSF.2.11.1606131922240.2130@z.fncre.vasb>
2016-06-16 15:29           ` Roger Pau Monné
     [not found]           ` <20160616152919.3nelncwerh3nir27@mac>
2016-06-16 17:05             ` Marcin Cieslak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20160609080343.44rvpda4hskiy3ge__22387.7614982941$1465459520$gmane$org@mac' \
    --to=royger@freebsd.org \
    --cc=freebsd-virtualization@freebsd.org \
    --cc=freebsd-xen@FreeBSD.org \
    --cc=saper@saper.info \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).