You are not logged in.

#1 2008-06-21 21:13:06

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

[Solved] No DMA for DVD, Ubuntu has fix, Arch?

After an earlier kernel upgrade (2.6.25?) this spring, my DVD player in Arch began playing really slow & choppy. Data transfer was agonizingly slow. Finally realized DMA off. I could find no fix at the time, so I installed Ubuntu 8.04 and found this fix.

and find this line
Code:

ata2.00: simplex DMA is claimed by other device, disabling DMA

so i searched for that error on google, since the ioctl error came up with nothing helpful, and i came up on a bug report for ubuntu, and did this.

Code:

sudo gedit /etc/initramfs-tools/modules

and added these lines to the end
Code:

  pata_atiixp
  blacklist ata_generic

saved, then rebuilt the initramfs
Code:

sudo update-initramfs -u

This worked well for Ubuntu, but I do not understand how to translate it to arch. I've been trying some mkinitcpio adjustments, but to no avail. I still get dmesg|grep DMA:

ata2.00: ATAPI: MATSHITADVD-RAM UJ-840S, 1.02, max UDMA/33
ata2.00: simplex DMA is claimed by other device, disabling DMA
ata2.00: configured for PIO4

Any ideas?

kernel: kernel26 2.6.25.6-1

Last edited by tankmcp (2008-06-21 21:51:11)

Offline

#2 2008-06-21 21:21:57

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [Solved] No DMA for DVD, Ubuntu has fix, Arch?

This should be doable by editing the MODULES line in /etc/mkinitcpio.conf and regenerating the initramfs ('mkinitcpio -p kernel26' I think)

Offline

#3 2008-06-21 21:30:54

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

Re: [Solved] No DMA for DVD, Ubuntu has fix, Arch?

What would serve as the ata_generic? I don't see that in lsmod and pata_atiixp is there.
I'll try it, but I don't see what it will do.

Offline

#4 2008-06-21 21:50:35

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

Re: [Solved] No DMA for DVD, Ubuntu has fix, Arch?

Thanks for the encouragement bender02. big_smile
It worked with a little adjustment.

In /etc/mkinitcpio.conf

MODULES="pata_acpi pata_atiixp ata_generic"

FILES="/etc/modprobe.conf"

HOOKS="base udev autodetect pata scsi sata usb usbinput keymap filesystems"

In /etc/modprobe.conf

alias ata_generic off

alias pata_atiixp on

Finally have DMA and smooth working DVD.

Offline

#5 2008-06-21 21:52:27

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] No DMA for DVD, Ubuntu has fix, Arch?

If it's not loaded, then there's no need to blacklist it. Check the modules dir to see if it was built as a module, I presume it is.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB