Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow DVD burning and problem with DMA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Oct 28, 2008 3:25 am    Post subject: Slow DVD burning and problem with DMA Reply with quote

Hello all,

I was burning a data DVD this evening using k3b and realised that it was only burning at ~1.4x instead of the declared 4x. The media I'm using is fine and capable of 4x. My CD burner and DVD burner are set to /dev/hda and /dev/hdb respectively. However, when I looked at the hdparm, both currently have DMA disabled. I naturally suspected this to be the problem. However, when I try to enable DMA, I get an error that the operation is not allowed. Does anyone have a suggestion? Am I right to assume that the slowness is most likely caused by DMA being disabled, or is there another area into which I should investigate?

Thanks preemptively.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Oct 28, 2008 3:52 am    Post subject: Reply with quote

Since they are hda and hdb, then that means that one of them is set as a slave to the other. I've had problems in the past with that type of setup. I've found that it works better to keep them on separate controllers if possible, even if it means that both drives end up as slaves to hard drives.

Alternatively, if it usually works at 4x, but only sometimes burns slower, then I would guess that you might have previously mounted/burned to RW media. I found that my drive will refuse to burn DVD+R at 8x if I've had RW media in the drive prior to the attempt during that same boot session. (it takes a full system reset to restore full speed burning)
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Oct 28, 2008 3:58 am    Post subject: Reply with quote

Thanks for the information. However, I can't put them on separate controllers as there is only one PATA controller on my motherboard, and my HDD is SATA. Also, I haven't used any RW media, and it always burns at around 1.4x instead of the full speed. Again, thanks for the suggestions though. :)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Oct 28, 2008 4:03 am    Post subject: Reply with quote

Just running down all the things that have screwed me over in the past. :D

How about removing one of the drives temporarily so that there is only a master on the controller? Should be a quick operation. Just unplug the power to the slave drive. I'm guessing that the DVD burner is the master drive on the cable.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Oct 28, 2008 4:12 am    Post subject: Reply with quote

Actually, I'm a moron. After my previous motherboard failed on this computer, I got one that has two PATA controllers. I have never had anything on the second controller, so what will the devices show as instead of /dev/hda and /dev/hdb? Also, I have them listed as /dev/cdrom and /dev/cdrom1 in my /etc/fstab.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Oct 28, 2008 4:19 am    Post subject: Reply with quote

They should be hda and hdc. You'll need to remove or modify /etc/udev/rules.d/70-persistent-cd.rules after you move one of the drives.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Oct 28, 2008 4:45 am    Post subject: Reply with quote

Thanks for the information. I will just unplug one of the drives temporarily and see if the problem goes away before messing with any of the udev rules. Any idea what could be causing the DMA issue though? I will post the exact error message when I get home from work.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Oct 28, 2008 6:12 am    Post subject: Reply with quote

I think that I ran into the DMA issue whenever I had two optical drives on the same controller. Of course, you should check your BIOS settings to be sure that DMA is enabled there and that you have DMA support enabled in your kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum