From owner-freebsd-net@FreeBSD.ORG Mon Feb 16 20:50:24 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 51B8F8C0 for ; Mon, 16 Feb 2015 20:50:24 +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 24B6CE11 for ; Mon, 16 Feb 2015 20:50:24 +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 t1GKoNHu003696 for ; Mon, 16 Feb 2015 20:50:23 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 t1GKoNss003695; Mon, 16 Feb 2015 20:50:23 GMT (envelope-from root) Date: Mon, 16 Feb 2015 20:50:23 +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: Y2JjMTcyODJkYzgxM2NkZDFjY2RhOGRmMTlkIFTiWA8= 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:50:24 -0000 hiren added a comment. @rrs: Looks like we've come full circle back to the very first crash reported. We are on stable10 with all relevant fixes. Sanitized panic #4 Dump header from device /dev/da0s1b Architecture: amd64 Architecture Version: 2 Dump Length: 6764437504B (6451 MB) Blocksize: 512 Dumptime: Mon Feb 16 02:54:11 2015 Hostname: xxxxxxxxxxxxxxx Magic: FreeBSD Kernel Dump Version String: FreeBSD 10.1-STABLE-llnw12 #0: Fri Feb 13 02:22:48 MST 2015 jason@xxxxxxxxxxxxx:/usr/obj/usr/src/sys/SIXFOUR Panic String: spin lock held too long Dump Parity: 1861214463 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 0xffffffff80760064 in callout_lock (c=0xfffff80870266e80) at /usr/src/sys/kern/kern_timeout.c:530 #5 0xffffffff8075fc62 in callout_reset_sbt_on (c=0xfffff80870266e80, sbt=, precision=, ftn=0xffffffff808bcfe0 , arg=0xfffff80870266c00, cpu=, flags=) at /usr/src/sys/kern/kern_timeout.c:975 #6 0xffffffff808bd807 in tcp_timer_activate (tp=0x0, timer_type=, delta=) at /usr/src/sys/netinet/tcp_timer.c:883 #7 0xffffffff808b3ce0 in tcp_output (tp=0xfffff80870266c00) at /usr/src/sys/netinet/tcp_output.c:1579 #8 0xffffffff808bfa41 in tcp_usr_send (so=, flags=, m=, nam=, control=, td=) at /usr/src/sys/netinet/tcp_usrreq.c:887 #9 0xffffffff807c2535 in sosend_generic (so=0xfffff80678731000, addr=0x0, uio=0xfffffe2021072960, top=, control=, flags=, td=0x143) at /usr/src/sys/kern/uipc_socket.c:1284 #10 0xffffffff807a3fc3 in soo_write (fp=, uio=0xfffffe2021072960, active_cred=, flags=, td=) at /usr/src/sys/kern/sys_socket.c:103 #11 0xffffffff8079cb47 in dofilewrite (td=0xfffff8011c9c7920, fd=323, fp=0xfffff804c4c17870, auio=0xfffffe2021072960, offset=, flags=0) at file.h:304 #12 0xffffffff8079c878 in kern_writev (td=0xfffff8011c9c7920, fd=323, auio=0xfffffe2021072960) at /usr/src/sys/kern/sys_generic.c:481 #13 0xffffffff8079c803 in sys_write (td=, uap=) at /usr/src/sys/kern/sys_generic.c:396 #14 0xffffffff80b059ca in amd64_syscall (td=0xfffff8011c9c7920, traced=0) at subr_syscall.c:134 #15 0xffffffff80aeae3b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:396 #16 0x0000000801640b8a 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