From owner-freebsd-stable@FreeBSD.ORG Wed Dec 20 18:44:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ED9E16A415 for ; Wed, 20 Dec 2006 18:44:14 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id A532243CC0 for ; Wed, 20 Dec 2006 18:43:37 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id CED4BEB0BC4; Thu, 21 Dec 2006 02:43:36 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id TxrNMDW822+v; Thu, 21 Dec 2006 02:43:27 +0800 (CST) Received: from [192.168.1.32] (unknown [221.217.209.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 3E749EB0B96; Thu, 21 Dec 2006 02:43:26 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type:content-transfer-encoding; b=q7hhkFMJnBZx3NZKMOi+AwGn0pQPkOZ6TIyMOgmjRXHOYsvj3zqM1vQ6hd/K2aQ3O wKTwOjRB+wJdGJj6U77VQ== Message-ID: <4589841B.60800@delphij.net> Date: Thu, 21 Dec 2006 02:42:35 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Ilya Vishnyakov References: <45897C36.4050704@edpausa.com> In-Reply-To: <45897C36.4050704@edpausa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: truss missing some files or directories X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 18:44:14 -0000 Ilya Vishnyakov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Problem with truss, won't start. Please advise me what to do. > > truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot > open /proc/curproc/mem: : No such file or directory > No such file or directory > > > uname -a output: > > FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: > Thu Nov 2 13:58:09 UTC 2006 root@mars.mysite.com > :/usr/obj/usr/src/sys/MARS amd64 > > Thank you. You should do mount_procfs procfs /proc before doing truss. Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve!