Results 1 to 3 of 3

Thread: I Cant enable DMA acceleration for my hard drive

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    2

    I Cant enable DMA acceleration for my hard drive

    I have installed Knoppix on my Hard Drive, and the hard drive goes really slow:

    root@Walkyria:/home/Antonio# hdparm -Tt /dev/hdc

    /dev/hdc:
    Timing cached reads: 3112 MB in 2.00 seconds = 1553.91 MB/sec
    Timing buffered disk reads: 4 MB in 4.41 seconds = 928.10 kB/sec


    And I realize i havent DMA enabled. But when i try to enable it, something is wrong:

    root@Walkyria:/home/Antonio# hdparm /dev/hdc

    /dev/hdc:
    multcount = 16 (on)
    IO_support = 0 (default 16-bit)
    unmaskirq = 0 (off)
    using_dma = 0 (off)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 16383/255/63, sectors = 117210240, start = 0

    root@Walkyria:/home/Antonio# hdparm -d1 /dev/hdc

    /dev/hdc:
    setting using_dma to 1 (on)
    HDIO_SET_DMA failed: Operation not permitted
    using_dma = 0 (off)


    I installed from knoppix 4.0.2 . The Kernel has activated the options Generic PCI IDE chipset support and Generic PCI bus-master DMA support
    I have tried to change /etc/hdparm.conf, and added a line like:

    /dev/hdc {

    write_cache = on
    dma = on
    }

    But doesnt work.
    However, during boot, appears the message: "Enabling DMA acceleration for: hdc". I cant understand what happens.

    Can anyone help me?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    No offense implied, but are you sure hdc is a hard drive? You can get a listing of your system's ide devices by running the command:
    Code:
    dmesg | grep -i hd
    In most circustances and in most PCs, there is 1 hard drive and 1 removable media optical drive. The hard drive is the master on the primary IDE channel and is hda. The optical drive is the master on the secondary IDE channel and it is hdc. I have seen plenty of 40X or 48X CDROM drives that have poor or no support for DMA. So if your hdc is a optical drive, it may not support DMA. I have also seen a junky 40X CDROM drive as the master and a 32X CDRW drive as the slave & I was unable to turn on DMA for the CD

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    2
    root@Walkyria:/etc# dmesg | grep -i hd
    Kernel command line: root=/dev/hdc6 ro ramdisk_size=100000 lang=es apm=power-off nomce vga=791
    hdc: IC25N060ATMR04-0, ATA DISK drive
    hdd: PIONEER DVD-RW DVR-K15RA, ATAPI CD/DVD-ROM drive
    hdc: max request size: 1024KiB
    hdc: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63
    hdc: cache flushes supported
    hdc: hdc1 hdc2 hdc3 < hdc5 hdc6 >
    hdd: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache
    Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon!
    EXT3 FS on hdc6, internal journal
    Adding 497972k swap on /dev/hdc5. Priority:-1 extents:1
    EXT3 FS on hdc6, internal journal


    My DVD-RW hasnt got the DMA enabled. I've got a similar response of hdparm
    BTW, my computer is a laptop. I dont know whether that's important about DMA (well, under windows, the dvd and hard disk work reasonably fast).

Similar Threads

  1. Copying from an internal hard drive to a USB thumb drive
    By bagmonkey in forum General Support
    Replies: 1
    Last Post: 04-12-2008, 04:50 AM
  2. Copy file from hard drive to usb flash drive
    By PaulKraemer in forum General Support
    Replies: 1
    Last Post: 05-08-2006, 04:49 PM
  3. Copying hard drive to hard drive new to linux
    By husalah5150 in forum General Support
    Replies: 3
    Last Post: 11-22-2005, 05:06 PM
  4. Hard drive / data recovery / force show drive
    By Lintu in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-20-2005, 06:13 PM
  5. Hard Drive Salvage from corrupted Windows XP NTFS drive
    By kidsatacrux in forum MS Windows & New to Linux
    Replies: 19
    Last Post: 08-03-2004, 07:41 AM

Posting Permissions

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


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity picture

IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity

$100.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ picture

IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ

$20.00



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD picture

IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD

$109.95



IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU picture

IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU

$299.99