From owner-freebsd-emulation Thu Nov 8 1:40:16 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 04E5537B41A for ; Thu, 8 Nov 2001 01:40:14 -0800 (PST) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id fA89eDQ11519; Thu, 8 Nov 2001 01:40:13 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id fA89eIr00566; Thu, 8 Nov 2001 01:40:18 -0800 (PST) (envelope-from marcel) Date: Thu, 8 Nov 2001 01:40:18 -0800 From: Marcel Moolenaar To: Dag-Erling Smorgrav Cc: "K.Sumitani" , emulation@FreeBSD.ORG Subject: Re: Linuxulator MFC and VMware Message-ID: <20011108014018.A552@dhcp01.pn.xcllnt.net> References: <20011107234409.XACFC0A8274C.C78F0C8A@mail.biglobe.ne.jp> <20011107203715.A1106@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011107203715.A1106@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.3.21i 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 On Wed, Nov 07, 2001 at 08:37:15PM -0800, Marcel Moolenaar wrote: > On Wed, Nov 07, 2001 at 04:58:41PM +0100, Dag-Erling Smorgrav wrote: > > Dag-Erling Smorgrav writes: > > > I'll have a patch ready later tonight. > > > > Attached. > > > > This is a hack; it's linux_ioctl()'s responsibility to check that the > > fd is a socket before calling linux_ioctl_socket(), and there should > > be a separate function for non-socket GIFADDR/SIFADDR/PRIVATE ioctls. > > I'll see if I can come up with something better when I'm back from > > Brighton; in the meantime, use either Marcel's patch or this one if > > they work and don't break anything else (I think Marcel's patch breaks > > ifconfig). > > Bummer. I forgot to test this today at work (that's where I have the > only -stable machine I can "develop" on). I'll do it tomorrow... I tried this on -current just now and it fails with the same popup I got with my patch on -stable: "Encountered an error while initializing the ethernet address. You probably have an old vnet driver. Try installing a newer version Failed to configure ethernet0." I suspect another socket ioctl. I'll take a look at it tomorrow. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message