kern/72007: [panic] clist reservation botch

James William Pye flaw at rhid.com
Wed Sep 22 11:40:24 PDT 2004


>Number:         72007
>Category:       kern
>Synopsis:       [panic] clist reservation botch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 22 18:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     James William Pye
>Release:        4.10-STABLE
>Organization:
rhid development
>Environment:
FreeBSD void 4.10-STABLE FreeBSD 4.10-STABLE #2: Thu Sep  9 22:15:43 MST 2004     root at void:/files/src/freebsd/RELENG_4/sys/compile/void  i386
>Description:
Occasional panic in cblock_alloc, /sys/kern/tty_subr.c

Sorry, this and some references is all I have for you.

When I get more information I will provide it. Please DO NOT close this
under a feedback timeout! Others have had this problem, perhaps from
different sources. Also note that it is normally infrequent
so it might be a month or two before I can give more information.

Sadly, my virtual memory is less than my physical memory, thus causing:

dumpon: sysctl: kern.dumpdev: No space left on device

Anyway to remedy this without altering partition sizes?


Some googling shows that others have had this problem:

http://yoichi.geiin.org/d/?date=0426
   Can't read it, except the panic message.

http://adam.kungfoohampster.com/lists/freebsd-questions/msg08491.shtml
   A short thread.

http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018523.html
   Perhaps the most useful, with a traceback from a core.(5.2)

http://docs.freebsd.org/cgi/mid.cgi?Pine.NEB.3.96L.1020423214839.55944J-100000

http://www.freebsd.org/cgi/query-pr.cgi?pr=61191
http://www.freebsd.org/cgi/query-pr.cgi?pr=43314
   Duplicates?



Kernel config:

ident    void
maxusers 0

machine  i386

cpu      I686_CPU
options  CPU_ENABLE_SSE
#options CPU_SUSP_HLT

#options DEBUG
#makeoptions   DEBUG=-g    #Build kernel with gdb(1) debug symbols
#makeoptions CONF_CFLAGS=-fno-builtin

options     INCLUDE_CONFIG_FILE
options     KTRACE
options     COMPAT_43       #Compatible with BSD 4.3 [KEEP THIS!]
options     UCONSOLE        #Allow users to grab the console
options     USERCONFIG      #boot -c editor
options     VISUAL_USERCONFIG   #visual boot -c editor
options     ICMP_BANDLIM        #Rate limit bad replies

options     P1003_1B
options     _KPOSIX_PRIORITY_SCHEDULING

options     KBD_INSTALL_CDEV    # install a CDEV entry in /dev
options     AHC_REG_PRETTY_PRINT

device   agp
device   radeondrm
device bktr0

# Allow applications running in user space to control the Local Descriptor
# Table (LDT).  This is required by some ports.  Future versions of FreeBSD
# may require this option for some programs in the base system.
options  USER_LDT        #allow user-level control of i386 ldt


# System V shared memory and tunable parameters
options  SYSVSHM     # include support for shared memory
options  SHMMAXPGS=1025  # max amount of shared memory pages (4k on i386)
options  SHMALL=1025 # max amount of shared memory (bytes)
options  SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"

# max shared memory segment size (bytes)
options  SHMMIN=2    # min shared memory segment size (bytes)
options  SHMMNI=66   # max number of shared memory identifiers
options  SHMSEG=9    # max shared memory segments per process

# System V semaphores and tunable parameters
options  SYSVSEM     # include support for semaphores
options  SEMMAP=31   # amount of entries in semaphore map
options  SEMMNI=120  # number of semaphore identifiers in the system
options  SEMMNS=120  # number of semaphores in the system
options  SEMMNU=31   # number of undo structures in the system
options  SEMMSL=61   # max number of semaphores per id
options  SEMOPM=101  # max number of operations per semop call
options  SEMUME=11   # max number of undo entries per process

options  SYSVMSG     # include support for message queues
options  MSGMNB=2049 # max characters per message queue
options  MSGMNI=41   # max number of message queue identifiers
options  MSGSEG=2049 # max number of message segments in the system
options  MSGSSZ=16   # size of a message segment MUST be power of 2
options  MSGTQL=41   # max amount of messages in the system


options  FFS         #Berkeley Fast Filesystem
options  FFS_ROOT    #FFS usable as root device [keep this!]
options  PROCFS

options  SOFTUPDATES    #Enable FFS soft updates support
options  UFS_DIRHASH


options  MFS         #Memory Filesystem
options  MD_ROOT        #MD is a potential root device

options  NFS
options  NFS_ROOT
options  NFS_NOSERVER

options  CD9660
options  CD9660_ROOT

options  FDESC
options  KERNFS
options  NULLFS


#NETWORKING

options  INET            #InterNETworking
options  INET6           #IPv6 communications protocols
options  RANDOM_IP_ID
options  IPSEC           #IP security
options  IPSEC_ESP       #IP security (crypto; define w/ IPSEC)

options  IPFIREWALL
options  IPFIREWALL_FORWARD
options  IPDIVERT
options  DUMMYNET #depends on IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_VERBOSE_LIMIT=100


device   eisa
device   pci
device   isa


# Floppy drives
device      fdc0  at isa? port IO_FD1 irq 6 drq 2
device      fd0   at fdc0 drive 0


# ATA and ATAPI devices

device      ata0  at isa? port IO_WD1 irq 14
device      ata1  at isa? port IO_WD2 irq 15
device      ata
device      atadisk        # ATA disk drives
device      atapicd        # ATAPI CDROM drives
device      atapifd        # ATAPI floppy drives
device      atapist        # ATAPI tape drives
options     ATA_STATIC_ID     #Static device numbering

# SCSI stuff demanded by umass
device      scbus    # SCSI bus (required)
device      da    # Direct Access (disks)
device      sa    # Sequential Access (tape etc)
device      cd    # CD
device      pass     # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device      atkbdc0  at isa? port IO_KBD
device      atkbd0   at atkbdc? irq 1 flags 0x1
device      psm0  at atkbdc? irq 12

device      vga0  at isa?

pseudo-device  splash

# syscons is the default console driver, resembling an SCO console
device   sc0   at isa? flags 0x100
options  SC_ALT_MOUSE_IMAGE

options  SC_NORM_ATTR="(FG_WHITE|BG_BLACK)"
options  SC_NORM_REV_ATTR="(FG_BLACK|BG_LIGHTGREY)"
options  SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options  SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_LIGHTGREY)"
options  SC_HISTORY_SIZE=400

# Floating point support - do not disable.
device      npx0  at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device      apm0    at nexus? disable flags 0x20 # Advanced Power Management

# Serial (COM) ports
device      sio0  at isa? port IO_COM1 flags 0x10 irq 4
device      sio1  at isa? port IO_COM2 irq 3
# Parallel port
device      ppc0  at isa? irq 7
device      ppbus    # Parallel port bus (required)
device      lpt      # Printer
device      plip     # TCP/IP over parallel
device      ppi      # Parallel port interface device


device      miibus      # MII bus support

device      dc    # DEC/Intel 21143 and various workalikes
device      sis   # Silicon Integrated Systems SiS 900/SiS 7016

pseudo-device  speaker
pseudo-device  loop     # Network loopback
pseudo-device  ether    # Ethernet support
pseudo-device  ppp 1    # Kernel PPP
pseudo-device  tun      # Packet tunnel.
pseudo-device  pty      # Pseudo-ttys (telnet etc)
pseudo-device  snp 3    # snoop devices
pseudo-device  md       # Memory "disks"
pseudo-device  gif   2  # IPv6 and IPv4 tunneling
pseudo-device  faith 1  # IPv6-to-IPv4 relaying (translation)

pseudo-device  bpf      #Berkeley packet filter
device      uhci     # UHCI PCI->USB interface
device      ohci     # OHCI PCI->USB interface
device      usb      # USB Bus (required)
device      ugen     # Generic
device      uhid     # "Human Interface Devices"
device      ukbd     # Keyboard
device      ulpt     # Printer
device      umass    # Disks/Mass storage - Requires scbus and da
device      ums      # Mouse
device      uscanner # Scanners


part of dmesg after panic:

> panic: clist reservation botch
> 
> syncing disks... 17 1 
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>       The Regents of the University of California. All rights reserved.
> FreeBSD 4.10-STABLE #2: Thu Sep  9 22:15:43 MST 2004
>     root at void:/files/src/freebsd/RELENG_4/sys/compile/void
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: AMD Duron(tm) Processor (1294.50-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>   AMD Features=0xc0400000<AMIE,DSP,3DNow!>
> real memory  = 536805376 (524224K bytes)
> avail memory = 518070272 (505928K bytes)
> Preloaded elf kernel "kernel" at 0xc041b000.
> Preloaded elf module "linux.ko" at 0xc041b09c.
> Preloaded elf module "snd_ich.ko" at 0xc041b13c.
> Preloaded elf module "snd_pcm.ko" at 0xc041b1dc.
> Pentium Pro MTRR support enabled
> md0: Malloc disk
> Using $PIR table, 9 entries at 0xc00f78c0
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> agp0: <SIS Generic host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
> pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
> pci1: <PCI bus> on pcib2
> drm0: <ATI Radeon If R250 9000> port 0x9800-0x98ff mem 0xcfdf0000-0xcfdfffff,0xc8000000-0xcbffffff irq 0 at device 0.0 on pci1
> info: [drm] AGP at 0xd0000000 64MB
> info: [drm] Initialized radeon 1.8.0 20020828 on minor 0
> pci1: <ATI model 496e graphics accelerator> at 0.1
> isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> ohci0: <SiS 5571 USB controller> mem 0xcfffe000-0xcfffefff irq 12 at device 2.2 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <SiS 5571 USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> ohci1: <SiS 5571 USB controller> mem 0xcffff000-0xcfffffff irq 5 at device 2.3 on pci0
> usb1: OHCI version 1.0, legacy support
> usb1: <SiS 5571 USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 3 ports with 3 removable, self powered
> atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> pcm0: <SiS 7012> port 0xd800-0xd83f,0xdc00-0xdcff irq 10 at device 2.7 on pci0
> pcm0: <C-Media Electronics CMI9738 AC97 Codec>
> sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xcfffd000-0xcfffdfff irq 15 at device 3.0 on pci0
> sis0: Ethernet address: 00:0a:e6:a7:1a:5a
> miibus0: <MII bus> on sis0
> rlphy0: <RTL8201L 10/100 media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> dc0: <ADMtek AN985 10/100BaseTX> port 0xd000-0xd0ff mem 0xcfffcc00-0xcfffcfff irq 10 at device 13.0 on pci0
> dc0: Ethernet address: 00:04:5a:89:0e:a7
> miibus1: <MII bus> on dc0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus1
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> dc1: <82c169 PNIC 10/100BaseTX> port 0xcc00-0xccff mem 0xcfffcb00-0xcfffcbff irq 12 at device 15.0 on pci0
> dc1: Ethernet address: 00:02:e3:08:39:30
> miibus2: <MII bus> on dc1
> ukphy1: <Generic IEEE 802.3u media interface> on miibus2
> ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11 at device 19.0 on pci0
> usb2: <VIA 83C572 USB controller> on uhci0
> usb2: USB revision 1.0
> uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhub3: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/1.22, addr 2
> uhub3: 3 ports with 2 removable, bus powered
> ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, iclass 3/1
> kbd1 at ukbd0
> uhid0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, iclass 3/0
> ums0: B16_b_02 USB-PS/2 Optical Mouse, rev 2.00/98.02, addr 4, iclass 3/1
> ums0: 4 buttons and Z dir.
> uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 11 at device 19.1 on pci0
> usb3: <VIA 83C572 USB controller> on uhci1
> usb3: USB revision 1.0
> uhub4: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub4: 2 ports with 2 removable, self powered
> pci0: <USB controller> at 19.2 irq 10
> pcib1: <SiS 5591 host to AGP bridge> on motherboard
> pci2: <PCI bus> on pcib1
> orm0: <Option ROMs> at iomem 0xc0000-0xcafff,0xcb000-0xd2fff on isa0
> pmtimer0 on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppi0: <Parallel I/O> on ppbus0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> DUMMYNET initialized (011031)
> IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
> IPsec: Initialized Security Association Processing.
> ad0: 9787MB <QUANTUM FIREBALLlct10 10> [19885/16/63] at ata0-master UDMA66
> acd0: CD-RW <LITE-ON LTR-52246S> at ata0-slave PIO4
> Mounting root from ufs:/dev/ad0s1a
> WARNING: / was not properly dismounted
> dumpon: 
> sysctl: kern.dumpdev
> : 
> No space left on device
> swapon: adding /dev/ad0s1b as swap device
> Automatic boot in progress...
>How-To-Repeat:
moon phase has to be just so.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list