Commit Graph

80 Commits

Author SHA256 Message Date
Martin Wilck
a0d57226cb - dracut.conf: add 00-scsi-sg3_config.rules (jsc#PED-6226)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=106
2023-09-27 15:58:19 +00:00
Martin Wilck
460e6131f2 and .SCSI_SYMLINK_SRC in /usr/lib/udev/58-scsi_symlink.rules
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=105
2023-09-21 21:00:18 +00:00
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
fc26090f74 * rescan-scsi-bus: speed large multipath scans (bsc#1207706)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=102
2023-01-27 16:26:49 +00:00
Martin Wilck
ba481e6c64 - Update to version 1.48~20221101+1.142dace:
* fix output of "sg_inq -H -p bdc" (boo#1207700)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=101
2023-01-27 15:47:27 +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
b6daec3357 * rescan-scsi-bus.sh: add timeout parameter (bsc#1199248)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=97
2022-06-01 14:58:49 +00:00
Martin Wilck
038acf8340 - Update to version 1.47+5.d13bc56:
* add timeout parameter (bsc#1199248)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=96
2022-06-01 14:51:28 +00:00
Martin Wilck
af7ea3a366 - Update to version 1.47+4.82fb156:
* rescan_scsi_bus.sh: restore numeric ordering of hosts (bsc#1196244)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=95
2022-02-21 13:09:43 +00:00
Martin Wilck
859e073b28 - Update to version 1.47+3.adb7276:
* rescan-scsi-bus.sh: fix garbled output (bsc#1195621)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=94
2022-02-08 20:43:09 +00:00
Martin Wilck
a637c4622f OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=93 2022-01-04 12:15:40 +00:00
Martin Wilck
1804eb01ca * _service: use openSUSE github repo again (with cherry-picks
from upstream)
  * spec file: suppress commit ID in library version

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=92
2022-01-04 12:08:29 +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
aeb368e432 Change source URL to file name to avoid bot reject because of
download_files failing

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=90
2021-11-12 08:27:37 +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
Martin Wilck
97311b5180 Accepting request 886932 from home:polslinux:branches:Base:System
- Update to version 1.46:
  * sg_rep_pip: new utility: report provisioning initialization
    pattern command
  * sg_turs: estimated time-to-ready [spc6r03]
    - add --delay=MS option
  * sg_requests: substantial cleanup
  * sg_vpd: add Format presets and Concurrent positioning ranges
    - add hot-pluggable field in standard Inquiry [spc6r05]
    - fix vendor struct opts_t alignment
  * sg_inq: add hot-pluggable field in standard Inquiry
  * sg_dd: --verify : separate category for miscompare errors
    - --verify : oflag=coe continue on miscompares, counts them
    - add cdl= operand for command duration limit indexes
    - add oflag=nocreat and conv=nocreat : OFILE must exist
    - add iflag=00, ff, random flags
    - setup conditional auto rule for getrandom()
    - add command timeout after comma in time= operand
  * sg_get_elem_status: add ralwd bit sbc4r20a
  * sg_write_x: add dld bits to write(32) [sbc4r19a]
  * sg_rep_zones: print invalid write pointer LBA as -1 rather
    than 16 "f"s
  * sg_opcodes: improve handling of RWCDLP field
  * sg_ses: use fan speed factor field for calculation [ses4r04]
    - add --all (-a) option, same action as --join
  * sg_compare_and_write: add examples section to its manpage
  * sg_modes: document '-s' option (same as '-6')
  * sg_sanitize + sg_format: when --verbose given once report
    probable success; without --verbose 'no news is good news'
  * sg_zone: add Remove element and modify zones command
  * sg_raw: increase maximum data-in and data-out buffer size
    from 64 KB to 1 MB
    - fix --cmdfile= handling
    - add --nvm option to send commands from the NVM command set
    - add --cmdset option to bypass cdb heuristic
    - add --scan= first_opcode,last_opcode
  * sg_pt_freebsd: allow device names without leading /dev/
    thus fix for regression introduced in rev 731 (ver: 1.43)
  * sg_pt_solaris+sg_pt_osf1: fix problem with clear_scsi_pt_obj()
    which needs to remember is_nvme and dev_fd values
  * sg_lib: add ZBC (2020) feature set entries
  * sg_lib: restore elements and rebuild command added
  * sg_lib,sg_pt: add partial_clear_scsi_pt_obj(),
    get_scsi_pt_cdb_len() and get_scsi_pt_cdb_buf()
    - add do_nvm_pt() for the NVM (sub-)command set
    - tweak transport error handling in Linux
  * sg_lib: Linux NVMe SNTL: add read, write and verify;
    synchronize cache and write same translations
    - add dummy start stop unit and test unit ready commands
    - wire cache mpage's WCE to nvme 'volatile write cache'
    - fix crash in sg_f2hex_arr() when fname not found
  * sg_lib: reprint cdb with illegal request sense key
    - asc/ascq match asc-num.txt @t10 20200708 [spc6r02]
  * gcc-10: suppress warnings
  * autoconf: upgrade version 2.69 to 2.70
  * remove space from end of source lines for git-svn
  * testing/sg_mrq_testing: new, for blocking mrq usage
  * testing/sgs_dd: add evfd flags and eventfd processing
  * testing: remove master-slave terminology for sgv4
  * examples: add nvme_read_ctl.hex and nvme_write_ctl.hex

OBS-URL: https://build.opensuse.org/request/show/886932
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=87
2021-04-20 12:32:13 +00:00
9239b52f8f Accepting request 695835 from home:jengelh:branches:Base:System
- Replace old $RPM_* shell vars.

OBS-URL: https://build.opensuse.org/request/show/695835
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=85
2019-04-30 20:21:17 +00:00
Martin Wilck
049fe0546b Accepting request 697918 from home:mwilck:branches:Base:System
fixed a bug in recently added udev rules file

OBS-URL: https://build.opensuse.org/request/show/697918
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=83
2019-04-25 19:16:52 +00:00
Martin Wilck
f2127aaeed Accepting request 697895 from home:mwilck:branches:Base:System
- Update to version 1.45~815+4.f7cae3b:
  * 59-fc-wwpn-id.rules: fix rule syntax (bsc#1133418)
- Update to svn r815:
  * sg_opcodes: expand MLU (spc5r20)
  * sg_inq: update version descriptors to spc5r21
  * sg_vpd: 3pc VPD page add copy group descriptor
  * sg_xcopy: add --fco (fast copy only) (spc5r20) and --app=1
  * add nanosecond durations with SG3_UTILS_LINUX_NANO
- Earlier SUSE fixes now included upstream:
  * 58-scsi-sg3_symlink.rules: don't skip multipath members
  (bsc#1085212) [r815]
  * rescan-scsi-bus.sh: terminate scanning if last lun got removed
  (bsc#1087008) [r815]
  * Add scsi-enable-target-scan.sh (bsc#954600) [r814]
  * shellcheck cleanups for rescan-scsi-bus.sh [r814]

OBS-URL: https://build.opensuse.org/request/show/697895
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=82
2019-04-25 16:11:56 +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
2b270c7c75 Accepting request 593960 from home:hreinecke:branches:Base:System
- Update to svn r763:
  * More NVMe bugfixes
  * sg_vpd: add device constituents vpd
  * sg_raw: add --raw option
  * sg_turs: add --low option
  * sg_ses: decoding dpage fixes; add --quiet option
- rescan-scsi-bus.sh: Fixup syntax error (bsc#1087008)
- rescan-scsi-bus.sh: Fixes from shellcheck

OBS-URL: https://build.opensuse.org/request/show/593960
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=78
2018-04-11 14:27:16 +00:00
Hannes Reinecke
e22fac36e3 Accepting request 575590 from home:mwilck:branches:Base:System
- dracut.conf: add whitespace at end of line (bsc#1080562)

OBS-URL: https://build.opensuse.org/request/show/575590
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=76
2018-02-12 11:07:06 +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
cfb2b1b8eb Accepting request 574272 from home:hreinecke:branches:Base:System
- Merge local patch with git repository
  * Delete sgut-libversioning.diff

OBS-URL: https://build.opensuse.org/request/show/574272
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=73
2018-02-09 08:26:13 +00:00
e15e64f190 Accepting request 573773 from home:hreinecke:branches:Base:System
- Update to svn r744:
  * sg_write_x: new command for normal/atomic/orwrite etc
    SCSI WRITE variants
  * sg_ses: add NVMe support
  * sg_inq: decode NVMe controller / NSIDs
- rescan_scsi_bus.sh: Fix manpage for --forcerescan
- 55-scsi-sg3_id.rules: fixes for scsi_id compability (bsc#1079873)
- 55-scsi-sg3_id.rules: run sg_inq for SPC devices (bsc#1079873)

OBS-URL: https://build.opensuse.org/request/show/573773
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=72
2018-02-08 08:38:59 +00:00
Hannes Reinecke
3682622c7b Accepting request 559266 from home:hreinecke:branches:Base:System
- Revert 'postun' rpm spec changes after review

OBS-URL: https://build.opensuse.org/request/show/559266
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=70
2017-12-22 08:57:16 +00:00
Hannes Reinecke
9bf20529bf Accepting request 559264 from home:hreinecke:branches:Base:System
- sg_inq: check VPD page 0x0 before reading serial number
  (bsc#1067839)
- sg_inq: add option '-o/--only' to skip reading VPD pages
  (bsc#1067839)

OBS-URL: https://build.opensuse.org/request/show/559264
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=69
2017-12-22 08:36:21 +00:00
Hannes Reinecke
3a802516f4 Accepting request 558075 from home:hreinecke:branches:Base:System
- sg_inq: decode standard INQUIRY for CD-ROMs correctly (bsc#1070431)
- rescan-scsi-bus.sh: new option for ignore rev change
- rescan-scsi-bus.sh: Remove white space
- Add 'coreutils' to Requires (bsc#1072744)
- Add 'posttrans' to rpm spec (bsc#1071972)

- Update to svn r730:
  * Move testing utilities to 'testing' directory
  * sg_opcode: check resid and trim response
  * sg_rep_zones: expand --help option
  * sg_mode: Add Out-of-band management control page
  * sg_ses: filer join output on dpage element presence
  * documentation cleanup
- rescan-scsi-bus.sh: Add '--ignore-rev' option
- Supplement SCSI modaliases (bsc#1065212)

OBS-URL: https://build.opensuse.org/request/show/558075
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=68
2017-12-18 11:19:06 +00:00
ed7d32af59 Accepting request 533902 from home:hreinecke:branches:Base:System
- Update to svn r721:
  * Merge SUSE-specific patches with upstream svn
  * sg_write_atomic: add new program for WRITE ATOMIC
  * sg_bg_ctl: new background control command
  * sg_ses: Improve output and option handling
  * sg_logs: Add --vendor and decode more pages
  * sg_get_lba_status: add new program
  * Install rescan-scsi-bus.sh and scsi_logging_level per default

OBS-URL: https://build.opensuse.org/request/show/533902
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=67
2017-10-16 08:50:11 +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
673c423d0c Accepting request 459192 from home:kukuk:branches:Base:System
- Remove superfluous insserv PreReq.

OBS-URL: https://build.opensuse.org/request/show/459192
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=63
2017-02-21 11:42:36 +00:00
7bb04a711b Accepting request 425316 from home:sparschauer:branches:Base:System
- using "--lun" now works correctly (bsc#981452), adding patch:
  * add-lunsearch-filter-to-searchexisting.patch

OBS-URL: https://build.opensuse.org/request/show/425316
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=61
2016-09-08 09:50:27 +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
Hannes Reinecke
e54f9d0a84 Accepting request 391950 from home:hreinecke:branches:Base:System
- sg_inq,sg_vpd: Safe VPD page access (bsc#945094)
  * Add 0001-sg_vpd-sg_inq-Safe-VPD-page-access.patch

OBS-URL: https://build.opensuse.org/request/show/391950
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=59
2016-04-28 13:46:35 +00:00
Hannes Reinecke
be7de41c1d Accepting request 360112 from home:hreinecke:branches:Base:System
- Update to new upstream release 1.42:
  * sg_timestamp: new, to report or set timestamp
  * sg_read_attr: new, supported by tape drives
  * sg_stpg: fix truncation of target port field
  * sg_inq: cope with unicode strings, udev fixes
    - update version descriptor list to 20160125
    - '--export': new entries for UUID descriptor
  * sg_ses: add more field acronyms (ses3r11)
  8 sg_logs: add Utilization lpage (sbc4r07)
    - add Background operation lpage
    - add Pending defects lpage
    - add LPS misalignment lpage (sbc4r10)
    - document '--All' ('-A') option
    - rework lto tape vendor lpages
  * sg_vpd: add Block limits extension VPD page
    - add Device constituents VPD page
    - add LB Protection VPD page (ssc 15-296r1)
    - LB provisioning VPD page: expand LBPRZ, add
      Minimum and Threshold percentage fields
    - rework lto tape vendor VPD pages
  * sg_inq+sg_vpd+sg_xcopy: add support for locally
    assigned UUIDs in VPD page 0x83 (15-267r2)
  * sg_sanitize: add --znr option (sbc4r07)
  * sg_rep_zones: add --partial option (zbc-r04)
  * sg_format: add ffmt option (sbc4r10)
    - add support for FORMAT MEDIUM (for tape)
  * sg_raw: document length relationships
  * rescan-scsi-bus.sh: updates from Suse
  * sg_lib_data: sync asc/ascq codes with T10 20151126
  * sg_lib: add 'sense' categories for SCSI statuses:

OBS-URL: https://build.opensuse.org/request/show/360112
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=57
2016-02-18 11:52:32 +00:00
664526c139 Accepting request 344712 from home:m4mnux:branches:Base:System
Fix syntax error when -f (flush failed multipath devices) used in command line.

OBS-URL: https://build.opensuse.org/request/show/344712
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=55
2015-11-18 13:47:16 +00:00
Robert Milasan
da85d1636d Accepting request 336686 from home:Zaitor:branches:Base:System
Hi maintainers, from my own testing, installing this package, and running a mkintrid after a reaboot, removes the warning seen in mentioned bugs.

Aka 
invalid key/value pair in file /usr/lib/udev/rules.d/58-scsi-sg3_symlink.rules

OBS-URL: https://build.opensuse.org/request/show/336686
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=53
2015-10-06 10:48:27 +00:00
Hannes Reinecke
2ebc9cdab0 Accepting request 315568 from home:morbidrsa:branches:Base:System
- Update to new upstream release 1.41
  * sg_zone: new utility for open, close and finish
    zone commands introduced in zbc-r02
  * sg_rep_zones and sg_reset_wp: change opcodes as
    indicated in zbc-r02
  * sg_read_buffer: add READ BUFFER(16) support (spc5r02)
  * sg_logs: add --enumerate and acronyms
  * allow decode from hex or binary in file
  * decode environmental reporting + limits lpages
  * sg_write_buffer: add --timeout=TO option
  * sg_lib interface: add sg_lib_pdt_decay(), TPROTO_PCIE
    plus support for zoning service actions
  * sg_lib: in Linux blocked devices yield ENXIO from
    ioctl(SG_IO), map to SG_LIB_CAT_NOT_READY
  * clean up sg_warnings_stream handling
  * sg_inq+sg_vpd: fix SCSI name string decoding in
    device identification VPD page (0x83)
  * increase sanity on Unit Serial number VPD page
  * improve rdac vpd page reporting (vendor)
  * sg_inq: improve NAA handling in dev_id VPD page
  * update version descriptor list to 20150126

OBS-URL: https://build.opensuse.org/request/show/315568
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=51
2015-07-08 11:00:19 +00:00
e8470f5219 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=49 2015-02-24 16:05:21 +00:00
209d81a5f2 Accepting request 285960 from home:jengelh:branches:Base:System
- Update to ne wupstream release 1.40

OBS-URL: https://build.opensuse.org/request/show/285960
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=48
2015-02-24 15:53:49 +00:00
Robert Milasan
0e6e64a4dc Accepting request 267166 from home:lnussel:branches:Base:System
- blacklist some usb controllers that don't like sg_inq (bnc#840054)
  Add: sg3_utils-sg_inq-blacklist.diff

OBS-URL: https://build.opensuse.org/request/show/267166
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=46
2015-01-06 09:53:20 +00:00
022fc83749 Accepting request 247421 from home:hreinecke:branches:Base:System
- Fixup formatting of invalid VPD pages (bnc#884779)
  Add: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
- sg_inq: Do not export long identifiers (bnc#884779)
  Add: sg3_utils-Do-not-export-long-identifiers.patch

OBS-URL: https://build.opensuse.org/request/show/247421
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=44
2014-09-04 08:38:09 +00:00
Robert Milasan
d385e6706e Accepting request 238575 from home:rmilasan:branches:Base:System
- Fix missing rule for generating links for partitions also (bnc#883032)
  Add:
  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch

OBS-URL: https://build.opensuse.org/request/show/238575
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=42
2014-06-25 07:57:15 +00:00
Stephan Kulow
cba80c3a97 Accepting request 238499 from home:jengelh:branches:Base:System
- Add symbol versions to library

OBS-URL: https://build.opensuse.org/request/show/238499
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=41
2014-06-25 07:42:44 +00:00
6b1d80379c Accepting request 237855 from home:jengelh:branches:Base:System
- Update to new upstream release 1.39
* This release adds some ZBC support in the form of sg_rep_zones
  and sg_reset_wp.
* It tracks changes made by www.t10.org since April 2014.
- Remove
  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch,
  0003-sg_inq-compability-links-for-ata_id.patch,
  0004-sg_inq-suppress-warning-messages-for-export.patch,
  sginfo-inq-fields-strip-blank.patch (merged upstream).

OBS-URL: https://build.opensuse.org/request/show/237855
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=39
2014-06-20 12:36:29 +00:00
Tomáš Chvátal
70eeca64ef Accepting request 234165 from home:hreinecke:branches:Base:System
- Create compability links for ATA devices (bnc#876344)
  Add:
  0003-sg_inq-compability-links-for-ata_id.patch
- Suppress warnings for sg_inq --export (bnc#876454)
  Add:
  0004-sg_inq-suppress-warning-messages-for-export.patch

OBS-URL: https://build.opensuse.org/request/show/234165
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=37
2014-05-19 13:40:10 +00:00
Tomáš Chvátal
27715e75b9 Accepting request 230262 from home:spargaonkar:branches:Base:System
- added patch sginfo-inq-fields-strip-blank.patch 
  sg3_utils: Strip out trailing info from vendor info products fields in inq
  bnc#863357

- added patches:
  * sginfo-inq-fields-strip-blank.patch

OBS-URL: https://build.opensuse.org/request/show/230262
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=35
2014-04-23 12:24:08 +00:00
Stefan Seyfried
1ccb58cb91 Accepting request 229719 from home:hreinecke:branches:Base:System
- Split off 59-scsi-sg_utils.rules to properly support
  multipathing (bnc#873151)
  Remove:
  0001-59-scsi-sg_utils.rules-skip-symlinks-for-multipath-d.patch
  Add:
  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch

- Update to official release 1.38
  * Update documentation
  * Update to latest SPC
  * Minor fixes
  * Add: sg3_utils-1.38.tar.xz
  * Remove: sg3_utils-1.38b7r538.tar.xz
  * Remove: sg3_utils-1.38r546.patch
  * Remove: sg3_utils-1.38b12r556.patch
- Use 59-scsi-sg3_utils from the rpm
  Remove: 59-scsi-sg3_utils.rules
- Fixup 59-scsi-sg3_utils.rules to not provide symlinks
  on multipath device paths (bnc#872929)
  Add: 0001-59-scsi-sg_utils.rules-skip-symlinks-for-multipath-d.patch

- Fixup 59-scsi_sg3_utils.rules to provide compability links
  for ata_id (bnc#866933)

- Add 59-scsi-sg3_utils.rules (bnc#865494)

- Update to inofficial release 1.38b12r556 (bnc#865494)
  * Add --inhex parameter to sg_inq
  * sg_inq: decode ASCII information vpd page
  * sg_inq: allow page=-1 to force std INQUIRY decoding

OBS-URL: https://build.opensuse.org/request/show/229719
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=33
2014-04-12 21:29:53 +00:00
Robert Milasan
7c9ef8f1f7 Accepting request 205656 from home:jengelh:branches:Base:System
- Update to new upstream release 1.37
* sg_compare_and_write: add --quiet option to suppress miscompare
  report
* sg_persist: fix core dump on -Q option
* sg_unmap: fix core dump on -g option
* sg_ses: add --nickname and --nickid options
- Remove sg3_utils-Fixup-T10-Vendor-designator-display.patch
  (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/205656
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=31
2013-11-04 10:21:17 +00:00
Robert Milasan
4dbfe34245 Accepting request 196911 from home:olh:branches:Base:System
Add patch headers to spec and changes file

  sg3_utils-Fixup-T10-Vendor-designator-display.patch
  sg3_utils-check-if-hba-supports-issue-lip.patch

OBS-URL: https://build.opensuse.org/request/show/196911
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=29
2013-08-30 17:19:03 +00:00