TrenchBoot / xen

Other
0 stars 0 forks source link

Aem 4.17.4 fix early page fault #15

Closed miczyg1 closed 5 months ago

miczyg1 commented 5 months ago

Fixes the early page fault in Xen when booting with slaunch.

miczyg1 commented 5 months ago
(XEN) Early fatal page fault at e008:ffff82d0403da8c0 (cr2=ffff830099f100d0, ec=0000)
(XEN) ----[ Xen-4.17.4  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82d0403da8c0>] map_slaunch_mem_regions+0x40/0xd0
(XEN) RFLAGS: 0000000000010006   CONTEXT: hypervisor
(XEN) rax: 0000000099f100c0   rbx: ffff82d040420960   rcx: ffff830099f100c0
(XEN) rdx: ffff830000000000   rsi: 0000000000000000   rdi: ffff830098e4afb0
(XEN) rbp: ffff82d04037e53a   rsp: ffff82d0403efdc8   r8:  0000000000000000
(XEN) r9:  0000000000004000   r10: 0000000000000001   r11: ffff82d040387333
(XEN) r12: ffff830000000000   r13: ffffffffffffffff   r14: ffff82d0403be4a0
(XEN) r15: ffff83000009deb0   cr0: 0000000080050033   cr4: 00000000000000a0
(XEN) cr3: 0000000098e4f000   cr2: ffff830099f100d0
(XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: e008
(XEN) Xen code around <ffff82d0403da8c0> (map_slaunch_mem_regions+0x40/0xd0):
(XEN)  00 83 ff ff 48 8d 0c 10 <0f> b7 51 10 48 8d 41 10 0f 1f 84 00 00 00 00 00
(XEN) Xen stack trace from rsp=ffff82d0403efdc8:
(XEN)    ffff82d0403d965b ffff83000009dfb0 ffffffffffffffff 98defe5c00000000
(XEN)    0000000000000000 0000000000000000 000000000009df80 9941148e00000000
(XEN)    ffff82d0403efef8 0000000000000000 0020000b00000001 0000000099411490
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000002 0000000000000000 0000000100000000 0000000800000000
(XEN)    000000010000006e 0000000000000003 00000000000002f8 2d00000000000000
(XEN)    0009df5598dbcfae 98dbcfa998dbcff9 98dbcb2d00000067 0000000498dbd008
(XEN)    98dbd00801800000 98dbe7aa0009dec0 98dbccce00000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 ffff82d0402757cb 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000e01000000000
(XEN)    0000000000000000 0000000000000000 00000000000000a0 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000
(XEN) Xen call trace:
(XEN)    [<ffff82d0403da8c0>] R map_slaunch_mem_regions+0x40/0xd0
(XEN)    [<ffff82d0403d965b>] S __start_xen+0x177b/0x26f5
(XEN)    [<ffff82d0402757cb>] S __high_start+0xdb/0xe0
(XEN) 
(XEN) Pagetable walk from ffff830099f100d0:
(XEN)  L4[0x106] = 0000000098e4d063 ffffffffffffffff
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) FATAL TRAP: vec 14, #PF[0000] IN INTERRUPT CONTEXT
(XEN) ****************************************
miczyg1 commented 5 months ago

@krystian-hebel ping