From owner-freebsd-current Thu Aug 24 16:12:18 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 25FA537B423; Thu, 24 Aug 2000 16:12:17 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7ONCGL25930; Thu, 24 Aug 2000 16:12:16 -0700 (PDT) Date: Thu, 24 Aug 2000 16:12:16 -0700 From: Alfred Perlstein To: Archie Cobbs Cc: Brian Fundakowski Feldman , John Polstra , current@FreeBSD.ORG Subject: Re: panic: reducing sbsize: lost count, uid = 1001 Message-ID: <20000824161216.C1209@fw.wintelcom.net> References: <200008242152.OAA02179@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <200008242152.OAA02179@bubba.whistle.com>; from archie@whistle.com on Thu, Aug 24, 2000 at 02:52:15PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Archie Cobbs [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