http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1305
Summary: Domain0 will crash when wake up from S3 on IA32E
Product: Xen
Version: unstable
Platform: x86-64
OS/Version: All
Status: NEW
Severity: major
Priority: P1
Component: Hypervisor
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: haicheng.li@xxxxxxxxx
Environment:
------------
Service OS (ia32/ia32e/IA64): ia32e
Guest OS (ia32/ia32e/IA64):
Change Set: 18132
Hardware: Stoakley
Bug detailed description:
--------------------------
On IA32E with SMP cpus, Dom0 S3 can sleep, but when it wake, Dom0 will crash.
IA32PAE can do Dom0 S3 successfully.
a) Using single cpu(set nosmp in grub) when boot 32e, Domain0 S3 succeed.
b) Using SMP cpus and disable HPET(set clocksource=pit in grub) when boot 32e,
Domain S3 succeed.
Reproduce steps:
----------------
Current result:
----------------
Expected result:
----------------
Basic root-causing log:
----------------------
Freezing cpus ...
CPU1 is down
CPU2 is down
CPU3 is down
CPU4 is down
CPU5 is down
CPU6 is down
CPU7 is down
Stopping tasks:
===============================================================|
(XEN) Preparing system for ACPI S3 state.Freezing cpus ...
(XEN) Prepare to bring CPU1 down...
(XEN) Breaking affinity for irq 26
(XEN) Breaking affinity for irq 81
(XEN) Cannot set affinity for irq 224
(XEN) CPU 1 is now offline
(XEN) CPU1 is down
(XEN) Prepare to bring CPU2 down...
(XEN) CPU 2 is now offline
(XEN) CPU2 is down
(XEN) Prepare to bring CPU3 down...
(XEN) CPU 3 is now offline
(XEN) CPU3 is down
(XEN) Prepare to bring CPU4 down...
(XEN) CPU 4 is now offline
(XEN) CPU4 is down
(XEN) Prepare to bring CPU5 down...
(XEN) Breaking affinity for irq 7
(XEN) Breaking affinity for irq 72
(XEN) CPU 5 is now offline
(XEN) CPU5 is down
(XEN) Prepare to bring CPU6 down...
(XEN) CPU 6 is now offline
(XEN) CPU6 is down
(XEN) Prepare to bring CPU7 down...
(XEN) Breaking affinity for irq 6
(XEN) Breaking affinity for irq 64
(XEN) CPU 7 is now offline
(XEN) CPU7 is down
(XEN) Entering ACPI S3 state.
(XEN) Finishing wakeup from ACPI S3 state.Thawing cpus ...
(XEN) Booting processor 1/4 eip 8c000
(XEN) Initializing CPU#1
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 1
(XEN) CPU: Processor Core ID: 0
(XEN) CPU1: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU1 is up
(XEN) Booting processor 2/1 eip 8c000
(XEN) APIC error on CPU1: 00(40)
(XEN) Initializing CPU#2
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 1
(XEN) CPU2: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU2 is up
(XEN) Booting processor 3/5 eip 8c000
(XEN) APIC error on CPU2: 00(40)
(XEN) Initializing CPU#3
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 1
(XEN) CPU: Processor Core ID: 1
(XEN) CPU3: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU3 is up
(XEN) Booting processor 4/2 eip 8c000
(XEN) APIC error on CPU3: 00(40)
(XEN) Initializing CPU#4
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 2
(XEN) CPU4: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU4 is up
(XEN) Booting processor 5/6 eip 8c000
(XEN) APIC error on CPU4: 00(40)
(XEN) Initializing CPU#5
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 1
(XEN) CPU: Processor Core ID: 2
(XEN) CPU5: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU5 is up
(XEN) Booting processor 6/3 eip 8c000
(XEN) APIC error on CPU5: 00(40)
(XEN) Initializing CPU#6
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 3
(XEN) CPU6: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU6 is up
(XEN) Booting processor 7/7 eip 8c000
(XEN) APIC error on CPU6: 00(40)
(XEN) Initializing CPU#7
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: L2 cache: 4096K
(XEN) CPU: Physical Processor ID: 1
(XEN) CPU: Processor Core ID: 3
(XEN) CPU7: Intel(R) Xeon(R) CPU X5376 @ 2.80GHz stepping 0b
(XEN) CPU7 is up
(XEN) APIC error on CPU7: 00(40)
(XEN) io_apic.c:2228:
(XEN) ioapic_guest_write: apic=0, pin=9, old_irq=9, new_irq=9
(XEN) ioapic_guest_write: old_entry=0000d958, new_entry=00008958
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
usbkbd 2-1:1.0: no suspend for driver usbkbd?
PCI: Enabling device 0000:00:1b.0 (0000 -> 0002)
usb usb1: root hub lost power or was reset
usb usb2: root hub lost power or was reset
usb usb3: root hub lost power or was reset
usb usb4: root hub lost power or was reset
usb usb5: root hub lost power or was reset
/home/nightly/linux-2.6.18-xen.hg/drivers/usb/input/usbkbd.c: can't resubmit
in9
ATA: abnormal status 0x7F on port 0x189F
Restarting tasks...<6>usb 2-1: USB disconnect, address 3
done
Thawing cpus ...
Initializing CPU#1
CPU1 is up
Initializing CPU#2
CPU2 is up
Initializing CPU#3
CPU3 is up
Initializing CPU#4
CPU4 is up
Initializing CPU#5
general protection fault: 0000 [1] SMP
CPU 5
Modules linked in: bridge ipv6 hidp l2cap bluetooth nfs lockd nfs_acl sunrpc
ibe
Pid: 0, comm: swapper Tainted: GF 2.6.18.8-xen #1
RIP: e030:[<ffffffff80213b5f>] [<ffffffff80213b5f>]
smp_call_function_interrup5
RSP: e02b:ffff880025c47eb8 EFLAGS: 00010006
RAX: ffff88000632dfd8 RBX: 00007fff00000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007fff00000001
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 547d42ae00000004
R13: 0000000000000000 R14: ffff88000632de88 R15: ffff88000632de88
FS: 0000000000000000(0000) GS:ffffffff804d9280(0000) knlGS:0000000000000000
CS: e033 DS: 002b ES: 002b
Process swapper (pid: 0, threadinfo ffff88000632c000, task ffff8800063090c0)
Stack: ffff88003d3c6240 0000000000000000 0000000000000110 ffffffff80258b9c
ffffffff804e2c80 0000000000008800 0000000000000110 ffff88003d3c6240
ffffffff804e2cbc ffffffff80258c88 0000000000000000 0000000000000110
Call Trace:
<IRQ> [<ffffffff80258b9c>] handle_IRQ_event+0x4e/0x96
[<ffffffff80258c88>] __do_IRQ+0xa4/0x105
[<ffffffff8020d035>] do_IRQ+0x65/0x73
[<ffffffff8034bad2>] evtchn_do_upcall+0x13b/0x1fb
[<ffffffff8020ad8e>] do_hypervisor_callback+0x1e/0x2c
<EOI> [<ffffffff80201000>] init_level4_pgt+0x0/0x1000
[<ffffffff8020622a>] hypercall_page+0x22a/0x1000
[<ffffffff8020622a>] hypercall_page+0x22a/0x1000
[<ffffffff8034aab2>] force_evtchn_callback+0xa/0xb
[<ffffffff8020901a>] cpu_idle+0xa1/0xce
Code: 41 ff d4 e8 ee 0e 02 00 45 85 ed 74 11 0f ae f0 48 8b 05 1a
RIP [<ffffffff80213b5f>] smp_call_function_interrupt+0x4c/0x75
RSP <ffff880025c47eb8>
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!
(XEN) Domain 0 crashed: rebooting machine in 5 seconds.
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|