Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 15:13:27 +0100
From:      Melvyn Sopacua <freebsd.stable@melvyn.homeunix.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: lsof on 6.0
Message-ID:  <200512221513.27918.freebsd.stable@melvyn.homeunix.org>
In-Reply-To: <E1EpQrE-000OqN-4g@cs1.cs.huji.ac.il>
References:  <E1EpQrE-000OqN-4g@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <danny@cs.huji.ac.il> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512221513.27918.freebsd.stable>