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:

JMHello
JMi have problem with /proc
JMi already have
JM
JMoptions PROCFS
JMoptions PSEUDOFS
JM
JMin kernel
JMbut get these messages
JM~~~cut~~~
JMmap02# strace -p 730
JMstrace: open(/proc/..., ...): No such file or directory
JMtrouble opening proc file
JMmap02# truss -p 730
JMtruss: cannot open /proc/730/mem: No such file or directory
JMmap02# ps aux | grep 730
JMroot  730  0.0  1.0  3476 2448  ??  Ss8:40AM   0:00.21
JM/usr/sbin/sshd
JMmap02# uname -a
JMFreeBSD map02.modrany.czf 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sun Sep 28
JM23:37:08 CEST 2003
JM[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ROUTER  i386
JM~~~cut~~~
JMthe same messages i get also at
JM5.1-RELEASE-p3 FreeBSD 5.1-RELEASE-p3 #2: Wed Sep 17 00:17:40 CEST 2003
JMbox
JM
JMany ideas or do i something wrong? (forget I read anything about new
JMprocfs - sorry if yes ...) ?
JMthaks for reply
JMJiri
JM
JM___
JM[EMAIL PROTECTED] mailing list
JMhttp://lists.freebsd.org/mailman/listinfo/freebsd-current
JMTo 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]


Re: procfs problem

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


 JMmap02# strace -p 730
 JMstrace: open(/proc/..., ...): No such file or directory
 JMtrouble 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 Kris Kennaway
On Mon, Sep 29, 2003 at 04:40:54AM -0700, Jason Stone wrote:
 
  JMmap02# strace -p 730
  JMstrace: open(/proc/..., ...): No such file or directory
  JMtrouble 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


   JMmap02# strace -p 730
   JMstrace: open(/proc/..., ...): No such file or directory
   JMtrouble 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 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