Re: procfs problem

2003-09-29 Thread Kris Kennaway
On Mon, Sep 29, 2003 at 03:40:49PM -0700, Jason Stone wrote:

> Oh - I didn't think that truss was either, which lead me to believe that
> someone had gone through ports and fixed a bunch of them.

> whereis truss
truss: /usr/bin/truss /usr/share/man/man1/truss.1.gz /usr/src/usr.bin/truss

> Is someone working on fixing the strace and truss ports yet?

It's not broken, you just need a non-default FreeBSD configuration to use it.

>  Are there other popular ports that depend on procfs?

Surely there are other ports that do.

Kris


pgp0.pgp
Description: PGP signature


Re: procfs problem

2003-09-29 Thread Jason Stone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


> > > JM>map02# strace -p 730
> > > JM>strace: open("/proc/...", ...): No such file or directory
> > > JM>trouble opening proc file
> >
> > > You must mount procfs.
> > >
> > > # fstab;
> > > proc  /proc   procfs  rw  0   0
> >
> > The bi-weekly status messages have been claiming that all the common
> > debugging tools except for truss have been converted to work without
> > procfs, since procfs is now deprecated.  Does that not include strace, or
> > is there something else wrong here?
>
> strace is not part of FreeBSD.

Oh - I didn't think that truss was either, which lead me to believe that
someone had gone through ports and fixed a bunch of them.

Is someone working on fixing the strace and truss ports yet?  Are there
other popular ports that depend on procfs?


 -Jason

 --
 Freud himself was a bit of a cold fish, and one cannot avoid the suspicion
 that he was insufficiently fondled when he was an infant.
-- Ashley Montagu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQE/eLTxswXMWWtptckRAtTdAKCiiZ1ffDqyLx0ZdT8pKEGmv1LX/wCgrTbx
M3/ZMG8QAIivfTdyfm3zNWM=
=s77n
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: procfs problem

2003-09-29 Thread Kris Kennaway
On Mon, Sep 29, 2003 at 04:40:54AM -0700, Jason Stone wrote:
> 
> > JM>map02# strace -p 730
> > JM>strace: open("/proc/...", ...): No such file or directory
> > JM>trouble opening proc file
> 
> > You must mount procfs.
> >
> > # fstab;
> > proc/proc   procfs  rw  0   0
> 
> The bi-weekly status messages have been claiming that all the common
> debugging tools except for truss have been converted to work without
> procfs, since procfs is now deprecated.  Does that not include strace, or
> is there something else wrong here?

strace is not part of FreeBSD.

Kris


pgp0.pgp
Description: PGP signature


Re: procfs problem

2003-09-29 Thread Jason Stone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


> JM>map02# strace -p 730
> JM>strace: open("/proc/...", ...): No such file or directory
> JM>trouble opening proc file

> You must mount procfs.
>
> # fstab;
> proc  /proc   procfs  rw  0   0

The bi-weekly status messages have been claiming that all the common
debugging tools except for truss have been converted to work without
procfs, since procfs is now deprecated.  Does that not include strace, or
is there something else wrong here?


 -Jason

 --
 Freud himself was a bit of a cold fish, and one cannot avoid the suspicion
 that he was insufficiently fondled when he was an infant.
-- Ashley Montagu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQE/eBpHswXMWWtptckRAgSoAJ9IcIadlSRauyYJQHDc9GinZ20YCACfVGf1
ysBa4h7i4d99kPhr4xBdfZ8=
=7431
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: procfs problem

2003-09-29 Thread Harti Brandt


You must mount procfs.

# fstab;
proc/proc   procfs  rw  0   0

harti

On Mon, 29 Sep 2003, Jiri Mikulas wrote:

JM>Hello
JM>i have problem with /proc
JM>i already have
JM>
JM>options PROCFS
JM>options PSEUDOFS
JM>
JM>in kernel
JM>but get these messages
JM>~~~cut~~~
JM>map02# strace -p 730
JM>strace: open("/proc/...", ...): No such file or directory
JM>trouble opening proc file
JM>map02# truss -p 730
JM>truss: cannot open /proc/730/mem: No such file or directory
JM>map02# ps aux | grep 730
JM>root  730  0.0  1.0  3476 2448  ??  Ss8:40AM   0:00.21
JM>/usr/sbin/sshd
JM>map02# uname -a
JM>FreeBSD map02.modrany.czf 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sun Sep 28
JM>23:37:08 CEST 2003
JM>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ROUTER  i386
JM>~~~cut~~~
JM>the same messages i get also at
JM>5.1-RELEASE-p3 FreeBSD 5.1-RELEASE-p3 #2: Wed Sep 17 00:17:40 CEST 2003
JM>box
JM>
JM>any ideas or do i something wrong? (forget I read anything about new
JM>procfs - sorry if yes ...) ?
JM>thaks for reply
JM>Jiri
JM>
JM>___
JM>[EMAIL PROTECTED] mailing list
JM>http://lists.freebsd.org/mailman/listinfo/freebsd-current
JM>To unsubscribe, send any mail to "[EMAIL PROTECTED]"
JM>

-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
[EMAIL PROTECTED], [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"