Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 16:12:16 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Archie Cobbs <archie@whistle.com>
Cc:        Brian Fundakowski Feldman <green@FreeBSD.ORG>, John Polstra <jdp@polstra.com>, current@FreeBSD.ORG
Subject:   Re: panic: reducing sbsize: lost count, uid = 1001
Message-ID:  <20000824161216.C1209@fw.wintelcom.net>
In-Reply-To: <200008242152.OAA02179@bubba.whistle.com>; from archie@whistle.com on Thu, Aug 24, 2000 at 02:52:15PM -0700
References:  <Pine.BSF.4.21.0008240849390.52828-100000@green.dyndns.org> <200008242152.OAA02179@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Archie Cobbs <archie@whistle.com> [000824 14:52] wrote:
> I don't know if this is related to the problems you guys are looking at,
> but I have a box that every so often (every couple of months) panics
> with a "panic: recieve 1" panic. This panic happens when the socket
> character count is bogus during a recv(2), etc. system call.
> 
> So several months ago I came up with a patch to try and track this
> down, and with the patch it panics immediately.. but I couldn't
> figure out why at the time and haven't pursued it since then.
> 
> Anyway, for what it's worth, the patch I was using is here:
> 
>   ftp://ftp.whistle.com/pub/archie/misc/sbcheck.patch
> 
> Some variant of it may be useful for tracking down this problem too.

It seems that the socket counters aren't being protected by spl
enough, brian has suggested moving it into the chgsbsize function
which would encapsulate spl+uidinfo+sbsize issues.  I'm hoping he'll
look into it, and I will be as well as soon as I find the time.

-Alfred


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?20000824161216.C1209>