WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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:
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)
...
[    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 2.6.32.9 - latest git from today.

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>