Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2001 09:57:10 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrea Campi <andrea@webcom.it>
Cc:        current@FreeBSD.org
Subject:   RE: Panic mounting msdos fs
Message-ID:  <XFMail.010308095710.jhb@FreeBSD.org>
In-Reply-To: <20010308132714.A569@webcom.it>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010308095710.jhb>