PaX Team wrote:cormander wrote:Output simply ends when it should show booting. This produces in the following in "xm dmesg":
thanks, it seems that the per-cpu segment register is incorrectly set up, i'll take a look.
any news on 32bit support for 2.6.32?
I just tried 2.6.32.9 with grsecurity-2.1.14-2.6.32.9-201003071225.patch
I see the following in "xm dmesg", the domU crashed almost instantly:
- Code: Select all
(XEN) traps.c:405:d11 Unhandled general protection fault fault/trap [#13] in domain 11 on VCPU 0 [ec=0000]
(XEN) domain_crash_sync called from entry.S
(XEN) Domain 11 (vcpu#0) crashed on cpu#15:
(XEN) ----[ Xen-3.1.2-164.11.1.el5 x86_64 debug=n Not tainted ]----
(XEN) CPU: 15
(XEN) RIP: e019:[<00000000c1006643>]
(XEN) RFLAGS: 0000000000000292 CONTEXT: guest
(XEN) rax: 000000000000000c rbx: 00000000c1c03000 rcx: 00000000c16a0020
(XEN) rdx: 00000000c1626000 rsi: 00000000c1c00000 rdi: 00000000c1576160
(XEN) rbp: 00000000c15adfd4 rsp: 00000000c15adfc4 r8: 0000000000000000
(XEN) r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
(XEN) r12: 0000000000000000 r13: 0000000000000000 r14: 0000000000000000
(XEN) r15: 0000000000000000 cr0: 000000008005003b cr4: 00000000000026b0
(XEN) cr3: 00000006128c1000 cr2: 0000000000000000
(XEN) ds: e021 es: e021 fs: 00d8 gs: 0000 ss: e021 cs: e019
(XEN) Guest stack trace from esp=c15adfc4:
(XEN) 00000000 c1006643 0001e019 00010092 c15adffc c1006596 c16a0020 c16305d2
(XEN) 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c1a00000
(XEN) c1a01000 c1a02000 c1a03000 c1a04000 c1a05000 c1a06000 c1a07000 c1a08000
(XEN) c1a09000 c1a0a000 c1a0b000 c1a0c000 c1a0d000 c1a0e000 c1a0f000 c1a10000
(XEN) c1a11000 c1a12000 c1a13000 c1a14000 c1a15000 c1a16000 c1a17000 c1a18000
(XEN) c1a19000 c1a1a000 c1a1b000 c1a1c000 c1a1d000 c1a1e000 c1a1f000 c1a20000
(XEN) c1a21000 c1a22000 c1a23000 c1a24000 c1a25000 c1a26000 c1a27000 c1a28000
(XEN) c1a29000 c1a2a000 c1a2b000 c1a2c000 c1a2d000 c1a2e000 c1a2f000 c1a30000
(XEN) c1a31000 c1a32000 c1a33000 c1a34000 c1a35000 c1a36000 c1a37000 c1a38000
(XEN) c1a39000 c1a3a000 c1a3b000 c1a3c000 c1a3d000 c1a3e000 c1a3f000 c1a40000
(XEN) c1a41000 c1a42000 c1a43000 c1a44000 c1a45000 c1a46000 c1a47000 c1a48000
(XEN) c1a49000 c1a4a000 c1a4b000 c1a4c000 c1a4d000 c1a4e000 c1a4f000 c1a50000
(XEN) c1a51000 c1a52000 c1a53000 c1a54000 c1a55000 c1a56000 c1a57000 c1a58000
(XEN) c1a59000 c1a5a000 c1a5b000 c1a5c000 c1a5d000 c1a5e000 c1a5f000 c1a60000
(XEN) c1a61000 c1a62000 c1a63000 c1a64000 c1a65000 c1a66000 c1a67000 c1a68000
(XEN) c1a69000 c1a6a000 c1a6b000 c1a6c000 c1a6d000 c1a6e000 c1a6f000 c1a70000
(XEN) c1a71000 c1a72000 c1a73000 c1a74000 c1a75000 c1a76000 c1a77000 c1a78000
(XEN) c1a79000 c1a7a000 c1a7b000 c1a7c000 c1a7d000 c1a7e000 c1a7f000 c1a80000
(XEN) c1a81000 c1a82000 c1a83000 c1a84000 c1a85000 c1a86000 c1a87000 c1a88000
(XEN) c1a89000 c1a8a000 c1a8b000 c1a8c000 c1a8d000 c1a8e000 c1a8f000 c1a90000
I disabled nearly everything pax related but that didn't help:
- Code: Select all
# grep -i pax .config
# PaX
# CONFIG_PAX is not set
CONFIG_PAX_MEMORY_SANITIZE=y
# CONFIG_PAX_REFCOUNT is not set
CONFIG_PAX_USERCOPY=y
Would be great if you could have a look. I'm happy to test patches or supply my vmlinux/.config if neccessary.
-Sebastian