Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
dma probs with 2.4.22 kernel
Results 1 to 6 of 6

Thread: dma probs with 2.4.22 kernel

  1. #1
    Guest

    dma probs with 2.4.22 kernel

    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:
    Code:
    hdparm -d1 /dev/hdb2
     
    /dev/hdb2:
     setting using_dma to 1 (on)
     HDIO_SET_DMA failed: Invalid argument
     using_dma    =  0 (off)
    also:
    Code:
    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)
    Any ideas? Thanks

  2. #2

    Re:dma probs with 2.4.22 kernel

    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

  3. #3

    Re:dma probs with 2.4.22 kernel

    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

  4. #4
    Guest

    Re:dma probs with 2.4.22 kernel

    [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).

  5. #5

    Re:dma probs with 2.4.22 kernel

    I'm using Fedora so I thought they could kinda be the same

  6. #6
    Guest

    Re:dma probs with 2.4.22 kernel

    [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.
    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]

    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.

Similar Threads

  1. Probs with RH 7.3 & nFORCE
    By tOrCh in forum Linux - General Topics
    Replies: 3
    Last Post: 09-01-2002, 07:31 PM
  2. gfx probs
    By doggiebone in forum Redhat / Fedora
    Replies: 7
    Last Post: 07-16-2002, 08:15 PM
  3. bttv probs
    By Kernel_Killer in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-19-2002, 04:22 PM
  4. bluefish probs
    By in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 04-19-2002, 10:39 AM
  5. gtk compiling probs in rh7.2
    By in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 03-05-2002, 12:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •