* [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; 5+ 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] 5+ messages in thread
* [Qemu-devel] Re: DMA with Knoppix and qemu (cvs-version)
2006-05-05 0:49 [Qemu-devel] DMA with Knoppix and qemu (cvs-version) Sven Köhler
@ 2006-05-05 15:59 ` Sven Köhler
2006-05-06 4:06 ` [Qemu-devel] " andrzej zaborowski
1 sibling, 0 replies; 5+ messages in thread
From: Sven Köhler @ 2006-05-05 15:59 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
> 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?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] DMA with Knoppix and qemu (cvs-version)
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 ` andrzej zaborowski
2006-05-07 17:42 ` [Qemu-devel] " Sven Köhler
[not found] ` <20060507084025.GB22044@suse.de>
1 sibling, 2 replies; 5+ messages in thread
From: andrzej zaborowski @ 2006-05-06 4:06 UTC (permalink / raw)
To: qemu-devel
Hi there,
On 05/05/06, Sven Köhler <skoehler@upb.de> wrote:
> 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
>
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.
>
> Are there some issues with qemu's DMA support and Linux?
> (qemu does have DMA support, doesn't it?)
>
>
> Greetings
> Sven
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Re: DMA with Knoppix and qemu (cvs-version)
2006-05-06 4:06 ` [Qemu-devel] " andrzej zaborowski
@ 2006-05-07 17:42 ` Sven Köhler
[not found] ` <20060507084025.GB22044@suse.de>
1 sibling, 0 replies; 5+ messages in thread
From: Sven Köhler @ 2006-05-07 17:42 UTC (permalink / raw)
To: qemu-devel
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] DMA with Knoppix and qemu (cvs-version)
[not found] ` <20060507084025.GB22044@suse.de>
@ 2006-05-08 13:31 ` andrzej zaborowski
0 siblings, 0 replies; 5+ messages in thread
From: andrzej zaborowski @ 2006-05-08 13:31 UTC (permalink / raw)
To: Jens Axboe; +Cc: qemu-devel
On 07/05/06, Jens Axboe <qemu@kernel.dk> wrote:
> On Sat, May 06 2006, andrzej zaborowski wrote:
> > Hi there,
> >
> > On 05/05/06, Sven Köhler <skoehler@upb.de> wrote:
> > >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
> > >
> > 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.
>
> --
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-08 13:31 UTC | newest]
Thread overview: 5+ 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
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).