Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2001 17:14:58 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        alfred@FreeBSD.org, Freebsd-alpha@FreeBSD.org
Subject:   Re: -current kernel still considered dangerous
Message-ID:  <XFMail.010605171458.jhb@FreeBSD.org>
In-Reply-To: <20010605170234.B95616@dragon.nuxi.com>

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

On 06-Jun-01 David O'Brien wrote:
> On Tue, Jun 05, 2001 at 09:12:54AM -0700, John Baldwin wrote:
>> >     Mon Jun  4 18:35:43 PDT 2001
>> >     panic: mutex vm not owned at ../../vm/vm_map.c:692
>> 
>> Oooo.  Got a backtrace?  This kind is easy to fix with a backtrace.
>> Just a trace from ddb is fine, no crashdump needed.
> 
> 
> This GDB was configured as "alpha-unknown-freebsd"...
> panic: mutex vm not owned at ../../vm/vm_map.c:692
>#0  0xfffffc00003d5100 in dumpsys () at ../../kern/kern_shutdown.c:477
> 477             savectx(&dumppcb);
> (kgdb) where
>#0  0xfffffc00003d5100 in dumpsys () at ../../kern/kern_shutdown.c:477
>#1  0xfffffc00003d4c68 in boot (howto=6247879)
>     at ../../kern/kern_shutdown.c:321
>#2  0xfffffc00003d5510 in panic (
>     fmt=0xfffffc00005f55c7 "mutex %s not owned at %s:%d")
>     at ../../kern/kern_shutdown.c:600
>#3  0xfffffc00003c9804 in _mtx_assert (m=0x0, what=0, file=0x0, line=0)
>     at ../../kern/kern_mutex.c:567
>#4  0xfffffc0000570af0 in vm_map_find (map=0xfffffe001b857b20, object=0x0, 
>     offset=-2198487487072, addr=0xfffffe001ff19b88, length=98304, 
>     find_space=0, prot=7 '\a', max=128 '\200', cow=0) at
> ../../vm/vm_map.c:692
> warning: Hit heuristic-fence-post without finding
> warning: enclosing function for address 0xfffffe00013a6174
> This warning occurs if you are debugging a function without any symbols
> (for example, in a stripped executable).  In that case, you may wish to
> increase the size of the search with the `set heuristic-fence-post' command.

Hrmm.  Is this a debug kernel?  Even if not, can you do a nm kernel | sort and
then look through and find the function that 0xfffffe00013a6174 is inside of?
I need to know what function called vm_map_find w/o holding the lock basically.

-- 

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-alpha" in the body of the message




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