Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQaPC-0005eC-13 for qemu-devel@nongnu.org; Sat, 06 Nov 2004 18:55:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQaPB-0005e0-KH for qemu-devel@nongnu.org; Sat, 06 Nov 2004 18:55:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQaPB-0005dx-IJ for qemu-devel@nongnu.org; Sat, 06 Nov 2004 18:55:37 -0500 Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQaGe-0005hp-Qx for qemu-devel@nongnu.org; Sat, 06 Nov 2004 18:46:48 -0500 Received: from imp5-q.free.fr (imp5-q.free.fr [212.27.42.5]) by postfix3-1.free.fr (Postfix) with ESMTP id C5F1D17348E for ; Sun, 7 Nov 2004 00:46:47 +0100 (CET) Message-ID: <1099784807.418d62678be4a@imp5-q.free.fr> Date: Sun, 7 Nov 2004 00:46:47 +0100 From: zitu Subject: Re: [Qemu-devel] enabling bus-master IDE driver References: <1099661520.418b80d07e377@imp5-q.free.fr> <1099666965.418b9615bb36d@imp5-q.free.fr> <418C2E7D.2040609@brittainweb.org> <418D48E2.60805@optusnet.com.au> <418D4C17.7070006@optusnet.com.au> In-Reply-To: <418D4C17.7070006@optusnet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 Quoting James Boddington : > James Boddington wrote: > > > I found 2000 is using pio as well. > > > > I'll change that. It is with 2000 + sp4. I am getting pio on the primar= y > ide and dma on the secondary ide channel. > on xp, it's PIO for both. DMA if available only on primary (hdd). For linux guest, as root, hdparm -d0/-d1 doesn't work. But with the DMA patch, you should see DMA is on with the following: 'hdparm /dev/hda' It's also visible in /proc/ide/hda/settings :) Based on the microsoft link I was sent yesterday, and numerous experiment= s, win95 native 82371SB driver is not working with qemu. The debug hint sent yesterday show dma capability at low level, but DMA is always disabled inside hardware manager. Low level debug show real DMA access for both bbs-2.1 and dls-0.8.0 It's not just a kernel message or a hdparm. This is an output of a linux session (dsl) 1 WIN_READ 1 WIN_READ_NATIVE_MAX 1 WIN_RECAL 1 WIN_SETMULT 1 WIN_SPECIFY 2 WIN_PIDENTIFY 4 WIN_IDENTIFY 240 WIN_PACKETCMD 2503 WIN_READDMA If we had the win95 driver sources for 82371SB, we could find what is missing inside qemu's code "to please microsoft" guests. Zitu --