From owner-freebsd-current@FreeBSD.ORG Wed Aug 12 20:20:05 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA8A1065673 for ; Wed, 12 Aug 2009 20:20:05 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id A444F8FC44 for ; Wed, 12 Aug 2009 20:20:05 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id A306F851E for ; Wed, 12 Aug 2009 20:20:03 +0000 (UTC) Date: Wed, 12 Aug 2009 21:19:59 +0100 From: Bruce Cran To: current@freebsd.org Message-ID: <20090812211959.0000293c@unknown> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: sctp panic in _mtx_lock_sleep when attempting to connect to a remote machine X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 20:20:06 -0000 I've found a way to reliably panic two machines running 8.0-BETA2. It seems that there's a problem with SCTP connection requests being made at the same time as other network traffic. The panic I see is: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 Stack trace: _mtx_lock_sleep sctp_lower_sosend sctp_sosend kern_sendit sendit sendto sycall Xfast_syscall I can trigger it by running the SCTP-enabled version of ncat from http://www.roe.ch/Nmap_SCTP . I put a few thousand lines of: cat /dev/random | ./ncat --sctp 192.168.1.80 2345 into a shell script, where 192.168.1.80 is a machine running 7.2 with SCTP enabled but no server listening - I mostly see "Connection refused" errors when I run the script. When I run the script and at the same time generate some tcp traffic by running csup for example, the box panics. -- Bruce