From owner-freebsd-current@FreeBSD.ORG Wed Sep 14 06:18:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A903A106564A for ; Wed, 14 Sep 2011 06:18:03 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 65EBE8FC16 for ; Wed, 14 Sep 2011 06:18:02 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R3inG-0003tt-EE for freebsd-current@freebsd.org; Wed, 14 Sep 2011 08:17:58 +0200 Received: from 178.214.36.169 ([178.214.36.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2011 08:17:58 +0200 Received: from citrin by 178.214.36.169 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2011 08:17:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Anton Yuzhaninov Date: Wed, 14 Sep 2011 06:17:45 +0000 (UTC) Organization: Vega Lines: 38 Sender: Anton Yuzhaninov Message-ID: References: <4E5E46A4.3060705@citrin.ru> <4E6A99A9.1000204@delphij.net> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 178.214.36.169 X-Comment-To: Xin LI User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/9.0-BETA2 (i386)) Subject: Re: truss X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 14 Sep 2011 06:18:03 -0000 On Fri, 09 Sep 2011 15:56:41 -0700, Xin LI wrote: XL> -----BEGIN PGP SIGNED MESSAGE----- XL> Hash: SHA256 XL> XL> On 08/31/11 07:35, Anton Yuzhaninov wrote: >> It seems to be truss(1) is broken on current >> >> :~> truss /bin/echo x x truss: can not get etype: No such process >> >> FreeBSD 9.0-BETA1 #0 r224884M i386 >> >> from ktrace of turss >> >> 3162 truss CALL >> __sysctl(0xbfbfea00,0x4,0xbfbfe9e0,0xbfbfea10,0,0) 3162 truss >> SCTL "kern.proc.sv_name.3163" 3162 truss RET __sysctl -1 >> errno 3 No such process XL> XL> Can't seem to be reproducable here, did I missed anything? (note that XL> you may need a full world/kernel build). XL> Problem still here after svn up and rebuild world/kernel :~> ktrace -t+ truss /usr/bin/true truss: can not get etype: No such process Full ktrace: http://dl.dropbox.com/u/8798217/tmp/truss_ktrace.txt FreeBSD 9.0-BETA2 #1 r225504M i386 Kernel config is not GENERIC - main difference - DTrace added: http://dl.dropbox.com/u/8798217/tmp/kernconf.txt -- Anton Yuzhaninov