From owner-freebsd-hackers Wed Sep 25 10:35: 0 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 ED39D37B401 for ; Wed, 25 Sep 2002 10:34:58 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12AFB43E81 for ; Wed, 25 Sep 2002 10:34:58 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g8PHYt37001891 for ; Wed, 25 Sep 2002 19:34:56 +0200 Received: (nullmailer pid 1457 invoked by uid 1000); Wed, 25 Sep 2002 17:34:53 -0000 Date: Wed, 25 Sep 2002 19:34:53 +0200 From: Mark Santcroos To: freebsd-hackers@FreeBSD.ORG Subject: vmware reads disk on non-sector boundary Message-ID: <20020925173453.GA1347@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Status: NONE ; -1000 X-RIPE-Spam-Level: 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 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? 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. Any input welcome, it's about time that vmware runs again on -current. Mark dscheck(c7528a70,c0c20800,4,c7528a70,c28f0800) at dscheck diskstrategy(c7528a70,10,4,c0c20800,c0c2086c) at diskstrategy+0x7f readdisklabel(c23f4e00,c28f0800,1,c23d4000,c23f4e4c) at readdisklabel+0xb8 dsopen(c2347e00,2000,0,c23d9588,c23d9200) at dsopen+0x1e6 diskopen(c2347e00,1,2000,c23e0cc0,c26c4700) at diskopen+0x15f spec_open(cdac9a2c,cdac9ac8,c027796b,cdac9a2c,c0911c50) at spec_open+0x150 spec_vnoperate(cdac9a2c,c0911c50,1,100,c23e0cc0) at spec_vnoperate+0x18 vn_open_cred(cdac9bcc,cdac9ccc,0,c26c4700,cdac9cb8) at vn_open_cred+0x3eb vn_open(cdac9bcc,cdac9ccc,0,1,cdac9b04) at vn_open+0x29 kern_open(c23e0cc0,8048639,0,1,0) at kern_open+0x1e3 open(c23e0cc0,cdac9d10,c,c23e0cc0,3) at open+0x30 syscall(2f,2f,2f,bfbffae4,bfbffaec) at syscall+0x2ca Xint0x80_syscall() at Xint0x80_syscall+0x1d -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message