Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 13:46:17 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Subject:   panic: reducing sbsize: lost count, uid = 1001
Message-ID:  <XFMail.000823134617.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
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.

John
--
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa

#
# BLAKE
#
machine         "i386"
cpu             "I686_CPU"
ident           BLAKE
maxusers        32

options         SOFTUPDATES

options         DDB
options         INVARIANTS
options         INVARIANT_SUPPORT

options         "CLK_USE_I8254_CALIBRATION"
options         CLK_USE_TSC_CALIBRATION
options         INET                    #InterNETworking
options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
options         KTRACE                  #kernel tracing
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "EXT2FS"                #Linux ext2 filesystem
options         "CD9660_ROOT"           #CD-ROM usable as root device
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         NFS_ROOT                #NFS usable as root device
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         RANDOMDEV
options         SYSVSHM
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

options         P1003_1B                #Posix P1003_1B real-time extentions
options         _KPOSIX_PRIORITY_SCHEDULING
# options       _KPOSIX_VERSION=199309L

device          isa
device          pci

device          fdc

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
device          ahc
options         AHC_ALLOW_MEMIO

device          scbus

device          da
device          sa
device          cd
device          pass

# Keyboard, mouse, display.
device          atkbdc  1
device          atkbd
device          psm
device          sc      1
device          vga
device          splash

device          npx

device          sio

device          de
device          fxp
device          wx

device          bpf
device          ether
device          gzip
device          loop
device          pty
device          vn

# On-board power management controller.
device          smbus
device          intpm
device          smb


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?XFMail.000823134617.jdp>