From owner-freebsd-current Tue Dec 9 11:40:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA27067 for current-outgoing; Tue, 9 Dec 1997 11:40:50 -0800 (PST) (envelope-from owner-freebsd-current) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA27055; Tue, 9 Dec 1997 11:40:36 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.1/nospam) with UUCP id UAA00200; Tue, 9 Dec 1997 20:40:25 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.8.8/keltia-2.13/nospam) id UAA00651; Tue, 9 Dec 1997 20:36:35 +0100 (CET) (envelope-from roberto) Message-ID: <19971209203634.38303@keltia.freenix.fr> Date: Tue, 9 Dec 1997 20:36:34 +0100 From: Ollivier Robert To: "FreeBSD Current Users' list" Cc: sef@FreeBSD.ORG Subject: Interaction between truss(1) and ktrace(1) ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3883 AMD-K6 MMX @ 208 MHz Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I have a very recent kernel (with the latest procfs fixes from Sean) and it has KTRACE defined in it. The main problem I have is that truss does execute the command but doesn't show anything... Running this: 203 [20:30] roberto@keltia:~> truss /bin/echo foo cannot set PF_LINGER: Inappropriate ioctl for device foo ^C ...and sits there till I kill it. Sources from CTM delta cvs-cur #3883 1997/12/09 14:11:27. Make world done yesterday. Is there a problem between KTRACE and truss ? What did I miss ? Latest patch from Sean is this one: sef 1997/12/08 21:03:43 PST Modified files: sys/miscfs/procfs procfs_subr.c Log: Code to prevent a panic caused by procfs_exit(). Note that i don't know what is teh root cause -- but, sometimes, a procfs vnode in pfshead is apparantly corrupt (or a UFS vnode instead). Without this patch, I can get it to panic by doing (in csh) Kernel config. file available on demand. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #19: Tue Dec 9 20:17:10 CET 1997