From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 27 09:26:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5796B16A4CE for ; Thu, 27 Nov 2003 09:26:02 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D9B43FB1 for ; Thu, 27 Nov 2003 09:26:01 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hARHNQMg032824; Thu, 27 Nov 2003 12:23:26 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hARHNPBJ032821; Thu, 27 Nov 2003 12:23:26 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 27 Nov 2003 12:23:25 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Anthony Schneider In-Reply-To: <20031126171142.GA99641@x-anthony.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: Dag-Erling =?unknown-8bit?Q?Sm=F8rgrav?= cc: hackers@freebsd.org Subject: Re: freebsd smp -> linux up X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 17:26:02 -0000 On Wed, 26 Nov 2003, Anthony Schneider wrote: > sadly, all ktrace shows is ktrace launching vmware (from 'ktrace > vmware', shows sh reading and executing, and then ends with the vmware > fork).=20 >=20 > is there a special way to ktrace linux binaries that i'm not aware of?=20 ktrace should work fine, but you need to make sure you use the linux_kdump port so that the system call trace is interpreted correctly when converted to text. As DES points out, make sure you have the right flags to the ktrace command so tracing is inheritted across fork and exec. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories >=20 > -Anthony. >=20 > On Tue, Nov 25, 2003 at 07:32:35PM +0100, Dag-Erling Sm=F8rgrav wrote: > > Anthony Schneider writes: > > > is there a way to have linux emulation report that its kernel is runn= ing > > > on a UP system even though the freebsd box it's running on is SMP? i > > > would like to get vmware running on my smp -current box, but vmmon_sm= p.ko > > > is "broken", and with vmmon_up.ko loaded i get a message about needin= g to > > > be running on an smp linux kernel version 2.0 (2.2) or higher, even t= hough > > > linux emulation reports a 2.4 kernel. > >=20 > > It would be interesting to know exactly what it needs that we don't > > provide. I suspect it's something really trivial... do you see any > > messages in syslog about unimplemented syscalls? Could you get a > > ktrace or something? > >=20 > > DES > > --=20 > > Dag-Erling Sm=F8rgrav - des@des.no >=20