From owner-freebsd-net@FreeBSD.ORG Thu Feb 19 18:37:21 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B1652E6 for ; Thu, 19 Feb 2015 18:37:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EB52E6B for ; Thu, 19 Feb 2015 18:37:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1JIbL3Y068699 for ; Thu, 19 Feb 2015 18:37:21 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1JIbLrG068698; Thu, 19 Feb 2015 18:37:21 GMT (envelope-from root) Date: Thu, 19 Feb 2015 18:37:21 +0000 To: freebsd-net@freebsd.org From: "hiren (hiren panchasara)" Subject: [Differential] [Commented On] D1711: Changes to the callout code to restore active semantics and also add a test-framework and test to validate thecallout code (and potentially for use by other tests). Message-ID: <94f9319f4a55d6e4b8bc056831570dbc@localhost.localdomain> X-Priority: 3 Thread-Topic: D1711: Changes to the callout code to restore active semantics and also add a test-framework and test to validate the callout code (and potentially for use by other tests). X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: Y2JjMTcyODJkYzgxM2NkZDFjY2RhOGRmMTlkIFTmLWE= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 18:37:21 -0000 hiren added a comment. Another panic from an almost *idle* box: Sanitized panic #6 Dump header from device /dev/da0s1b Architecture: amd64 Architecture Version: 2 Dump Length: 6525980672B (6223 MB) Blocksize: 512 Dumptime: Thu Feb 19 06:16:57 2015 Hostname: xxxxxxxxxxxxxxxxxx Magic: FreeBSD Kernel Dump Version String: FreeBSD 10.1-STABLE-llnw12 #0: Fri Feb 13 02:22:48 MST 2015 jason@xxxxxxxxxxxx:/usr/obj/usr/src/sys/SIXFOUR Panic String: spin lock held too long Dump Parity: 1313546413 Bounds: 0 Dump Status: good Backtrace: Reading symbols from /boot/kernel/cc_cubic.ko.symbols...done. Loaded symbols for /boot/kernel/cc_cubic.ko.symbols Reading symbols from /boot/kernel/cc_cdg.ko.symbols...done. Loaded symbols for /boot/kernel/cc_cdg.ko.symbols Reading symbols from /boot/kernel/h_ertt.ko.symbols...done. Loaded symbols for /boot/kernel/h_ertt.ko.symbols Reading symbols from /boot/kernel/ftcp.ko...done. Loaded symbols for /boot/kernel/ftcp.ko #0 doadump (textdump=1) at pcpu.h:219 in pcpu.h (kgdb) #0 doadump (textdump=1) at pcpu.h:219 #1 0xffffffff80749c17 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:452 #2 0xffffffff80749ff4 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80735683 in _mtx_lock_spin_cookie (c=, tid=, opts=, file=, line=) at /usr/src/sys/kern/kern_mutex.c:561 #4 0xffffffff80af3fc1 in smp_tlb_shootdown (vector=246, pmap=0xffffffff81391ae0, addr1=18446742009410568192, addr2=18446742009410572288) at /usr/src/sys/amd64/amd64/mp_machdep.c:1145 #5 0xffffffff80af5d3c in pmap_invalidate_range (pmap=, sva=, eva=) at /usr/src/sys/amd64/amd64/pmap.c:1480 #6 0xffffffff807d57ef in vfs_vmio_release (bp=0xfffffe1f298bd000) at /usr/src/sys/kern/vfs_bio.c:1861 #7 0xffffffff807d622b in getnewbuf (maxsize=, gbflags=) at /usr/src/sys/kern/vfs_bio.c:2149 #8 0xffffffff807d3791 in getblk (vp=0xfffff802a158f3b0, blkno=0, size=4096, slpflag=0, slptimeo=0, flags=) at /usr/src/sys/kern/vfs_bio.c:3210 #9 0xffffffff807d41dd in breadn_flags (vp=0xfffff802a158f3b0, blkno=0, size=0, rablkno=0x0, rabsize=0x0, cnt=0, cred=0xfffffe2020f6e670, flags=0, bpp=0xfffffe2020f6e670) at /usr/src/sys/kern/vfs_bio.c:1127 #10 0xffffffff8095c84a in ffs_blkatoff (vp=0x0, offset=0, res=0x0, bpp=0xfffffe2020f6e7f8) at /usr/src/sys/ufs/ffs/ffs_subr.c:86 #11 0xffffffff8096ef92 in ufs_readdir (ap=0xfffffe2020f6e900) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2177 #12 0xffffffff80c2af07 in VOP_READDIR_APV (vop=, a=) at vnode_if.c:1821 #13 0xffffffff807f9aaa in kern_getdirentries (td=0xfffff800230a8000, fd=, buf=0x8022a9000
, count=, basep=0xfffffe2020f6e980, residp=0x0) at vnode_if.h:758 #14 0xffffffff807f9888 in sys_getdirentries (td=0x0, uap=0xfffffe2020f6ea40) at /usr/src/sys/kern/vfs_syscalls.c:4030 #15 0xffffffff80b059ca in amd64_syscall (td=0xfffff800230a8000, traced=0) at subr_syscall.c:134 #16 0xffffffff80aeae3b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:396 #17 0x0000000801588efa in ?? () Current language: auto; currently minimal (kgdb) @rrs This does not have your patch so we won't get any more interesting data but I wanted to show that we get the panic on almost idle boxes too. What does that tell us? REVISION DETAIL https://reviews.freebsd.org/D1711 To: rrs, gnn, rwatson, lstewart, jhb, kostikbel, sbruno, imp, adrian, hselasky Cc: julian, hiren, jhb, kostikbel, emaste, delphij, neel, erj, freebsd-net