-
Junior Member
registered user
hdparm problems!
can anyone tell me why this won't work? I input- hdparm -c 1 /dev/hda2
computer says- /dev/hda2:
settings 32-bit IO_support flag to 1
HDIO_SET_32-BIT failed: Invalid argument
IO_support = 0 (default 16-bit)
Another problem is that when linix boots it says DMA is turned off and my ide will run slow.
I know my DMA is on because a hdparm -c -d /dev/hda2 says it is, so why at boot does it say it is off? How do you change your IO settings from 16 to 32 If I am doing it wrong? thanks joe
-
Senior Member
registered user
Re: hdparm problems!
![Quote](images/misc/quote_icon.png)
Originally Posted by
jojo
can anyone tell me why this won't work? I input- hdparm -c 1 /dev/hda2
computer says- /dev/hda2:
settings 32-bit IO_support flag to 1
HDIO_SET_32-BIT failed: Invalid argument
IO_support = 0 (default 16-bit)
Another problem is that when linix boots it says DMA is turned off and my ide will run slow.
I know my DMA is on because a hdparm -c -d /dev/hda2 says it is, so why at boot does it say it is off? How do you change your IO settings from 16 to 32 If I am doing it wrong? thanks joe
You have to set it on the drive itself not the partition eg. hdparm -c1 /dev/hda. If you want the warning to disappear then you have to edit either the file /etc/hdparm.conf or /etc/default/hdparm and uncomment the section for /dev/hda that exists in the example at the bottom of the file which file you need to edit depends on whether you have the latest version of hdparm installed. After uncommenting make sure that you comment out the line that is put in the /etc/init.d/bootmisc.sh by Knoppix.
Code:
## Uncommented by me for dma settings
/dev/hda {
# mult_sect_io = 16
# write_cache = off
dma = on
}
## Added by me for dma on hdb
/dev/hdb {
spindown_time = 12
dma = on
}
-
Senior Member
registered user
JoJo,
Just to explain one thing about your comment about: "I know DMA is on, but it doesn't show it in the boot..."
I've looked at my init.d file, and way, way, way, down at the bottom, the last thing it does is "copy" the boot output to a file, so it can be viewed with something like dmesg, or something like that...
RIGHT AFTER THAT: it has a hdparm command, at least in mine it does, which sets the DMA to ON, on my hda device. This command, after looking at the man page for the hdparm command, has a "silent" switch placed on the line. So, it is doing a hdparm, which, one, doesn't get displayed to the boot screen, and two, doesn't get "copied" to the output file.
I realized all of this when I needed to add a DMA set to ON for my DVD device, and they suggested adding it to the init.d file, "somewhere near the bottom"... to keep the DMA settings between booting.
Hope this helps, at least a little, (even if it, probably, is off-subject)
Cuddles
Similar Threads
-
By ThomasX in forum General Support
Replies: 2
Last Post: 03-18-2005, 03:09 PM
-
By stardactyl in forum Customising & Remastering
Replies: 1
Last Post: 04-15-2004, 08:17 PM
-
By mindmeddler2003 in forum General Support
Replies: 1
Last Post: 02-03-2004, 07:29 PM
-
By lesshaste in forum General Support
Replies: 2
Last Post: 01-09-2004, 05:50 PM
-
By pp5126 in forum Hardware & Booting
Replies: 2
Last Post: 01-05-2004, 04:04 PM
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
![SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5](/store/img/UPoAAOSw9Hlmedgx/s-l225//SAS-HGST-Ultrastar-7K4000-HUS724040ALA640-0F14688-.jpg)
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/TIMAAOSw969gDuvf/s-l225//HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5](/store/img/ZuIAAOSwYl9lpvWh/s-l225//WD-4TB-Gold-Enterprise-7200-RPM-SATA-6Gb-s-128MB-C.jpg)
WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5" HDD - WD4002FYYZ
$42.95
![Hitachi 4TB 3.5](/store/img/Rm0AAOSwyN5ff32u/s-l225//Hitachi-4TB-3-5-Hard-Drive-HUS724040ALE640-Ultrast.jpg)
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$49.95
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/buwAAOSwDghlwalj/s-l225//HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/de0AAOSwcJJlDe~2/s-l225//Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![1TB HDD/SSD 2.5](/store/img/IlgAAOSwtgpmKHfn/s-l225//1TB-HDD-SSD-2-5-SATA-Hard-Drive-with-Windows-10-or.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$18.99
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/pM0AAOSwNJNmTand/s-l225//Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.24
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/tFMAAOSwjDVmceFV/s-l225//Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/xy8AAOSwuMhl8Y7x/s-l225//Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.24