From owner-freebsd-current@FreeBSD.ORG Tue Jul 15 06:36:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA04337B401 for ; Tue, 15 Jul 2003 06:36:02 -0700 (PDT) Received: from ctb-mesg1.saix.net (ctb-mesg1.saix.net [196.25.240.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C442C43FDD for ; Tue, 15 Jul 2003 06:36:01 -0700 (PDT) (envelope-from byrons@telkomsa.net) Received: from [192.168.0.3] (tpr-bras-135-59.telkom-ipnet.co.za [165.165.135.59]) by ctb-mesg1.saix.net (Postfix) with ESMTP id 1689768D6 for ; Tue, 15 Jul 2003 15:35:53 +0200 (SAST) From: Byron Schlemmer To: FreeBSD Current In-Reply-To: <3F13C4B0.636DC603@mindspring.com> References: <200307150653.h6F6r0gG092242@grimreaper.grondar.org> <3F13C4B0.636DC603@mindspring.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dboS6O4UrZ+VHoFW7XQA" Message-Id: <1058276153.1008.14.camel@nemesis.work> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 15 Jul 2003 13:35:54 +0000 Subject: Re: ``Resource temporarily unavailable'' in vi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 13:36:03 -0000 --=-dboS6O4UrZ+VHoFW7XQA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-07-15 at 09:09, Terry Lambert wrote: >=20 > One way to track this down, if it's that repeatable for everyone, > would be to open another terminal window, get the pid of the > program that's going to do this, and then: >=20 > truss -p | grep "Resource temp" >=20 > ...or just let it run to completion, and you'll get some context, > too, in your scrollback buffer. Being the curious person that I am, I tried the following from the truss manpage : % truss /bin/echo hello truss: cannot open /proc/1805/mem: No such file or directory truss: cannot open /proc/curproc/mem: No such file or directory Is this expected behaviour on -CURRENT or is it just me? More information : % ls -al /proc total 4 dr-xr-xr-x 2 root wheel 512 Jan 16 22:26 . drwxr-xr-x 17 root wheel 512 Jul 11 18:46 .. % file `which truss` /usr/bin/truss: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped % uname -a FreeBSD nemesis.work 5.1-RELEASE FreeBSD 5.1-RELEASE #5: Fri Jun 27 12:52:43 SAST 2003 root@nemesis.work:/usr/obj/usr/src/sys/NEMESIS=20 i386 --=20 byron Bus error -- driver executed. --=-dboS6O4UrZ+VHoFW7XQA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/FAM5N4F35/M/8HYRAprFAKCl1OGtHFFpaof4nCTF0zxICb0E5ACgiM+n u/lnJzHwRNNvPazZGhjWop4= =9cVr -----END PGP SIGNATURE----- --=-dboS6O4UrZ+VHoFW7XQA--