Hello

First, sorry for the lack of details, but given that 5.4 is in
prerelease I though it could be interesting to rapport the problem
anyway, in hope that somebody else has seen something similar.

I don't haave the actual panic message since the serial cable wasn't
connected at the time and I didn't really have the time to find out
how to get the panic string from the system, since it's my main
mailserver... of cause dumpdev wasn't configured either, since the
system hasn't paniced before... doh... anyway:

FreeBSD nfishbone.nitro.dk 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #2: Sat Apr  2 
20:34:28 CEST 2005     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FISHBONE  i386

Tracing pid 82803 tid 100158 td 0xc1c04c00
doselwakeup(c3276274,59,da6479e0,c052a399,c3276274) at doselwakeup+0x6e
selwakeuppri(c3276274,59) at selwakeuppri+0xe
ttwakeup(c3276200,c3276200,c3276200,c1a64200,c06d4d40) at ttwakeup+0x21
ttymodem(c3276200,1) at ttymodem+0x13c
ptcopen(c1a64200,3,2000,c1c04c00,da647a80) at ptcopen+0x63
spec_open(da647a80,da647b3c,c0554aa3,da647a80,cbd5d1a0) at spec_open+0x270
spec_vnoperate(da647a80) at spec_vnoperate+0x13
vn_open_cred(da647be4,da647ce4,0,c3f85e00,4) at vn_open_cred+0x463
vn_open(da647be4,da647ce4,0,4,c06fa880) at vn_open+0x1e
kern_open(c1c04c00,bfbfe470,0,3,0) at kern_open+0xcc
open(c1c04c00,da647d14,3,5,292) at open+0x18
syscall(2f,2f,2f,ffffffff,281cec2d) at syscall+0x213
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x282bd59b, esp = 0xbfbfe43c, ebp = 
0xbfbfe498 ---

I'm not sure if the following is correct.. but :

[EMAIL PROTECTED]:FISHBONE] nm kernel.debug | grep doselwakeup
c051f0ec t doselwakeup
[EMAIL PROTECTED]:~] printf 'obase=16\nibase=16\nC051F0EC+6E\n' | bc
C051F15A
[EMAIL PROTECTED]:FISHBONE] addr2line -e kernel.debug C051F15A
/usr/src/sys/kern/sys_generic.c:1082

sys/kern/sys_generic.c :

        if (td == NULL) {
                mtx_unlock(&sellock);
                return;
        }
1082:   TAILQ_REMOVE(&td->td_selq, sip, si_thrlist);
        sip->si_thread = NULL;
        mtx_lock_spin(&sched_lock);
        td->td_flags &= ~TDF_SELECT;
        mtx_unlock_spin(&sched_lock);

I don't know if this is useful to anyone... kernel config also
attached in case that's interesting.

--
Simon L. Nielsen
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.2 2003/12/07 23:52:53 scottl 
Exp $
# $Id: FISHBONE,v 1.4 2005/04/02 15:38:53 simon Exp $

machine         i386
cpu             I486_CPU
cpu             I586_CPU
cpu             I686_CPU
ident           FISHBONE

#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_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
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_FREEBSD4         # Compatible with FreeBSD4
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 #P osix P1003_1B real-time 
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

# Debugging for use in -current
options         KDB                     # Enable kernel debugger support.
options         KDB_UNATTENDED
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

# My additions
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
options         QUOTA                   #enable disk quotas
options         MAC                     #Mandatory Access Control
options         INCLUDE_CONFIG_FILE     # Include this file in kernel

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
device          apic                    # I/O APIC

device          isa
device          eisa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          ataraid                 # ATA RAID drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

# RAID controllers interfaced to the SCSI subsystem
device          asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID

# RAID controllers
device          pst             # Promise Supertrak SX6000
device          twe             # 3ware ATA RAID

# 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

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc

# PCI Ethernet NICs.
device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          dc              # DEC/Intel 21143 and various workalikes
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          re              # RealTek 8139C+/8169/8169S/8110S
device          rl              # RealTek 8129/8139
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# 'device ed' requires 'device miibus'
device          ed              # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device          ep              # Etherlink III based cards

# Pseudo devices - the number indicates how many units to allocate.
device          loop            # Network loopback
device          mem             # Memory and kernel memory devices
device          io              # I/O device
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!
device          bpf             # Berkeley packet filter

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          umass           # Disks/Mass storage - Requires scbus and da

Attachment: pgprnY9DRvYjI.pgp
Description: PGP signature

Reply via email to