Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EyRbe-0007vN-Vy for qemu-devel@nongnu.org; Mon, 16 Jan 2006 05:29:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EyRbY-0007uh-GR for qemu-devel@nongnu.org; Mon, 16 Jan 2006 05:28:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EyRbU-0007uO-SS for qemu-devel@nongnu.org; Mon, 16 Jan 2006 05:28:50 -0500 Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EyRez-0004FU-2V for qemu-devel@nongnu.org; Mon, 16 Jan 2006 05:32:25 -0500 Date: Mon, 16 Jan 2006 11:26:24 +0100 From: Jens Arm Subject: Re: [Qemu-devel] problem with vvfat and plan9 Message-Id: <20060116112624.4ec80f35.Jens.Arm@gmx.de> In-Reply-To: References: <20060112152506.4608c2ee.Jens.Arm@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > > cannot add sdC1!dos [63,966798) to disk [0,966735): partition boundaries > > out of range > > Note that the difference of the larger numbers is exactly 63... > > It might be fixed by replacing the line > > s->sector_count=0xec04f; > > with > > s->sector_count=0xec04f - 63; > > in block-vvfat.c, but I can't tell all the implications right now. If you > feel lucky, you can try it, but I'll have a look anyway. I have tested this little fix with plan9 and now it works. I have found no errors e.g. with Linux or so in qemu. Looks like it is working correctly. Then I have tried to test the :rw: with plan9, but nothing is written into the host filesystem. I have enabled debug in vvfat and there I see that the newly created file in plan9 mounted vvfat-drive is shown in the log. But I do not see the commit message which in the log is shown if I try with linux. Jens