Commit Graph

16 Commits

Author SHA256 Message Date
Martin Wilck
502f2164b8 - sg_inq: re-add Unit serial number field (bsc#1219547)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=123
2024-04-19 21:25:38 +00:00
Martin Wilck
b95e73fa78 - Fix missing SCSI_MODEL and other fields for "sg_inq --export"
(bsc#1219874)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=121
2024-02-13 17:25:00 +00:00
Martin Wilck
4095572a79 - Fix spurious warning for non-SCSI devices (boo#1218666)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=119
2024-01-09 21:20:03 +00:00
Martin Wilck
36e978100c - Upstream bug fixes for sg3_utils 1.48 (bsc#1218591)
* sg_turs: fix missing CDB on several codepaths
  * sg_dd: fix bug that identified all block devices as NVME
  * rescan-scsi-bus.sh: avoid root FS going read-only with
    "rescan-scsi-bus.sh -r" (gh#doug-gilbert/sg3_utils#46)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=117
2024-01-08 08:45:42 +00:00
Martin Wilck
aabf46943b - rescan-scsi-bus.sh: avoid root FS going read-only with
"rescan-scsi-bus.sh -r" (gh#doug-gilbert/sg3_utils#46)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=116
2024-01-08 08:00:54 +00:00
Martin Wilck
696a8d2518 - rescan-scsi-bus.sh: remove /tmp/rescan-scsi-mpath-info.txt
(gh#doug-gilbert/sg3_utils#44)
- new bug ref added

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=114
2023-10-20 07:20:39 +00:00
Martin Wilck
984bee5c0d - rescan_scsi_bus.sh: fix multipath issue when called with -s and
without -u (bsc#1215720)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=112
2023-10-16 09:54:03 +00:00
Martin Wilck
001f8c6f91 - udev rules: allow kernel command line overrides with
"udev.scsi_id_serial_src=LTVS" and "udev.scsi_symlink_src=LTVS"
  Try these boot parameters if your system fails to detect SCSI
  devices after update to sg3_utils 1.48.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=110
2023-09-28 13:37:08 +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
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
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
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