Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2004 19:53:28 -0800
From:      Sam Nilsson <sam@servingpeace.com>
To:        stable@freebsd.org
Cc:        Nguyen Tam Chinh <chinhngt@sectorb.msk.ru>
Subject:   Re: [5.3-STABLE] netstat doesn't show tcp sockets
Message-ID:  <41C64CB8.7050002@servingpeace.com>
In-Reply-To: <20041220042519.O19737@unix.local>
References:  <20041220032421.O14226@unix.local> <41C62577.3080402@mukappabeta.de> <20041220042519.O19737@unix.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C64CB8.7050002>