From owner-freebsd-net@FreeBSD.ORG Mon Feb 16 20:54:20 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 392ADA50 for ; Mon, 16 Feb 2015 20:54:20 +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 0CBA7EDC for ; Mon, 16 Feb 2015 20:54:20 +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 t1GKsJRx009527 for ; Mon, 16 Feb 2015 20:54:19 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 t1GKsJ7t009524; Mon, 16 Feb 2015 20:54:19 GMT (envelope-from root) Date: Mon, 16 Feb 2015 20:54:19 +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: 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: Y2JjMTcyODJkYzgxM2NkZDFjY2RhOGRmMTlkIFTiWPs= 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: Mon, 16 Feb 2015 20:54:20 -0000 hiren added a comment. @rrs: One more Sanitized panic #5 Dump header from device /dev/da0s1b Architecture: amd64 Architecture Version: 2 Dump Length: 1694281728B (1615 MB) Blocksize: 512 Dumptime: Sun Feb 15 18:03:14 2015 Hostname: xxxxxxxxxxxxxxxxx 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: 4219482370 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/if_gif.ko.symbols...done. Loaded symbols for /boot/kernel/if_gif.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 0xffffffff80760064 in callout_lock (c=0xfffffe000092f6d0) at /usr/src/sys/kern/kern_timeout.c:530 #5 0xffffffff8076019c in _callout_stop_safe (c=0xfffffe000092f6d0, safe=0) at /usr/src/sys/kern/kern_timeout.c:1119 #6 0xffffffff80557202 in mpt_scsi_reply_handler (mpt=0xfffffe0000900000, req=0xfffffe000092f678, reply_desc=0, reply_frame=0x0) at /usr/src/sys/dev/mpt/mpt_cam.c:2599 #7 0xffffffff805509a7 in mpt_intr (arg=0xfffffe0000900000) at /usr/src/sys/dev/mpt/mpt.c:823 #8 0xffffffff8055d9d6 in mpt_pci_intr (arg=0xfffffe0000900000) at /usr/src/sys/dev/mpt/mpt_pci.c:802 #9 0xffffffff8071a7fb in intr_event_execute_handlers ( p=, ie=0xfffff80008532e00) at /usr/src/sys/kern/kern_intr.c:1264 #10 0xffffffff8071b196 in ithread_loop (arg=0xfffff8000857bc00) at /usr/src/sys/kern/kern_intr.c:1277 #11 0xffffffff8071841a in fork_exit ( callout=0xffffffff8071b100 , arg=0xfffff8000857bc00, frame=0xfffffe064b1edc00) at /usr/src/sys/kern/kern_fork.c:1017 #12 0xffffffff80aeb08e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:611 #13 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) 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