Try this take a look in /etc/sysconfig/harddisks (open with your pavorite text editor" and uncomment any lines. like #DMA=1 (working from memory) that is and easy way to enable/check that DMA is enabled![]()
Hope this helps you ;D
Hi I'm experiencing some crazy CPU usage whenever I'm doing heavy I/O operations (such as moving big files from one location to another, using jack to rip a CD, apt-get update, apt-get upgrade) on my harddisk. So I'm assuming DMA isn't enabled, however I've checked all the options (that I believe to be applicable) when I did my make xconfig.
I've also tried using hdparm, but get these results:
also:Code:hdparm -d1 /dev/hdb2 /dev/hdb2: setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument using_dma = 0 (off)
Any ideas? ThanksCode:hdparm -c1 -d1 /dev/hdb2 /dev/hdb2: setting 32-bit IO_support flag to 1 HDIO_SET_32BIT failed: Invalid argument setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument IO_support = 0 (default 16-bit) using_dma = 0 (off)![]()
Try this take a look in /etc/sysconfig/harddisks (open with your pavorite text editor" and uncomment any lines. like #DMA=1 (working from memory) that is and easy way to enable/check that DMA is enabled![]()
Hope this helps you ;D
humms - it works with mine.
here are (most) the options i used in my config, the ones i omitted were for specific chipsets.
Code:# # IDE, ATA and ATAPI Block devices # CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDEFLOPPY=m CONFIG_BLK_DEV_IDESCSI=m CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_GENERIC=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_SIIMAGE=y CONFIG_BLK_DEV_VIA82CXXX=y # CONFIG_IDE_CHIPSETS is not set CONFIG_IDEDMA_AUTO=y # CONFIG_IDEDMA_IVB is not set # CONFIG_DMA_NONPCI is not set CONFIG_BLK_DEV_IDE_MODES=y # CONFIG_BLK_DEV_ATARAID is not set
[quote author=The Great Mojo Jojo link=board=1;threadid=8123;start=0#msg73841 date=1068774113]
Try this take a look in /etc/sysconfig/harddisks (open with your pavorite text editor" and uncomment any lines. like #DMA=1 (working from memory) that is and easy way to enable/check that DMA is enabled![]()
Hope this helps you ;D
[/quote]
Hi, I don't have such a file in my etc directory, I've done a locate on it and it doesn't show up. I'm assuming you're not using Debian (or I'm not using whichever distro you are).
I'm using Fedora so I thought they could kinda be the same![]()
[quote author=pbharris link=board=1;threadid=8123;start=0#msg73842 date=1068774535]
humms - it works with mine.
here are (most) the options i used in my config, the ones i omitted were for specific chipsets.
[/quote]Code:# # IDE, ATA and ATAPI Block devices # CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDEFLOPPY=m CONFIG_BLK_DEV_IDESCSI=m CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_GENERIC=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_SIIMAGE=y CONFIG_BLK_DEV_VIA82CXXX=y # CONFIG_IDE_CHIPSETS is not set CONFIG_IDEDMA_AUTO=y # CONFIG_IDEDMA_IVB is not set # CONFIG_DMA_NONPCI is not set CONFIG_BLK_DEV_IDE_MODES=y # CONFIG_BLK_DEV_ATARAID is not set
Hi, I just recompiled my kernel and although it seems like it's *much* speedier than before when I perform the aforementioned operations, there's still a little delay in everything. The only options that I didn't have enabled from your .config were:
CONFIG_BLK_DEV_SIIMAGE=y
CONFIG_BLK_DEV_VIA82CXXX=y
which I believed to be chipset stuff which I'm clueless as to whether I have or do not.
Bookmarks