From owner-freebsd-hackers Wed Sep 25 10:41:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B5DB37B401 for ; Wed, 25 Sep 2002 10:41:57 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84FFF43E65 for ; Wed, 25 Sep 2002 10:41:56 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g8PHfi4v022164; Wed, 25 Sep 2002 19:41:44 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Mark Santcroos Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Wed, 25 Sep 2002 19:34:53 +0200." <20020925173453.GA1347@laptop.6bone.nl> Date: Wed, 25 Sep 2002 19:41:44 +0200 Message-ID: <22163.1032975704@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020925173453.GA1347@laptop.6bone.nl>, Mark Santcroos writes: >Vmware2 stopped running from both md and ad devices. Virtual disks still >work. It is caused by a read that is not on sector boundary. > >Should a program be able to read non-sector sized chunks from a raw disk >yes or no? What is the desired behaviour? No. >The fact that this did work, was it a bug or did this come out due to some >other change. The stacktrace from read(2) is below. This hasn't worked for a long time in -current. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message