Date: Thu, 19 Jun 2003 18:33:39 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: John-Mark Gurney <gurney_j@efn.org> Cc: freebsd-current@FreeBSD.org Subject: Re: locking problems in IPv6 code Message-ID: <Pine.NEB.3.96L.1030619183308.15562G-100000@fledge.watson.org> In-Reply-To: <20030619221703.GD64061@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Could you run with debug.witness_ddb and get a stack trace for the warning? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Thu, 19 Jun 2003, John-Mark Gurney wrote: > I am running FreeBSD 5.1-R on a sparc64 machine, and am getting warnings > about mallocing data w/ a lock aquired. > > dmesg output: > malloc() of "64" with the following non-sleepablelocks held: > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 > malloc() of "64" with the following non-sleepablelocks held: > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 > malloc() of "32" with the following non-sleepablelocks held: > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 > malloc() of "64" with the following non-sleepablelocks held: > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 > malloc() of "64" with the following non-sleepablelocks held: > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 > > If I disable IPv6 in /etc/rc.conf, the above warnings don't appear. > I tried to follow the code path in IPv6's source, but it's soooo long > that I couldn't find where it might be allocating memory. > > Anyone have any ideas? > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030619183308.15562G-100000>