Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2002 19:34:53 +0200
From:      Mark Santcroos <marks@ripe.net>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   vmware reads disk on non-sector boundary
Message-ID:  <20020925173453.GA1347@laptop.6bone.nl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020925173453.GA1347>