Re: panic: sorele

From: Vlad <marchenko_at_gmail.com>
Date: Wed, 29 Sep 2004 08:02:40 -0400
> If you compile a kernel with NET_WITH_GIANT but keep SMP, does the problem
> persist?
> 

I'll give it a try.

> Are you using Netgraph or any other non-default kernel compile options
> relating to the network stack?  Do you make moderate or extensive use of
> IPv6?

no

> This is a somewhat odd assertion failure: sodealloc() asserts that
> so_count is 0, but so does sofree(), and sofree() is only called by
> sotryfree() in in_pcbdetach() if so_count is 0.  This suggests that either
> (a) we're looking at a race in which so_count is bumped in that window, or
> (b) there's a problem with the compile of the kernel where the invariants
> checks may be compiled into some objects but not others.  In theory,
> locking should prevent (a), so if it is (a) there's a bug in the locking.
> I'll start reviewing use of so_count and work my way through the rest of
> this thread.  Knowing if compiling with NET_WITH_GIANT helps would be
> useful, if possible.

I'll keep list posted.

-- 
Vlad
Received on Wed Sep 29 2004 - 10:02:50 UTC

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