From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Michael D Labriola <mlabriol@gdeb.com>
Cc: xen-devel@lists.xensource.com, ?????? <peb1611@gmail.com>,
Ian.Campbell@citrix.com, xen-devel-bounces@lists.xensource.com
Subject: Re: I cannot get any message from domU by console / pv_ops domU kernel crashes with xen_create_contiguous_region failed
Date: Tue, 22 Dec 2009 15:37:09 -0500 [thread overview]
Message-ID: <20091222203709.GA11696@phenom.dumpdata.com> (raw)
In-Reply-To: <20091222200721.GC31761@phenom.dumpdata.com>
On Tue, Dec 22, 2009 at 03:07:21PM -0500, Konrad Rzeszutek Wilk wrote:
> > A also can't seem to pass devices through (unless I'm doing it wrong).
> > When trying to pass my soundcard do the domU, it appears to be
> > appropriately hidden from dom0 via xen-pciback.hide kernel param
> > (/var/log/messages says 'pciback 0000:00:1b.0: seizing device') but when I
> > try to start my domU with iommu=soft and pci=["00:1b.0"] I get a dozen or
>
> You are doing it right.
>
> > so "BUG: scheduling while atomic" messages w/ call traces. My domU
> > eventually starts up ok, but lspci returns with no output.
>
> Hmm, I wonder if this patch is in your tree:
>
> commit 1aa61698354ca0582b07eb865e0432a13b459f11
> Author: Ian Campbell <ian.campbell@citrix.com>
> Date: Thu Dec 17 14:08:25 2009 +0000
>
> xen: fix hang on suspend.
>
> and causing this (or maybe the pciback driver is the culprit and
> the above patch exposes a bug?).
Bummer. Can't blame Ian for it :-(
I updated dom0 with that patch and I am not seeing the failure you described.
>
> Try reverting that patch and seeing what happens. I the meantime let
> me compile a new Dom0 with the above mentioned commit and see if I get
> the failure too.
Instead of that recommendation try enabling debug options. You can do this
the manual way:
diff --git a/drivers/pci/xen-pcifront.c b/drivers/pci/xen-pcifront.c
index cc3b51b..ae1648a 100644
--- a/drivers/pci/xen-pcifront.c
+++ b/drivers/pci/xen-pcifront.c
@@ -30,7 +30,7 @@
#define INVALID_GRANT_REF (0)
#define INVALID_EVTCHN (-1)
-
+#define DEBUG 1
struct pci_bus_entry {
struct list_head list;
struct pci_bus *bus;
diff --git a/drivers/xen/blkback/blkback.c b/drivers/xen/blkback/blkback.c
index 815c0c6..a871a2c 100644
--- a/drivers/xen/blkback/blkback.c
+++ b/drivers/xen/blkback/blkback.c
@@ -64,7 +64,7 @@ MODULE_PARM_DESC(reqs, "Number of blkback requests to allocate");
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats = 0;
-static unsigned int debug_lvl = 0;
+static unsigned int debug_lvl = 1;
module_param(log_stats, int, 0644);
module_param(debug_lvl, int, 0644);
Or fiddle with the debug_lvl in /sys/ namespace.
That might shed some light on what is happening. Also do provide the
output of Dom0, DomU and the lspci -vvv in Dom0 please.
next prev parent reply other threads:[~2009-12-22 20:37 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 14:30 I cannot get any message from domU by console 박은병
2009-12-21 18:30 ` Pasi Kärkkäinen
[not found] ` <ebf0d9030912212002h6996f725kf4626bd02e03161b@mail.gmail.com>
2009-12-22 8:42 ` I cannot get any message from domU by console / pv_ops domU kernel crashes with xen_create_contiguous_region failed Pasi Kärkkäinen
2009-12-22 9:20 ` Ian Campbell
2009-12-22 13:04 ` Michael D Labriola
2009-12-22 13:20 ` Michael D Labriola
2009-12-22 14:09 ` Ian Campbell
2009-12-22 13:33 ` 박은병
2009-12-22 14:35 ` Konrad Rzeszutek Wilk
2009-12-22 14:50 ` Ian Campbell
2009-12-22 15:47 ` Konrad Rzeszutek Wilk
2009-12-22 16:09 ` Ian Campbell
2009-12-22 16:19 ` Konrad Rzeszutek Wilk
2009-12-22 16:59 ` Konrad Rzeszutek Wilk
2009-12-22 18:02 ` Ian Campbell
2009-12-22 18:08 ` Konrad Rzeszutek Wilk
2009-12-22 14:32 ` Konrad Rzeszutek Wilk
2009-12-22 14:58 ` Ian Campbell
2009-12-22 15:27 ` Konrad Rzeszutek Wilk
2009-12-22 15:14 ` Michael D Labriola
2009-12-22 15:40 ` Konrad Rzeszutek Wilk
2009-12-22 16:44 ` Michael D Labriola
2009-12-22 16:55 ` Michael D Labriola
2009-12-22 17:00 ` Konrad Rzeszutek Wilk
2009-12-22 17:20 ` Michael D Labriola
2009-12-22 17:59 ` Michael D Labriola
2009-12-22 18:23 ` Konrad Rzeszutek Wilk
2009-12-22 18:47 ` Michael D Labriola
2009-12-22 19:14 ` Konrad Rzeszutek Wilk
2009-12-22 19:50 ` Michael D Labriola
2009-12-22 20:03 ` Ian Campbell
2009-12-22 21:00 ` Michael D Labriola
2009-12-22 20:07 ` Konrad Rzeszutek Wilk
2009-12-22 20:37 ` Konrad Rzeszutek Wilk [this message]
2009-12-22 21:49 ` Michael D Labriola
2009-12-23 18:49 ` Michael D Labriola
2009-12-23 20:15 ` Michael D Labriola
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=20091222203709.GA11696@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=mlabriol@gdeb.com \
--cc=peb1611@gmail.com \
--cc=xen-devel-bounces@lists.xensource.com \
--cc=xen-devel@lists.xensource.com \
/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.