From owner-freebsd-emulation Wed Nov 7 7: 7: 1 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 8A28037B416 for ; Wed, 7 Nov 2001 07:06:54 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7814F14C2E; Wed, 7 Nov 2001 16:06:52 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "K.Sumitani" Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linuxulator MFC and VMware References: <20011107234409.XACFC0A8274C.C78F0C8A@mail.biglobe.ne.jp> From: Dag-Erling Smorgrav Date: 07 Nov 2001 16:06:52 +0100 In-Reply-To: <20011107234409.XACFC0A8274C.C78F0C8A@mail.biglobe.ne.jp> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "K.Sumitani" writes: > I tried Dag-Erling's patch, but unfortunately, it doesn't work. > > VMWare says 'Could not get address for /dev/vmnet1....'; same > message without patch. Ah, yes, I see what's wrong now. 1) the patch I posted is still required for proper operation. 2) linux_ioctl_socket() should skip the translation bit if (args->cmd & 0xffff) == LINUX_SIOCGIFADDR or LINUX_SIOCSIFADDR, and td->td_proc->p_fd->fd_ofiles[args->fd]->type != DTYPE_SOCKET I'll have a patch ready later tonight. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message