From nobody@FreeBSD.org  Tue Dec  7 14:49:56 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B077D16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Dec 2004 14:49:56 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 88D4643D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Dec 2004 14:49:56 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iB7EntsL062010
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Dec 2004 14:49:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iB7Ent2n062009;
	Tue, 7 Dec 2004 14:49:55 GMT
	(envelope-from nobody)
Message-Id: <200412071449.iB7Ent2n062009@www.freebsd.org>
Date: Tue, 7 Dec 2004 14:49:55 GMT
From: "Elifant'ev Oleg" <helg@a-real.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: OS crash with kernel trap 12 in different processes
X-Send-Pr-Version: www-2.3

>Number:         74816
>Category:       i386
>Synopsis:       [panic] OS crash with kernel trap 12 in different processes
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 07 14:50:25 GMT 2004
>Closed-Date:    Tue Jun 26 21:59:04 GMT 2007
>Last-Modified:  Tue Jun 26 21:59:04 GMT 2007
>Originator:     Elifant'ev Oleg
>Release:        FreeBSD 5.2-Release, 5.2.1-Release
>Organization:
A-Real
>Environment:
FreeBSD test_s_intel.a-real.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Mon Dec  6 18:28:04 MSK 2004     root@test_s_intel.a-real.ru:/usr/src/sys/i386/compile/GATE  i386     
>Description:
I have a test network. Network has computers A,B and C.
A is a "downloader". It downloads web sites from computer C by using wget in infinite loop. Computer B is a router between theese networks (NAT is used).
Computer "A" have Apache 2.0.48, MySQL 4.0.20, PHP 4.3.4 installed.
Hardware of computer A is
Intel D845GVSRL i845 chipset motherboard
CPU intel celeron 1.8
Mem 128 Mb, pc2700 DDR
Network - Intel 10/100 card (em driver)

hardware is not overclocked and work on system default (auto) frequencies and timings.

Kernel Configuration (made from GENERIC)
----------------------------------------
machine		i386
#cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		GENERIC

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

# Debugging for use in -current
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS

options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPDIVERT	 # for nat
options		DUMMYNET	 # for bandwidth limitating
options     RANDOM_IP_ID # generates randon ip id field
options		IPSEC
options		IPSEC_ESP

options		DEVICE_POLLING

options		HZ=1000		# more accurate clock

# 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

# 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

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		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		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'lnc')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x and SK-982x gigabit ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		ti		# Alteon Networks Tigon I/II gigabit ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
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

this is a final kernel configuration. Before that i have enabled IPV6, sio, SMP and HZ=100 option. Under that config i have this crashes too.

Under heavy load computer A crashes with kernel panic trap 12 message after random time (from 3 till 12 hours of normal work) in different processes such 
intn: em0, swi8: tty: sio clock, swin: clock.
(because crash in "swi8... sio clock" sio device was disabled)

while trying to kill this trouble system memory timings was decreased but this does'nt solve a problem :(


>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, helg@a-real.ru
Cc:  
Subject: Re: i386/74816: OS crash with kernel trap 12 in different processes
Date: Thu, 24 May 2007 16:53:24 +0100

 Hi,
 
 Did you ever manage to resolve this issue you were seeing with FreeBSD?
 If not, is this still a problem with more recent versions of FreeBSD?
 
 Usually, the problems you were seeing point towards faulty hardware, are
 you able to rule that out?  (perhaps by swapping the roles of two of the
 computers)
 
 Thanks,
 
 Gavin
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Thu May 24 21:29:51 UTC 2007 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74816 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Tue Jun 26 21:58:27 UTC 2007 
State-Changed-Why:  
Feedback timeout (1 month) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74816 
>Unformatted:
