Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling profiling makes the kernel panic



On Mon, 12 Jun 2023, Emile `iMil' Heitor wrote:

[   1.0000030] uvm_fault(0xc02db700, 0, 2) -> 0xe
[   1.0000030] fatal page fault in supervisor mode
[ 1.0000030] trap type 6 code 0x2 eip 0xc023345a cs 0x8 eflags 0x10217 cr2 0 ilevel 0x6 esp 0xc0231f28
[   1.0000030] curlwp 0xc02a1000 pid 0 lid 1 lowest kstack 0xc02e52c0
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at  c023345a:       movw    %cx,0(%eax)
db{0}>

More info

0012| 0xc02f8de8 --> 0xc0275ceb ("x86_hotpatch_apply failed")
0016| 0xc02f8dec --> 0xc02f8e00 --> 0xc02f8e1c --> 0xc02f8e2c --> 0xc02f8e38 --> 0xc02f8e58 (--> ...)
0020| 0xc02f8df0 --> 0xc01cb2fe --> 0x56e58955 0024| 0xc02f8df4 --> 0x104 0028| 0xc02f8df8 --> 0x0 [------------------------------------------------------------------------------]
Legend: code, data, rodata, value
Stopped reason: SIGTRAP
0xc0124114 in x86_hlt ()
gdb-peda$ where
#0  0xc0124114 in x86_hlt ()
#1  0xc0126335 in cpu_reboot ()
#2  0xc01cb2fe in kern_reboot ()
#3  0xc01eecd5 in vpanic ()
#4  0xc01eece9 in panic ()
#5  0xc0140b23 in x86_hotpatch_cleanup ()
#6  0xc0123f02 in x86_hotpatch ()
#7  0xffffffff in ?? ()
#8  0x00000002 in ?? ()
#9  0xc0140b85 in x86_patch ()
#10 0xc013dcda in cpu_probe ()
#11 0xc0126900 in init386 ()
#12 0xc0100595 in start ()

------------------------------------------------------------------------
Emile `iMil' Heitor <imil@{home.imil.net,NetBSD.org}> | https://imil.net



Home | Main Index | Thread Index | Old Index