|
|
Subscribe / Log in / New account

sg3_utils-1.06 released

From:  Douglas Gilbert <dougg@torque.net>
To:  linux-scsi@vger.kernel.org
Subject:  sg3_utils-1.06 released
Date:  Wed, 05 May 2004 22:08:53 +1000

Tarball and rpms can be found on http://www.torque.net/sg .
Summary of sg3_utils, sg_utils and other packages are on
this page: http://www.torque.net/sg/u_index.html
A release announcement will be sent to freshmeat.net
shortly.

This version takes advantage of the wider coverage of the SG_IO
ioctl in the lk 2.6 series. As well as being applied to sg device
names (e.g. /dev/sg3) all of these utilities can take block
device names (e.g. /dev/sda and /dev/hdc [if hdc is an ATAPI
device]). Recent version of lk 2.6 also support SG_IO on st
device names (with osst device names soon to follow).
They will not work on ATA disks (e.g. /dev/hda) except with
the sg_scan ** utility.


Changelog for sg3_utils-1.06 [20040426]
   - sg_logs: some HBAs don't like odd transfer lengths so increment
       - do INQUIRY and output product strings
       - add ASCII rendering of the Protocol specific SAS page
       - add '-v' verbose option to output cdb
   - sg_scan: optionally take device file names (e.g. /dev/hdc
         and /dev/sda)
       - only request 36 byte INQUIRY responses
   - sg_err: add sg_decode_sense() function
   - sg_inq: update output (ref: SPC-3 t10/1416-d rev 17, 28
         January 2004)
       - remove '-p' option to print out PCI address of host
       - add '-v' verbose option to output cdb
   - sginfo: allow '-u' to take hex arguments (prefixed by '0x'),
             when subpage value is 255 show multiple subpages
       - accept /dev/hd? ATAPI devices directly in lk 2.6
       - add '-t <pn>[,<spn>]' argument; like '-u' but decodes
         page if it recognizes it
       - drop '-L' argument
       - add cd/dvd, tape, SES, more disk and more SPC-3 decoded
         mode pages
       - add transport protocol decoded mode pages for SPI-4, FCP
         and SAS
   - sg_modes: print all subpages when '-subp=ff' is selected
       - do INQUIRY and output product strings
       - add '-v' verbose option to output cdb
   - Makefile: add -W compile flag and fix exposed warnings
   - .spec file: change to build on Mandrake without errors


** sg_scan first assumes a /dev/hd* device name is an ATAPI device
    and (if requested with '-i') sends a SCSI INQUIRY. If that fails
    it sends a ATA IDENTITY command. For example:

# sg_scan -i /dev/hd[a-d]
/dev/hda: ATA device
     IC25N040ATCS05-0   CLP429F4JJB7DA   CS4OA61A
/dev/hdc: scsi0 channel=0 id=0 lun=0 [em]
     HITACHI   DVD-ROM GD-S200   0034 [rmb=1 cmdq=0 pqual=0 pdev=0x5]


Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds