trouble using hdparm

trouble using hdparm

Post by grow pow » Thu, 12 Dec 2002 05:31:57



I just installed RH7.2(company standard) on my work machine.  Noticed
that the hard disk was really slow and was planning on optimizing it
using hdparm.

But upon trying to run some of the options, I am get getting a
"Invalid argument " error message for some of the options, such as -i,
-d1.  But some options work just fine.

I have heard that I might not have kernal support for my chipset,
which is Southbridge Sis961B.  But was not sure if that was the
problem, and if it is, am not sure how I would go about rebuilding the
kernal I need.  If anyone can help me out with this, I would really
appreciate it.

-thanks

***************************************************

/dev/hda2:
 Timing buffer-cache reads:   128 MB in  0.35 seconds =365.71 MB/sec
 Timing buffered disk reads:  64 MB in 20.38 seconds =  3.14 MB/sec


/dev/hda2:
 HDIO_GET_IDENTITY failed: Invalid argument

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2             38496500   8922884  27618104  25% /
/dev/hda1                46636      8651     35577  20% /boot
none                    257216         0    257216   0% /dev/shm

/dev/hda2:
 HDIO_GET_IDENTITY failed: Invalid argument

/dev/hda2:
 multcount    = 16 (on)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 5005/255/63, sectors = 78220485, start = 96390
 busstate     =  1 (on)

/dev/hda2:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Invalid argument
 using_dma    =  0 (off)

 
 
 

trouble using hdparm

Post by John-Paul Stewar » Thu, 12 Dec 2002 06:07:08



> I just installed RH7.2(company standard) on my work machine.  Noticed
> that the hard disk was really slow and was planning on optimizing it
> using hdparm.

> But upon trying to run some of the options, I am get getting a
> "Invalid argument " error message for some of the options, such as -i,
> -d1.  But some options work just fine.

> I have heard that I might not have kernal support for my chipset,
> which is Southbridge Sis961B.  But was not sure if that was the
> problem, and if it is, am not sure how I would go about rebuilding the
> kernal I need.  If anyone can help me out with this, I would really
> appreciate it.

> -thanks

> ***************************************************

> /dev/hda2:
>  Timing buffer-cache reads:   128 MB in  0.35 seconds =365.71 MB/sec
>  Timing buffered disk reads:  64 MB in 20.38 seconds =  3.14 MB/sec


> /dev/hda2:
>  HDIO_GET_IDENTITY failed: Invalid argument

Try '/sbin/hdparm -i /dev/hda'.  Don't specify the
partition.

 
 
 

trouble using hdparm

Post by John Winte » Fri, 13 Dec 2002 21:22:09




>I just installed RH7.2(company standard) on my work machine.  Noticed
>that the hard disk was really slow and was planning on optimizing it
>using hdparm.

>But upon trying to run some of the options, I am get getting a
>"Invalid argument " error message for some of the options, such as -i,
>-d1.  But some options work just fine.

>I have heard that I might not have kernal support for my chipset,
>which is Southbridge Sis961B.  But was not sure if that was the
>problem, and if it is, am not sure how I would go about rebuilding the
>kernal I need.  If anyone can help me out with this, I would really
>appreciate it.

>-thanks

>***************************************************


/dev/hda2 is a partition.  You need to specify /dev/hda.

HTH
John
--
The Linux Emporium - the source for Linux in the UK
See http://www.linuxemporium.co.uk/

We had a woodhenge here once but it rotted.

 
 
 

1. Trouble with hdparm

Did the boot text mention that it recognized the chipset?

If not try to force lilo to detect the chip with an append
line like one of these:

 "ide0=dtc2278"         : probe/support DTC2278 interface
 "ide0=ht6560b"         : probe/support HT6560B interface
 "ide0=cmd640_vlb"      : *REQUIRED* for VLB cards with the CMD640 chip
                          (not for PCI -- automatically detected)
 "ide0=qd6580"          : probe/support qd6580 interface
 "ide0=ali14xx"         : probe/support ali14xx chipsets
                          (ALI M1439/M1445)
 "ide0=umc8672"         : probe/support umc8672 chipsets

For more details read the documentation of the kernel source in

linux/Documentation/ide.txt

Dirk.

2. ATM

3. DMA troubles - hdparm?

4. HELP PLEASE 3C900B-TPO

5. using erase security unit on hdparm

6. Compiling krecord for KDE

7. anyone explicitely using hdparm?

8. TN3270 ?

9. IDE disk performance (using hdparm)

10. HELP! using hdparm

11. using hdparm to enable dma

12. using hdparm -R

13. More@!!.. Panasonic/SB-CD troubles, trouble, trouble...