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.
(as root/su):
hdparm -d1 (device)
That's it. If you want to just find out what the setting is on currently, just do
hdparm -d (device)
It's often handy to turn on DMA in your startup scripts, too, if it isn't already on by default. If it's already on by default, you don't even need to worry about it. (a lot of times it's already on by default, but check first)
Well it's what I was looking for but now when I try to set the DMA to on, it just tell me that the operation is not permitted and laughs in my face. But yeah, it was very helpful. Where would I find the startup scripts anyways? This is the first time I have compiled linux from scratch myself, so the install always did it for me before (Redhat, bleah). I like doing it this way much better, works cleaner but at this point I don't know where anything is to modify it myself. Any other help would be apprecaited.
Well if your hard drive supports DMA and that Linux does not want to enable it, it means that you forgot an option in your kernel compilation... So you should look closer ATA/IDE/MFM/RLL support section and IDE, ATA and ATAPI Block devices subsection to be precise
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.