Results 1 to 10 of 12

Thread: DMA won't enable on any hard drive

Hybrid View

  1. #1
    Join Date
    May 2007
    Beans
    98

    DMA won't enable on any hard drive

    Hello, I have a 8.04 install on a core 2 duo 1gb ram computer. DMA won't enable on any of my hard drives.

    Here is what i run to enable dma:

    sudo hdparm -d1 /dev/sdc

    It returns:

    /dev/sda:
    setting using_dma to 1 (on)
    HDIO_SET_DMA failed: Inappropriate ioctl for device
    HDIO_GET_DMA failed: Inappropriate ioctl for device


    This is a seagate 500gb ide drive hooked up as the primary slave.

    As a result, video playback is not too great and very choppy. Also, file transfers are pretty slow...not horribly slow, but slower than when i was with ubuntu feisty.

    Any ideas?
    -Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: DMA won't enable on any hard drive

    Many (all?) SATA drives don't need to have DMA manually enabled (and don't support it via hdparm). What is the output of:

    Code:
    sudo hdparm -I /dev/sdc
    sudo hdparm -tT /dev/sdc
    Don't try to make something "fast" until you are able to quantify "slow".

  3. #3
    Join Date
    May 2007
    Beans
    98

    Re: DMA won't enable on any hard drive

    Hello, here are the results:

    sudo hdparm -I /dev/sdc

    /dev/sdc:
    SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    HDIO_DRIVE_CMD(identify) failed: Input/output error


    sudo hdparm -tT /dev/sdc

    /dev/sdc:
    Timing cached reads: 1036 MB in 2.00 seconds = 517.99 MB/sec
    Timing buffered disk reads: 70 MB in 3.04 seconds = 23.04 MB/sec



    Also, keep in mind, this is not an sata drive, it's an ide drive.

    -Thanks

  4. #4
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: DMA won't enable on any hard drive

    That's odd that hdparm -I doesn't work but, are you sure that DMA isn't working? 23M/sec seems quite fast for and ide drive not having DMA. You could see if "hdparm -i" works and gives any more information.
    Don't try to make something "fast" until you are able to quantify "slow".

  5. #5
    Join Date
    May 2007
    Beans
    98

    Re: DMA won't enable on any hard drive

    Here's what i get:

    sudo hdparm -i /dev/sdc

    /dev/sdc:
    HDIO_GET_IDENTITY failed: Invalid argument


    Any ideas?

  6. #6
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: DMA won't enable on any hard drive

    I'm not sure why none of the information commands in hdparm aren't working but, I do think that DMA is enabled on your drive. Have you ruled out the possibility that your graphics card isn't configured correctly?
    Don't try to make something "fast" until you are able to quantify "slow".

Tags for this Thread

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
  •