From: Ian Campbell <Ian.Campbell@citrix.com>
To: Atom2 <ariel.atom2@web2web.at>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: segfault in xl create for HVM with PCI passthrough
Date: Tue, 28 Oct 2014 16:04:26 +0000 [thread overview]
Message-ID: <1414512266.10974.5.camel@citrix.com> (raw)
In-Reply-To: <544FB8C4.9000102@web2web.at>
On Tue, 2014-10-28 at 16:39 +0100, Atom2 wrote:
> > Please can you run the command under gdb and grab a back trace. It would
> > also be useful to "xl -vvv create pfsense".
> >
> First of all attached please find the output of xl -vvv create pfsense.
> I decided to attach a file as most of the output lines are longer than
> 80 chars and therefore would most likely be folded by eMail clients.
Thanks.
> In terms of the last message before the segfault in my attached file it
> seems to me that the bridge stuff was setup correctly as per the
> following commands:
Agreed, it seems the crash happens after that sometime.
> With regards to gdb: I can certainly run the command under gdb after
> including debug support to the executables - that's no big deal.
> I would, however, ask for your advice as to what I need to recompile
> with debugger support? Is xen-tools (which includes xl) sufficient
I think just the Xen bits would be sufficient, at least to start with.
> or
> would you think that I also need to include debug support for gcc as the
> library that is mentioned in /var/log/messages (libgcc_s.so.1) seems to
> belong to the gcc package? Or is this library a red herring that just
> works as the catch-all code getting and finally handling the segfault?
I'd recommend ignoring it for now, in the event that the backtrace from
just the xen bits suggests a gcc issue that might change. My money right
now is on it being a xen issue though.
> Please advise. Tx.
> > [...]
> >> pci = [ '04:00.0', '0a:08.0', '0a:0b.0' ]
> >
> > You say in $subject that the failure is with PCI, is that because you've
> > tried an HVM domain without and it is ok, or is it just that all your
> > HVM domains happen to have passthrough enabled?
> I haven't tried HVM domains without PCI passthrough (but PV domains w/o
> PCI passthrough and they did not segfault) so far as all my HVM domains
> require PCI devices (either at least a network card for pfsense - in
> actual facts it's more than one that's being passed through - or a SATA
> controller for my second HVM which is used as a storage VM).
The VM doesn't need to be fully functional, it just needs to boot
without crashing the toolstack. Just running your existing VM with the
pci line commented out would be useful.
Ian
next prev parent reply other threads:[~2014-10-28 16:13 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 21:25 segfault in xl create for HVM with PCI passthrough Atom2
2014-10-28 10:59 ` Ian Campbell
2014-10-28 15:39 ` Atom2
2014-10-28 16:04 ` Ian Campbell [this message]
2014-10-29 0:26 ` Atom2
2014-10-30 23:05 ` Atom2
2014-11-04 15:13 ` [BUG] XEN 4.3.3 - " Atom2
2014-11-04 15:44 ` Ian Campbell
2014-11-04 16:14 ` Atom2
2014-11-04 16:31 ` Ian Campbell
2014-11-04 16:48 ` Atom2
2014-11-05 9:33 ` Ian Campbell
2014-11-04 17:30 ` Atom2
2014-11-05 9:45 ` Ian Campbell
2014-11-05 12:01 ` Atom2
2014-11-05 12:39 ` Ian Campbell
2014-11-05 12:45 ` Andrew Cooper
2014-11-05 12:47 ` Ian Campbell
2014-11-06 15:11 ` Atom2
2014-11-10 11:16 ` Ian Campbell
2014-11-10 11:44 ` Atom2
2014-11-10 12:09 ` Ian Campbell
2014-12-01 3:34 ` Dennis Lan (dlan)
2014-12-01 9:38 ` Ian Campbell
2014-11-09 23:03 ` Atom2
[not found] <544FC76D.8060005@web2web.at>
2014-10-28 17:15 ` Atom2
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=1414512266.10974.5.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ariel.atom2@web2web.at \
--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).