[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: konrad_patch_log.bz2
Description: application/bzip

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.