SlackwareThis Forum is for the discussion of Slackware 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.
hi!does someone know how to set DMA on in kernel-2.6.xx?I know the kernel-2.4.26 sets on by default,but 2.6.xx doesn't.when I command like this -------->/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
with 2.4.26 no need to command.I tried to look for and to enable from the kernel-2.6.xx menu,but I couldn't find place where from to enable.does someone know exact place in the kernel-2.6.xx menu or where to enable DMA from?thanks!
Originally posted by moonloader hi!does someone know how to set DMA on in kernel-2.6.xx?I know the kernel-2.4.26 sets on by default,
No DMA is not set by default in the 2.4.26 kernel, you have to re-compile the kernel to enable support..............and
the same goes for the 2.6x kernels................re-compile to get support.
When I boot the machine with 2.4.26 (the one comes with slack), no error message for it.
However when I boot it with 2.6.8.1, fsck warns me something like:
DMA of your hard disk is turned off.
This may slow down fsck process.
Tough I am not sure which option is for enabling DMA, I am sure that I turn it on.
/usr/sbin/hdparm -c 1 -d 1 -k 1 /dev/hda
/usr/sbin/hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda
but message comes back
HDIO_SET_DMA failed: Operation not permitted
----------------------------------------------------------------------------------------------------
320mb wrote
No DMA is not set by default in the 2.4.26 kernel, you have to re-compile the kernel to enable support..............and
the same goes for the 2.6x kernels................re-compile to get support.
-------------------------------------------------------------------------------------------------------
I am read to compile the kernel again,but where is the place in the kernel menu to enable it?I tried to look for and to enable from the kernel-2.6.xx menu,but I couldn't find place where from to enable.does someone know exact place in the kernel-2.6.xx menu or where to enable DMA from?thanks!
ps:in the kernel 2.4.26 DMA is enabled,but anyway you have to command as single user or to rc.local
hdparm -c 1 /dev/hda
hdparm -d 1 /dev/hda
Last edited by moonloader; 09-05-2004 at 09:34 AM.
hello to all!
I found out how to set the DMA on and it same for the kernel-2.4.xx and kernel-2.6.xx.this is how I did it and I hope this post will help to the people who has same issue or who wants to set DMA on.
ATA/ATAPI/API/MFM/RLL support yes
PCI IDE chipset support yes
Generic PCI bus-master DMA support yes
then I chose All options in same menu (what effect to set DMA on!!!)
results success!
/dev/hda:
using_dma = 1 (on)
Last edited by moonloader; 09-05-2004 at 03:23 PM.
I think one of the most crucial thing is to compile CORRECT IDE Bus Controller.
I got the warning everytime I boot until I got the that thing into kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.