From owner-freebsd-current Tue Feb 6 11: 4:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 7752A37B65D for ; Tue, 6 Feb 2001 11:04:04 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f16J1W325323; Tue, 6 Feb 2001 11:01:32 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A80202F.6DAA1328@acm.org> Date: Tue, 06 Feb 2001 11:02:34 -0800 (PST) From: John Baldwin To: Jim Bloom Subject: Re: Kernel Panic from Yesterday's CVSup Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Feb-01 Jim Bloom wrote: > The line where I was having the trap is still within cpu_switch (line > 236 of swtch.s). > > I added WITNESS and INVARIANTS to my kernel and I get a new panic. > This time I see: > > kernel trap 12 with interrupts disabled > panic: mutex sched lock recursed at ../../kern/kern_synch.c:918 > > panic() > _mtx_assert(c031b6c0,9,c0290990,396,c043b100) at _mtx_assert+0x63 > mi_switch(c031b6c0,0,c,c24bef08,c02681cd) at mi_switch+0x25 > sched_ithd(e) at sched_ithd+0xd9 > Xresume14() at Xresume14+0x8 > --- interrupt, eip = 0xc02b0008, esp - 0xc2fbeee4, epb = 0xc2feed4 --- > __set_sysinit_set_sym_sc_mem_sys_init(c0275020,c02b0008,286,c031b7230,0) > at __set_sysinit_set_sym_sc_mem_sys_init+0x644 > > Jim Bloom > bloom@acm.org Hmmmmm, can you show the registers? I wonder if we are somehow running a process that isn't fully created yet. Hmm, that shouldn't be a problem looking at fork1().. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message