From owner-freebsd-current Thu Mar 8 10: 0:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id D02FB37B718 for ; Thu, 8 Mar 2001 10:00:08 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f28Hwk103678; Thu, 8 Mar 2001 09:58:51 -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: <20010308132714.A569@webcom.it> Date: Thu, 08 Mar 2001 09:57:10 -0800 (PST) From: John Baldwin To: Andrea Campi Subject: RE: Panic mounting msdos fs Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-Mar-01 Andrea Campi wrote: > Yesterday -current: > ># mount /msdos > > Acquring duplicate lock of same type: "lockmgr interlock" > 1st @ ../../kern/kern_lock.c:239 > 2nd @ ../../kern/kern_lock.c:239 > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc015c3f5 > stack pointer = 0x10:0xc7821ce4 > frame pointer = 0x10:0xc7821cf0 > 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 = 489 (mount_msdos) > kernel: type 12 trap, code=0 > Stopped at witness_exit+0x23d: movl %eax,0(%edx) > db> (kgdb) l *(witness_exit+0x23d) 0xc0200e41 is in witness_exit (../../kern/kern_mutex.c:1303). 1300 if ((flags & MTX_NOSWITCH) == 0 && !mtx_legal2block() && !cold) 1301 panic("switchable mtx_unlock() of %s when not legal @ %s:%d", 1302 m->mtx_description, file, line); 1303 LIST_REMOVE(m, mtx_held); 1304 m->mtx_held.le_prev = NULL; 1305 } Hmmmm. It dereferenced NULL in the LIST_REMOVE(). Did you get a dump by any chance? -- 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