Kernel panic (with uipc_domain.c, rev 1.33)

From: D. Rock <>
Date: Tue, 02 Sep 2003 17:43:07 +0200

latest kernel causes a panic early during boot:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x68
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02667cf
stack pointer           = 0x10:0xc0641cf8
frame pointer           = 0x10:0xc0641d08
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
kernel: type 12 trap, code=0
Stopped at      _mtx_lock_sleep+0x18f:  movl    0x68(%ecx),%edx
db> where
_mtx_lock_sleep(c050fbe0,0,0,0) at _mtx_lock_sleep+0x18f
net_add_domain(c04bd500) at net_add_domain+0x34
ngs_mod_event(c09e8c80,0,c04bd300,0,c09e8c80) at ngs_mod_event+0x26
ng_mod_event(c09e8c80,0,c04bd300,c050c500,0) at ng_mod_event+0x52
module_register_init(c04bd33c,63ec00,63e000,0,c013d015) at module_register_init+
mi_startup() at mi_startup+0x96
begin() at begin+0x2c

backing out rev. 1.33 of kern/uipc_domain.c solved the problem
for me.
Additional side notice: netgraph is compiled statically into
the kernel, no separate module.
Received on Tue Sep 02 2003 - 06:43:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC