On Tue, 07 Jun 2005 14:37:21 +0100
Adam Funk <a24061@yahoo.com> wrote:
> lroy@ccsi.com wrote:
>
> > On Mon, Jun 06, 2005 at 04:17:21PM +0100, Adam Funk wrote:
> >> # hdparm /dev/hda
> >>
> >> /dev/hda:
> >> IO_support = 0 (default 16-bit)
> >> unmaskirq = 0 (off)
> >> using_dma = 0 (off)
> >> keepsettings = 0 (off)
> >> readonly = 0 (off)
> >> readahead = 256 (on)
> >> HDIO_GETGEO failed: Invalid argument
> >>
> > You have unmaskirq and dma turned off, and IO support set to 16-bit.
> >
> > Try this: hdparm -c1 -d1 -u1 /dev/hda
>
> # hdparm -c1 -d1 -u1 /dev/hda
>
> /dev/hda:
> setting 32-bit IO_support flag to 1
> setting unmaskirq to 1 (on)
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> IO_support = 1 (32-bit)
> unmaskirq = 1 (on)
> using_dma = 0 (off)
>
> # hdparm /dev/hda
>
> /dev/hda:
> IO_support = 1 (32-bit)
> unmaskirq = 1 (on)
> using_dma = 0 (off)
> keepsettings = 0 (off)
> readonly = 0 (off)
> readahead = 256 (on)
> HDIO_GETGEO failed: Invalid argument
>
> Not quite there! I'll check the cable too.
Dumb question. Are you running hdparm as root or under "sudo"?
--
Rodney D. Myers <rdmyers@MtPalomar.net>
Registered Linux User #96112
ICQ#: AIM#: YAHOO:
18002350 mailman452 mailman42_5
They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759
Attachment:
pgpWKFL4WlAGS.pgp
Description: PGP signature