Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to enable DMA support in a SATA drive (I'm using a common Silicon Image 3112 controller). So far when I try to enable DMA:
Code:
sudo hdparm -d1 /dev/sda
I get this error:
Code:
/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
I found several posts where people are suggesting recompiling the kernel. On the other hand in the Ubuntu wiki there is an entry against doing this. To make things more confusing, there is a lot of outdated information about the DMA SATA support in the kernel.
Do you know any workaround for this without recompiling the kernel ?
Thanks in advance,
- Juan
Last edited by SilverEagle; 06-26-2006 at 01:38 AM.
Some people with similar problems report that it was a driver issue, and recompiling the kernel helped (in German only: click, and note it's not a recent kernel).
You might also want to have a look at this: http://www.linuxquestions.org/questi...d.php?t=385371
I suspected this was the case and its ok if dma doesnt need enabling with SATA but what about 32bit IO? it is set to 16bit with hdparm.
How can I set this with SATA?
My main problem is that burning 700MB CD takes 6 mins and should take less than 2min. It takes 1.5min on older laptop with slower CD drive with DMA and 32bit IO enabled.
I suspected this was the case and its ok if dma doesnt need enabling with SATA but what about 32bit IO? it is set to 16bit with hdparm.
How can I set this with SATA?
My main problem is that burning 700MB CD takes 6 mins and should take less than 2min. It takes 1.5min on older laptop with slower CD drive with DMA and 32bit IO enabled.
I don't know if this helps and I never used it but there is a tool called sdparm maybe it helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.