From owner-freebsd-stable@FreeBSD.ORG Fri Oct 10 15:44:08 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7E791065687 for ; Fri, 10 Oct 2008 15:44:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 7EACD8FC2B for ; Fri, 10 Oct 2008 15:44:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA07.westchester.pa.mail.comcast.net with comcast id R2q91a00f0Fqzac573k60o; Fri, 10 Oct 2008 15:44:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id R3k41a00R2P6wsM3U3k5Ck; Fri, 10 Oct 2008 15:44:05 +0000 X-Authority-Analysis: v=1.0 c=1 a=ySIV48AymN4A:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=7xS9pi-MNbABmioAmlwA:9 a=qcK8wZDg_idP2nh8kWIA:7 a=78zDfPa_vgr8iO8d-U2N7KbNjJ0A:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=qm7f-9QL9LsA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 91644C941C; Fri, 10 Oct 2008 08:44:04 -0700 (PDT) Date: Fri, 10 Oct 2008 08:44:04 -0700 From: Jeremy Chadwick To: Vlad GALU Message-ID: <20081010154404.GA36021@icarus.home.lan> References: <200810101458.m9AEw2KI082581@lava.sentex.ca> <20081010152116.GA35404@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: rwatson@freebsd.org, freebsd-stable@freebsd.org Subject: Re: UDP LOR with the latest RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:44:09 -0000 On Fri, Oct 10, 2008 at 06:24:59PM +0300, Vlad GALU wrote: > On Fri, Oct 10, 2008 at 6:21 PM, Jeremy Chadwick wrote: > > On Fri, Oct 10, 2008 at 06:11:25PM +0300, Vlad GALU wrote: > >> On Fri, Oct 10, 2008 at 5:57 PM, Mike Tancsa wrote: > >> > At 08:40 AM 10/10/2008, Vlad GALU wrote: > >> >> > >> >> As my kernel had started to lock up periodically and I don't have > >> >> hands-on access to that machine, I enabled WITNESS. > >> >> So these started to pop up: > >> > > >> > Is this with a stock kernel and sysctl settings ? Or do you have any custom > >> > kernel options ? > >> > >> Jeremy pointed to a possible culprit - running csup again brought > >> uipc_usrreq.c to version 1.206.2.5. I'm rebuilding a new kernel with > >> this revision as I type and I'll see how it goes. I'm attaching the > >> sysctl.conf below just to be safe: > > > > I remember LORs pertaining to UDP being discussed recently. > > > > Possibly relevant threads: > > > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/thread.html#45020 > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/thread.html#45109 > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/thread.html#45193 > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/thread.html#45231 > > > > The last one is rwatson's fix, and confirmation from a couple people > > that it fixes their issues. > > I've rebuilt the kernel, the LORs are still there :( > -- cut here -- > --- syscall (97, FreeBSD ELF64, socket), rip = 0x80070427c, rsp = > 0x7fffffffe8c8, rbp = 0x5269c8 --- > uma_zalloc_arg: zone "16" with the following non-sleepable locks held: > exclusive rw udp r = 0 (0xffffffff8064c928) locked @ > /usr/src/sys/netinet/udp_usrreq.c:1125 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > witness_warn() at witness_warn+0x241 > uma_zalloc_arg() at uma_zalloc_arg+0x290 > malloc() at malloc+0x5c > getenv() at getenv+0x93 > getenv_quad() at getenv_quad+0x13 > getenv_int() at getenv_int+0x15 > udp_inpcb_init() at udp_inpcb_init+0x1f > slab_zalloc() at slab_zalloc+0x1ad > uma_zone_slab() at uma_zone_slab+0xb4 > uma_zalloc_arg() at uma_zalloc_arg+0x31d > in_pcballoc() at in_pcballoc+0x38 > udp_attach() at udp_attach+0x57 > socreate() at socreate+0x14f > socket() at socket+0x8a > syscall() at syscall+0x1a9 > Xfast_syscall() at Xfast_syscall+0xab > --- syscall (97, FreeBSD ELF64, socket), rip = 0x80070427c, rsp = > 0x7fffffffe8c8, rbp = 0x5269c8 --- > -- and here -- > > I'll see whether the system still locks up or not though.. Okay, I'm bringing rwatson@ into the thread since this is specific to UDP. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |