From owner-freebsd-current@FreeBSD.ORG Sat Sep 21 16:35:00 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CA3CDF4B; Sat, 21 Sep 2013 16:35:00 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 767E527F7; Sat, 21 Sep 2013 16:35:00 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id g17so1245964vbg.28 for ; Sat, 21 Sep 2013 09:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=JeZFO9JIV4lYzIfX1M0LIyOQdaDNdvCuMx/IkuSWFHc=; b=BoEjFTEE9q6bIv2dboUqnvUiQqQv5pGStYq4LlgLif8Z2SFGZd0GzLA1rh8BD6jzhc xBb6uNPuOZ6Xlh/HIXICX1/yYjqKKWlSm3x61X8TL82Cfa9HNTcsSOYdNMloO9Uu9te1 XtBS1sVujA90xuvqp9dEYKO9V9bA2Ir7p+B1tPSwRnI/+QLklWxpBg+9w8YckPbU0E30 6guvuWpDgl5mB/ibesjJGhc4HdBrGmLXPJXx2GQGFfHroSPxKqLvwOCW7AMz91/ODdvi ply0Jzr84vbs6t8YaqiDc2HHnr79mdA/JGqFi0CAy45BYlLSLsgaami8Cke3HupXQ0LL GYeg== MIME-Version: 1.0 X-Received: by 10.52.34.109 with SMTP id y13mr10637558vdi.8.1379781299472; Sat, 21 Sep 2013 09:34:59 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.65.132 with HTTP; Sat, 21 Sep 2013 09:34:59 -0700 (PDT) In-Reply-To: <523DC9C7.1020708@FreeBSD.org> References: <523D8AAD.5080900@FreeBSD.org> <523D8C39.4050307@FreeBSD.org> <20130921145139.23e3007a@thor.walstatt.dyndns.org> <523DC6D1.6050903@egr.msu.edu> <523DC9C7.1020708@FreeBSD.org> Date: Sat, 21 Sep 2013 09:34:59 -0700 X-Google-Sender-Auth: _-Xr_es2tiX6-X33sM4gvHV9_qY Message-ID: Subject: Re: Panic on head (r255759) [_callout_stop_safe()-> panic: Lock lle not exclusively locked @ /usr/src/sys/kern/kern_rwlock.c:140] From: Davide Italiano To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 21 Sep 2013 16:35:01 -0000 On Sat, Sep 21, 2013 at 9:31 AM, Bryan Drewery wrote: > On 9/21/2013 11:18 AM, Adam McDougall wrote: >> On 09/21/13 09:41, Davide Italiano wrote: >>> On Sat, Sep 21, 2013 at 2:51 PM, O. Hartmann >>> wrote: >>>> On Sat, 21 Sep 2013 07:08:25 -0500 >>>> Bryan Drewery wrote: >>>> >>>>> On 9/21/2013 7:06 AM, Bjoern A. Zeeb wrote: >>>>>> On Sat, 21 Sep 2013, Bryan Drewery wrote: >>>>>> >>>>>>>> Unread portion of the kernel message buffer: >>>>>>>> panic: Lock lle not exclusively locked @ >>>>>>>> /usr/src/sys/kern/kern_rwlock.c:140 >>>>>>>> >>>>>>>> cpuid = 0 >>>>>>>> KDB: stack backtrace: >>>>>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>>>>>>> 0xfffffe118aeef820 >>>>>>>> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe118aeef8d0 >>>>>>>> vpanic() at vpanic+0x126/frame 0xfffffe118aeef910 >>>>>>>> panic() at panic+0x43/frame 0xfffffe118aeef970 >>>>>>>> __rw_assert() at __rw_assert+0xa3/frame 0xfffffe118aeef980 >>>>>>>> _callout_stop_safe() at _callout_stop_safe+0x54/frame >>>>>>>> 0xfffffe118aeef9f0 arptimer() at arptimer+0x14e/frame >>>>>>>> 0xfffffe118aeefa30 softclock_call_cc() at >>>>>>>> softclock_call_cc+0x188/frame 0xfffffe118aeefb10 softclock() at >>>>>>>> softclock+0x47/frame 0xfffffe118aeefb30 >>>>>>>> intr_event_execute_handlers() at >>>>>>>> intr_event_execute_handlers+0x93/frame 0xfffffe118aeefb70 >>>>>>>> ithread_loop() at ithread_loop+0xa6/frame 0xfffffe118aeefbb0 >>>>>>>> fork_exit() at fork_exit+0x84/frame 0xfffffe118aeefbf0 >>>>>>>> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe118aeefbf0 >>>>>>>> --- trap 0, rip = 0, rsp = 0xfffffe118aeefcb0, rbp = 0 --- >>>>>> >>>>>> +1 from me; I guess introduced somwhere between 255569 and 255758, >>>>>> as these are my edges of kernel.old and kernel. >>>>>> >>>>> r255726 was stable for me. r255759 is not. >>>>> >>>>> r255755 converted ipfilter to callout, but I am unsure if that is the >>>>> problem. >>>>> >>>> r255729 is also stable for me - I'm with r255729 again, since r255757 >>>> crashed. >>> Let me know if this fixes the problem for you: >>> http://people.freebsd.org/~davide/review/lc_calloutfix.diff >>> >>> Thanks, >>> >> Worked for me so far. I generally couldn't stay up more than 30 minutes >> before the patch and now my uptime is 90 minutes. Thanks! > > Same here. > > > -- > Regards, > Bryan Drewery > I would wait another couple of hours before the commit, but still I'm confident this fixed the problem. -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare