Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 08:19:46 -0700
From:      Julian Elischer <julian@elischer.org>
To:        "Brian A. Seklecki - Stargate Industries, LLC - NOC" <lavalist@stargate.net>
Cc:        current@freebsd.org
Subject:   Re: VMWare on -current, [patches]
Message-ID:  <39BF9B12.59E2B600@elischer.org>
References:  <Pine.WNT.4.21.0009131044380.1208-100000@burn>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian A. Seklecki - Stargate Industries, LLC - NOC wrote:
> 
> You're running vmware sucsessfully in --current?  I sync'd up the last
> time I was in the office (last...Friday?) and the linux emulation package
> refused to build in --current; complaining about an incopatible kernel
> module.  In fact, i had to comment out the linux proc file system (from
> the linux emul package in 4.1-release) in the fstab to get into multi-user
> mode.
> 
> I'll sync again tonight, poke around some more.
> 
> --Brian

I'm running vmware 1.x
it works fine except that you need to change the location of some
include files for it to compile, and to make a small change to 
the vmnet ethernet driver. Unfortunatly however, it
doesn't like to access raw disks and refuses to allow me to
read my disks directly. It will work however with virtual disks.

the files that need to be patched are:
jules# pwd
/usr/ports/emulators/vmware/work/vmware-distrib
jules# find . -print|xargs grep -l compat/lin
./vmmon-only/freebsd/linux_emu.c
./vmnet-only/freebsd/vmnet_linux.c

in linux_emu.c:
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#include <compat/linux/linux_util.h>  <---------

in vmnet_linux.c:
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#include <compat/linux/linux_ioctl.h> <----------

plus:
----------
        s = splimp();
        ether_ifattach(ifp,1); <------ this replaces 3 other lines
        splx(s);

        return 0;
}
./vmnet-only/freebsd/vmnet.c: unmodified: line 159 of 599 [26%]
---------------





-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Perth
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BF9B12.59E2B600>