Bug 256683 - Fatal trap 12: page fault while in kernel mode on AWS C5
Summary: Fatal trap 12: page fault while in kernel mode on AWS C5
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
Keywords: panic
Depends on:
Reported: 2021-06-18 05:19 UTC by shamsher
Modified: 2021-06-23 17:15 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description shamsher 2021-06-18 05:19:46 UTC
I am seeing below crash in 11.2 FreeBSD kernel. The same was working fine earlier. It's getting continuous reboot.

Fatal trap 12: page fault while in kernel mode

cpuid = 1; apic id = 01

fault virtual address	= 0x0

fault code		= supervisor read data, page not present

instruction pointer	= 0x20:0xffffffff809238f0

stack pointer	        = 0x28:0xffffffff812c4330

frame pointer	        = 0x28:0xffffffff812c4350

code segment		= base rx0, limit 0xfffff, type 0x1b

			= DPL 0, pres 1, long 1, def32 0, gran 1

processor eflags	= interrupt enabled, resume, IOPL = 0

current process		= 0 (swapper)

trap number		= 12

panic: page fault

cpuid = 1

panic: page fault

KDB: stack backtrace:

db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff812c3ff0

vpanic() at vpanic+0x272/frame 0xffffffff812c4060

panic() at panic+0x43/frame 0xffffffff812c40c0

trap_fatal() at trap_fatal+0x35f/frame 0xffffffff812c4110

trap_pfault() at trap_pfault+0x49/frame 0xffffffff812c4150

trap() at trap+0x278/frame 0xffffffff812c4260

calltrap() at calltrap+0x8/frame 0xffffffff812c4260

--- trap 0xc, rip = 0xffffffff809238f0, rsp = 0xffffffff812c4330, rbp = 0xffffffff812c4350 ---

t17proc() at t17proc+0x100/frame 0xffffffff812c4350

dump_table() at dump_table+0x42/frame 0xffffffff812c4390

ip_load() at ip_load+0xa4/frame 0xffffffff812c43d0

mi_startup() at mi_startup+0x118/frame 0xffffffff812c43f0

btext() at btext+0x2c

Automatic reboot in 15 seconds - press a key on the console to abort


Thanks & regards
Comment 1 Ed Maste freebsd_committer 2021-06-19 14:58:49 UTC
Can you describe the system and software you are running here? The symbol found in the stack trace "t17proc" does not exist in the FreeBSD source tree.
Comment 2 shamsher 2021-06-19 18:02:49 UTC
ohk. It was running in C5 aws instance. Some of the C5 instance was running fine. But all of sudden started crashing on reboot. Since then all new C5 instance started crashing.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2021-06-19 18:23:21 UTC
^Triage: fill out Summary and assign.
Comment 4 Ed Maste freebsd_committer 2021-06-22 00:21:12 UTC
But I mean t17proc does not exist in FreeBSD, so this appears to be some derivative or modified OS?
Comment 5 Ed Maste freebsd_committer 2021-06-22 00:21:49 UTC
Please attach a verbose boot log to this PR.