All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>,
	Xen Developers <xen-devel@lists.xen.org>
Subject: Re: Xen pciback not working: "address space collision: [mem ...] conflicts with System RAM [mem ...]"
Date: Fri, 2 Aug 2013 08:04:09 -0400	[thread overview]
Message-ID: <20130802120409.GF24540@konrad-lan.dumpdata.com> (raw)
In-Reply-To: <20130802090735.GE12938@cab.unipd.it>

On Fri, Aug 02, 2013 at 11:07:35AM +0200, Andrea Brugiolo wrote:
> On Mon, Jul 29, 2013 at 01:55:16PM -0400, Konrad Rzeszutek Wilk wrote:
> > On Mon, Jul 29, 2013 at 10:02:03AM +0100, Ian Campbell wrote:
> > > On Fri, 2013-07-26 at 12:32 +0200, Andrea Brugiolo wrote:
> > > > Good Morning
> > > > 
> > > > I cannot do pciback anymore for both my second scsi controller and my
> > > > second network card: when I try to pass the device to the domU I get
> > > > this error in system logs:
> > > > 
> > > >   ... address space collision: [mem ...] conflicts with System RAM [mem ...]
> > > 
> > > By eliding the actually addresses you've omitted something which I think
> > > might be interesting:
> > >         [mem 0xf9e00000-0xf9e1ffff 64bit] conflicts with System RAM [mem 0x00100000-0x4007fffff]
> > > 
> > > Note that there is not any actual overlap in those two sets of addresses...
> > 
> > I think it is:
> > mem 0xf9e00000-0xf9e1ffff
> > mem 0x00100000-0x4007fffff
> > 
> > The RAM region is pretty much all of the memory. This looks like the 'e820_hole'
> > parameter is not being used? (It only works for xl btw).
> > 
> > > 
> > > Might be that the check is truncating something, or maybe it is
> > > confusing MFN and PFN and so getting a false +ve. Both wild guesses
> > > having not even looked at the code...
> > > 
> > > > The problem is described here:
> > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717353 and is
> > > > blocking my backup system which is based on a scsi tape changer
> > > > attached to the domU.
> > > 
> > > What do the guest and host e820 map look like? Actually the full dmesg
> > > for the hypervisor, dom0 and domU kernels would be useful to provide, I
> > > expect.
> > 
> > And the guest config pls.
> 
> At last I have managed to reboot the system. Please find the attachments:
> 
>  - dom0 dmesg
>  - domU dmesg
>  - domU configuration
> 
> Recall:
> 
>  - dom0 is Debian GNU/Linux 7.1 with Debian kernel 3.2.0-4-amd64 (3.2.46-1)
>  - domU is Debian GNU/Linux 6.0.7 with the same kernel
> 
> The "address space collision" shows up for both the devices I am
> trying to pass as I have been doing for years.

So you are using 'xm', but 'xm' does not support 'e820_hole=1'. You need
to use 'xl'. The domU E820 is as I suspected without the host E820 which
is why you are hitting the issue.

Note, I did at some point post an implementation of 'e820_hole=1'
argument for Xend, but since Xen is being deprecated ... it didn't make
much sense adding it in.

Awaiting your response with the usage of 'xl'.

Thanks!

  parent reply	other threads:[~2013-08-02 12:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 10:32 Xen pciback not working: "address space collision: [mem ...] conflicts with System RAM [mem ...]" Andrea Brugiolo
2013-07-29  9:02 ` Ian Campbell
2013-07-29 16:01   ` Andrea Brugiolo
2013-07-29 17:55   ` Konrad Rzeszutek Wilk
2013-07-30  9:11     ` Ian Campbell
2013-08-02  9:07     ` Andrea Brugiolo
2013-08-02  9:27       ` Gordan Bobic
2013-08-02 12:06         ` Konrad Rzeszutek Wilk
2013-08-02 12:19           ` Gordan Bobic
2013-08-02 12:44             ` Konrad Rzeszutek Wilk
2013-08-02 12:04       ` Konrad Rzeszutek Wilk [this message]
2013-08-02 12:30         ` Andrea Brugiolo
2013-08-02 12:43           ` Konrad Rzeszutek Wilk
2013-08-20 14:56         ` Andrea Brugiolo
2013-08-23 18:54           ` Konrad Rzeszutek Wilk
2013-08-27 21:03             ` Andrea Brugiolo
2013-08-28 15:45               ` Konrad Rzeszutek Wilk
2013-08-28 16:44                 ` Andrea Brugiolo
2013-08-30 16:08                   ` Konrad Rzeszutek Wilk
2013-09-04 17:22                     ` Andrea Brugiolo

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=20130802120409.GF24540@konrad-lan.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.