On 22/03/2019 09:53, John L. Poole wrote:
> 3)Xen Source - here is the log of an attempt adding
> "cpuinfor maxcpus=1 watchdog"
> as an option in myman_xen.cfg:
> https://pastebin.com/b682FWmC (6 months)
>
> The last 12 lines:
> (XEN) [2019-03-22 09:37:49] Booting processor 2/4 eip 3e000
> (XEN) [2019-03-22 09:35:28] Initializing CPU#2
> (XEN) [2019-03-22 09:35:28] masked ExtINT on CPU#2
> (XEN) [2019-03-22 09:35:28] CPU: Physical Processor ID: 0
> (XEN) [2019-03-22 09:35:28] CPU: Processor Core ID: 2
> (XEN) [2019-03-22 09:35:28] CPU: L1 I cache: 32K, L1 D cache: 24K
> (XEN) [2019-03-22 09:35:28] CPU: L2 cache: 1024K
> (XEN) [2019-03-22 09:35:28] CMCI: CPU2 has no CMCI support
> (XEN) [2019-03-22 09:35:28] CPU2: Thermal monitoring enabled (TM1)
> (XEN) [2019-03-22 09:37:49] CPU2: Intel(R) Atom(TM) CPU  C2750 @
> 2.40GHz stepping 08
> (XEN) [2019-03-22 09:37:49] Adding cpu 2 to runqueue 0
> (XEN) [2019-03-22 09:37:49] Removing cpu 2 from runqueue 0
> (XEN) [2019-03-22 09:37:49] Booting processor 3/6 eip 3e000
>
> Result: hangs around the same place

Ok.  Something is clearly stalling while we are trying to start
secondary processors.

Can you apply this patch and rebuild please?

andrewcoop@andrewcoop:/local/xen.git$ git d
diff --git a/xen/include/asm-x86/apic.h b/xen/include/asm-x86/apic.h
index 9d7ec93..14ac0b1 100644
--- a/xen/include/asm-x86/apic.h
+++ b/xen/include/asm-x86/apic.h
@@ -5,7 +5,7 @@
 #include <asm/fixmap.h>
 #include <asm/msr.h>
 
-#define Dprintk(x...) do {} while (0)
+#define Dprintk printk
 
 /*
  * Debugging macros

which should give us some better diagnostics of the INIT-SIPI-SIPI
mechanism.

Do you have any options such as TXT or SMX enabled in firmware?  They
can interfere with AP bringup, so it would be useful to disable them for
now.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to