Unix Technical Forum

Burning painfully slow - DMA?

This is a discussion on Burning painfully slow - DMA? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi folks, I can't seem to be able to use my CD writer at full speed with Linux. I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 02:56 PM
Mario Berger
 
Posts: n/a
Default Burning painfully slow - DMA?

Hi folks,

I can't seem to be able to use my CD writer at full speed with Linux. I
thought this was a general problem, since with Windows it was the same,
but today I noticed I was able to burn an ISO image at full speed (16x),
while On-The-Fly-Copying a CD at 8x trashed the CD-R even with BurnProof.

Now, I suspect a wrong DMA mode or something, since the problem only
occurs with on-the-fly. The reading and writing drives are _not_ on the
same IDE string, they are both masters and my HDDs are on Promise ATA100.

How can I check/change the DMA status of my drives; or do you suspect
another problem?

~Mik
--
Top-Bottom Programming never gets you where you wanted to go.
Bottom-Top Programming gets you where you never wanted to go.

while not life:
sleep((sleep.normal_time - 5h)); eat(mode=fast); pc_mainloop()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 02:56 PM
MikeyD
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

Mario Berger wrote:

> Hi folks,
>
> I can't seem to be able to use my CD writer at full speed with Linux. I
> thought this was a general problem, since with Windows it was the same,
> but today I noticed I was able to burn an ISO image at full speed (16x),
> while On-The-Fly-Copying a CD at 8x trashed the CD-R even with BurnProof.
>
> Now, I suspect a wrong DMA mode or something, since the problem only
> occurs with on-the-fly. The reading and writing drives are _not_ on the
> same IDE string, they are both masters and my HDDs are on Promise ATA100.
>
> How can I check/change the DMA status of my drives; or do you suspect
> another problem?
>

hdparm -d /dev/whatever. I think.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:08 PM
Kiki Novak
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

Mario Berger wrote:

> Hi folks,
>
> I can't seem to be able to use my CD writer at full speed with Linux.


In short: you *have* to use SCSI emulation with programs like K3b or
XCdroast for them to work correctly.

NK
--
Whereof one cannot speak, thereof one frequently goes ranting on and on at
ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus,
first draft)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:08 PM
Ivan
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

On Mon, 04 Oct 2004 13:20:41 +0200, Kiki Novak wrote:


> In short: you *have* to use SCSI emulation with programs like K3b or
> XCdroast for them to work correctly.


I *don't have* scsi emulation, i'm using atapi, and it works very good for
me... ok, i'm doing everything as a root maybe that makes a difference

i.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 03:11 PM
MikeyD
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

Ivan wrote:

> On Mon, 04 Oct 2004 13:20:41 +0200, Kiki Novak wrote:
>
>
>> In short: you *have* to use SCSI emulation with programs like K3b or
>> XCdroast for them to work correctly.

>
> I *don't have* scsi emulation, i'm using atapi, and it works very good for
> me... ok, i'm doing everything as a root maybe that makes a difference
>

Do you have a slow drive? There's no DMA using atapi, not to mention the
kernel code being unmaintained and IME buggy, for speeds > about 24x it's
really not an option.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:13 PM
Ivan
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

On Tue, 05 Oct 2004 17:53:25 +0100, MikeyD wrote:

> Ivan wrote:
>
>> On Mon, 04 Oct 2004 13:20:41 +0200, Kiki Novak wrote:
>>
>>
>>> In short: you *have* to use SCSI emulation with programs like K3b or
>>> XCdroast for them to work correctly.

>>
>> I *don't have* scsi emulation, i'm using atapi, and it works very good for
>> me... ok, i'm doing everything as a root maybe that makes a difference
>>

> Do you have a slow drive? There's no DMA using atapi, not to mention the
> kernel code being unmaintained and IME buggy, for speeds > about 24x it's
> really not an option.


no, i can burn cd up to 32x, and dvds with 4x (nec 2500)
and hdparm gives me:
using_dma = 1 (on)

during reading/writing the processor (athlon xp 1500+) is almost not used,
so i think that dma is on.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 03:13 PM
Juergen Frieling
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

Hi,

Am Tue, 05 Oct 2004 17:53:25 +0100, schrieb MikeyD:

>> I *don't have* scsi emulation, i'm using atapi, and it works very good for
>> me... ok, i'm doing everything as a root maybe that makes a difference
>>

> Do you have a slow drive? There's no DMA using atapi, not to mention the
> kernel code being unmaintained and IME buggy, for speeds > about 24x it's
> really not an option.


Maybe he's using kernel 2.6.x and you still 2.4.y?
With linux kernel 2.6 a new ATAPI interface has been developed and is
directly available with the IDE driver and supported by cdrecord.
'dev=/dev/hdc' is then the right way to specify the drive

Juergen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 03:14 PM
MikeyD
 
Posts: n/a
Default Re: Burning painfully slow - DMA?

Juergen Frieling wrote:

> Hi,
>
> Am Tue, 05 Oct 2004 17:53:25 +0100, schrieb MikeyD:
>
>>> I *don't have* scsi emulation, i'm using atapi, and it works very good
>>> for me... ok, i'm doing everything as a root maybe that makes a
>>> difference
>>>

>> Do you have a slow drive? There's no DMA using atapi, not to mention the
>> kernel code being unmaintained and IME buggy, for speeds > about 24x it's
>> really not an option.

>
> Maybe he's using kernel 2.6.x and you still 2.4.y?
> With linux kernel 2.6 a new ATAPI interface has been developed and is
> directly available with the IDE driver and supported by cdrecord.
> 'dev=/dev/hdc' is then the right way to specify the drive
>

Oh, that could be the difference. I'm still using 2.4 as long as Pat keeps
it the default.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com