Date: Tue, 31 Jul 2007 23:19:38 +0900 From: gnn@freebsd.org To: current@freebsd.org Subject: clist reservation botch panic... Message-ID: <m24pjkac5h.wl%gnn@neville-neil.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Howdy,
I am testing and fixing the new IPsec code we have and just came
across this:
Unread portion of the kernel message buffer:
panic: clist reservation botch
cpuid = 0
KDB: enter: panic
#0 kdb_enter (msg=0xc074a2fe "panic") at ../../../kern/subr_kdb.c:310
310 }
(kgdb) where
#0 kdb_enter (msg=0xc074a2fe "panic") at ../../../kern/subr_kdb.c:310
#1 0xc0524874 in panic (fmt=0xc075155d "clist reservation botch")
at ../../../kern/kern_shutdown.c:547
#2 0xc05721fe in putc (chr=102, clistp=0xc1dd4038)
at ../../../kern/tty_subr.c:104
#3 0xc0569333 in ttyoutput (c=102, tp=0xc1dd4000) at ../../../kern/tty.c:769
#4 0xc0569437 in ttyecho (c=Variable "c" is not available.
) at ../../../kern/tty.c:2406
#5 0xc056aff2 in ttyinput (c=102, tp=0xc1dd4000) at ../../../kern/tty.c:679
#6 0xc056b0ec in ttypend (tp=0xc1dd4000) at ../../../kern/tty.c:1704
#7 0xc056a704 in ttyinput (c=117, tp=0xc1dd4000) at ../../../kern/tty.c:377
#8 0xc06dfc54 in sioinput (com=0xc1dd4400) at linedisc.h:122
#9 0xc06e1ff3 in siopoll (dummy=0x0) at ../../../dev/sio/sio.c:1702
#10 0xc05096b5 in ithread_loop (arg=0xc1dbd7d0)
at ../../../kern/kern_intr.c:1036
#11 0xc0506b58 in fork_exit (callout=0xc0509500 <ithread_loop>,
arg=0xc1dbd7d0, frame=0xcc53ed38) at ../../../kern/kern_fork.c:797
#12 0xc06eb490 in fork_trampoline () at
../../../i386/i386/exception.s:205
I don't think I'm doing anything "funky" but who knows. Anyone have
their hands in the tty code at the moment?
This is on CURRENT of a week ago, kernel config is attached to the
email, and this system is running on VMware.
Let me know what other information I can provide.
Best,
George
[-- Attachment #2 --]
#
# VMWARE IPSEC -- Kernel config for VMWare VMs 4.5-5.5
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.438 2006/01/21 12:38:35 marius Exp $
cpu I686_CPU
ident VMWARE_IPSEC
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
#options SCHED_ULE # ULE scheduler
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options IPSEC # IPSec
options INET6 # IPv6 Support
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options STOP_NMI # Stop CPUS using NMI instead of IPI
# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
# Bus support.
device eisa
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
device bt # Buslogic/Mylex MultiMaster SCSI adapters
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
device uart # Generic UART driver
device le # NE2100, NE32-VL Lance Ethernet cards
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# Crypto device required when you're using IPSEC
device crypto # Crypto devices and basic algorithms
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m24pjkac5h.wl%gnn>
