Commit Graph

8 Commits

Author SHA256 Message Date
Martin Wilck
c84257e8e0 - Update to version 1.48
* udev rules: new, configurable scheme for creating symlinks for SCSI devices
    (jsc#PED-6226)
    See description of ".SCSI_ID_SERIAL_SRC" /usr/lib/udev/55-scsi-sg3_id.rules
  * decoding utilities: add -j/--json[=JO] and --js-file=JFN options
  * sg_sat_datetime: new tool to access date/time on ATA devices using a SAT layer
  * sg_z_act_query: new tool for sending zone activate/query commands
  * sg_rem_rest_elem: new tool for removing or restoring elements
  * sg_write_attr: support for SPC "Write Attirbute" command (for tapes)
  * sg_ses: swap meaning of -H and -HH, add json support, use e.g.
    "0:2" for range indicator
  * sg_rtpg: fix response truncation
  * sg_decode_sense: add --nodecode option
  * sg_logs: fix --list and -lll options
  * sg_modes: improve handling of ZBC disks
  * sg_inq: add version descriptors from SPC6r08, add --quiet option
  * sg_vpd: add --sinq_inraw=RFN option
  * sg_turs: add --timeout= and --ascq= options
  * sg_requests: add --timeout= option
  * sg_sat_read_gplog: add --smart and --ppt options
  * sgp_dd and sgm_dd: add --progress option
  * sg_dd: add support for accessing NVMe devices via passthrough
  * Bug fixes and minor fixes
- _service: simplify version processing, as we have a clean upstream version again
  * sg_read_block_limits: fix granularity value, add --mloi option
  * sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=104
2023-09-21 20:53:45 +00:00
Martin Wilck
7fc327246c Accepting request 1033169 from home:mwilck:branches:Base:System
- Update to new upstream version 1.48~20221101.6d3bd26:
  (pre-release sg3_utils-1.48 [20221101] [svn: r978])
  * sg_read_block_limits: fix granularity value, add --mloi option; sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work
  * sg_stream_ctl: --get fix better; sg_rem_rest_elem: cleanup
  * sg_stream_ctl: fix --get indexing; fix some './configure --enable-debug' issues
  * sg_inq+sg_vpd: JSON updates
  * rescan-scsi-bus: speed large multipath scans
  * rescan-scsi-bus.sh speed testonline()
  * rescan-scsi-bus.sh: add option --no-lip-scan
  * rescan-scsi-bus: sgdevice26: do not traverse sg class if scsi_device isnot added
  * rescan-scsi-bus.sh: fix handling of '-I <secs>' option
  * Prepare for removing /proc/scsi from the Linux kernel
  * sg_inq+sg_vpd: merge VPD page processing
  * sg_get_elem_status: change '--maxlen=' option default to 1056 (was 32), other cleanups
  * sg_rep_zones: add experimental --json[=JO] option and generation
  * sg_logs: add --exclude and --undefined options
  * zoned disk man page improvements
  * sg_rep_zones: add --statistics option
  * sg_read_buffer: add --eh_code= and --no_output options
  * sg_format: allow disk formats on ZBC (zoned) disks
  * sg_rep_zones: add --brief option and --find ZT option
  * sg_rep_density: new utility for decoding the response of Report density support command [ssc (tape)]
  * Zoned block device characteristics VPD page support

OBS-URL: https://build.opensuse.org/request/show/1033169
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=99
2022-11-04 09:50:38 +00:00
Martin Wilck
957afd7b29 - Update to version 1.47+2.388b767:
* rescan-scsi-bus.sh: apply fix for '-r' (boo#1194293)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=91
2022-01-04 11:48:10 +00:00
Martin Wilck
18fc647883 - Update to version 1.47:
* sg_rep_zones: add support for REPORT ZONE DOMAINS and
    REPORT REALMS in this utility
  * sg_raw: fix prints of NVMe NVM command names
  * sg_logs: additions to Volume statistics lpage [ssc5r05c]
    - additions to Command duration limits statistics log
      page [spc6r06]
  * sg_vpd: fix do_hex type on some recent pages
    - zoned block dev char vpd: add zone alignment mode and
      zone starting LBA granularity [zbc2r11]
  * sg_read_buffer: fix --length= problem
  * sg_dd, sgm_dd, sgp_dd: don't close negative file descriptors
  * sg_dd: srand48_r() and mrand48_r() are GNU libc specific,
    put conditional in so non-reentrant version used otherwise
    - 'iflag=00,ff' places the 32 bit block address (big endian)
      into each block
  * sgp_dd: major rework, fix issue with error being ignored
    - new: --chkaddr which checks for block address in each block
    - add check for stdatomic.h presence in configure.ac
  * sg_xcopy: tweak CSCD identification descriptor
  * sg_get_elem_status: fix issue with '--maxlen=' option
    - add 2 depopulation revocation health attributes [sbc5r01]
  * transport error handling improved. To fix report of a
    BAD_TARGET transport error but the utility still continued.
    - introduce SG_LIB_TRANSPORT_ERROR [35] exit status
  * several utilities: override '--maxlen=LEN' when LEN
    is < 16 (or 4), take default (or 4) instead
  * scripts: 55-scsi-sg3_id.rules remove outdated rule (bsc#1189297)
  * sg_lib: add sg_scsi_status_is_good(),
    sg_scsi_status_is_bad() and sg_get_zone_type_str()

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=89
2021-11-11 22:44:28 +00:00
Andreas Jaeger
d0259cf701 Accepting request 688909 from home:mwilck:branches:Base:System
- Spec file:
  * add fc_wwpn_id (bsc#1005063)
  * add lun masking service (bsc#954600)
  * drop BuildRequires on udev
  * replace unversioned "Provides: scsi" with versioned
- Update to version sg3_utils-1.45~803+31.564be3d:
  * New versioning scheme for upstream pre-release:
    1.45 - upstream release target, 803 - upstream svn id,
    +31: SUSE commits on top of svn, 564be3d - git hash
  * rescan-scsi-bus.sh: terminate scanning if last lun got removed
  (bsc#1087008)
  * 58-scsi-sg3_symlink.rules: don't skip multipath members
  (bsc#1085212)
  * Add scsi-enable-target-scan.sh (bsc#954600)
- Update to svn r803:
  * sg_opcodes: expand MLU (18-102r0)
  * sg_format: add --dcrt used twice (FOV=1 DCRT=0)
  * rescan-scsi-bus: widen LUN 0 only scanning
  (bsc#1069384)
- Earlier SUSE fixes included in 1.45:
  * rescan-scsi-bus.sh: use LUN wildcard in idlist (bsc#1069384)
  [svn: r795]
  * sg_ses: fixup page decoding (bsc#1077787) [svn: r795]
  * sg_ses: allow to decode raw data instead of reading from a device
  (bsc#1050943) [svn: r795]
- Update to sg3_utils-1.44 [20180912] [svn: r791]
  * rescan-scsi-bus.sh: harden code
    - bump version to 20180615
    - add --ignore-rev to ignore revision change
  * introduce SG3_UTILS_DSENSE environment variable

OBS-URL: https://build.opensuse.org/request/show/688909
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=80
2019-04-18 06:15:41 +00:00
Hannes Reinecke
cdb6cb6f02 Accepting request 574647 from home:hreinecke:branches:Base:System
- Update to svn r751:
  * NVMe bugfixes
  * sg_seek: new utility
  * sg_stream_ctl: new utility program
- 54-before-scsi-sg3_id.rules: compability rule for systemd
  (bsc#1079873)
- Add dracut.conf to install new rule with dracut

OBS-URL: https://build.opensuse.org/request/show/574647
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=74
2018-02-09 13:00:49 +00:00
Hannes Reinecke
254365e74d Accepting request 516127 from home:hreinecke:branches:Base:System
- Drop patch merged with git repository
  * drop add-lunsearch-filter-to-searchexisting.patch
- Drop rules included in git repository
  * drop 40-usb-blacklist.rules
- Update to latest svn snapshot:
  * sg_rdac: add sanity checks for -f=lun value
  * sg_vpd improvements
  * sg_ses: fix uninitialized struct
  * sg_luns: resync with SAM and SPC drafts
  * sg_vpd: fix struct misalignment introduced by --force
  * sg_logs: add --vendor and fixup enumeration
- Port patches from SLES:
  * Add systemd service files for LUN masking (bsc#954600)
  * 55-scsi-sg3_id.rules: handle VPD page 0x80 correctly (bsc#1006469)
  * scripts: added udev rules for legacy CCISS (bsc#1006175)
  * rescan-scsi-bus.sh: Add lunsearch filter to findresized()
  (bsc#1027176)
  * Add fc_wwpn_id to generate by-path links for fibrechannel
  (bsc#1005063)
  * 55-scsi-sg3_id.rules: allow to override sysfs inquiry
  (bsc#1012523)
  * sg_inq: export all NAA values (bsc#1050767)
  * Silence gcc warnings

OBS-URL: https://build.opensuse.org/request/show/516127
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=65
2017-08-11 13:36:11 +00:00
Hannes Reinecke
4093ad11f7 Accepting request 392048 from home:hreinecke:branches:Base:System
- Update to new upstream release 1.43:
  * sg_senddiag: add --timeout=SEC option
  * sg_sanitize: add --timeout=SEC option
  * sg_format: add --timeout=SEC option
  * sg_decode sense: add --cdb option
  * sg_ses: handle 2 bit EIIOE field in aes dpage
    - expand join handling of SAS connectors and others
    - expand join debug code
  * sg_logs: fix volume statistics lpage when subpage
    is zero (ssc5r02a); decode mount history log parameter
    - decode Requested recovery, TapeAlert response, and
      Service buffer information lpages for tape
    - add '--pdt=DT' option
  * sg_inq: fix potential unbounded loop in --export
    - update version descriptor list to 20160420
  * sg_inq+sg_vpd: update Extended inquiry data vpd
    page (spc5r09)
    - add --force option to bypass checking supported
      vpd pages page and fetch requested page directly
  * sg_reassign+sg_write_same: fix ULONG_MAX problem
  * sg_turs+sg_requests: make both accept '--num=NUM'
    and '--number=NUM' for mutual compatibility
  * sg_zone: fix debug cdb naming
  * sg_opcode: add '--enumerate' and '--pdt=' options
  * sg_raw: add '--enumerate' option
  * sg_lib: add SSC maintenance in/out sa names
    - add read buffer(16) command mode names
    - add sg_decode_transportid_str()
  * sg_lib_data: sync asc/ascq codes with T10 20160425
  * rescan-scsi-bus.sh: harden code

OBS-URL: https://build.opensuse.org/request/show/392048
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=60
2016-04-29 08:44:18 +00:00