-CURRENT panics on intensive fs operations.

From: Alexandre \ <alex.kovalenko_at_verizon.net>
Date: Tue, 13 Feb 2007 20:02:39 -0500
I can reliably panic -CURRENT (Feb 11, noon EST) with the something that
excersises the file system. I have currently settled on (cd /usr/ports;
make clean), but it all started out as doing some "emerges" to test the
latest linuxolator. In the case of the "make clean" I have seen it
crashing as early as /usr/ports/audio and as late
as /usr/ports/textproc. 

It does not seem to be consistent as to where it crashes (two latest
ones are below). This machine is Intel T2400 (1.83GHz 32-bit dual core).
I have attached config file to the E-mail. I am going to turn off
PREEMPTION for the lack of better ideas, but I will be happy to try any
other suggestions. I did run memtest on this machine for about 6 hours
without a problem.

If it is helpful, I can place dumps someplace for download.

-- 
Alexandre "Sunny" Kovalenko

========== This is crash #2 ==========================
Unread portion of the kernel message buffer:
Sleeping thread (tid 100083, pid 89548) owns a non-sleepable lock
sched_switch(c5068bd0,0,1) at sched_switch+0xd7
mi_switch(1,0) at mi_switch+0x1d4
sleepq_switch(c5689374) at sleepq_switch+0x8b
sleepq_wait(c5689374,c5689374,c06ef6a0,c0695a94,1,0) at sleepq_wait+0x58
cv_wait_unlock(c5689374,c06ef6a0) at cv_wait_unlock+0x127
cv_wait(c5689374,c06ef6a0,c54a5d80,2,e7844930,...) at cv_wait+0x22
_sx_xlock(c5689350,0,0) at _sx_xlock+0x50
_vm_map_lock_read(c568930c,0,0,284496c,c54a5d80,...) at
_vm_map_lock_read+0x33
vm_map_lookup(e78449ec,400000,2,e78449f0,e78449e0,e78449e4,e78449c7,e78449c8) at vm_map_lookup+0x22
vm_fault(c568930c,400000,2,8) at vm_fault+0x66
trap_pfault(e7844b08,0,40003a) at trap_pfault+0xf7
trap(e7844b08) at trap+0x39e
calltrap() at calltrap+0x6
--- trap 0xc34c2f70, eip = 0x2, esp = 0x10202, ebp = 0 ---
panic: sleeping thread
cpuid = 0
KDB: enter: panic
Physical memory: 2030 MB
Dumping 109 MB: 94 78 62 46 30 14

================= This is the crash #3 ==============================
Unread portion of the kernel message buffer:
panic: vm_page_insert: page already inserted
cpuid = 1
KDB: enter: panic
Physical memory: 2030 MB
Dumping 105 MB: 90 74 58 42 26 10


#
# TPX60 -- kernel configuration file for ThinkPad X60
#

cpu		I686_CPU
ident		TPX60

# 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 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
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 	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
options 	ATA_STATIC_ID	# Static device numbering

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

# 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		kbdmux		# keyboard multiplexer

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

device		agp		# support several AGP chipsets

# 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

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
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)
device		firmware	# firmware assist module

# 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

# FireWire support
# device		firewire	# FireWire bus code
# device		dcons_crom
# device 		dcons
Received on Wed Feb 14 2007 - 00:02:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC