From owner-freebsd-emulation Thu Oct 3 9:52:20 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CE2537B401; Thu, 3 Oct 2002 09:52:19 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86BC243E7B; Thu, 3 Oct 2002 09:52:18 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g93GqGPC191228; Thu, 3 Oct 2002 12:52:16 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20021003081152.GB584@laptop.6bone.nl> References: <200210030904.aa81031@salmon.maths.tcd.ie> <20021003081152.GB584@laptop.6bone.nl> Date: Thu, 3 Oct 2002 12:52:15 -0400 To: Mark Santcroos , Ian Dowse From: Garance A Drosihn Subject: Re: vmware reads disk on non-sector boundary Cc: freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 10:11 AM +0200 10/3/02, Mark Santcroos wrote: >On Thu, Oct 03, 2002 at 09:04:04AM +0100, Ian Dowse wrote: >> See the patch I posted in: >> >> >> http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation >> >> There may still be further issues, but it allowed me to use vmware2 >> on a current from a week or two ago. > >That's only for virtual disks, and that is not where the problem is (was). >For most people this is not a solution. > >I have an almost-ready patch that implements linux_read() syscall. This >will check if we are reading from a raw disk and in that case it will >enlarge the read() to the next sector boundary. I have it working in the >kernel but I have problems returning the right read buffer to userland. Hmm. I might not be any good for the raw-disk testing. All I use are virtual disks. (I have a 32-gig disk with a bunch of 2-gig virtual-disks on it. With that many systems, it's much easier for me to deal with files than a whole bunch of "small" partitions on the raw disk). The patch from Ian sounds like it would be interesting for me. I'll have to try that. It would be great if I could get back to regularly running an up-to-date current. -- Garance Alistair Drosehn = gad@gilead.netel.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