qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] DMA with Knoppix and qemu (cvs-version)
@ 2006-05-05  0:49 Sven Köhler
  2006-05-05 15:59 ` [Qemu-devel] " Sven Köhler
  2006-05-06  4:06 ` [Qemu-devel] " andrzej zaborowski
  0 siblings, 2 replies; 6+ messages in thread
From: Sven Köhler @ 2006-05-05  0:49 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

Hi,

i just booted a recent knoppix-cd (4.0.2) and i'm trying to enable DMA,
but it won't work!

I started qemu with that command:

qemu -m 256 -cdrom knoppix.iso -boot d

But inside knoppix, a "hdparm -d1 /dev/hdc" won't work:
  HDIO_SET_DMA failed: Operation not permitted


Are there some issues with qemu's DMA support and Linux?
(qemu does have DMA support, doesn't it?)


Greetings
  Sven


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Re: DMA with Knoppix and qemu (cvs-version)
@ 2006-05-05 16:05 Ben Taylor
  0 siblings, 0 replies; 6+ messages in thread
From: Ben Taylor @ 2006-05-05 16:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Sven Köhler


---- "Sven Köhler" <skoehler@upb.de> wrote: 
> > i just booted a recent knoppix-cd (4.0.2) and i'm trying to enable DMA,
> > but it won't work!
> > 
> > I started qemu with that command:
> > 
> > qemu -m 256 -cdrom knoppix.iso -boot d
> > 
> > But inside knoppix, a "hdparm -d1 /dev/hdc" won't work:
> >   HDIO_SET_DMA failed: Operation not permitted
> 
> Ah ha! DMA mode work for harrdisks, but not for cdroms.
> 
> Strange - why?

cause the mode bits set for HD DMA weren't set for CDROM.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-08 13:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-05  0:49 [Qemu-devel] DMA with Knoppix and qemu (cvs-version) Sven Köhler
2006-05-05 15:59 ` [Qemu-devel] " Sven Köhler
2006-05-06  4:06 ` [Qemu-devel] " andrzej zaborowski
2006-05-07 17:42   ` [Qemu-devel] " Sven Köhler
     [not found]   ` <20060507084025.GB22044@suse.de>
2006-05-08 13:31     ` [Qemu-devel] " andrzej zaborowski
  -- strict thread matches above, loose matches on Subject: below --
2006-05-05 16:05 [Qemu-devel] " Ben Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).