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 have been recently having a lot of problems with one of my HDD. It's a Matrox 120GB HDD formated with fat32.
I've noticed this harddrive is quite slow, so i checked with hdparm if the dma was enabled. To my surprise, it wasn't, so i put it. I even made an entry to /etc/rc5.d/S99local file to not having to do it everytime i switch on the pc.
Few moments ago, i had to put it back (hdparm -d1 /dev/hdb) and to my surprise (again), after five minutes, it was disbled again!! Putting manually DMA option to the hard drive does not give any error, and for a while it's working, but then (i don't know how or why) it's just disabled.
I'm sure i have compiled the kernel with DMA support, and checking dmesg, i found this error:
These errors are common when you do not have the proper support for your IDE controller in your kernel. The kernel can access the drives but cannot cannot set the DMA mode correctly. What kind of motherboard do you use?
It's an ASUS P4S8X-X.
Fortunatelly I still keep the old kernel (the one that came out of the box). I'll boot with it and see if I get those errors again.
So i guess i'll have to recompile the kernel again. I guess the problem should be under Device Drivers --> ATA/ATAPI/MFM/RLL support isn't it?
Well, it's kinda wierd, but upgrading the kernel solved the problem.
I'm still getting the same errors, but i have dma enabled at least, and the "hdparm -Tt /dev/hdb" test is good.
hw-tph, thanks for your help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.