From owner-freebsd-net@FreeBSD.ORG Fri Sep 30 10:49:57 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 D59871065673 for ; Fri, 30 Sep 2011 10:49:57 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 984818FC13 for ; Fri, 30 Sep 2011 10:49:57 +0000 (UTC) Received: by yxk36 with SMTP id 36so1856862yxk.13 for ; Fri, 30 Sep 2011 03:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=136CmXty5CpqRKhHd6uXv/N3UUnILsXKb7BhXPQEjRs=; b=LVrl2rHTUtWFh5RbS9tAppXqKo5eLi0LEYnUNYzjnPw7pfnTXBrzf/z0ZRBQg+msdT kGAZCXt8/6d4rlXjnbWd8yTd8A299UttpqbJ2gJZCsmrqWTY+tFGsrwZgo4dlpgWkO5n VzrChmZSGwSS7Z2DMe0z9vZQ+47Lq2lbsr9lA= MIME-Version: 1.0 Received: by 10.150.63.2 with SMTP id l2mr11246653yba.63.1317379796894; Fri, 30 Sep 2011 03:49:56 -0700 (PDT) Received: by 10.151.12.6 with HTTP; Fri, 30 Sep 2011 03:49:56 -0700 (PDT) In-Reply-To: <1317376089705-4856441.post@n5.nabble.com> References: <1317376089705-4856441.post@n5.nabble.com> Date: Fri, 30 Sep 2011 14:49:56 +0400 Message-ID: From: Sergey Kandaurov To: jyl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:49:57 -0000 On 30 September 2011 13:48, jyl wrote: > My Os is FreeBSD 9.0 Beta2. > In kernel configure file, =A0I enable the option of SCTP_DEBUG and rebuil= d 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 t= he > two files show any message about sctp debug. > > can anyone help me, why it does not work? > Hi, you probably also need to actually enable it. Try this: sysctl net.inet.sctp.debug =3D 1 --=20 wbr, pluknet