Date: Fri, 15 Nov 2013 21:31:55 GMT From: Tony Hain <tony@hain-global-consulting.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/184010: FreeBSD 10.0-BETA3 sysctl -a dumps Message-ID: <201311152131.rAFLVtIN007991@oldred.freebsd.org> Resent-Message-ID: <201311152140.rAFLe0Wl074236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311152131.rAFLVtIN007991>