mirage / xen-arm-builder

Archived - the Xen and ARM support in MirageOS has been superseeded by our PVH support - Build an SDcard image for Xen/ARM, for a Cubieboard
ISC License
57 stars 36 forks source link

Unable to bring cpu1 back online #23

Closed MagnusS closed 7 years ago

MagnusS commented 9 years ago

I get a kernel panic when I attempt to bring cpu1 back online after setting if offline. This is the serial console output.

root@batnode1:~# echo 0 > /sys/devices/system/cpu/cpu1/online 
root@batnode1:~# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 4

Hardware        : Allwinner sun7i (A20) Family
Revision        : 0000
Serial          : 0000000000000000
root@batnode1:~# echo 1 > /sys/devices/system/cpu/cpu1/online 
[  129.570315] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
[  129.570331] CPU0: stopping
[  129.570400] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D       3.16.0-rc7-00003-g6c95cb1-dirty #12
[  129.570453] [<c02166dc>] (unwind_backtrace) from [<c0212280>] (show_stack+0x10/0x14)
[  129.570496] [<c0212280>] (show_stack) from [<c08874e4>] (dump_stack+0x88/0x98)
[  129.570533] [<c08874e4>] (dump_stack) from [<c0214efc>] (handle_IPI+0x148/0x174)
[  129.570569] [<c0214efc>] (handle_IPI) from [<c0208928>] (gic_handle_irq+0x58/0x5c)
[  129.570603] [<c0208928>] (gic_handle_irq) from [<c0212e00>] (__irq_svc+0x40/0x50)
[  129.570632] Exception stack(0xc0bf5f58 to 0xc0bf5fa0)
[  129.570656] 5f40:                                                       ffffffed 00000000
[  129.570689] 5f60: ffffffed c021c3c0 c0bfc4c4 c0bfc458 00000000 00000000 c0bf0ee0 c0bf4000
[  129.570723] 5f80: 00000000 c08927c0 00000020 c0bf5fa0 c020fd04 c020fd08 60000013 ffffffff
[  129.570760] [<c0212e00>] (__irq_svc) from [<c020fd08>] (arch_cpu_idle+0x38/0x3c)
[  129.570798] [<c020fd08>] (arch_cpu_idle) from [<c027ae28>] (cpu_startup_entry+0x1dc/0x210)
[  129.570837] [<c027ae28>] (cpu_startup_entry) from [<c0b61b90>] (start_kernel+0x374/0x380)
MagnusS commented 9 years ago

The output above is from a Cubietruck board. I get a similar kernel panic on Cubieboard2

talex5 commented 9 years ago

Probably best to send these reports to the xen-devel list. The only patches we apply to the standard Linux code are the ones they've asked us to, to fix various bugs.

mor1 commented 7 years ago

A quick test just now after the recent refresh, suggests this is now fixed. Please reopen if still occurring for you.