From owner-freebsd-current@FreeBSD.ORG Tue Sep 2 12:07:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0B4A16A4BF for ; Tue, 2 Sep 2003 12:07:49 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 326AF43FAF for ; Tue, 2 Sep 2003 12:07:49 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h82J7k17047204 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 2 Sep 2003 12:07:48 -0700 (PDT) (envelope-from sam@errno.com) Date: Tue, 02 Sep 2003 12:07:46 -0700 From: Sam Leffler To: "D. Rock" , current@freebsd.org Message-ID: <757646928.1062504466@melange.errno.com> In-Reply-To: <3F54BA8B.9030101@t-online.de> References: <3F54BA8B.9030101@t-online.de> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Kernel panic (with uipc_domain.c, rev 1.33) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 19:07:49 -0000 > 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+ 0x4b > mi_startup() at mi_startup+0x96 > begin() at begin+0x2c > db> > > 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. Thanks, will fix it. Sam