misc/184010: FreeBSD 10.0-BETA3 sysctl -a dumps

Tony Hain tony at hain-global-consulting.com
Fri Nov 15 21:40:00 UTC 2013

>Number:         184010
>Category:       misc
>Synopsis:       FreeBSD 10.0-BETA3  sysctl -a dumps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 21:40:00 UTC 2013
>Originator:     Tony Hain
>Release:        FreeBSD 10.0-BETA3
Hain Global Consulting, Inc
FreeBSD arabian 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

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 

#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

change the script to use explicit 'sysctl -h string' syntax


More information about the freebsd-bugs mailing list