From owner-freebsd-stable Tue Jun 20 12:21:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 8E4B637BF0E; Tue, 20 Jun 2000 12:21:17 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e5KJLEk21247; Tue, 20 Jun 2000 12:21:14 -0700 (PDT) Date: Tue, 20 Jun 2000 12:21:14 -0700 From: Alfred Perlstein To: Dave Boers , green@freebsd.org Cc: freebsd-stable@freebsd.org Subject: fix: Re: "panic: uidinfo (14) gone" on 4.0-STABLE Message-ID: <20000620122114.S17420@fw.wintelcom.net> References: <20000620105651.A2669@relativity.student.utwente.nl> <20000620090351.P17420@fw.wintelcom.net> <20000620184804.A6196@relativity.student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000620184804.A6196@relativity.student.utwente.nl>; from djb@ifa.au.dk on Tue, Jun 20, 2000 at 06:48:04PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dave Boers [000620 09:48] wrote: > On Tue, Jun 20, 2000 at 09:03:51AM -0700, Alfred Perlstein wrote: > > > Could someone with more kernel experience interpret this and maybe shed > > > some light on the cause of this panic? > > > > It's most likely caused by a race condition that I'm working on fixing. > > > > I should have a patch up RSN. > > I will be happy to test it, although I'm not sure if I can reproduce the > panic. Is the problem SMP related? No, it has to do with running low on kernel memory and blocking, after recovering from the low memory situation it doesn't handle the changes properly. There's also problems with the socketbuffer code because of the chance of sleeping, the updates to the limit structures need to be atomic and this should do it: http://people.freebsd.org/~alfred/uidinfo.diff applies to HEAD. Brian, can you please review? thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message