freebsd smp -> linux up

Robert Watson rwatson at freebsd.org
Thu Nov 27 09:26:02 PST 2003


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). 
> 
> is there a special way to ktrace linux binaries that i'm not aware of? 

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 at fledge.watson.org      Network Associates Laboratories


> 
> -Anthony.
> 
> On Tue, Nov 25, 2003 at 07:32:35PM +0100, Dag-Erling Smørgrav wrote:
> > Anthony Schneider <anthony at x-anthony.com> writes:
> > > is there a way to have linux emulation report that its kernel is running
> > > 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_smp.ko
> > > is "broken", and with vmmon_up.ko loaded i get a message about needing to
> > > be running on an smp linux kernel version 2.0 (2.2) or higher, even though
> > > linux emulation reports a 2.4 kernel.
> > 
> > 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?
> > 
> > DES
> > -- 
> > Dag-Erling Smørgrav - des at des.no
> 



More information about the freebsd-hackers mailing list