This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] pvops acpi and xen 4 issues

To: "M. Nunberg" <mnunberg@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] pvops acpi and xen 4 issues
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 8 Mar 2010 15:02:26 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Mar 2010 07:31:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1267740285.10743.4.camel@debmed>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1267216422.31593.15.camel@debmed> <4B8857DD.2050300@xxxxxxxx> <1267237361.7978.10.camel@debmed> <20100301161336.GC7881@xxxxxxxxxxxxxxxxxxx> <1267740285.10743.4.camel@debmed>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
> 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:

Do use your old .config that was triggering the failure in the first

 3). Edit your kernel line to have:
debug  initcall_debug acpi.debug_level=0xffffffff acpi.debug_layer=0x2 

 4). Boot your kernel. You should see something like this:

... snip..
[    0.000000] acpi_sci_ioapic_setup: 0 -> 9 (3, 1)
[    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 
[    1.511254] Already setup the GSI :9

.. and then later:
[    3.058890] ACPI: Core revision 20090903
[    3.084701] acpi_early_init: FADT.SCI = 9
.. and then lots of ACPI debug stuff.

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).

> I used Xen 4-rc4 : xen/stable - latest git from today.

Attachment: debug-apic-sci.patch
Description: Text document

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>