From owner-freebsd-current@FreeBSD.ORG Tue Feb 12 01:43:22 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567AD16A41B for ; Tue, 12 Feb 2008 01:43:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id F0F7A13C45B for ; Tue, 12 Feb 2008 01:43:21 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so4228518wri.3 for ; Mon, 11 Feb 2008 17:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=HWNfFZ0SnpbfABgxMe1KiiirYo+v9m+PlbEYHfFNTuU=; b=Vz0wovl+BimSdSkWY4eX/OGASdqfzk3EGqv42cfu7FlUw45FK9+kzP1wFVx/FIObZr8cx5F/HVeBn8XZYEuIviGTLjJ5eXl00cunCVaqvSQnoGL0mDt586sSGT3fzMh7ecNkORwjad26/SgShhQtADpPgiTx5skvlsgK5rziDko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=QCkLYcF3CvbiT8BTvCh/c6qfLeRTWqA9jDxDlJSW3ISjE6OWx5Lm7UmM8wDJX38TuoYE797XkjX2WWlQAWeDiIEXoy6pWFqa3CL1/YPC0XV01a3DE5eN5fltArzfsPcpJRzhUMJWCZkjRWrdX6JRuDlFGH1j5kdjsC1U0U8T7Ws= Received: by 10.142.163.14 with SMTP id l14mr567908wfe.230.1202780600260; Mon, 11 Feb 2008 17:43:20 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 24sm5712855wff.10.2008.02.11.17.43.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 17:43:18 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m1C1hDDY007286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Feb 2008 10:43:13 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1C1hCnj007285; Tue, 12 Feb 2008 10:43:12 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 12 Feb 2008 10:43:12 +0900 From: Pyun YongHyeon To: Cy Schubert Message-ID: <20080212014312.GA6953@cdnetworks.co.kr> References: <200802120010.m1C0AeTZ038250@cwsys.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802120010.m1C0AeTZ038250@cwsys.cwsent.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org Subject: Re: sk Panic in 8.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 01:43:22 -0000 On Mon, Feb 11, 2008 at 04:10:40PM -0800, Cy Schubert wrote: > Has anyone seen the following mutex panic in sk_jfree? The last time this > system booted was Jan 31. > [...] > panic: mtx_lock() of spin mutex (null) @ /dsk03/src/cvs-current/src/sys/modu > les/sk/../../dev/sk/if_sk.c:2439 > cpuid = 0 > KDB: enter: panic > [thread pid 12 tid 100038 ] > Stopped at kdb_enter+0x34: movl $0,kdb_why > db> bt > Tracing pid 12 tid 100038 td 0xc3363cc0 > kdb_enter(c0a36183,c0a36183) at kdb_enter+0x34 > panic(c0a34f9b,0,c0cefb36,987,e2583cc0,...) at panic+0x111 > _mtx_lock_flags(e2586bbc,0,c0cefb36,987,c35d1000,...) at > _mtx_lock_flags+0x70 > sk_jfree(c341f000,e2583cc0) at sk_jfree+0x3a > mb_free_ext(c35d1000) at mb_free_ext+0x18f > m_freem(c35d1000) at m_freem+0x1f > arpintr(c35d1000) at arpintr+0xc0b > netisr_dispatch(12,c35d1000) at netisr_dispatch+0x5d > ether_demux(c33d5400,c35d1000) at ether_demux+0x1c9 > ether_input(c33d5400,c35d1000,c33f36e0,0,c0cefb36,...) at ether_input+0x2f9 > sk_jumbo_rxeof(c33f36e0,c341f000,c33d5400,0,c342d340,...) at > sk_jumbo_rxeof+0x215 > sk_intr(c33f3680) at sk_intr+0xac > ithread_loop(c342ab40,e2589d38) at ithread_loop+0x175 > fork_exit(c06eded0,c342ab40,e2589d38) at fork_exit+0xb0 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xe2589d70, ebp = 0 --- > db> > I'm not sure whether this panic is related with recent phk's change to MEXTADD(). If this is the case, you may have to use standard MTU instead of 9000. Since FreeBSD now have physically contiguous jumbos I have plan to take advantage of it instead of use of local allocator. That would also eliminate a jlist lock required to serialize accessing jumbo buffers allocated from driver. Give me a couple of days. -- Regards, Pyun YongHyeon