From owner-freebsd-net@FreeBSD.ORG Fri Sep 30 10:57:28 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07CFA1065675 for ; Fri, 30 Sep 2011 10:57:28 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 92EBD8FC12 for ; Fri, 30 Sep 2011 10:57:27 +0000 (UTC) Received: from [IPv6:2001:638:506:21:224:36ff:feef:67d1] (unknown [IPv6:2001:638:506:21:224:36ff:feef:67d1]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 1BCB41C0C0BCE; Fri, 30 Sep 2011 12:57:25 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Michael_T=FCxen?= In-Reply-To: <1317376089705-4856441.post@n5.nabble.com> Date: Fri, 30 Sep 2011 12:57:17 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1317376089705-4856441.post@n5.nabble.com> To: jyl X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org Subject: Re: when enable options SCTP_DEBUG in kernel configure file , where to get the message of debug? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 10:57:28 -0000 On Sep 30, 2011, at 11:48 AM, jyl wrote: > My Os is FreeBSD 9.0 Beta2. > In kernel configure file, I enable the option of SCTP_DEBUG and = rebuild the > kernel. Then I use sctp to send or recv data from another computer = ,after > that I check the result from var/log/message or var/log/dmesg , both = of the > two files show any message about sctp debug. >=20 > can anyone help me, why it does not work? There is a sysctl variable net.inet.sctp.debug which is a 32-bit bitmask to enable/disable the debug output. To enable all debug output you need = to do sudo sysctl -w net.inet.sctp.debug=3D0xffffffff Best regards Michael >=20 > Regards.=20 >=20 > -- > View this message in context: = http://freebsd.1045724.n5.nabble.com/when-enable-options-SCTP-DEBUG-in-ker= nel-configure-file-where-to-get-the-message-of-debug-tp4856441p4856441.htm= l > Sent from the freebsd-net mailing list archive at Nabble.com. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20