From owner-freebsd-current@freebsd.org Fri Mar 24 17:55:53 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03EDAD1B087 for ; Fri, 24 Mar 2017 17:55:53 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB9FE174 for ; Fri, 24 Mar 2017 17:55:52 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1crTR9-0004hc-TG; Fri, 24 Mar 2017 18:55:44 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1crTR9-0005vU-QS; Fri, 24 Mar 2017 18:55:43 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); Fri, 24 Mar 2017 17:55:43 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "Darren" CC: "freebsd-current@freebsd.org" Subject: Re: r315684 panic: sleepq_add: td 0xfffff80003c01a40 to sleep on wchan 0xfffff80006f0873c with sleeping prohibited Date: Fri, 24 Mar 2017 10:55:43 -0700 (PDT) X-Mailer: RMM6 In-Reply-To: <1824572972.3096988.1490377215756@mail.yahoo.com> Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 24 Mar 2017 17:55:53 -0000 On Fri, 24 Mar 2017 17:40:15 +0000 (UTC), Darren wrot= e: > I am getting this panic every hour to every couple of hours. >=20 > FreeBSD asrock 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r315684: Thu Mar 23 1= 4:56:45 EDT 2017=C2=A0=C2=A0=C2=A0=C2=A0 darren@asrock:/usr/obj/usr/src/sys= /GENERIC=C2=A0 amd64 > I manually typed out the following, apologize for any typos.=20 >=20 >=20 > panic: sleepq_add: td 0xfffff80003c01a40 to sleep on wchan 0xfffff80006f0= 873c with sleeping prohibited > cpuid =3D 0 > time =3D 1490372797 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0072e= 33690 > vpanic() at vpanic+0x19c/frame 0xfffffe0072e33710 > kassert_panic() at kassert_panic+0x126/frame 0xfffffe0072e33780 > sleepq_add() at sleepq_add+0x34f/frame 0xfffffe0072337d0 > _sleep() at _sleep+0x28d/frame 0xfffffe0072e33870 > soclose() at soclose+0xda/frame 0xfffffe0072e338b0 > _fdrop() at _fdrop+0x1a/frame 0xfffffe0072e338d0 > sendfile_iodone() at sendfile_iodone+0x19d/frame 0xfffffe0072e33910 > vnode_pager_generic_getpages_done_async() at vnode_pager_generic_getpages= _done_async+037/frame 0xfffffe0072e33930 > bufdone() at bufdone+0x64/frame 0xfffffe0072e33960 > g_io_deliver() at g_io_deliver+0x276/frame 0xfffffe0072e339b0 > g_io_deliver() at g_io_deliver+0x276/frame 0xfffffe0072e33a00 > g_disk_done() at g_disk_done+0x104/frame 0xfffffe0072e33a40 > xpt_done_process() at xpt_done_process+0x35f/frame 0xfffffe0072e33a80 > xpt_done_direct() at ahci_ch_intr_direct+0xd5/frame 0xfffffe0072e33af0 > ahci_itr() at ahci_intr+0x102/frame 0xfffffe0072e33b20 > intr_event_execute_handlers() at intr_event_execute_handlers+0x99/frame 0= xfffffe0072e33b60 > ithread_loop() at ithread_loop+0xb6/frame 0xfffffe0072e33bb0 > fork_exit() at fork_exit+0x84/frame 0xfffffe0072e33bf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0072e33bf0 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > KDB: enter: panic > [ thread pid 12 tid 100038 ] > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kdb_enter+0x3b: movq=C2=A0=C2=A0= =C2=A0 $0,kdb_why > db> >=20 >=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Will there ever be an auto-save to .txt upon break to debugger or lock reversal or similar in code? or is beyond the capability of the OS once the occurance has taken place, I wonder.=20=