From owner-freebsd-stable@FreeBSD.ORG Thu Dec 22 14:13:29 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 7ADDB16A41F for ; Thu, 22 Dec 2005 14:13:29 +0000 (GMT) (envelope-from freebsd.stable@melvyn.homeunix.org) Received: from sarevok.lan.melvyn.homeunix.org (i153153.upc-i.chello.nl [62.195.153.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1713543D62 for ; Thu, 22 Dec 2005 14:13:29 +0000 (GMT) (envelope-from freebsd.stable@melvyn.homeunix.org) Received: by sarevok.lan.melvyn.homeunix.org (Postfix, from userid 100) id 1BE4411454; Thu, 22 Dec 2005 15:13:28 +0100 (CET) From: Melvyn Sopacua To: freebsd-stable@freebsd.org Date: Thu, 22 Dec 2005 15:13:27 +0100 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512221513.27918.freebsd.stable@melvyn.homeunix.org> Subject: Re: lsof on 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 14:13:29 -0000 On Thursday 22 December 2005 14:51, Danny Braniss wrote: > > On Thursday 22 December 2005 12:36, Danny Braniss wrote: > > > > On Thu, 22 Dec 2005 10:12:17 +0200 > > > > > > > > Danny Braniss wrote: > > > > > i keep getting: > > > > > lsof: can't determine user device random seed. > > > > > is it only me? > > > > > > > > both as a normal user and as root. > > > > I don't see the message you are referring to. > > > > > > either root, or just a mere mortal, just typing lsof, no arguments: > > > > > > shuttle-3> lsof > > > lsof: can't determine user device random seed. > > > > Do you have a mount which is a symlink? > > no, but many nfs. > minbari> mount > 132.65.16.100:/d/6 on / (nfs) nfs mounted root. I think that's the problem. If you can compile as follows: env CFLAGS='-g -pipe' STRIP= make install then run: gdb /usr/local/sbin/lsof At gdb: (gdb) break dmnt.c:159 (gdb) run When breaking: (gdb) print sr (gdb) print ln (gdb) print dn -- Melvyn Sopacua freebsd.stable@melvyn.homeunix.org FreeBSD 6.0-STABLE Qt: 3.3.5 KDE: 3.4.3