Skip to contentSkip to conversation

DMA with Knoppix and qemu (cvs-version)

Qemu-devel Ben Taylor 1 participant 1 message May 5, 2006

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw
Quoted 5 lines · ---- "Sven Köhler
Quoted 5 lines

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:

Quoted 8 lines
Quoted 4 lines

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.