From owner-freebsd-hackers Mon Feb 11 5:28:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id AF8B037B400 for ; Mon, 11 Feb 2002 05:28:00 -0800 (PST) Received: (qmail 15383 invoked by uid 1000); 11 Feb 2002 13:28:36 -0000 Date: Mon, 11 Feb 2002 15:28:36 +0200 From: Peter Pentchev To: Varshavchick Alexander Cc: questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: lsof and listening processes on 4.5 Message-ID: <20020211152836.I355@straylight.oblivion.bg> Mail-Followup-To: Varshavchick Alexander , questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG References: <20020211151757.H355@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5UGlQXeG3ziZS81+" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alex@metrocom.ru on Mon, Feb 11, 2002 at 04:24:20PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --5UGlQXeG3ziZS81+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2002 at 04:24:20PM +0300, Varshavchick Alexander wrote: > On Mon, 11 Feb 2002, Peter Pentchev wrote: >=20 > > Date: Mon, 11 Feb 2002 15:17:57 +0200 > > From: Peter Pentchev > > To: Varshavchick Alexander > > Cc: Edwin Groothuis , questions@FreeBSD.ORG, > > freebsd-hackers@FreeBSD.ORG > > Subject: Re: lsof and listening processes on 4.5 > >=20 > > On Mon, Feb 11, 2002 at 03:13:55PM +0300, Varshavchick Alexander wrote: > > > Of cause, I recompiled lsof for 4.5. But now it seems to be more like= ly a > > > some general problem with the system, because the command > > >=20 > > > sockstat -4 -l > > >=20 > > > doesn't print anything either. What can it be...? > >=20 > > Just as a guess: you did not update your 'world' sources, then forgot > > to reboot with a new kernel, did you? At some point, a slight ABI > > incompatibility was introduced somewhere around the network sockets > > data, and the new userland utilities - netstat, apparently sockstat > > too - cannot quite deal with the old kernel's way of presenting > > the information. > >=20 > > As a side question, what is the output of: > > netstat -an | grep '^tcp.*LISTEN' > > You fired almost to the point - many of the system directories remained > not updated by some reason after an 'upgrade' option in sysinstall, > however new kernel is working fine. So it seems that the OLD userland > utilities cannot quite deal with the NEW kernel's way of presenting > things. It's interesting if was it something in the upgrade procedure for= =20 > 4.5, because I upgraded severl times before with the earlier system > versions and there were no such problems. Yes, the ABI incompatibility should "work" in this direction, too. Hmm. Seems like you hit a sysinstall bug, then :( G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence was in the past tense. --5UGlQXeG3ziZS81+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxnxwQACgkQ7Ri2jRYZRVOfhACfWa0PqkiXMTSptV98zPTHIab3 0x0An2YOcCo52B8uwzVkp/GSDyQmpqXN =MNQp -----END PGP SIGNATURE----- --5UGlQXeG3ziZS81+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message