You are not logged in.

#1 2007-01-26 21:07:23

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

hdparm with pata driver

Having recently changed from using the ide to the pata driver, hdparm now doesn't  offer the same tweakability as before.  Presumably, that's because the latest driver uses optimal defaults (eg 32 bit, dma on etc).  How can I find out if this assumption is true, when "hdparm /dev/sdc" now reports the following:

/dev/sdc:
IO_support   =  0 (default 16-bit)
readonly     =  0 (off)
readahead    = 256 (on)
geometry     = 19457/255/63, sectors = 312581808, start = 0

and "hdparm -i /dev/sdc" gives:

/dev/sdc:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

Are there any other tools for modifying the sdX drives or is there no point in doing so?

Offline

#2 2007-01-26 21:32:41

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: hdparm with pata driver

How can I find out if this assumption is true, when "hdparm /dev/sdc" now reports the following:

If that may help, I once had the following reply to the same question from a kernel contributor. (Tejun Heo)

That ioctl is for the old IDE and not implemented for libata.  libata
should automatically choose the best available transfer mode.  The
selected transfer mode is reported during initialization.  The line
looks like the following.

ata1.00: configured for UDMA/133

HTH

Offline

Board footer

Powered by FluxBB