Re: Linux process causes kernel panic

From: Oliver Pinter <oliver.pinter_at_hardenedbsd.org>
Date: Fri, 3 Aug 2018 22:39:17 +0200
On 8/3/18, Johannes Lundberg <johalun0_at_gmail.com> wrote:
> On Fri, Aug 3, 2018 at 9:34 PM Oliver Pinter
> <oliver.pinter_at_hardenedbsd.org>
> wrote:
>
>> Hi!
>>
>> On 8/3/18, Johannes Lundberg <johalun0_at_gmail.com> wrote:
>> > Hi
>> >
>> > After install new kernel+world built from today's checkout I keep
>> > getting
>> > the same crash over and over. Never had this problem before. The
>> > previous
>> > kernel was from 3 weeks ago.
>> >
>> > Looks familiar to anyone?
>>
>> Have you an Intel Broadwell or newer Intel CPU or an AMD CPU with SMAP
>> support?
>>
>
> This is Intel Broadwell, Core i5.

The smapification of amd64/linux/linux_support.s is missing from the SMAP patch.
CC kib_at_.

>
>
>> >
>> > Fatal trap 12: page fault while in kernel mode
>> > cpuid = 0; apic id = 00
>> > fault virtual address    = 0xfffe665c
>> > fault code        = supervisor write data, protection violation
>> > instruction pointer    = 0x20:0xffffffff82282db3
>> > stack pointer            = 0x0:0xfffffe004c74c8c8
>> > frame pointer            = 0x0:0xfffffe004c74c980
>> > 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        = 1579 (wcgrid_zika_vina_7.)
>> > trap number        = 12
>> > panic: page fault
>> > cpuid = 0
>> > time = 1533327428
>> > KDB: stack backtrace:
>> > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
>> > 0xfffffe004c74c580
>> > vpanic() at vpanic+0x1a3/frame 0xfffffe004c74c5e0
>> > panic() at panic+0x43/frame 0xfffffe004c74c640
>> > trap_fatal() at trap_fatal+0x35f/frame 0xfffffe004c74c690
>> > trap_pfault() at trap_pfault+0x62/frame 0xfffffe004c74c6e0
>> > trap() at trap+0x2ba/frame 0xfffffe004c74c7f0
>> > calltrap() at calltrap+0x8/frame 0xfffffe004c74c7f0
>> > --- trap 0xc, rip = 0xffffffff82282db3, rsp = 0xfffffe004c74c8c8, rbp =
>> > 0xfffffe004c74c980 ---
>> > futex_xchgl() at futex_xchgl+0x23/frame 0xfffffe004c74c980
>> > ia32_syscall() at ia32_syscall+0x29f/frame 0xfffffe004c74cab0
>> > int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0x4000001
>> > Uptime: 7m29s
>> > Dumping 411 out of 8056
>> > MB:..4%..12%..24%..32%..43%..51%..63%..74%..82%..94%
>> > Dump complete
>> > _______________________________________________
>> > freebsd-current_at_freebsd.org mailing list
>> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > To unsubscribe, send any mail to "
>> freebsd-current-unsubscribe_at_freebsd.org"
>> >
>>
>
Received on Fri Aug 03 2018 - 18:39:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC