Results 1 to 3 of 3

Thread: hdparm problems!

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    26

    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

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: hdparm problems!

    Quote 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
    }

  3. #3
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    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

  1. hdparm, HD spindown, how to get status?
    By ThomasX in forum General Support
    Replies: 2
    Last Post: 03-18-2005, 03:09 PM
  2. Customizing to make HDDs Readonly at boot with HDPARM
    By stardactyl in forum Customising & Remastering
    Replies: 1
    Last Post: 04-15-2004, 08:17 PM
  3. Knoppix Problems or Hardware Problems
    By mindmeddler2003 in forum General Support
    Replies: 1
    Last Post: 02-03-2004, 07:29 PM
  4. ideq 200s problems and more problems
    By lesshaste in forum General Support
    Replies: 2
    Last Post: 01-09-2004, 05:50 PM
  5. hdparm activates partitions on Toshiba laptop
    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
  •  


Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$140.00



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



HP ProLiant BL460c Gen8 Blade Chassis w/2x Xeon E5-2630L 2.0GHz, 32GB RAM, No H picture

HP ProLiant BL460c Gen8 Blade Chassis w/2x Xeon E5-2630L 2.0GHz, 32GB RAM, No H

$144.99



HP ProLiant BL660C Gen8 Server Blade 2x Xeon E5-4650L 2.60Ghz w/ 32GB DDR3, QTY picture

HP ProLiant BL660C Gen8 Server Blade 2x Xeon E5-4650L 2.60Ghz w/ 32GB DDR3, QTY

$189.99



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R picture

Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R

$399.00



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD

$349.99