Re: freebsd smp -> linux up

From: Robert Watson (rwatson_at_freebsd.org)
Date: 11/27/03

  • Next message: Clifton Royston: "Re: getpwnam with md5 encrypted passwds"
    Date: Thu, 27 Nov 2003 12:23:25 -0500 (EST)
    To: Anthony Schneider <anthony@x-anthony.com>
    
    

    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@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@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@des.no
    >

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Clifton Royston: "Re: getpwnam with md5 encrypted passwds"