ACPI weirdness with SVN head
Hi all,
I had been running qemu svn version 6071 until just recently when I upgraded to 6552. Now a couple of my Linus VMs are having ACPI problems during boot. They hang during boot with :
[ 1.911518] ACPI: Core revision 20080926
[ 1.920493] ACPI: Checking initramfs for custom DSDT
[ 5.594338] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 5.596010] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
[ 5.596010] ...trying to set up timer (IRQ0) through the 8259A ...
[ 5.596010] ..... (found apic 0 pin 0) ...
[ 5.596010] ....... failed.
[ 5.596010] ...trying to set up timer as Virtual Wire IRQ...Is this a known problem?
Cheers,
Erik
Signature · 6 lines
----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- I call C++ a curse on programmers everywhere; the language that has enabled and encouraged more stupidity and bad software design than any other programming language ever.
Quoted 1 line · Erik de Castro Lopo
Is this a known problem?
More info. If I disable ACPI with -no-acpi the VM boots but
then chews up far more of the host CPU than previously. The
only real explanation I can find for this on the guest side is a very high number of timer interrupts:
guest > cat /proc/interrupts
CPU0
0: 2575369 XT-PIC-XT timer
1: 9 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
4: 536 XT-PIC-XT serial
8: 0 XT-PIC-XT rtc0
9: 0 XT-PIC-XT virtio0
11: 202 XT-PIC-XT virtio1, eth0
12: 111 XT-PIC-XT i8042
14: 4176 XT-PIC-XT ata_piix
15: 3676 XT-PIC-XT ata_piix
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
SPU: 0 Spurious interrupts
ERR: 0
Cheers,
Erik
Signature · 6 lines
----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "These are the finest moments in (post)modern life, when satire is completly indistinguishable from reality... I usually have to rely on the presidential elections for such dada." -- frenomulax on Jesux a christian Linux distro.
Quoted 31 lines · Erik de Castro Lopo
Quoted 1 line · Erik de Castro Lopo
Is this a known problem?
More info. If I disable ACPI with -no-acpi the VM boots but
then chews up far more of the host CPU than previously. The
only real explanation I can find for this on the guest side is a very high number of timer interrupts:guest > cat
/proc/interrupts
CPU0
0: 2575369 XT-PIC-XT timer
1: 9 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
4: 536 XT-PIC-XT serial
8: 0 XT-PIC-XT rtc0
9: 0 XT-PIC-XT virtio0
11: 202 XT-PIC-XT virtio1, eth0
12: 111 XT-PIC-XT i8042
14: 4176 XT-PIC-XTata_piix
15: 3676 XT-PIC-XTata_piix
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
SPU: 0 Spurious interrupts
ERR: 0
Quoted 2 lines
Cheers,
Erik
I stumbled over the same problem with one of my Linux guests [1], but as the one that locked up was built without CONFIG_ACPI, I concluded that this is the problem (it missed that pin1 became 2, just like your guest does). Have you updated your BIOS image?
Jan
[1] http://comments.gmane.org/gmane.comp.emulators.qemu/37767
Quoted 34 lines · Jan Kiszka
Quoted 32 lines · Erik de Castro Lopo
Quoted 2 lines · Erik de Castro Lopo
Is this a known problem?
More info. If I disable ACPI with -no-acpi the VM boots but
then chews up far more of the host CPU than previously. The
only real explanation I can find for this on the guest side is a very high number of timer interrupts:guest > cat
/proc/interrupts
CPU0
0: 2575369 XT-PIC-XT timer
1: 9 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
4: 536 XT-PIC-XT serial
8: 0 XT-PIC-XT rtc0
9: 0 XT-PIC-XT virtio0
11: 202 XT-PIC-XT virtio1, eth0
12: 111 XT-PIC-XT i8042
14: 4176 XT-PIC-XTata_piix
15: 3676 XT-PIC-XTata_piix
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
SPU: 0 Spurious interrupts
ERR: 0
Quoted 9 lines
Quoted 3 lines
Cheers,
ErikI stumbled over the same problem with one of my Linux guests [1], but as the one that locked up was built without
CONFIG_ACPI, I concluded that this is the problem (it missed that pin1 became 2, just like your guest does). Have you updated your BIOS image?
This error happens if you're using an older version of the BIOS.
Regards,
Anthony Liguori
Quoted 5 lines
Jan
[1] http://comments.gmane.org/gmane.comp.emulators.qemu/37767
Quoted 1 line · Anthony Liguori
This error happens if you're using an older version of the BIOS.
That fixed it. Thanks.
Erik
Signature · 7 lines
----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "In civilian equipment, such as computers, the number of components alone makes miniaturization essential if the computer is to be housed in a reasonable-sized building." Electronics Oct. 1, 1957, p. 178