Date: Sat, 08 Dec 2018 22:13:04 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233819] 12-BETA PAE kernel does not boot Message-ID: <bug-233819-227-5KI8dCo2XI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-233819-227@https.bugs.freebsd.org/bugzilla/> References: <bug-233819-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233819 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: kib Date: Sat Dec 8 22:12:58 UTC 2018 New revision: 341746 URL: https://svnweb.freebsd.org/changeset/base/341746 Log: Fix PAE boot. With the introduction of M_EXEC support for kmem_malloc(), some kernel mappings start having NX bit set in the paging structures early, for PAE kernels on machines with NX support, i.e. practically on all machines. In particular, AP trampoline and initialization needs to access pages which translations has NX bit set, before initializecpu() is called. Check for CPUID NX feature and enable EFER.NXE before we enable paging in mp boot trampoline. This allows the CPU to use the kernel page table instead of generating page fault due to reserved bit set. PR: 233819 Sponsored by: The FreeBSD Foundation MFC after: 1 week Changes: head/sys/i386/i386/mpboot.s --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233819-227-5KI8dCo2XI>