Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2004 12:54:41 +0200 (CEST)
From:      Daniel Lang <dl@leo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/68442: panic - acquiring duplicate lock of same type: "sleepq chain"
Message-ID:  <20040628105441.D988628448@atrbg11.informatik.tu-muenchen.de>
Resent-Message-ID: <200406281100.i5SB0ddp002740@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68442
>Category:       kern
>Synopsis:       panic - acquiring duplicate lock of same type: "sleepq chain"
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 28 11:00:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Lang
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
LEO
>Environment:
System: FreeBSD  5.2-CURRENT FreeBSD 5.2-CURRENT #3: Mon Jun 28 11:05:52 CEST 2004     root@:/usr/obj/usr/src/sys/PAE-ATLEO6  i386

Hardware: DELL PowerEdge 2650, 2x2.4GHz Xeon, HTT DISABLED (I thought HTT
may be the problem, so I disabled it).

dmesg:
[..]
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 5.2-CURRENT #3: Mon Jun 28 11:05:52 CEST 2004
    root@:/usr/obj/usr/src/sys/PAE-ATLEO6
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xa0622000.
ACPI APIC Table: <DELL   PE2650  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) XEON(TM) CPU 2.40GHz (2392.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 6442450944 (6144 MB)
avail memory = 6174314496 (5888 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
acpi0: <DELL PE2650> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
pcibios: BIOS version 2.10
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 15 INTA is routed to irq 5
pci0: <unknown> at device 4.0 (no driver attached)
pci0: <unknown> at device 4.1 (no driver attached)
cbb0: <PCI-CardBus Bridge> port 0xecf4-0xecf7 irq 27 at device 4.2 on pci0
cbb0: failed: rid 0x10 is ioport, requested 3
cbb0: Could not map register memory
device_attach: cbb0 attach returned 12
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 15.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 8.0 on pci4
pci5: <ACPI PCI bus> on pcib2
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xac00-0xacff mem 0xfc8ff000-0xfc8fffff irq 30 at device 6.0 on pci5
ahc0: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xa800-0xa8ff mem 0xfc8fe000-0xfc8fefff irq 31 at device 6.1 on pci5
ahc1: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xfcb10000-0xfcb1ffff irq 28 at device 6.0 on pci3
miibus0: <MII bus> on bge0
brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:06:5b:3f:36:a8
bge0: [GIANT-LOCKED]
bge1: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xfcb00000-0xfcb0ffff irq 29 at device 8.0 on pci3
miibus1: <MII bus> on bge1
brgphy1: <BCM5701 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:06:5b:3f:36:a9
bge1: [GIANT-LOCKED]
pcib4: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> mem 0xfcd20000-0xfcd2ffff,0xfcd00000-0xfcd1ffff irq 24 at device 6.0 on pci2
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:03:47:df:26:4d
em0:  Speed:1000 Mbps  Duplex:Full
pcib5: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib5
ahc2: <Adaptec 29160 Ultra160 SCSI adapter> port 0xdc00-0xdcff mem 0xfcf01000-0xfcf01fff irq 16 at device 6.0 on pci1
ahc2: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc3: <Adaptec 29160 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xfcf00000-0xfcf00fff irq 20 at device 8.0 on pci1
ahc3: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
isa_dmainit(2, 1024) failed
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xec000-0xeffff,0xc8000-0xcdfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata0-master PIO4
Waiting 3 seconds for SCSI devices to settle
ses0 at ahc0 bus 0 target 6 lun 0
ses0: <PE/PV 1x5 SCSI BP 0.25> Fixed Processor SCSI-2 device 
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336706LC 010A> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST336706LC 8A03> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <FUJITSU MAS3367NC 0104> Fixed Direct Access SCSI-3 device 
da2: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da2: 35068MB (71819496 512 byte sectors: 255H 63S/T 4470C)
da3 at ahc2 bus 0 target 0 lun 0
da3: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da3: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da3: 204800MB (419430400 512 byte sectors: 255H 63S/T 26108C)
da10 at ahc3 bus 0 target 14 lun 0
da10: <G-Force RI > Fixed Direct Access SCSI-2 device 
da10: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da10: 439840MB (900792320 512 byte sectors: 255H 63S/T 56071C)
da4 at ahc2 bus 0 target 0 lun 1
da4: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da4: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da4: 204800MB (419430400 512 byte sectors: 255H 63S/T 26108C)
da5 at ahc2 bus 0 target 0 lun 2
da5: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da5: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da5: 277016MB (567328768 512 byte sectors: 255H 63S/T 35314C)
da6 at ahc2 bus 0 target 0 lun 3
da6: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da6: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da6: 286720MB (587202560 512 byte sectors: 255H 63S/T 36551C)
da7 at ahc2 bus 0 target 0 lun 4
da7: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da7: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da7: 286720MB (587202560 512 byte sectors: 255H 63S/T 36551C)
da8 at ahc2 bus 0 target 0 lun 5
da8: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da8: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da8: 286720MB (587202560 512 byte sectors: 255H 63S/T 36551C)
da9 at ahc2 bus 0 target 0 lun 6
da9: <FX-1600U 3-R 0001> Fixed Direct Access SCSI-3 device 
da9: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da9: 284504MB (582664192 512 byte sectors: 255H 63S/T 36269C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted

KERNEL CONFIG (two files, uses PAE)

PAE-ATLEO6:
----------
#
# PAE -- Generic kernel configuration file for FreeBSD/i386 PAE
#
# $FreeBSD: src/sys/i386/conf/PAE,v 1.8 2003/11/03 22:49:19 jhb Exp $

include ATLEO6

ident		PAE-ATLEO6

# To make a PAE kernel, the next option is needed
options		PAE			# Physical Address Extensions Kernel

options		KVA_PAGES=768

options		COMPAT_LINUX
options         DDB_NOKLDSYM


#options		ADAPTIVE_MUTEXES
# Compile acpi in statically since the module isn't built properly.  Most
# machines which support large amounts of memory require acpi.
device		acpi

# Don't build modules with this kernel config, since they are not built with
# the correct options headers.
makeoptions	NO_MODULES=yes

# What follows is a list of drivers that are normally in GENERIC, but either
# don't work or are untested with PAE.  Be very careful before enabling any
# of these drivers.  Drivers which use DMA and don't handle 64 bit physical
# address properly may cause data corruption when used in a machine with more
# than 4 gigabytes of memory.

nodevice	ahb
nodevice	amd
nodevice	isp
nodevice	sym
nodevice	trm

nodevice	adv
nodevice	adw
nodevice	aha
nodevice	aic
nodevice	bt

nodevice	ncv
nodevice	nsp
nodevice	stg

nodevice	asr
nodevice	dpt
nodevice	iir
nodevice	mly

nodevice	amr
nodevice	ida
nodevice	mlx
nodevice	pst

nodevice	agp

nodevice	de
nodevice	txp
nodevice	vx

nodevice	dc
nodevice	pcn
nodevice	rl
nodevice	sf
nodevice	sis
nodevice	ste
nodevice	tl
nodevice	tx
nodevice	vr
nodevice	wb

nodevice	cs
nodevice	ed
nodevice	ex
nodevice	ep
nodevice	fe
nodevice	ie
nodevice	lnc
nodevice	sn
nodevice	xe

nodevice	wlan
nodevice	an
nodevice	awi
nodevice	wi

nodevice	uhci
nodevice	ohci
nodevice	usb
nodevice	ugen
nodevice	uhid
nodevice	ukbd
nodevice	ulpt
nodevice	umass
nodevice	ums
nodevice	urio
nodevice	uscanner
nodevice	aue
nodevice	axe
nodevice	cue
nodevice	kue
----

ATLEO6 (regular config file):

------
#
# ATLEO6
#

machine		i386
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		ATLEO6

# 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		# ULE scheduler
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
#options	NETATALK		# appletalk stuff
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=3000	# 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 	PFIL_HOOKS		# pfil(9) framework
#options	ICMP_BANDLIM		#Rate limit bad replies

# Debugging for use in -current
options 	DDB			# Enable the kernel debugger
#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
options		DDB_TRACE
options		DDB_NUMSYM

# 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 Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
options		AHC_ALLOW_MEMIO

# 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)

# wired?

# RAID controllers interfaced to the SCSI subsystem

# RAID controllers

# 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
options		SC_NORM_ATTR="(FG_LIGHTGREY|BG_BLACK)"
options		SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
options		SC_KERNEL_CONS_ATTR="(FG_WHITE|BG_BLUE)"
options		SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"

# Enable this for the pcvt (VT220 compatible) console driver

#
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

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
#device		pcic		# ExCA ISA and PCI bridges
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# SMbus and I2C
#device	smbus	# Bus support, required for smb below.
#device	intpm
#device	alpm
#device	ichsmb
#device	viapm
#device	amdpm
#device	nfpm
#device	smb

#device	iicbus	# Bus support, required for ic/iic/iicsmb below.
#device	iicbb
#device	ic
#device	iic
#device	iicsmb	# smb over i2c bridge


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

# 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		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# 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		bfe		# Broadcom BCM440x 10/100 ethernet
device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
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
---------

Things tried out to solve/circumvent the problem,
none did help:

SCHED_ULE vs. SCHED_4BSD 
ADAPTIVE_MUTEXES (on/off)
Hyperthreading enabled/disabled in the BIOS

>Description:

Machine hangs frequently, after adding DDB and various WITNESS
options, I get the following:

acquiring duplicate lock of same type: "sleepq chain"
 1st Giant @ /usr/src/sys/kern/uipc_syscalls.c:1735
  2nd sleepq chain @ /usr/src/sys/kern/subr_sleepqueue.c:193
Stack backtrace:
backtrace(a0367684,a0534930,a0534930,a05031e4,a05578d4) at 0xa034b25e = backtra2
witness_checkorder(a0530784,9,a04ce113,c1,140) at 0xa03666c4 = witness_checkord4
_mtx_lock_spin_flags(a0530784,0,a04ce113,c1,a8888e70) at 0xa0344096 = _mtx_locke
sleepq_lookup(a8a50860,a8a683dc,0,a04ce113,145) at 0xa03639d6 = sleepq_lookup+0e
sleepq_catch_signals(a8a50860,0,100,0,a04d0a46) at 0xa0363c69 = sleepq_catch_sid
msleep(a8a50860,a8a50830,158,a04d089f,0) at 0xa0350953 = msleep+0x233
sbwait(a8a5081c,0,4eb,0,0) at 0xa037ced3 = sbwait+0x33
do_sendfile(a8888e70,cf0f8d14,0,cf0f8d40,a049070b) at 0xa0380e21 = do_sendfile+5
sendfile(a8888e70,cf0f8d14,8,d3,202) at 0xa03801c0 = sendfile+0x10
syscall(40df002f,9f7f002f,9f7f002f,8,0) at 0xa049070b = syscall+0x217
Xint0x80_syscall() at 0xa047e88f = Xint0x80_syscall+0x1f
--- syscall (393), eip = 0x2812123b, esp = 0x9f7fde4c, ebp = 0x9f7fdea8 ---
Jun 28 11:34:35 atleo6 ftpd[2810]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:36:12 atleo6 ftpd[2870]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:38:05 atleo6 ftpd[2910]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:40:57 atleo6 ftpd[2993]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:43:02 atleo6 ftpd[3036]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:43:02 atleo6 ftpd[3037]: getsockname (/usr/libexec/ftpd): Socket opert
Jun 28 11:43:02 atleo6 ftpd[3043]: getsockname (/usr/libexec/ftpd): Socket opert

Fatal double fault:
eip = 0xa0367274
esp = 0xcc331000
ebp = 0xcc33100c
cpuid = 1; apic id = 06
panic: double fault
cpuid = 1;
Stack backtrace:
backtrace(100,a7d7f3f0,0,0,0) at 0xa034b25e = backtrace+0x12
panic(a04e403e,a04e41c0,6,0,0) at 0xa034b37e = panic+0x11e
dblfault_handler(a051b7ec,1,60,a7d2c000,a0529590) at 0xa04904f2 = dblfault_handa
Debugger("panic")
spin lock witness lock held by 0xa7d7f3f0 for > 5 seconds

After this, the machine is locked, I don't get a ddb prompt.
I need to reset the machine. No crash-dump of course.


The machine has PAE enabled and 6GB of RAM. I will not try to
boot a non-PAE kernel. The problems started with the PAE stuff :-/



>How-To-Repeat:
 - 
>Fix:
 - 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040628105441.D988628448>