Re: panic in NFS/UDP code path

From: Maxime Henrion <mux_at_FreeBSD.org>
Date: Wed, 27 Jul 2005 01:44:29 +0200
Jeremie Le Hen wrote:
> Hi all,
> 
> while doing a cvs diff with the repository living on an NFS mounted
> volume, here is the panic I caught :
> %%%
>     panic: mutex Giant not owned at ../../../netinet/ip_output.c:151
>     KDB: stack backtrace:
>     kdb_backtrace()
>     panic()
>     _mtx_assert(c07a0a40,1,c07476c1,97,e5036b6c) at _mtx_assert+0x7c
>     ip_output(c2639200,0,e5036b70,0,0) at ip_output+0xcb
>     udp_output(c25f15a0,c2639200,0,0,c2307c80) at udp_output+0x550
>     udp_send(c2a8e42c,0,c268a300,0,0) at udp_send+0x30
>     nfs_timer(0,0,c073d3fc,125,c0777100) at nfs_timer+0x2b2
>     softclock(0,0,c0739ca4,251,e5036d00) at softclock+0x29b
>     ithread_loop()
>     fork_exit()
>     fork_trampoline()
> %%%
> 
> I have a kernel dump, but it's very heavy (1 GB), so tell me what
> commands you want me to issue in kgdb.
> 
> The source are dated from the 2005.07.24... (I can't check the exact
> date now, it's dumping ;p).

You are running with debug.mpsafenet=0 ?

This looks like a fallout from an earlier change to make nfs_timer()
MPSAFE.  I believe something like the atatched patch is needed, but ps_at_
would know best about this one.

Cheers,
Maxime

Received on Tue Jul 26 2005 - 21:44:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC