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

[Xen-devel] ThunderX support in Xen



Hi Manish,

I am testing Xen support in ThunderX, but I am having some issues
booting Dom0 using Xen staging and the Ubuntu Xenial kernel (it has
CONFIG_XEN enabled). The trace is appened to this email. I am using the
device tree converted from /proc/device-tree on the running system
without Xen.

Do I need to update Linux kernel? Do I need to use a specific DTB? If
so, could you please post the kernel config and dts? Any help would be
appreciated.

Thanks!

- Stefano


[    3.273098] Unable to handle kernel NULL pointer dereference at virtual 
address 00000080
[    3.281254] pgd = ffff00000946d000
[    3.284721] [00000080] *pgd=00000000bfffe003, *pud=00000000bfffd003, 
*pmd=0000000000000000
[    3.293059] Internal error: Oops: 96000004 [#1] SMP
[    3.298001] Modules linked in:
[    3.301127] CPU: 81 PID: 1 Comm: swapper/0 Not tainted 4.10.0-38-generic 
#42~16.04.1-Ubuntu
[    3.309564] Hardware name: cavium,thunder-88xx (DT)
[    3.314492] task: ffff80007c573a00 task.stack: ffff80007c578000
[    3.320485] PC is at arm_smmu_device_cfg_probe+0x300/0x770
[    3.326039] LR is at arm_smmu_device_cfg_probe+0x25c/0x770
[    3.331590] pc : [<ffff0000086989f8>] lr : [<ffff000008698954>] pstate: 
80400045
[    3.339053] sp : ffff80007c57b9d0
[    3.342439] x29: ffff80007c57b9d0 x28: 0000000000000000 
[    3.347820] x27: 0000000000000000 x26: ffff000009444000 
[    3.353201] x25: 0000000000000001 x24: 0000000000000000 
[    3.358582] x23: ffff00000936f000 x22: 0000ffffffffffff 
[    3.363963] x21: ffff8000791e2010 x20: 000000005800f555 
[    3.369344] x19: ffff8000791e1818 x18: ffff000009228b10 
[    3.374726] x17: 00000000145befc4 x16: 00000000deadbeef 
[    3.380107] x15: ffff000089381857 x14: 29796c6e6f20322d 
[    3.385488] x13: 6567617473203028 x12: 20736b6e61622074 
[    3.390869] x11: 7865746e6f632038 x10: 323109203a30756d 
[    3.396251] x9 : 6d732e3030303030 x8 : ffff00000865d450 
[    3.401632] x7 : ffff000008eda000 x6 : 00000000000001f9 
[    3.407013] x5 : ffff0000093838c8 x4 : 0000000000000000 
[    3.412394] x3 : ffff000009444ee8 x2 : 0000000000000000 
[    3.417775] x1 : 0000000000000002 x0 : 0000000000000000 
[    3.423156] 
[    3.424719] Process swapper/0 (pid: 1, stack limit = 0xffff80007c578000)
[    3.431490] Stack: (0xffff80007c57b9d0 to 0xffff80007c57c000)
[    3.437306] b9c0:                                   ffff80007c57ba20 
ffff00000869a230
[    3.445204] b9e0: ffff8000791e1818 0000000000000081 0000000000000081 
ffff8000791e2000
[    3.453102] ba00: ffff8000791e2010 ffff000009228000 ffff0000092d5000 
ffff8000791e2000
[    3.461001] ba20: ffff80007c57ba80 ffff0000086acea8 ffff0000092d5730 
ffff8000791e2010
[    3.468919] ba40: ffff0000092d5708 0000000000000000 0000000000000000 
0000000000000000
[    3.476797] ba60: ffff0000092d5000 ffff000009444000 0000830000000000 
0000000000040a11
[    3.484695] ba80: ffff80007c57bab0 ffff0000086aa6fc ffff8000791e2010 
ffff000009444000
[    3.492593] baa0: ffff0000092d5730 ffff000009444000 ffff80007c57baf0 
ffff0000086aaa6c
[    3.500511] bac0: 0000000000000001 ffff0000092d5730 ffff8000791e2010 
ffff80007c57bbc8
[    3.508390] bae0: 0000000000000000 ffff8000791e22e0 ffff80007c57bb20 
ffff0000086a8068
[    3.516288] bb00: 0000000000000000 ffff80007c57bbc8 ffff0000086aa9b8 
ffff000009228000
[    3.524186] bb20: ffff80007c57bb80 ffff0000086aa258 ffff8000791e2010 
ffff000009228000
[    3.532104] bb40: ffff8000791e2070 0000000000000000 0000000000000001 
ffff0000086aa240
[    3.539986] bb60: ffff8000791e2010 ffff80007abffac8 ffff80007917ad68 
0000000000040a11
[    3.547881] bb80: ffff80007c57bbe0 ffff0000086aab94 ffff8000791e2010 
ffff8000791e2010
[    3.555779] bba0: ffff0000092d64c0 0000000000000000 ffff000009228000 
ffff8000791e2010
[    3.563697] bbc0: ffff0000092d61c0 ffff8000791e2010 0000000000000001 
0000000000040a11
[    3.571576] bbe0: ffff80007c57bc00 ffff0000086a9490 ffff8000791e2020 
0000000000000000
[    3.579474] bc00: ffff80007c57bc30 ffff0000086a699c ffff8000791e2020 
ffff8000791e2010
[    3.587372] bc20: ffff0000092d61c0 ffff0000086a6994 ffff80007c57bcb0 
ffff00000889ac48
[    3.595290] bc40: ffff8000791e2000 ffff8000791e2010 0000000000000000 
ffff80007ffd7e50
[    3.603169] bc60: 0000000000000000 ffff000008e69a78 ffff000008e004b8 
ffff000008dea7f0
[    3.611067] bc80: ffff000008e69a48 ffff000008ed8200 0000000000000000 
ffff8000791e2010
[    3.618965] bca0: 0000000000000000 0000000000040a11 ffff80007c57bcd0 
ffff00000889b6b4
[    3.626883] bcc0: ffff8000791e2000 ffff8000791e2010 ffff80007c57bd10 
ffff00000889b748
[    3.634761] bce0: ffff80007ffd7db8 0000000000000000 0000000000000000 
ffff000008d1d140
[    3.642660] bd00: ffff000009362000 ffff000008e4e200 ffff80007c57bd40 
ffff000008e4e270
[    3.650558] bd20: ffff80007ffd7db8 ffff000008ed4e00 ffff80007ffd7db8 
ffff000008d1d140
[    3.658476] bd40: ffff80007c57bd60 ffff000008e4e17c ffff000009228000 
ffff0000092fa000
[    3.666354] bd60: ffff80007c57bda0 ffff000008083b5c ffff000009228000 
ffff80007c573a00
[    3.674253] bd80: ffff000008e4e11c 0000000000000000 ffff000008ed4e00 
0000000000040a11
[    3.682151] bda0: ffff80007c57be30 ffff000008e00ddc 0000000000000100 
ffff000009228000
[    3.690069] bdc0: ffff000009362000 0000000000000002 ffff000009362000 
ffff000008e69a78
[    3.697947] bde0: ffff000008e004b8 ffff000008dea700 ffff000008e69a48 
ffff000008ed8110
[    3.705846] be00: ffff00000924ae10 ffff000008c9c7b8 0000000000000000 
0000000200000002
[    3.713744] be20: 0000000000000000 0000000000040a11 ffff80007c57bea0 
ffff000008a16350
[    3.721663] be40: ffff000008a16338 0000000000000000 0000000000000000 
0000000000000000
[    3.729540] be60: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.737438] be80: 0000000000000000 0000000000000000 0000000000000000 
0000000000040a11
[    3.745337] bea0: 0000000000000000 ffff0000080838a0 ffff000008a16338 
0000000000000000
[    3.753255] bec0: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.761133] bee0: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.769031] bf00: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.776930] bf20: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.784848] bf40: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.792726] bf60: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.800624] bf80: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.808522] bfa0: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.816441] bfc0: 0000000000000000 0000000000000005 0000000000000000 
0000000000000000
[    3.824319] bfe0: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[    3.832216] Call trace:
[    3.834734] Exception stack(0xffff80007c57b7e0 to 0xffff80007c57b910)
[    3.841244] b7e0: ffff8000791e1818 0001000000000000 0000000041361000 
ffff0000086989f8
[    3.849142] b800: 0000000080400045 ff0030756d6d732e 0000000000000006 
ffff00000813bc7c
[    3.857040] b820: ffff80007c57b840 ffff00000813bdac ffff80007c083100 
ffff80007ffdf048
[    3.864939] b840: ffff80007c57b890 ffff00000813bf7c ffff000009228000 
0000000000040a11
[    3.872837] b860: ffff80007c57b910 ffff0000086a4be0 ffff8000791e2010 
ffff000008cc69e0
[    3.880735] b880: ffff80007c57b968 0000000000040a11 ffff80007c57b910 
0000000000040a11
[    3.888633] b8a0: 0000000000000000 0000000000000002 0000000000000000 
ffff000009444ee8
[    3.896531] b8c0: 0000000000000000 ffff0000093838c8 00000000000001f9 
ffff000008eda000
[    3.904433] b8e0: ffff00000865d450 6d732e3030303030 323109203a30756d 
7865746e6f632038
[    3.912327] b900: 20736b6e61622074 6567617473203028
[    3.917276] [<ffff0000086989f8>] arm_smmu_device_cfg_probe+0x300/0x770
[    3.923872] [<ffff00000869a230>] arm_smmu_device_probe+0x2b8/0x748
[    3.930122] [<ffff0000086acea8>] platform_drv_probe+0x58/0xc0
[    3.935936] [<ffff0000086aa6fc>] driver_probe_device+0x2c4/0x458
[    3.942031] [<ffff0000086aaa6c>] __device_attach_driver+0xb4/0x160
[    3.948262] [<ffff0000086a8068>] bus_for_each_drv+0x80/0xe0
[    3.953902] [<ffff0000086aa258>] __device_attach+0xe8/0x170
[    3.959543] [<ffff0000086aab94>] device_initial_probe+0x24/0x30
[    3.965532] [<ffff0000086a9490>] bus_probe_device+0xa0/0xa8
[    3.971174] [<ffff0000086a699c>] device_add+0x384/0x608
[    3.976472] [<ffff00000889ac48>] of_device_add+0x48/0x68
[    3.981850] [<ffff00000889b6b4>] of_platform_device_create_pdata+0x9c/0xf8
[    3.988793] [<ffff00000889b748>] of_platform_device_create+0x38/0x48
[    3.995238] [<ffff000008e4e270>] arm_smmu_of_init+0x2c/0x44
[    4.000857] [<ffff000008e4e17c>] of_iommu_init+0x60/0xb4
[    4.006260] [<ffff000008083b5c>] do_one_initcall+0x5c/0x168
[    4.011882] [<ffff000008e00ddc>] kernel_init_freeable+0x1ac/0x264
[    4.018046] [<ffff000008a16350>] kernel_init+0x18/0x110
[    4.023337] [<ffff0000080838a0>] ret_from_fork+0x10/0x30
[    4.028723] Code: 37081f00 b4001e75 f94136a0 b4001e20 (f9404002) 
[    4.034926] ---[ end trace d540c550e88567e8 ]---

_______________________________________________
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®.