From: Ian Jackson Subject: Re: Windows Bug Check 0x101 issue Date: Thu, 27 Mar 2008 16:34:09 +0000 Message-ID: <18411.52353.526441.433440@mariner.uk.xensource.com> References: <7k4pawfnxs.fsf@pingu.sky.yk.fujitsu.co.jp> <7k1w5zf50j.fsf@pingu.sky.yk.fujitsu.co.jp> <18408.57824.846687.465435@mariner.uk.xensource.com> <20080325175718.GT4411@implementation.uk.xensource.com> <7ky786dkup.fsf@pingu.sky.yk.fujitsu.co.jp> <18410.9596.488204.878357@mariner.uk.xensource.com> <7ktziseo9r.fsf@pingu.sky.yk.fujitsu.co.jp> <20080327090831.2a9f9b05@core> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080327090831.2a9f9b05@core> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alan Cox Cc: xen-devel@lists.xensource.com, Keir Fraser , Kouya Shimura , Samuel Thibault List-Id: xen-devel@lists.xenproject.org Alan Cox writes ("Re: [Xen-devel] Windows Bug Check 0x101 issue"): > [...] if you can't properly > emulate reporting block numbers back then you need to offline the virtual > device. I've been reading the ATA-7 spec and I'm afraid it's not clear to me what options are open to the emulation in this situation. Setting DF (device fault) is still no good as the spec clearly indicates that we should still have correct LBA offsets and retry behaviour. I can't see an approach that isn't a violation of the ATA spec. So having decided to violate it, perhaps the right answer is to make the disk simply vanish: ignore all future command writes, zero all of the registers that the host is attempting to read, not issue an interrupt, and somehow discard the responses from any overlapped IO which is in flight. Is that what you meant by `offline the virtual device' ? Ian.