From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Scott Garron <xen-devel@sce.pridelands.org>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>,
xen-devel@lists.xensource.com,
Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: BUG: unable to handle kernel paging request - balloon_init - xen-4.1.0 - 2.6.32.39
Date: Fri, 10 Jun 2011 08:59:07 -0400 [thread overview]
Message-ID: <20110610125906.GA10831@dumpdata.com> (raw)
In-Reply-To: <4DF12747.2090900@sce.pridelands.org>
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
On Thu, Jun 09, 2011 at 04:04:23PM -0400, Scott Garron wrote:
> On 06/08/2011 03:29 PM, Konrad Rzeszutek Wilk wrote:
> >Can you do (while not having acpi=off) and using 'apic=debug' on you
> > Linux line:
> >
> >1). Run Ctrl-A couple of times and hit the '*' and send the output. I
> >am really curious to see what the IOAPIC thinks about the
> >interrupts.
> >
> >2). Increase the dom0_mem= to say 1G?
>
> Ok, I've done these 2 things and the output is at:
>
> http://pridelands.org/~simba/xen/hailstorm-fullserial20110609-02.txt
>
> After changing dom0_mem to 1G instead of 512M, the machine hangs at
> "Switching to clocksource xen" instead of "Trying to unpack rootfs image
> as initramfs..."
>
> As an added step, I also recompiled the latest Mercurial pull of
> xen-unstable.hg and am running with that instead of the one I had from a
> month or so ago. I'm not sure if that is what is making it not end up
> with a Kernel OOPS/BUG message or if it is the apic=debug option.
>
> acpi=off is definitely not on the command line, now, though, and
> it's not giving the OOPS that it was before. It's just hanging/freezing.
>
> >3). Try the attached patch (not compile tested)
>
> I did not see an attachment on your last e-mail.
Uh, try now
[-- Attachment #2: test.patch --]
[-- Type: text/x-diff, Size: 2321 bytes --]
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 4558f0d..97a874a 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -408,6 +408,9 @@ acpi_parse_int_src_ovr(struct acpi_subtable_header * header,
acpi_table_print_madt_entry(header);
+ printk(KERN_INFO "source_irq is %d, global is %d and FADT is %d\n",
+ intsrc->source_irq, intsrc->global_irq, acpi_gbl_FADT.sci_interrupt);
+
if (intsrc->source_irq == acpi_gbl_FADT.sci_interrupt) {
acpi_sci_ioapic_setup(intsrc->source_irq,
intsrc->inti_flags & ACPI_MADT_POLARITY_MASK,
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index 8214724..10fa094 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -353,7 +353,7 @@ static int xen_register_pirq(u32 gsi, int triggering)
if (irq < 0)
goto out;
- printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d\n", pirq, irq);
+ printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (%s)\n", pirq, irq, name);
map_irq.domid = DOMID_SELF;
map_irq.type = MAP_PIRQ_TYPE_GSI;
@@ -404,8 +404,8 @@ static __init void xen_setup_acpi_sci(void)
int trigger, polarity;
int gsi = acpi_sci_override_gsi;
- if (!gsi)
- return;
+ /* Can ACPI SCI be zero!? */
+ WARN_ON(!gsi);
rc = acpi_get_override_irq(gsi, &trigger, &polarity);
if (rc) {
@@ -413,6 +413,9 @@ static __init void xen_setup_acpi_sci(void)
" sci, rc=%d\n", rc);
return;
}
+ printk(KERN_INFO "xen: sci %d before sanitize %d %d\n", gsi,
+ trigger, polarity);
+
trigger = trigger ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE;
polarity = polarity ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH;
@@ -457,15 +460,18 @@ void __init xen_setup_pirqs(void)
break;
irq = xen_bind_pirq_gsi_to_irq(irq, pirq, 0, "xt-pic");
}
- return;
}
/* Pre-allocate legacy irqs */
for (irq = 0; irq < NR_IRQS_LEGACY; irq++) {
int trigger, polarity;
- if (acpi_get_override_irq(irq, &trigger, &polarity) == -1)
+ if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) {
+ printk(KERN_INFO "IRQ %s - unknown.\n", irq);
continue;
+ }
+ printk(KERN_INFO "IRQ %d is %s %s\n", irq, polarity == ACPI_ACTIVE_LOW ? "low" :"high",
+ trigger == ACPI_LEVEL_SENSITIVE ?"level" :"edge");
xen_register_pirq(irq,
trigger ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE);
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-06-10 12:59 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-26 0:04 BUG: unable to handle kernel paging request - balloon_init - xen-4.1.0 - 2.6.32.39 Scott Garron
2011-04-26 3:15 ` Konrad Rzeszutek Wilk
2011-04-26 5:03 ` Scott Garron
2011-04-27 20:09 ` Konrad Rzeszutek Wilk
2011-04-27 23:45 ` Scott Garron
[not found] ` <20110428183019.GA9852@dumpdata.com4DBA1EA4.5010004@sce.pridelands.org>
2011-04-28 18:30 ` Konrad Rzeszutek Wilk
2011-04-29 0:15 ` Scott Garron
2011-04-29 2:12 ` Scott Garron
2011-04-29 14:43 ` Dan Magenheimer
2011-04-29 16:56 ` Scott Garron
2011-04-29 19:38 ` Dan Magenheimer
2011-04-29 23:08 ` Scott Garron
2011-05-04 15:58 ` Konrad Rzeszutek Wilk
2011-05-04 19:19 ` Scott Garron
2011-05-04 19:35 ` Konrad Rzeszutek Wilk
2011-05-04 20:17 ` Scott Garron
2011-05-04 20:23 ` Konrad Rzeszutek Wilk
2011-05-04 21:55 ` Scott Garron
2011-05-04 22:16 ` Konrad Rzeszutek Wilk
2011-05-04 23:23 ` Scott Garron
2011-05-05 18:34 ` Konrad Rzeszutek Wilk
2011-05-05 20:48 ` Scott Garron
2011-05-05 21:06 ` Konrad Rzeszutek Wilk
2011-06-06 18:00 ` Scott Garron
2011-06-06 19:17 ` Pasi Kärkkäinen
2011-06-06 21:33 ` Scott Garron
2011-06-07 19:19 ` Konrad Rzeszutek Wilk
2011-06-08 18:25 ` Scott Garron
2011-06-08 19:29 ` Konrad Rzeszutek Wilk
2011-06-09 20:04 ` Scott Garron
2011-06-10 12:59 ` Konrad Rzeszutek Wilk [this message]
2011-06-10 16:51 ` Scott Garron
2011-06-13 22:03 ` Konrad Rzeszutek Wilk
2011-06-13 23:20 ` Scott Garron
2011-06-14 13:55 ` BUG: unable to handle kernel NULL pointer dereference at IP: [<ffffffff8105ae4c>] process_one_work+ Konrad Rzeszutek Wilk
2011-06-14 21:55 ` Scott Garron
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=20110610125906.GA10831@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=dan.magenheimer@oracle.com \
--cc=jeremy@goop.org \
--cc=xen-devel@lists.xensource.com \
--cc=xen-devel@sce.pridelands.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).