NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41311: Mutex error: mutex_vector_enter: locking against myself



>Number:         41311
>Category:       kern
>Synopsis:       Mutex error: mutex_vector_enter: locking against myself
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 30 16:15:00 +0000 2009
>Originator:     Hauke Fath
>Release:        NetBSD 5.0
>Organization:
-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281
>Environment:
        
        
System: NetBSD Vertatscha 5.0 NetBSD 5.0 (FIFI_PF) #0: Wed Apr 29 14:13:50 CEST 
2009  hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/FIFI_PF 
i386
Architecture: i386
Machine: i386
>Description:

        On a headless filtering router machine, I see a "locking
        against myself" panic fairly frequently. There is a strange
        pattern: Panics happen several in a row within a few minutes,
        and then not for a few hours. The machine panics much more
        likely at night, when local traffic is lower. And it appears
        to be less likely to panic with a PS2 keyboard plugged in.

        For obvious reasons, the machine is normally set to instantly
        reboot. It prints the following console output:


NetBSD/i386 (Vertatscha) (tty00)

login: Mutex error: lockdebug_wantlock: locking against myself

lock address : 0x00000000ca264f80 type     :     sleep/adaptive
initialized  : 0x00000000c02a7aaf
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
current cpu  :                  0 last held:                  0
current lwp  : 0x00000000ca267a00 last held: 0x00000000ca267a00
last locked  : 0x00000000c012245a unlocked : 0x00000000c01224f1
owner field  : 0x00000000ca267a00 wait/spin:                0/0

Turnstile chain at 0xc049ae00.
=> No active turnstile for this lock.

panic: LOCKDEBUG
Begin traceback...
copyright(cc8d7983,0,0,ca267c54,c04a0000,c049ff98,ca264f80,c0459b30,ca267a00,c012245a)
 at netbsd:__kernassert+0x51685
_prop_array_pool(c049ffc0,0,0,cc513390,cc513440,cc5133d8,ca264e80,c0459b24,0,c02bac50)
 at 0xcc511340
ld_prime(cc513400,0,0,ca271294,cc5151c0,cc515158,ca264e00,c0459b30,0,c03105c2) 
at netbsd:__kernassert+0xd8010
_prop_array_pool(cc515180,0,0,cd1ebf74,cc8d7300,cc8d7298,ca264dc0,c0459b30,0,c02ff608)
 at 0xcc514380
End traceback...
rebooting...


        I finally got it to break into the debugger at daytime, and
        the stack trace looks a bit different:


login: [-- hf@localhost detached -- Thu Apr 30 08:24:53 2009]
[-- hf@localhost attached -- Thu Apr 30 08:24:53 2009]
          [-- MARK -- Thu Apr 30 13:01:00 2009]
Mutex error: lockdebug_wantlock: locking against myself

lock address : 0x00000000ca264f80 type     :     sleep/adaptive
initialized  : 0x00000000c02a7aaf
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
current cpu  :                  0 last held:                  0
current lwp  : 0x00000000ca267a00 last held: 0x00000000ca267a00
last locked  : 0x00000000c012245a unlocked : 0x00000000c01224f1
owner field  : 0x00000000ca267a00 wait/spin:                0/0

Turnstile chain at 0xc049ae00.
=> No active turnstile for this lock.

panic: LOCKDEBUG
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c036349c cs 8 eflags 246 cr2 ccba4000 ilevel 4
Stopped in pid 0.3 (system) at  netbsd:breakpoint+0x4:  popl    %ebp
db{0}> t
breakpoint(c0420122,cc46da0c,c045c900,c02d65b7,4,1,0,0,cc46da0c,8) at 
netbsd:breakpoint+0x4
panic(c0420124,c041bee6,c03e342f,c041beb5,0,1267a00,4,ca264f80,ca267a00,ca264f80)
 at netbsd:panic+0x1a3
lockdebug_locked(c041beb5,1,0,0,0,0,ca267a00,c03c7c49,c049f780,c0486aa0) at 
netbsd:lockdebug_locked
mutex_vector_enter(ca264f80,c0486aa0,cc46daa0,c03c7c49,c049f780,ffffffff,cc46daa0,c035e9ba,c0486aa0,0)
 at netbsd:mutex_vector_entr+0x379
filt_soread(cd5e8df4,0,7,c0486aa0,cd5e8df4,0,cc46db00,c02e565a,c12e9484,0) at 
netbsd:filt_soread+0x25
knote(c12e9484,0,0,c0486aa0,c12ac254,c0486aa0,c12ac254,c12e9484,0,c12e93cc) at 
netbsd:knote+0x2a
selnotify(c12e9484,82,0,82,c12e93cc,c12ac1f4,cc46dcd0,c012e272,c12e93cc,ca4d9026)
 at netbsd:selnotify+0x21
sohasoutofband(c12e93cc,ca4d9026,ca4d9026,14,20,3,0,0,0,cd2b3010) at 
netbsd:sohasoutofband+0x4f
tcp_input(c1282f00,14,6,1,1,c045c900,ca25d1ec,14,6,37) at 
netbsd:tcp_input+0x2924
ip_input(c1282f00,0,be24abc7,0,ca25d1d8,ca25d1ec,cc46dd80,c02b85d7,0,ca260010) 
at netbsd:ip_input+0x41d
ipintr(0,ca260010,ca260030,cc460010,ca260010,0,267c80,c0f8f100,0,cc46dda0) at 
netbsd:ipintr+0x49
softint_dispatch(ca267c80,4,0,0,0,0,cc46dd90,cc46dc28,cc46dc70,0) at 
netbsd:softint_dispatch+0xca
DDB lost frame for netbsd:Xsoftintr+0x3d, trying 0xcc46dd88
Xsoftintr() at netbsd:Xsoftintr+0x3d
--- interrupt ---
fatal page fault in supervisor mode
trap type 6 code 0 eip c0365814 cs 8 eflags 10202 cr2 3c ilevel 8
kernel: supervisor trap page fault, code=0
Faulted in DDB; continuing...
db{0}> x/I 0x00000000c012245a           ## last locked
netbsd:ipintr+0x14:     movl    $0x1,0(%esp)
db{0}> x/i 0x00000000c01224f1           ## unlocked
netbsd:ipintr+0xab:     addl    $0x14,%esp
db{0}> x/I 0x00000000c02a7aaf           ## initialized
netbsd:mutex_obj_alloc+0x3c:    movl    $0x1,0x8(%ebx)
db{0}> reboot 0x104

dumping to dev 4,1 offset 1000335
dump 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 succeeded


rebooting...


        and for the result of that see kern/41310, i.e. I have not
        been able to obtain a core dump.

        Here is the kernel config:


# $Id: FIFI_PF,v 1.1 2007/08/31 14:28:09 hf Exp $

# FIFI kernel with pf(4) support in place of ipfilter.

include "arch/i386/conf/FIFI"

no pseudo-device        ipfilter

pseudo-device   pf                      # PF packet filter
pseudo-device   pflog                   # PF log if


        and


# FIFI machine description file

include         "arch/i386/conf/std.i386"

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "GENERIC-$Revision: 1.1 $"

maxusers        128             # estimated number of users

# CPU support.  At least one is REQUIRED.
options         I686_CPU

makeoptions     CPUFLAGS="-mtune=pentium4"

# CPU-related options.
options         MTRR            # memory-type range register syscall support

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options        CPURESET_DELAY=2000

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options        CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600

options         MULTIBOOT       # Multiboot support (see multiboot(8))

# Standard system options

options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
options         NTP             # NTP phase/frequency locked loop

options         KTRACE          # system call tracing via ktrace(1)
options         SYSTRACE        # system call vetting via systrace(1)

options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
#options        SEMMNI=10       # number of semaphore identifiers
#options        SEMMNS=60       # number of semaphores in system
#options        SEMUME=10       # max number of undo entries per process
#options        SEMMNU=30       # number of undo structures in system
options         SYSVSHM         # System V-like memory sharing
#options        SHMMAXPGS=2048  # 2048 pages is the default
options         P1003_1B_SEMAPHORE      # p1003.1b semaphore support

options         USERCONF        # userconf(4) support
options         SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# Network tuneables
# See:
#       http://proj.sunet.se/E2E/tcptune.html
#       http://proj.sunet.se/E2E/netbsd.txt
#       http://www.psc.edu/networking/projects/tcptune/#NetBSD
#
options         SB_MAX=8388608          # maximum socket buffer size
options         SOMAXKVA=67108864       # 16 MB -> 64 MB
options         TCP_SENDSPACE=262144    # default send socket buffer size
options         TCP_RECVSPACE=262144    # default recv socket buffer size
options         NMBCLUSTERS=16384       # maximum number of mbuf clusters

# Beep when it is safe to power down the system (requires sysbeep)
options         BEEP_ONHALT

# Diagnostic/debugging support options
options         DIAGNOSTIC      # expensive kernel consistency checks
options         DEBUG           # expensive debugging checks/support
options         LOCKDEBUG
options         KMEMSTATS       # kernel memory statistics (vmstat -m)
options         DDB             # in-kernel debugger
options         DDB_ONPANIC=0   # see also sysctl(8): `ddb.onpanic'
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
#options        KGDB            # remote debugger
#options        KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions    DEBUG="-g"      # compile full symbol table

# Compatibility options
options         COMPAT_30       # NetBSD 3
options         COMPAT_40       # NetBSD 4

options         COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.


# File systems
file-system     FFS             # UFS
file-system     NFS             # Network File System client
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS file system
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
#file-system    NULLFS          # loopback file system
file-system     PROCFS          # /proc
file-system     PTYFS           # /dev/ptm support
file-system     TMPFS           # Efficient memory file-system

# File system options
options         WAPBL           # File system journaling support - Experimental
options         FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
options         GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPV6
options         IPSEC           # IP security
options         IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
options         IPSEC_DEBUG     # debug for IP security
options         MROUTING        # IP multicast routing
options         PFIL_HOOKS      # pfil(9) packet filter hooks
options         IPFILTER_LOG    # ipmon(8) log support
options         IPFILTER_LOOKUP # ippool(8) support
##options       IPFILTER_DEFAULT_BLOCK  # block all packets by default
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG

#options        ALTQ            # Manipulate network interfaces' output queues
#options        ALTQ_BLUE       # Stochastic Fair Blue
#options        ALTQ_CBQ        # Class-Based Queueing
#options        ALTQ_CDNR       # Diffserv Traffic Conditioner
#options        ALTQ_FIFOQ      # First-In First-Out Queue
#options        ALTQ_FLOWVALVE  # RED/flow-valve (red-penalty-box)
#options        ALTQ_HFSC       # Hierarchical Fair Service Curve
#options        ALTQ_LOCALQ     # Local queueing discipline
#options        ALTQ_PRIQ       # Priority Queueing
#options        ALTQ_RED        # Random Early Detection
#options        ALTQ_RIO        # RED with IN/OUT
#options        ALTQ_WFQ        # Weighted Fair Queueing

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options         MIIVERBOSE      # verbose PHY autoconfig messages
options         PCIVERBOSE      # verbose PCI device autoconfig messages
options         SCSIVERBOSE     # human readable SCSI error messages

#
# wscons options
#
# builtin terminal emulations
options         WSEMUL_VT100            # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options         WS_KERNEL_FG=WSCOL_GREEN
# compatibility to other console drivers
options         WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
options         WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
options         WSDISPLAY_COMPAT_USL            # VT handling
options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
options         PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
options         WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options         PCDISPLAY_SOFTCURSOR
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options        VGA_CONSOLE_ATI_BROKEN_FONTSEL
# console scrolling support.
options         WSDISPLAY_SCROLLSUPPORT

# Kernel root file system and dump configuration.
config          netbsd  root on sd0a type ffs

#
# Device configuration
#

mainbus0 at root

cpu0 at mainbus?

apm0   at mainbus0                     # Advanced power management


# Basic Bus Support

# PCI bus support
pci*    at mainbus? bus ?
pci*    at pchb? bus ?
pci*    at ppb? bus ?

# PCI bridges
pchb*   at pci? dev ? function ?        # PCI-Host bridges
pcib*   at pci? dev ? function ?        # PCI-ISA bridges
ppb*    at pci? dev ? function ?        # PCI-PCI bridges

agp*    at pchb?


# ISA bus support
isa0    at pcib?


# Coprocessor Support

# Math Coprocessor support
npx0    at isa? port 0xf0 irq 13        # x86 math coprocessor


# Console Devices

# wscons
pckbc0          at isa?                 # pc keyboard controller
pckbd*          at pckbc?               # PC keyboard
pms*            at pckbc?               # PS/2 mouse for wsmouse
#options        PMS_DISABLE_POWERHOOK   # Disable PS/2 reset on resume
vga*            at pci? dev ? function ?
wsdisplay*      at vga? console ?
wskbd*          at pckbd? console ?
wsmouse*        at pms? mux 0

attimer0        at isa?
pcppi0          at isa?
sysbeep0        at pcppi?

# Serial Devices

# ISA serial interfaces
com0    at isa? port 0x3f8 irq 4        # Standard PC serial ports
com1    at isa? port 0x2f8 irq 3

# SCSI Controllers and Devices

# PCI SCSI controllers
mpt*    at pci? dev ? function ?        # LSI Fusion SCSI/FC

# RAID controllers and devices
amr*    at pci? dev ? function ?        # AMI/LSI Logic MegaRAID
ld*     at amr? unit ?

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*     at scsibus? target ? lun ?      # SCSI disk drives
uk*     at scsibus? target ? lun ?      # SCSI unknown


# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
pciide*         at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver
piixide*        at pci? dev ? function ?        # Intel IDE controllers


# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*     at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*     at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
sd*     at atapibus? drive ? flags 0x0000       # ATAPI disk drives
uk*     at atapibus? drive ? flags 0x0000       # ATAPI unknown


# Miscellaneous mass storage devices

# ISA floppy
fdc0    at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
fd*     at fdc? drive ?                 # the drives themselves


# Network Interfaces

# PCI network interfaces
fxp*    at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
wm*     at pci? dev ? function ?        # Intel 8254x gigabit

# MII/PHY support
inphy*  at mii? phy ?                   # Intel 82555 PHYs
makphy* at mii? phy ?                   # Marvell Semiconductor 88E1000 PHYs
ukphy*  at mii? phy ?                   # generic unknown PHYs

# USB Controller and Devices

# PCI USB controllers
ehci*   at pci? dev ? function ?        # Enhanced Host Controller
ohci*   at pci? dev ? function ?        # Open Host Controller
uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)

# USB bus support
usb*    at ehci?
usb*    at ohci?
usb*    at uhci?

# USB Hubs
uhub*   at usb?
uhub*   at uhub? port ?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
wd*     at umass?

# USB Generic driver
ugen*   at uhub? port ?
# On ugen bulk endpoints, perform read-ahead and write-behind.
options UGEN_BULK_RA_WB


# Audio Devices

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0   at pcppi?               # PC speaker


# Miscellaneous Devices

# Pseudo-Devices

pseudo-device   crypto          # opencrypto framework
pseudo-device   swcrypto        # software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device   raid            8       # RAIDframe disk driver
options         RAID_AUTOCONFIG         # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options        RF_INCLUDE_EVENODD=1
#options        RF_INCLUDE_RAID5_RS=1
#options        RF_INCLUDE_PARITYLOGGING=1
#options        RF_INCLUDE_CHAINDECLUSTER=1
#options        RF_INCLUDE_INTERDECLUSTER=1
#options        RF_INCLUDE_PARITY_DECLUSTERING=1
#options        RF_INCLUDE_PARITY_DECLUSTERING_DS=1

#pseudo-device  fss             4       # file system snapshot device

pseudo-device   md              1       # memory disk device (ramdisk)
pseudo-device   vnd                     # disk-like interface to files
options         VND_COMPRESSION         # compressed vnd(4)

# network pseudo-devices
pseudo-device   bpfilter                # Berkeley packet filter
pseudo-device   ipfilter                # IP filter (firewall) and NAT
pseudo-device   loop                    # network loopback
pseudo-device   ppp                     # Point-to-Point Protocol
pseudo-device   tun                     # network tunneling over tty
pseudo-device   gre                     # generic L3 over IP tunnel
pseudo-device   gif                     # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device   faith                   # IPv[46] tcp relay translation i/f
pseudo-device   stf                     # 6to4 IPv6 over IPv4 encapsulation
pseudo-device   vlan                    # IEEE 802.1q encapsulation
#pseudo-device  bridge                  # simple inter-network bridging
#options        BRIDGE_IPF              # bridge uses IP/IPv6 pfil hooks too
#pseudo-device  pf                      # PF packet filter
#pseudo-device  pflog                   # PF log if

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals

pseudo-device   rnd                     # /dev/random and in-kernel generator

pseudo-device   clockctl                # user control of clock subsystem

# wscons pseudo-devices
pseudo-device   wsmux                   # mouse & keyboard multiplexor
pseudo-device   wsfont
pseudo-device   ksyms                   # /dev/ksyms

options         FILEASSOC               # fileassoc(9) - required for Veriexec
#options        FILEASSOC_NHOOKS=4      # Default number of storage slots

# Veriexec
pseudo-device   veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
options VERIFIED_EXEC_FP_RMD160
options VERIFIED_EXEC_FP_SHA256
options VERIFIED_EXEC_FP_SHA384
options VERIFIED_EXEC_FP_SHA512
options VERIFIED_EXEC_FP_SHA1
options VERIFIED_EXEC_FP_MD5

options PAX_MPROTECT=0                  # PaX mprotect(2) restrictions


        The dmesg output:


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0 (FIFI_PF) #0: Wed Apr 29 14:13:50 CEST 2009
        hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/FIFI_PF
total memory = 511 MB
avail memory = 498 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Intel                          SE7210TP1-E                     (1.0             
       )
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (INTEL    SE7210TP10  )
cpu0 at mainbus0 apid 0: Intel 686-class, 2992MHz, id 0xf29
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 3 is type ISA   
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0 apid 3: pa 0xfec10000, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82875P Host (rev. 0x02)
pchb0: random number generator enabled
ppb0 at pci0 dev 28 function 0: Intel 6300ESB PCI-X Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
amr0 at pci1 dev 3 function 0: AMI RAID <MegaRAID SCSI 320-1>
amr0: interrupting at ioapic1 pin 1
amr0: firmware 1L49, BIOS G500, 128MB RAM
wm0 at pci1 dev 4 function 0: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm0: interrupting at ioapic1 pin 2
wm0: 64-bit 66MHz PCI bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:07:e9:08:ff:88
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 1: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm1: interrupting at ioapic1 pin 3
wm1: 64-bit 66MHz PCI bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:07:e9:08:ff:89
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: Intel 6300ESB USB UHCI Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: Intel 6300ESB USB UHCI Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
Intel 6300ESB Watchdog Timer (miscellaneous system, revision 0x02) at pci0 dev 
29 function 4 not configured
Intel 6300ESB Advanced Interrupt Controller (interrupt system, interface 0x20, 
revision 0x02) at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7: Intel 6300ESB USB EHCI Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23
ehci0: BIOS refuses to give up ownership, using force
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x0a)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
vga0 at pci2 dev 0 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (80x25, vt100 emulation)
drm at vga0 not configured
mpt0 at pci2 dev 2 function 0: Symbios Logic 53c1020/53c1030
mpt0: applying 1030 quirk
mpt0: interrupting at ioapic0 pin 16
scsibus0 at mpt0: 16 targets, 8 luns per target
pcib0 at pci0 dev 31 function 0
pcib0: Intel 6300ESB LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 6300ESB IDE Controller (ICH5) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
Intel 6300ESB SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 
function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pmsprobe: reset error 5
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
scsibus0: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
atapibus0 at atabus0: 2 targets
IPsec: Initialized Security Association Processing.
cd0 at atapibus0 drive 0: <TOSHIBA ODD-DVD SD-M1802, , 1031> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAP3367NC, 0108> disk fixed
sd0: 35046 MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sect x 71775284 sectors
sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAP3367NC, 0108> disk fixed
sd1: 35046 MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sect x 71775284 sectors
sd1: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
WARNING: double match for boot device (sd0, sd1)
boot device: sd0
root on sd0a dumps on sd0b
dump_misc_init: max_paddr = 0x1fff0000
/: replaying log to memory
init: copying out path `/sbin/init' 11
/: replaying log to disk
/var: replaying log to disk
/var/log: replaying log to disk


>How-To-Repeat:

        Well... set up a pf router with NetBSD 5. The machine here is
        a P4 based Intel entry level server board, 512 MB RAM, 2x
        wm(4) ethernet, and runs headless with serial console. It
        routes between half a dozen vlan based subnets.

        As to what actually triggers the panic, I have no idea. The
        pflog output from before the panic does not show much
        activity. The machine was running netbsd-4 with uptime > 100d
        before the upgrade.


>Fix:
        Wish I knew.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index