> 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 <[EMAIL PROTECTED]> 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
and here it is: shuttle-3# gdb ./lsof GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) break dmnt.c:159 Breakpoint 1 at 0x402779: file dmnt.c, line 159. (gdb) run Starting program: /home/pobj/r+d/ports/sysutils/lsof/work/lsof_4.77A.freebsd/ls of lsof: WARNING: access /root/.lsof_shuttle-3: No such file or directory lsof: WARNING: can't open /root/.lsof_shuttle-3: Read-only file system Breakpoint 1, dev2udev (c=0xe) at dmnt.c:159 159 if (ln != dn) (gdb) print sr $1 = -1 (gdb) print ln $2 = 0x525140 "132.65.16.100:/d/8" (gdb) print dn $3 = 0x525140 "132.65.16.100:/d/8" _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"