Commit Graph

66 Commits

Author SHA256 Message Date
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
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
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
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
Robert Milasan
71bca36620 Accepting request 196310 from home:olh:branches:Base:System
- Fixup T10 Vendor designator display (bnc#805059)
- In rescan-scsi-bus.sh, check if the HBA driver exports issue_lip
  in sysfs before using it (bnc#780946)

OBS-URL: https://build.opensuse.org/request/show/196310
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=28
2013-08-26 09:57:56 +00:00
d7a18b697d Accepting request 178883 from home:jengelh:branches:Base:System
- Implement shlib packaging guidelines

OBS-URL: https://build.opensuse.org/request/show/178883
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=26
2013-06-13 14:33:49 +00:00
38c1d511fe Accepting request 178508 from home:rmilasan:branches:Base:System
- Update to version 1.36
  - sg_vpd: Protocol-specific port information VPD page
    for SAS SSP, persistent connection (spl3r2), power
    disable (spl3r3)
    - block device characteristics: add FUAB bit
  - sg_xcopy: handle more descriptor types; handle zero
    maximum segment length; allow list IDs to be disabled;
    improve skip/seek handling; allow xcopy on destination
  - sg_reset: and --no-esc option to stop reset escalation
    - clean up cli, add long option names
  - sg_luns: add --test=ALUN option for decoding LUNs
    - decoded luns output in decimal or hex (if -HH given)
    - add '--linux' option to show Linux LUN after T10
      representation, can map one to the other
  - sg_inq: add --vendor option to show standard inquiry's
    vendor specific fields in ASCII
    - take resid into account with response output
  - sg_sync: add --16 (for 16 byte command) and --timeout=
  - sg_logs: add data compression page (ssc4)
  - sg_sat_set_features: increase --lba from 1 to 4 bytes
  - sg_write_same: add --ndob option (sbc3r35d)
  - sg_map: mark as deprecated
  - sginfo: mark as deprecated, especially -l (list)
  - sg_lib: improve snprintf handling
  - sg_lib_data: sync asc/ascq codes with T10 20130117
  - sg_cmds (lib): if noisy given, give more UA info
  - make code more C++ friendly

OBS-URL: https://build.opensuse.org/request/show/178508
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=25
2013-06-11 12:48:06 +00:00
Hannes Reinecke
a4a09cb49b - Use wildcards for file listings.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=23
2013-03-12 09:00:50 +00:00
Hannes Reinecke
ae6e982265 - Fixup spec file.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=22
2013-03-12 08:48:51 +00:00
Hannes Reinecke
fb6e0f348e - Install rescan-scsi-bus.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=21
2013-03-12 08:45:37 +00:00
Hannes Reinecke
870ea6254e - Update to version 1.35
- sg_compare_and_write: new utility
  - sg_inq+sg_vpd: block device characteristics VPD page:
    add product_type, WABEREQ, WACEREQ and VBULS fields
  - sg_inq: more --export option changes for udev
  - sg_vpd: add more rdac vendor specific vpd pages
  - sg_verify: add --ebytchk option for sbc3r34 changes
  - sg_stpg: --offline option: fix 'Invalid state 0xe'
  - sg_ses: Door Lock element changed to Door element and
    abbreviation changed from 'dl' to 'do' (ses3r05)
  - archive/rescan-scsi-bus.sh: upgrade to version 1.53hr
    - move rescan-scsi-bus.sh to scripts directory
  - sync to sbc3r34
  - sg_lib: sg_ll_verify10+16 expand BYTCHK to 2 bit field
  - sg_pt_win32, sg_scan(win32): changes for cygwin 1.7.17
  - clean up man page summary lines
  - sg_xcopy: new dd like utility for extended copy command
  - sg_copy_results: new utility for receive copy results
  - sg_verify: add 16 byte cdb, bytchk (data-out buffer)
    and group number support
  - sync to spc4r36 and sbc3r32
  - sg_inq: add --export so sg_inq can replace udev's scsi_id
    - decode old EMC Symmetrix abuse of VPD page 0x83
  - sg_vpd: decode old EMC Symmetrix abuse of VPD page 0x83
  - sg_ses: increase max dpage response size to 64 KB
    - allow ident,locate on enclosure controller
    - more sanity for additional element status descriptor
  - sg_sanitize: add --ause, --fail and --test=
  - sg_luns: add long extended flat space addressing format
  - sg_logs: add ATA pass-through results lpage (SAT-2)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=19
2013-03-12 08:18:57 +00:00
Stephan Kulow
a24d1918fa Accepting request 127061 from home:babelworx:ldig:branches:Base:System
license update: GPL-2.0+ and BSD-3-Clause
Show aggregation and make compatible with Fedora declaration

OBS-URL: https://build.opensuse.org/request/show/127061
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=17
2012-07-04 09:33:12 +00:00
Petr Uzel
d36829fda6 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=15 2012-04-22 11:59:00 +00:00
Petr Uzel
40badae2c3 - Update to version 1.33
- sg_ses: major rework of indexes (again), now two level
  - sg_write_buffer: new --specific option for mode specific
    field; new mode 13 (spc4r32)
  - sg_vpd: add hp3par volume info vendor VPD page
    - fix 'scsi ports' [0x88] page problem
    - add 'sinq' pseudo page for standard inquiry response
    - add power consumption page
  - sg_format: add --poll= option for request sense polling
    - improve handling of disks > 2 TB and DIF (protection)
  - sg_logs: LB provision lpage extra (sbc3r28)
  - sg_modes: application tag mpage subcode 0xf0->0x2
  - sg_write_same: no prot fields when wrprotect=0
  - sg_get_lba_status: reflect change in sbc3r25 to Parameter
    Data Length response field (offset reduced from 8 to 4)
  - sg_inq, sg_vpd: sync with spc4r33
  - win32: change DataBufferOffset type per MSDN; caused
    problem with 64 bit machines (with buffered interface)
  - sg_luns: tweak documentation for vendor specific reports
  - add man pages for scsi_loging_level, scsi_mandat,
    scsi_satl and scsi_temperature

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=14
2012-04-22 11:54:04 +00:00
Andreas Jaeger
a83b16a29f Accepting request 114764 from home:a_jaeger:FactoryFix
Download sg3_utils fresh from server

OBS-URL: https://build.opensuse.org/request/show/114764
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=13
2012-04-20 07:23:07 +00:00
Cristian Rodríguez
b59d67f4bd Accepting request 100614 from home:tabraham1:branches:Base:System
update to 1.32 and latest rescan-scsi-bus.sh (v1.56)

OBS-URL: https://build.opensuse.org/request/show/100614
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=12
2012-01-18 22:40:48 +00:00