From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPoTw-00021y-5w for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:45:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPoTv-00021K-2P for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:45:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPoTu-00020z-OC for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:45:18 -0500 Received: from [64.4.18.77] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPoL7-00044R-W0 for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:36:14 -0500 From: "Simon Frew" Date: Thu, 04 Nov 2004 20:35:15 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: Subject: [Qemu-devel] enabling bus-master IDE driver 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 Hi, I'm new, just started using qemu; my configuration is: host: smp linux 2.4.27 kernel (knoppix 3.6) guest: win2k + sp2 hardware: amd athlon 1.8 1GB ram Running qemu with 512mb ram. Seems to work fine, but guest o/s installation was very slow. So after reading through previous posts on here I found the patch posted previously to enable dma for ide, and have applied that to ide.c and rebuilt qemu. Then in windows go to device manager and see what it thinks is installed. Device manager says I have a Intel 82371SB PCI Bus Master IDE controller. So I right-click on "Primary IDE channel" and look in properties->advanced settings. Transfer Mode is set to "DMA if available" and current transfer mode says "PIO mode". So it still seems to be in PIO mode! Does that mean that the patch doesn't work? Do I have to do something else to make dma work? The patch I've used is here: http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00099.html qemu version is 0.6.0 downloaded yesterday. I installed qemu as a non-root user and am not running as root. I have changed the rtc timer as it asked when I started it the first time. qemu invocation is qemu -m 512 -hda disk.img -cdrom /dev/cdrom -boot c where disk.img is the w2k disk image built by installing windows. Please can someone tell me how to fully enable dma for disk access? I really want to improve the performance because it's slow. _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger