Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 14:27:54 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG, green@FreeBSD.ORG
Subject:   Re: panic: reducing sbsize: lost count, uid = 1001
Message-ID:  <20000823142754.H4854@fw.wintelcom.net>
In-Reply-To: <XFMail.000823134617.jdp@polstra.com>; from jdp@polstra.com on Wed, Aug 23, 2000 at 01:46:17PM -0700
References:  <XFMail.000823134617.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Polstra <jdp@polstra.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000823142754.H4854>