Re: SATA HD & DMA ?

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 08/31/04


Date: Tue, 31 Aug 2004 18:14:16 -0000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.hardware John-Paul Stewart <jpstewart@binaryfoundry.ca> suggested:
> The Real Slim Shady wrote:
>> On Tue, 31 Aug 2004 11:28:42 -0400, John-Paul Stewart wrote:
>>
>>
>>>>Might depend on how your system uses SATA, mine recognizes them as SCSI
>>>>and those hdparm settings don't work with SCSI.
>>>
>>>Do SATA drives have any mode of operation other than DMA? It my
>>>understanding that with SCSI turning DMA on/off is with hdparm is
>>>impossible because DMA is the only possible mode of operation. I'd expect
>>>it to be the same with SATA.
>>
>> From man hdparm:
>> Although this utility is intended primarily for use with (E)IDE
>> hard disk devices, several of the options are also valid (and
>> permitted) for use with SCSI hard disk devices and MFM/RLL hard
>> disks with XT inter- faces.

> But as the previous poster showed, the -d option to hdparm is *not*
> valid for use with SCSI disks. Note the keyword "several", not "all"
> options.

Yup, dunno the point of posting a few lines of man hdparm?

The only options I'm using are -tT on SCSI, just to check for
reasonable numbers, if you know the drive speed.

> The ones that do work: a, E (for SCSI CD-ROMs), f, g, r, t, T. I can't
> test -L (no suitable hardware) but it should work too. Options listed
> in the man page as "dangerous" weren't tried. Aside from that, *all
> other* hdparm options fail on SCSI drives. (Real SCSI, no idea about
> SATA drives that the kernel sees as SCSI.)

AFAIK, the kernel doesn't know much about the RAID, it just
recognizes the device (scsi0: 3ware Storage Controller) through
the 3w_xxxx module loaded from initrd as SCSI.

Only the 3ware provided tool 'tw_cli' can configure the
controller and see the real devices in the array:

3ware CLI> help

Copyright (c) 2003 3ware, Inc. All rights reserved.
3ware CLI (version 2.00.00.032b)

Commands Description
-------------------------------------------------------------------
info Displays information about the controller
alarms Displays or deletes the list of AENs
set Displays or modifies controller settings
maint Performs maintenance operations on a controller
quit Exits the CLI

Type help <command> to get more details about a particular
command.

Runs great.
;)

-- 
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBNL/3AkPEju3Se5QRAhqGAKCwmswHmR9Htx0hXnEadXchO1L91gCgjA4b
LYyClst28DNrpsnzUsa7m6U=
=S1ds
-----END PGP SIGNATURE-----


Relevant Pages

  • HSG60 SCSI write abort on unit, not disk
    ... I have a HSG60 controller with mirror sets on it. ... I have also included the description of the Instance and the SCSI ... SCSI Command Opcode: 42. ... Sense Data Qualifiers: 64. ...
    (Tru64-UNIX-Managers)
  • Re: UC07 with BA350/RZ28 disk spinup problem
    ... VMS did not have SCSI drivers (or its SCSI ... command to a SCSI "spin up" command. ... to the controller configuration, at which point you can issue SCSI ... as far as the DSA/RA series disks, ...
    (comp.os.vms)
  • Re: Loss of SCSI boot after CMOS battery replacement
    ... result of my old motherboard BIOS after all. ... controller takes priority over the SCSI ... IDE first to SCSI first. ... SCSI drives and Win98. ...
    (comp.periphs.scsi)
  • Re: Troubleshooting Adaptec 2010s RAID Controller
    ... >> So now it is a Readcommand is it? ... >> values that don't comply with SCSI commands or show a very unlikely ... The above is called a command descriptor block (CDB) and the ... > The Storage Manager controller log should help you determine if there is ...
    (comp.periphs.scsi)
  • Re: Anthonys drive issues.Re: ssh password delay
    ... Upgrade the system BIOS ... Upgrade the firmware in the SCSI controller ... > firmware in the drives. ...
    (freebsd-questions)