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

Re: [Xen-devel] [PATCH v6 00/20] xen: add core scheduling support


  • To: Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
  • Date: Thu, 3 Oct 2019 10:47:25 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=sergey.dyasli@xxxxxxxxxx; spf=Pass smtp.mailfrom=sergey.dyasli@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Autocrypt: addr=sergey.dyasli@xxxxxxxxxx; keydata= mQINBFtMVHEBEADc/hZcLexrB6vGTdGqEUsYZkFGQh6Z1OO7bCtM1go1RugSMeq9tkFHQSOc 9c7W9NVQqLgn8eefikIHxgic6tGgKoIQKcPuSsnqGao2YabsTSSoeatvmO5HkR0xGaUd+M6j iqv3cD7/WL602NhphT4ucKXCz93w0TeoJ3gleLuILxmzg1gDhKtMdkZv6TngWpKgIMRfoyHQ jsVzPbTTjJl/a9Cw99vuhFuEJfzbLA80hCwhoPM+ZQGFDcG4c25GQGQFFatpbQUhNirWW5b1 r2yVOziSJsvfTLnyzEizCvU+r/Ek2Kh0eAsRFr35m2X+X3CfxKrZcePxzAf273p4nc3YIK9h cwa4ZpDksun0E2l0pIxg/pPBXTNbH+OX1I+BfWDZWlPiPxgkiKdgYPS2qv53dJ+k9x6HkuCy i61IcjXRtVgL5nPGakyOFQ+07S4HIJlw98a6NrptWOFkxDt38x87mSM7aSWp1kjyGqQTGoKB VEx5BdRS5gFdYGCQFc8KVGEWPPGdeYx9Pj2wTaweKV0qZT69lmf/P5149Pc81SRhuc0hUX9K DnYBa1iSHaDjifMsNXKzj8Y8zVm+J6DZo/D10IUxMuExvbPa/8nsertWxoDSbWcF1cyvZp9X tUEukuPoTKO4Vzg7xVNj9pbK9GPxSYcafJUgDeKEIl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HKRmUUAuhE0LBXP8Wc+5W7b3WOf2SO8JMR 4TqDZ0K06s66S5fOTW0h56iCCxTsAnRvM/tA4SERyRoFs/iTqJzboskZY0yKeWV4/IQxfOyC YwdU3//zANM1ZpqeE/8lnW/kx+fyzVyEioLSwkjDvdG++4GQ5r6PHQ7BbdEWhA==
  • Cc: Igor Druzhinin <igor.druzhinin@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Robert VanVossen <robert.vanvossen@xxxxxxxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Josh Whitehead <josh.whitehead@xxxxxxxxxxxxxxx>, Meng Xu <mengxu@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 03 Oct 2019 09:47:39 +0000
  • Ironport-sdr: 0FX/wldK9XFpRvkVmjVViq0eApTA762rBTs84DijjCS6p8v9bo4zi7fRvpODKZBkHvuF1JIEXr WHUyt7SJKKMfxHTeFmIhSjxOqHHkONJ1V/sA8TM1eUlrVYkbSs80+KRA6Y2ZcOp1sEmc5n2sAr l6ZtF5btfzeiP+BT3Vmi1wDCM1tik1lupNn6GmuLREUetezWWDvzDch+YTsV8RwiAH/Tda9bqk gp+KoUcKq3qFlMrg6Y4YJ9BC3/MJyA/oJE+p7ouhDsewX3eSdUU9SglRler0QjCQhGBLseTXzV +v0=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Openpgp: preference=signencrypt

Hi Juergen,

Looks like we've hit the first Xen crash with core scheduling patches applied.
The log is below. From my analysis it seems that CSCHED_PCPU is NULL.
I suspect this is connected to commit b0000b128adb
("sched: populate cpupool0 only after all cpus are up")

Could you take a look, please?

(XEN) [  164.775206] Brought up 448 CPUs
(XEN) [  164.827979] Testing NMI watchdog on all CPUs: ok
(XEN) [  168.064678] ----[ Xen-4.13.0-8.0.12-d  x86_64  debug=y   Not tainted 
]----
(XEN) [  168.128822] CPU:    79
(XEN) [  168.191394] RIP:    e008:[<ffff82d0802467dc>] set_timer+0x39/0x1f7
(XEN) [  168.255921] RFLAGS: 0000000000010002   CONTEXT: hypervisor
(XEN) [  168.319752] rax: 0000000000000048   rbx: 0000000000000020   rcx: 
ffff82d0805b8008
(XEN) [  168.382563] rdx: ffff8462efce7fff   rsi: 0000002721c0ad80   rdi: 
0000000000000020
(XEN) [  168.445194] rbp: ffff8462efce7de0   rsp: ffff8462efce7da0   r8:  
0000000000008eea
(XEN) [  168.507630] r9:  0000000000000000   r10: 3333333333333333   r11: 
0000000000000008
(XEN) [  168.569849] r12: ffff82d080488f20   r13: 00000027216dad05   r14: 
000000272167bef6
(XEN) [  168.631879] r15: 0000000000000008   cr0: 000000008005003b   cr4: 
00000000003526e0
(XEN) [  168.693743] cr3: 00000000a5a9d000   cr2: 0000000000000048
(XEN) [  168.754868] fsb: 0000000000000000   gsb: 0000000000000000   gss: 
0000000000000000
(XEN) [  168.816304] ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 
e008
(XEN) [  168.877390] Xen code around <ffff82d0802467dc> (set_timer+0x39/0x1f7):
(XEN) [  168.938117]  48 8d 47 28 48 89 45 c0 <66> 44 8b 67 28 45 0f b7 e4 41 
81 fc ff ff 00 00
(XEN) [  169.015525] Xen stack trace from rsp=ffff8462efce7da0:
(XEN) [  169.075579]    0000000000000048 0000000000000286 ffff8382cd650f08 
000000000000004f
(XEN) [  169.139205]    ffff82d080488f20 00000027216dad05 000000272167bef6 
0000000000000008
(XEN) [  169.202660]    ffff8462efce7e00 ffff82d08022c1f4 000000000000004f 
ffff8382cd650e70
(XEN) [  169.265928]    ffff8462efce7e20 ffff82d080241dfe 000000272167bef6 
ffff8382cd650f08
(XEN) [  169.329022]    ffff8462efce7ea0 ffff82d0802eda52 ffff8462000000ff 
00000020802ae6a5
(XEN) [  169.392015]    ffff8462efce7e60 ffff82d0802ae7d1 ffff82d0805c0200 
0000000000000000
(XEN) [  169.455119]    0000000000000000 0000000000000000 0000000000002780 
0000000000002780
(XEN) [  169.518238]    ffff82d0805bda80 000000000000004f ffff82d0805b7270 
000000000000004f
(XEN) [  169.581477]    ffff8462efce7ef0 ffff82d08027939e 0000000000000000 
0000004f000000c8
(XEN) [  169.644501]    ffff8382cd64a000 ffff8382cd64a000 ffff8382cd50ab30 
000000000000004f
(XEN) [  169.707365]    0000000000000000 0000000000000000 ffff8462efce7ec0 
0000000000000000
(XEN) [  169.770036]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  169.832519]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  169.894813]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  169.956916]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  170.018831]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  170.080574]    0000000000000000 0000000000000000 0000000000000000 
0000000000000000
(XEN) [  170.142124]    0000e0100000004f ffff8382cd64a000 000000b24d08e000 
00000000003526e0
(XEN) [  170.203508]    0000000000000000 0000000000000000 0000060100000000 
0000000000000000
(XEN) [  170.264698] Xen call trace:
(XEN) [  170.321356]    [<ffff82d0802467dc>] set_timer+0x39/0x1f7
(XEN) [  170.378154]    [<ffff82d08022c1f4>] 
sched_credit.c#csched_tick_resume+0x54/0x59
(XEN) [  170.435049]    [<ffff82d080241dfe>] sched_tick_resume+0x67/0x86
(XEN) [  170.491383]    [<ffff82d0802eda52>] mwait-idle.c#mwait_idle+0x32b/0x357
(XEN) [  170.547579]    [<ffff82d08027939e>] domain.c#idle_loop+0xa6/0xc2
(XEN) [  170.603301]
(XEN) [  170.657509] Running stub recovery selftests...
(XEN) [  170.701789] Pagetable walk from 0000000000000048:
(XEN) [  170.755603] traps.c:1564: GPF (0000): ffff82d0bffff041 
[ffff82d0bffff041] -> ffff82d0803893f2
(XEN) [  170.800367]  L4[0x000] = 00000082cfb9c063 ffffffffffffffff
(XEN) [  170.854150] traps.c:759: Trap 12: ffff82d0bffff040 [ffff82d0bffff040] 
-> ffff82d0803893f2
(XEN) [  170.900493]  L3[0x000] = 00000082cfb9b063 ffffffffffffffff
(XEN) [  170.954060] traps.c:1098: Trap 3: ffff82d0bffff041 [ffff82d0bffff041] 
-> ffff82d0803893f2
(XEN) [  170.998631]  L2[0x000] = 00000082cfb9a063 ffffffffffffffff
(XEN) [  171.058140]  L1[0x000] = 0000000000000000 ffffffffffffffff
(XEN) [  171.130737]
(XEN) [  171.190190] ****************************************
(XEN) [  171.254241] Panic on CPU 79:
(XEN) [  171.315034] FATAL PAGE FAULT
(XEN) [  171.375744] [error_code=0000]
(XEN) [  171.436129] Faulting linear address: 0000000000000048
(XEN) [  171.499198] ****************************************

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

 


Rackspace

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