-
Senior Member
registered user
DMA access for drive - HD Install
If DMA access to your disk was not enabled during install then you can edit the file /etc/init.d/bootmisc.sh and remove the # from the line for your drive near the bottom of the file. ie:
Code:
# /sbin/hdparm -qd1 /dev/hda
To have DMA enabled upon re-boot. If you wish to enable DMA before re-booting then use the command /sbin/hdparm -d1 /dev/hd? other usefull hdparm options:
/sbin/hdparm /dev/hd? - Tells you the settings currently in use.
/sbin/hdparm -i /dev/hd? - Gives you information on your drive.
/sbin/hdparm -Tt /dev/hd? - Tests the speed of your drive.
Replace the ? with your drive and all this as root in a console window.
-
Senior Member
registered user
/etc/init.d/bootmisc.sh
# enable DMA
# /sbin/hdparm -qd1 /dev/hdg <--- Comment out this line!
# Added by
# This sets 32 bit I/O and DMA for Hard Drive.
# sudo hdparm -i /dev/hdg
hdparm -X69 -d1 -u1 -m16 -c3 /dev/hdg
# Added by
# This sets 32 bit I/O and DMA for CD-ROM Drive.
# sudo hdparm -i /dev/hda
hdparm -X34 -d1 -u1 -c3 /dev/hda
# Added by
# This sets 32 bit I/O and DMA for DVD-ROM Drive.
# sudo hdparm -i /dev/hdc
hdparm -X66 -d1 -u1 -c3 /dev/hdc
NOTE:
Use your /dev/ [Identifiers] Can be found in /etc/fstab !
If your Windows HDD said /dev/hdg1 - use only hdg .
X34 = (Multi-word DMA) 16.6 MB Sec.
X66 = ATA33
X68 = ATA66
X69 = ATA100
X100 = ATA133? Not sure about this one (Try it)
-
Senior Member
registered user
UPDATE
hdparm -X69 -d1 -u1 -m16 -c3 /dev/hdg
-c3 = 32Bit-Sync
-c1 = 32Bit
-W0 = Disable the IDE drive's write-caching feature (usually OFF by default)
-W1 = Enable the IDE drive's write-caching feature (usually OFF by default)
Use -W0 or -W1 for HDD Only.
EAMPLE: hdparm -X69 -W0 -d1 -u1 -m16 -c1 /dev/hdg
-
Senior Member
registered user
I just knoppix-installer as debian an old Gateway PC with a 10GB hdd.
When it boots its very slow and there is a message about "warning, dma is turned off!" But when I check /etc/init.d/bootmisc.sh, the hdparm -qd1 /dev/hda line is not commented out.
Now that I'm booted-up it doesn't seem slow, but boot-up is. hdparm /dev/hda returns using_dma=1(on) - is this odd?
TIA,
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
A. Jorge Garcia
I just knoppix-installer as debian an old Gateway PC with a 10GB hdd.
When it boots its very slow and there is a message about "warning, dma is turned off!" But when I check /etc/init.d/bootmisc.sh, the hdparm -qd1 /dev/hda line is not commented out.
Now that I'm booted-up it doesn't seem slow, but boot-up is. hdparm /dev/hda returns using_dma=1(on) - is this odd?
TIA,
That is perfectly normal the bootmisc.sh script is one of the last scripts run on boot. I did some checking on my system and there is a /etc/init.d/hdparm which calls the file /etc/default/hdparm there is an example for a /dev/hda at the bottom of the file commented out I commented out my lines in the bootmisc.sh. Then uncommented in the /etc/default/hdparm rebooted and it worked and entered my second drive into standby just like I had in the bootmisc.sh so you may want to give this file a try and see if it helps. What I changed for your reference:
Code:
## Uncommented by me for dma on hda
/dev/hda {
# mult_sect_io = 16
# write_cache = off
dma = on
}
## Added by me for my settings on hdb
/dev/hdb {
spindown_time = 12
dma = on
}
Edit: Another damn typo.
Edit2: The file for the settings (/etc/default/hdparm) has changed in the newer versions of hdparm to /etc/hdparm.conf.
-
Hi Jorge,
did you enable DMA in your BIOS settings?
Ciao Martin
Similar Threads
-
By StumpMan in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-15-2005, 03:03 AM
-
By willkill69 in forum General Support
Replies: 5
Last Post: 09-21-2004, 10:05 PM
-
By anhtran81 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-18-2004, 12:22 PM
-
By VWguyBruce in forum General Support
Replies: 0
Last Post: 10-13-2003, 07:42 AM
-
By Colonel Sanders in forum Hardware & Booting
Replies: 2
Last Post: 08-21-2003, 04:47 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
-
Forum Rules
![LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5 picture](/store/img/g/NLUAAOSwSoBkpZ7y/s-l225/LOT-QTY-2-of-INTEL-XEON-10-CORE-E5-2690-V2-25MB-3-.jpg)
LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5
$139.99
![Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200 picture](/store/img/g/60cAAOSwEIll-JnV/s-l225/Dell-Precision-5810-Workstation-Xeon-E5-1650-6C-3-.jpg)
Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200
$115.94
![E5-2699V4 Intel Xeon Processor 55M Cache, 2.20 GHz SR2JS CM8066002022506 picture](/store/img/g/HmIAAOSwls5frj~X/s-l225/E5-2699V4-Intel-Xeon-Processor-55M-Cache-2-20-GHz-.jpg)
E5-2699V4 Intel Xeon Processor 55M Cache, 2.20 GHz SR2JS CM8066002022506
$155.00
![Dell Precision T3600 Tower Xeon E5-1650 3.2GHz 32GB RAM No HDD/OS Quadro 600 picture](/store/img/g/nMoAAOSwv1tmgv6w/s-l225/Dell-Precision-T3600-Tower-Xeon-E5-1650-3-2GHz-32G.jpg)
Dell Precision T3600 Tower Xeon E5-1650 3.2GHz 32GB RAM No HDD/OS Quadro 600
$89.99
![Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture](/store/img/g/hLcAAOSwA81iMQ7h/s-l225/Intel-Xeon-E5-2680-V4-CPU-2-4-3-3GHz-14-Core-35M-L.jpg)
Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W
$15.99
![Intel Xeon E5-2699 v3 2.3GHz 18-Core 45MB 145W LGA2011-3 CPU/Processor SR1XD picture](/store/img/g/HDwAAOSwTHFl06dB/s-l225/Intel-Xeon-E5-2699-v3-2-3GHz-18-Core-45MB-145W-LGA.jpg)
Intel Xeon E5-2699 v3 2.3GHz 18-Core 45MB 145W LGA2011-3 CPU/Processor SR1XD
$40.99
![Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture](/store/img/g/rfsAAOSwEFBma4Yr/s-l225/Intel-Xeon-E5-2667-V2-LGA-2011-3-3GHz-8-Core-130W-.jpg)
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.99
![Intel Xeon E5-2650 V4 2.20Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR2N3 Tested picture](/store/img/g/yqkAAOSwxb5jRHXf/s-l225/Intel-Xeon-E5-2650-V4-2-20Ghz-12-Core-30MB-Cache-L.jpg)
Intel Xeon E5-2650 V4 2.20Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR2N3 Tested
$5.99
![Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011 picture](/store/img/g/zYMAAOSwhh1mdEYc/s-l225/Matched-pair-Intel-Xeon-E5-2667v4-SR2P5-3-20GHz-8-.jpg)
Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011
$62.95
![Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU picture](/store/img/g/gRcAAOSwTnpmYzzp/s-l225/Intel-Xeon-E5-2667-V4-SR2P5-3-2GHZ-8-CORE-25MB-135.jpg)
Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU
$29.89