From owner-freebsd-emulation Sun Nov 18 18:44: 9 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 2D95937B405 for ; Sun, 18 Nov 2001 18:44:07 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id fAJ2hX884820; Sun, 18 Nov 2001 21:43:33 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200111161749.aa32146@salmon.maths.tcd.ie> References: <200111161749.aa32146@salmon.maths.tcd.ie> X-Priority: 2 (High) Date: Sun, 18 Nov 2001 21:43:30 -0500 To: Ian Dowse , Dag-Erling Smorgrav From: Garance A Drosihn Subject: Re: Linuxulator MFC and VMware Cc: Ian Dowse , Takanori Saneto , emulation@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 5:49 PM +0000 11/16/01, Ian Dowse wrote: >Dag-Erling Smorgrav writes: > > >>Corrected patch attached (and uploaded to the usual place). > >Ok, I tried a -stable version of that. It got past the LINUX_SIOCGIFADDR >ioctl, but failed on the LINUX_SIOCGIFFLAGS call. I added SIOCGIFFLAGS >conversion to linux_ioctl_special and the code that calls it, and >vmware got past setting up the network interface but died with a >vmware panic as soon as the guest OS tried to use the network. > >I then fixed two cases where the ioctl handlers should have been >returning ENOIOCTL (one was blindly calling ioctl() with no >translation and the other returned ENOTTY). Now it works. Below is >the full patch I used (against -stable). For what it's worth, I applied your patch to my stable branch (which I had just cvsup'ed), and it did fix the problem I was seeing. I was able to do a fair amount of vmware-based testing today, which was good because I needed to do that testing! Thanks for tracking this down. I had done a buildworld early last week, but I didn't happen to need to run vmware until today. It would have been a pretty depressing day for me if I had come in and not been able to do any of the stuff I had planned. For what it's worth, I did also recompile the vmware2 port. I forget whether I came across something which suggested I needed to, or if I was just on a roll compiling things and figured I would do that too. [I was experimenting with portupgrade for the first time today, and by the time I was done I had everything but XFree86 updated...] Thanks again! -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message