From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQYo5-0008FZ-Rn for qemu-devel@nongnu.org; Sat, 06 Nov 2004 17:13:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQYo4-0008Ew-Iv for qemu-devel@nongnu.org; Sat, 06 Nov 2004 17:13:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQYo4-0008En-Dw for qemu-devel@nongnu.org; Sat, 06 Nov 2004 17:13:12 -0500 Received: from [66.124.73.250] (helo=marvin.brittainweb.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CQYfU-0002A8-CJ for qemu-devel@nongnu.org; Sat, 06 Nov 2004 17:04:20 -0500 Received: from [10.1.2.102] ([10.1.1.2]) by marvin.brittainweb.org (8.12.8/8.12.8) with ESMTP id iA6M1l1W009970 for ; Sat, 6 Nov 2004 14:01:47 -0800 Message-ID: <418D478B.9090007@brittainweb.org> Date: Sat, 06 Nov 2004 13:52:11 -0800 From: Jason Brittain MIME-Version: 1.0 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> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Johannes Schindelin wrote: > Hi, > > On Fri, 5 Nov 2004, Jason Brittain wrote: > > >>/dev/hda: >> setting using_dma to 1 (on) >> HDIO_SET_DMA failed: Operation not permitted >> using_dma = 0 (off) > > Are you sure you did as guest root? This error could happen if you try to > use hdparm as a plain user. I was most certainly logged in as root in the guest Linux when I did that. > I would expect a different error if the drive > is not capable of doing DMA. Well, I haven't seen other situations where drives were incapable of DMA, so I don't know, but "Operation not permitted" seems to fit. How else should I check whether DMA can be turned on? -- Jason Brittain