xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
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: Wed, 8 Jun 2011 15:29:16 -0400	[thread overview]
Message-ID: <20110608192916.GA4909@dumpdata.com> (raw)
In-Reply-To: <4DEFBE7F.5060909@sce.pridelands.org>

On Wed, Jun 08, 2011 at 02:25:03PM -0400, Scott Garron wrote:
> On 06/07/2011 03:19 PM, Konrad Rzeszutek Wilk wrote:
> >But this might be also something else. Did you try to boot with
> >'acpi=off' just to see if ti gets past this. It might hang on
> >something else with that option sadly :-(
> 
>      Booting with acpi=off in this branch (xen/stable-2.6.39.x) yields
> the same results as omitting that option while booting the
> devel/next-2.6.39 branch:  It gets to "Trying to unpack rootfs image as
> initramfs..." and freezes.  The full output of the serial console during

Looking at your output you have this:

(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

which means that the ACPI IRQ is edge low. Normaly (this is one
of my machines) has this:

(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

which ends up calling the override with:
xen: sci override: global_irq=9 trigger=0 polarity=0

(the 0 trigger is high, polarity 0 is level). on your box it should be something
like this:
xen: sci override: global_irq=9 trigger=1 polarity=1

since you have edge and low for the ACPI SCI IRQ.  And if that is
truly your setup (your ACPI SCI IRQ is routed to the pin 0 on the
IOAPIC - in other words on IRQ 0), then we bail out in setting
it up since we do this check:

 if (!gsi)
    return

and we never call xen_register_gsi which sets the GSI.. but
looking at this:
http://pridelands.org/~simba/xen-debug/hailstorm-fullserial20110606.txt
It looks as if you are registering the ACPI SCI to 9, but there is no
interrupt service override to 9 - did you add that in the code yourself?


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?
3). Try the attached patch (not compile tested)

Do all of those at once.. Lets concentrate on running this with ACPI and
see what we get.

  reply	other threads:[~2011-06-08 19:29 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 [this message]
2011-06-09 20:04                                                       ` Scott Garron
2011-06-10 12:59                                                         ` Konrad Rzeszutek Wilk
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=20110608192916.GA4909@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).