From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 15 21:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.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 ESMTPS id 9E0E36B5 for ; Fri, 15 Nov 2013 21:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EA3C2694 for ; Fri, 15 Nov 2013 21:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAFLe0UL074237 for ; Fri, 15 Nov 2013 21:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAFLe0Wl074236; Fri, 15 Nov 2013 21:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 15 Nov 2013 21:40:00 GMT Resent-Message-Id: <201311152140.rAFLe0Wl074236@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tony Hain 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 ESMTPS id A7401631 for ; Fri, 15 Nov 2013 21:31:55 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 925D62663 for ; Fri, 15 Nov 2013 21:31:55 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAFLVtqJ007995 for ; Fri, 15 Nov 2013 21:31:55 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAFLVtIN007991; Fri, 15 Nov 2013 21:31:55 GMT (envelope-from nobody) Message-Id: <201311152131.rAFLVtIN007991@oldred.freebsd.org> Date: Fri, 15 Nov 2013 21:31:55 GMT From: Tony Hain To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/184010: FreeBSD 10.0-BETA3 sysctl -a dumps X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2013 21:40:00 -0000 >Number: 184010 >Category: misc >Synopsis: FreeBSD 10.0-BETA3 sysctl -a dumps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 15 21:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tony Hain >Release: FreeBSD 10.0-BETA3 >Organization: Hain Global Consulting, Inc >Environment: FreeBSD arabian 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Installed a fresh download of FreeBSD-10.0-BETA3-amd64-disc1.iso this morning. Every time sysctl -a is executed the system crash dumps. This does not happen on 10.0 ALPHA5 built from source Oct. 9, so I don't know if it is an RE problem, or something changed elsewhere. The file sizes of /sbin/sysctl are different. I don't have time to rebuild the ALPHA5 system right now for further debugging, but thought this should get reported before the next RE event for 10.0. FWIW: 'sysctl string= ' & 'sysctl -h string' appear to work correctly. My install script is rebooting the machine when it tries to log the updated values using sysctl -a|grep net.inet.tcp.recv >How-To-Repeat: #Calculate new values for TCP.RECV parameters if [ -f "/sbin/sysctl" ]; then sysctl net.inet.tcp.recvbuf_max=$RCV_MAX sysctl net.inet.tcp.recvspace=$TCP_WIN sysctl net.inet.tcp.recvbuf_inc=$RCV_INC sysctl net.inet.tcp.rfc1323=1 sysctl -a|grep net.inet.tcp.recv >> $LOG fi >Fix: WORKAROUND: change the script to use explicit 'sysctl -h string' syntax >Release-Note: >Audit-Trail: >Unformatted: