DMA with Knoppix and qemu (cvs-version)
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
Quoted 9 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:
qemu -m 256 -cdrom knoppix.iso -boot d
But inside knoppix, a "hdparm -d1
/dev/hdc" won't work:
HDIO_SET_DMAfailed: Operation not permitted
Ah ha! DMA mode work for harrdisks, but not for cdroms.
Strange - why?
Hi there,
Quoted 5 lines · Sven Köhler
Hi,
i just booted a recent knoppix-cd (4.0.2) and i'm trying to enable DMA, but it won't work!
Quoted 7 lines
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_DMAfailed: Operation not permitted
Just a note: setting DMA through hdparm doesn't work on Linux since tens of versions ago, it's been depreceted and you have to trust the on-boot autodetection (and it works fine -- unless you didn't compile the right driver in). It's the same on real machines.
Quoted 10 lines
Are there some issues with qemu's DMA support and Linux? (qemu does have DMA support, doesn't it?)
Greetings
Sven
Quoted 8 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Regards,
Andrzej
--
balrog 2oo6
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258
Quoted 4 lines
Just a note: setting DMA through hdparm doesn't work on Linux since tens of versions ago, it's been depreceted and you have to trust the on-boot autodetection (and it works fine -- unless you didn't compile the right driver in). It's the same on real machines.
WHAT!?
i have used it with Knoppix since ages. Knoppix has DMA disabled (for some reason). Most of the time i boot knoppix with "dma" in the append-line, but in the other cases, hdparm works and improves performance dramatically.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 16 lines · Jens Axboe
Quoted 15 lines · andrzej zaborowski
Hi there,
Quoted 12 lines · Sven Köhler
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_DMAfailed: Operation not permitted
Quoted 7 lines
Quoted 4 lines
Just a note: setting DMA through hdparm doesn't work on Linux since tens of versions ago, it's been depreceted and you have to trust the on-boot autodetection (and it works fine -- unless you didn't compile the right driver in). It's the same on real machines.
Nonsense, hdparm -d1 is a perfectly valid way to enable DMA on PATA drives post boot.
Oops, right, the documentation confirms that. I don't know why I was thinking that.
Quoted 5 lines
--
Jens Axboe
Regards,
Andrzej
--
balrog 2oo6
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258