From owner-freebsd-current Wed Aug 23 14:28:58 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 5F64037B423; Wed, 23 Aug 2000 14:28:51 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7NLRsQ18007; Wed, 23 Aug 2000 14:27:54 -0700 (PDT) Date: Wed, 23 Aug 2000 14:27:54 -0700 From: Alfred Perlstein To: John Polstra Cc: current@FreeBSD.ORG, green@FreeBSD.ORG Subject: Re: panic: reducing sbsize: lost count, uid = 1001 Message-ID: <20000823142754.H4854@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from jdp@polstra.com on Wed, Aug 23, 2000 at 01:46:17PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * John Polstra [000823 13:46] wrote: > I got the above panic in a -current kernel from August 19 with > INVARIANTS and INVARIANT_SUPPORT compiled in. I also saw it once > before on a kernel from a few weeks ago. In both cases the panic > occurred when receiving a 25 MB file with FTP over a gigabit Ethernet > link (wx driver). Here is the relevant portion of the stack trace: > > #16 0xc016689d in panic ( > fmt=0xc027fc80 "reducing sbsize: lost count, uid = %d") > at /local0/src/sys/kern/kern_shutdown.c:553 > #17 0xc0163b67 in chgsbsize (uid=1001, diff=-17520, max=9223372036854775807) > at /local0/src/sys/kern/kern_proc.c:202 > #18 0xc0186fe2 in sbrelease (sb=0xc7c22674, so=0xc7c22600) > at /local0/src/sys/kern/uipc_socket2.c:453 > #19 0xc0184333 in sofree (so=0xc7c22600) > at /local0/src/sys/kern/uipc_socket.c:261 > #20 0xc01b898e in in_pcbdetach (inp=0xc7c86880) > at /local0/src/sys/netinet/in_pcb.c:542 > #21 0xc01c2125 in tcp_close (tp=0xc7c86940) > at /local0/src/sys/netinet/tcp_subr.c:711 > #22 0xc01c00ea in tcp_input (m=0xc075ca00, off0=20, proto=6) > at /local0/src/sys/netinet/tcp_input.c:2012 > #23 0xc01bb09a in ip_input (m=0xc075ca00) > at /local0/src/sys/netinet/ip_input.c:756 > #24 0xc01bb0f7 in ipintr () at /local0/src/sys/netinet/ip_input.c:784 > > Unfortunately, I don't have time to dig into it further any time soon. > I'll append my kernel config file to this mail. The system is a > uniprocessor PII/400. I have a feeling that this is related to missing spl protection around the chgsbsize subsystem, this was probably an issue before I touched it but since I touched it last I'll have a look-see. Brian, does that makes sense? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message