From: "M. Nunberg" <mnunberg@haskalah.org>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: pvops acpi and xen 4 issues
Date: Wed, 10 Mar 2010 11:44:09 -0800 [thread overview]
Message-ID: <1268250249.7980.10.camel@debmed> (raw)
In-Reply-To: <20100308200226.GA16759@phenom.dumpdata.com>
[-- Attachment #1: Type: text/plain, Size: 4234 bytes --]
On Mon, 2010-03-08 at 15:02 -0500, Konrad Rzeszutek Wilk wrote:
> > make sure it was indeed being called. I think this might have something
> > to do with what Jeremy mentioned about my SCI being on 9 and not 20, but
> > honestly, I haven't a clue. I have the full log if you need more.
>
> I am attaching a debug patch that will help in troubleshooting this and
> potentially fix this.
>
> Couple of things:
> 1). Turn the Enable ACPI SCI in the BIOS to Enable.
>
> 2). Compile your Linux kernel with the attached patch and these two options:
> CONFIG_ACPI_DEBUG=y
> CONFIG_ACPI_DEBUG_FUNC_TRACE=y
>
> Do use your old .config that was triggering the failure in the first
> case.
>
> 3). Edit your kernel line to have:
> debug initcall_debug acpi.debug_level=0xffffffff acpi.debug_layer=0x2 xen_sci=fun
>
> 4). Boot your kernel. You should see something like this:
>
> ... snip..
> [ 0.000000] acpi_sci_ioapic_setup: 0 -> 9 (3, 1)
acpi_sci_ioapic_setup: 0 -> 20 (3, 3)
> ...
> [ 1.483956] xen_setup_pirqs: FADT.SCI: 9 ACPI.SCI:9. Using 9 IRQ,
> [ 1.490025] xen_setup_pirqs: SCI override: trigger: level->level,
> polarity: high->high
> [ 1.497824] xen: registering gsi 9 triggering 0 polarity 0
> [ 1.503282] xen_allocate_pirq: returning irq 9 for gsi 9
> [ 1.508572] xen: --> irq=9
NR_IRQS:4352 nr_irqs:4096
xen: registering gsi 0 triggering 1 polarity 0
xen: --> irq=0
Already setup the GSI :0
xen: registering gsi 1 triggering 1 polarity 0
xen: --> irq=1
Already setup the GSI :1
xen: registering gsi 2 triggering 1 polarity 0
xen: --> irq=2
Already setup the GSI :2
xen: registering gsi 3 triggering 1 polarity 0
xen: --> irq=3
Already setup the GSI :3
xen: registering gsi 4 triggering 1 polarity 0
xen: --> irq=4
Already setup the GSI :4
xen: registering gsi 5 triggering 1 polarity 0
xen: --> irq=5
Already setup the GSI :5
xen: registering gsi 6 triggering 1 polarity 0
xen: --> irq=6
Already setup the GSI :6
xen: registering gsi 7 triggering 1 polarity 0
xen: --> irq=7
Already setup the GSI :7
xen: registering gsi 8 triggering 1 polarity 0
xen: --> irq=8
Already setup the GSI :8
xen: registering gsi 9 triggering 1 polarity 0
xen: --> irq=9
Already setup the GSI :9
xen: registering gsi 10 triggering 1 polarity 0
xen: --> irq=10
Already setup the GSI :10
xen: registering gsi 11 triggering 1 polarity 0
xen: --> irq=11
Already setup the GSI :11
xen: registering gsi 12 triggering 1 polarity 0
xen: --> irq=12
Already setup the GSI :12
xen: registering gsi 13 triggering 1 polarity 0
xen: --> irq=13
Already setup the GSI :13
xen: registering gsi 14 triggering 1 polarity 0
xen: --> irq=14
Already setup the GSI :14
xen: registering gsi 15 triggering 1 polarity 0
xen: --> irq=15
Already setup the GSI :15
xen_setup_pirqs: FADT.SCI: 9 ACPI.SCI:20. Using IRQ 20.
xen_setup_pirqs: acpi_get_override_irq fails for 20.
xen_setup_pirqs: SCI override: trigger: level->edge, polarity: high->low
xen: registering gsi 20 triggering 0 polarity 1
alloc irq_desc for 20 on node 0
alloc kstat_irqs on node 0
xen: --> irq=20
(XEN) IOAPIC[0]: Set PCI routing entry (8-20 -> 0x98 -> IRQ 20 Mode:1 Active:1)
Console: colour VGA+ 80x25
....
> [ 1.511254] Already setup the GSI :9
And as you predicted, this line did not show up for 20
> .. and then later:
> [ 3.058890] ACPI: Core revision 20090903
> [ 3.084701] acpi_early_init: FADT.SCI = 9
s/9/20, again
> .. and then lots of ACPI debug stuff.
In the log.
>
> Thought in your case, the IRQ that should show up is 20 and the 'Already
> setup the GSI :20' might not show up.
>
> Please e-mail the full serial log (even if it does work).
All in all, I think it did work. From a novice's perspective (like mine), This message:
ACPI: Interpreter enabled
was missing when SCI was enabled in the BIOS, but with your patch, it is present.
I am attaching the full log as a bz2 compressed textfile, as the last time I tried to send something with wide lines, something gobbled it up, though I think the relevant info is inline
> > I used Xen 4-rc4 : xen/stable 2.6.32.9 - latest git from today.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #2: konrad_patch_log.bz2 --]
[-- Type: application/x-bzip, Size: 28028 bytes --]
[-- 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:[~2010-03-10 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 20:33 pvops acpi and xen 4 issues M. Nunberg
2010-02-26 23:23 ` Jeremy Fitzhardinge
2010-02-27 2:22 ` M. Nunberg
2010-03-01 16:13 ` Konrad Rzeszutek Wilk
2010-03-04 22:04 ` M. Nunberg
2010-03-08 20:02 ` Konrad Rzeszutek Wilk
2010-03-10 19:44 ` M. Nunberg [this message]
2010-03-10 23:48 ` Jeremy Fitzhardinge
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=1268250249.7980.10.camel@debmed \
--to=mnunberg@haskalah.org \
--cc=konrad.wilk@oracle.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.