Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic on EC2 #36

unrelentingtech opened this issue May 12, 2017 · 0 comments

Kernel panic on EC2 #36

unrelentingtech opened this issue May 12, 2017 · 0 comments


Copy link

@unrelentingtech unrelentingtech commented May 12, 2017

Created a VM on Amazon EC2: HardenedBSD-11-STABLE-v46.14 (ami-879ac2e1).
Updated to the latest version with hbsd-update:

FreeBSD 11.0-STABLE-HBSD #0 : Sun May  7 01:14:22 UTC 2017
    root@updater-01:/usr/obj/usr/src/sys/HARDENEDBSD amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
XEN: Hypervisor version 4.2 detected.
HBSD: initialize and check HardenedBSD features (version 46).

Installed secadm and secadm-kmod packages.

kldload secadm succeeds, but starting any process after that (even just running ls) results in a panic:

login: Security policy loaded: HardenedBSD SECADM Module (secadm)

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x30
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff8221eb32
stack pointer	        = 0x28:0xfffffe004f85e3b0
frame pointer	        = 0x28:0xfffffe004f85e720
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 81659 (kldstat)
trap number		= 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80a78337 at kdb_backtrace+0x67
#1 0xffffffff80a389d6 at vpanic+0x186
#2 0xffffffff80a38a53 at panic+0x43
#3 0xffffffff80e9cd82 at trap_fatal+0x322
#4 0xffffffff80e9cdd9 at trap_pfault+0x49
#5 0xffffffff80e9c58e at trap+0x29e
#6 0xffffffff80e7f061 at calltrap+0x8
#7 0xffffffff80a45510 at sysctl_root_handler_locked+0x90
#8 0xffffffff80a44d54 at sysctl_root+0x1c4
#9 0xffffffff80a452b8 at userland_sysctl+0x148
#10 0xffffffff80a4512f at sys___sysctl+0x5f
#11 0xffffffff80e9d7aa at amd64_syscall+0x55a
#12 0xffffffff80e7f34b at Xfast_syscall+0xfb
Uptime: 4m13s
Automatic reboot in 15 seconds - press a key on the console to abort

Building the kernel module from source instead of pkg installing didn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant