Bug 166863
Summary: | sg3_utils package is too old to contain sg_persist | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | James Bottomley <james.bottomley> |
Component: | sg3_utils | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | rvokal, snitzer |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEA-2007-0280 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-01 17:25:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
James Bottomley
2005-08-26 15:30:39 UTC
Also, the 1.06 sg3_utils that redhat ships (RHEL4 U2 included) has the wrong return codes. In particular, sg_turs returns 0 when with the latest upstream sg3_utils returns 1, e.g.: [root@lab13-11 snapper]# sg_turs /dev/sg1 tur: scsi status: Check Condition Current, Sense key: Illegal Request [valid=0] Info fld=0x0, Additional sense: Logical unit not supported Raw sense data (in hex): 70 00 05 00 00 00 00 0a 00 00 00 00 25 00 00 00 00 00 plus...: Driver_status=0x08 (DRIVER_SENSE,SUGGEST_OK) Completed 1 Test Unit Ready commands with 1 errors [root@lab13-11 snapper]# echo $? 0 [root@lab13-11 snapper]# rpm -Uvh sg3_utils-1.17-1.i386.rpm libsgutils-1_0-1.17-1.i386.rpm Preparing... ########################################### [100%] 1:libsgutils-1_0 ########################################### [ 50%] 2:sg3_utils ########################################### [100%] [root@lab13-11 snapper]# sg_turs /dev/sg1 test unit ready: SCSI status: Check Condition Fixed format, current; Sense key: Illegal Request Additional sense: Logical unit not supported plus...: Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK] Completed 1 Test Unit Ready commands with 1 errors [root@lab13-11 snapper]# echo $? 1 Just more justification for redhat to update sg3_utils... fyi, http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh uses sg_turs and relies on the correct exit status for it to work properly. As an updates, is still under evaluation but of course will be fixed (latest version) in Red Hat Enterprise Linux 5. Read ya, Phil An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2007-0280.html |