From owner-freebsd-stable@FreeBSD.ORG Mon Dec 20 03:53:29 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA27D16A4CE for ; Mon, 20 Dec 2004 03:53:29 +0000 (GMT) Received: from smtp.servingpeace.com (servingpeace.com [69.55.225.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B48F43D53 for ; Mon, 20 Dec 2004 03:53:29 +0000 (GMT) (envelope-from sam@servingpeace.com) Received: from [10.0.0.2] (adsl-68-122-12-222.dsl.pltn13.pacbell.net [68.122.12.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.servingpeace.com (Postfix) with ESMTP id 02D9CBA196; Sun, 19 Dec 2004 19:53:28 -0800 (PST) Message-ID: <41C64CB8.7050002@servingpeace.com> Date: Sun, 19 Dec 2004 19:53:28 -0800 From: Sam Nilsson User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <20041220032421.O14226@unix.local> <41C62577.3080402@mukappabeta.de> <20041220042519.O19737@unix.local> In-Reply-To: <20041220042519.O19737@unix.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Nguyen Tam Chinh Subject: Re: [5.3-STABLE] netstat doesn't show tcp sockets X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 03:53:29 -0000 Nguyen Tam Chinh wrote: > On Mon, 20 Dec 2004, Matthias Buelow wrote: > >>> After upgrading from 5.2.1 (cvsup 18/Dec), It seems to be a bug with >>> netstat. It doesn't show tcp sockets any more. kernel is a customized >>> with ipv6 disable. >> >> >> same here. I thought that maybe it was because I put CPUTYPE=p4 in >> /etc/make.conf and gcc messed up again, and wanted to test this >> hypothesis some time but if others are seeing it too... >> > > Yeah, please test it. I also have a CPUTYPE=p4 and -O3 in make.conf. In > kernel config -O2. I'll try to compile again with default options to > ensure. > ----- > With best regards, | The Power to Serve > Nguyen Tam Chinh | http://www.FreeBSD.org > Loc: sp.cs.msu.ru | > http://chinhngt.svmgu.com | http://www.gnu.org/copyleft/copyleft.html In case this is helpful, I don't seem to have this problem. I am running on a pentium 2 however, and I didn't use -O or CPUTYPE. --> snip --> -bash-2.05b$ uname -a FreeBSD opti.localdomain 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Fri Dec 10 16:52:50 PST 2004 root@opti.localdomain:/usr/obj/usr/src/sys/SERVER i386 -bash-2.05b$ netstat Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 opti.ssh 10.0.0.2.50009 ESTABLISHED udp4 0 0 localhost.domain *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c13f8dac stream 0 0 0 c13f8460 0 0 c13f8460 stream 0 0 0 c13f8dac 0 0 c13f8ec4 stream 0 0 c14e0630 0 0 0 --> snip --> I know that this is a different situation, but I thought it might help to pinpoint the problem if you haven't already identified it. - Sam Nilsson