Jump to content 日本-日本語
日本HPホーム 製品とサービス サポートとドライバ ソリューション ご購入方法
≫ お問い合わせ
日本HPホーム
企業ユーザ向けサポート情報   >  HP-UX サポート  >  セキュリティ報告&パッチダイジェスト翻訳版

PHCO_36250 11.31 scsimgr累積パッチ

企業ユーザ向けサポート情報

HP-UX サポート
Tru64 サポート
OpenVMS サポート
セキュリティ報告&パッチダイジェスト翻訳版
技術情報ツリー
ソフトウェアアップデート情報
ITRC日本フォーラム

ITRC

パッチデータベース
技術情報ベースの検索
サポートケースマネージャ
ソフトウェア アップデート マネージャ (SUM)
ご利用の手順
日本HPサイトマップ
コンテンツに進む
パッチ名:   PHCO_36250

パッチ摘要: 11.31 scsimgr累積パッチ

作成日:  07/06/07

公開日:  07/07/18

ハードウェアプラットフォームおよびOSリリース:

	11.31

現象:

	PHCO_36250:

	1. (SR:8606472647 CR:JAGag27498)
	特定のデバイスに対する"scsimgr inquiry"操作が"Segmentation Violation"
	(SIGSEGV)エラーになり、コアダンプが取られます。

	2. (SR:8606474591 CR:JAGag29109)
	Start-Stopログページに対する"scsimgr log_sense"操作が"Bus Error"
	(SIGBUS)エラーになり、コアダンプが取られます。

	3. (SR:8606471781 CR:JAGag26753)
	一部のscsimgr操作が表示する、"処理を続行しますか?"というプロンプトで、
	ユーザーが"続行しない"を選択すると、scsimgrが不正なステータスで終了し
	ます。

	4. (SR:8606479313 CR:JAGag33525)
	"scsimgr get_attr"が、ディスクデバイスの"capacity"/"block_size"属性の
	値を表示しないことがあります。

	5. (SR:8606479700 CR:JAGag33859)
	"scsimgr get_attr -d esdisk all_lun"が不当なエラーメッセージを表示しま
	す。

	"scsimgr:ERROR: No attribute meets criteria specified"

	6. (SR:8606482245 CR:JAGag36147)
	"scsimgr get_stat"が、SCSIドライバ内に保持されている統計情報の一部を表
	示しません。

	7. (SR:8606482239 CR:JAGag36141)
	scsimgrが、SCSIドライバ内に保持されている属性の一部を取得/設定/保存し
	ません。

	8. (SR:8606485571 CR:JAGag38548)
	新たなコマンド、新たな属性および新たな値の説明をscsimgr(1M)/
	scsimgr_esdisk(7)のマンページに追加する必要があります。

	9. (SR:8606488103 CR:JAGag40757)
	scsimgrが"pref_tport"属性を認識できません。

	10.(SR:8606486267 CR:JAGag39156)
	"scsimgr get_stat"が一部の統計情報を正しく表示しません。

	11.(SR:8606488220 CR:JAGag40867)
	scsimgrのSCSIクラスドライバesdiskプラグインが一部の統計情報を表示しま
	せん。

	12.(SR:8606486531 CR:JAGag39394)
	disk(7)のマンページに、ディスクDSF(Device Special File: デバイス特殊
	ファイル)フォーマットに関する不正な情報が記載されています。

	13.(SR:8606491528 CR:JAGag43784)
	設定可能な属性範囲が登録されていない場合に、("scsimgr set_attr"/
	"scsimgr save_attr"コマンドを使って)属性値を変更すると、コマンドが成功
	し、その変更がデバイスに反映されます。

問題点の説明:

	PHCO_36250:

	1. (SR:8606472647 CR:JAGag27498)
	ANSIバージョン1照会応答内のPeripheral Device Typeフィールドを正しく処
	理していなかったため、scsimgrは保護されたメモリー位置にアクセスしよう
	としていました。その結果、コアダンプが取られていました。

	解決方法:
	ANSIバージョン1照会応答内のPeripheral Device Typeフィールドを正しくデ
	コードするようにscsimgrを修正しました。

	2. (SR:8606474591 CR:JAGag29109)
	ログセンスデータの場合、一部のデバイスはstart-stopログページ内の
	parameter lengthフィールドを奇数バイトで報告します。ところが、scsimgr
	はこのparameter lengthフィールドを正しく解釈せずに、未整列のフィールド
	をコピーしていました。その結果、SIGBUSによりコアダンプが取られていまし
	た。

	解決方法:
	Start-Stopログページ内のparameter lengthフィールドを正しく処理するよう
	にscsimgrを修正しました。

	3. (SR:8606471781 CR:JAGag26753)
	一部のscsimgr操作が表示する、"処理を続行しますか?"というプロンプトで、
	ユーザーが"続行しない"を選択すると、scsimgrはEINVAL(22)で終了していま
	した。

	解決方法:
	ユーザーが"処理を続行しない"を選択したら、正しいステータスESUCCESS(0)
	を返すようにscsimgrを修正しました。

	4. (SR:8606479313 CR:JAGag33525)
	scsimgrのSCSIクラスドライバesdiskプラグインは、引き数として不正なLUN
	DSF(Device Special File)を渡してcapacity/block_size属性を取得しようと
	していました。

	解決方法:
	正しいLUN DSFを渡して属性を取得するようにscsimgrのSCSIクラスドライバ
	esdiskプラグインを修正しました。

	5. (SR:8606479700 CR:JAGag33859)
	ローカル変数を正しく初期化していなかったため、操作が成功してもエラーメ
	ッセージが表示されていました。

	解決方法:
	ローカル変数を正しく初期化するようにscsimgrを修正しました。

	6. (SR:8606482245 CR:JAGag36147)
	"scsimgr get_stat"は、SCSIドライバ内に保持されている統計情報の一部を表
	示しませんでした。

	解決方法:
	すべての統計情報を表示するように"scsimgr get_stat"を修正しました。

	7. (SR:8606482239 CR:JAGag36141)
	scsimgrは、SCSIドライバ内で定義されている"alua_enabled"属性を取得/設定
	/保存しませんでした。

	解決方法:
	"alua_enabled"属性を処理するようにscsimgrを修正しました。

	8. (SR:8606485571 CR:JAGag38548)
	scsimgr(1M)/scsimgr_esdisk(7)のマンページに、以下の情報が記載されてい
	ませんでした。

	属性"transient_secs"の新たな最大設定可能値。

	属性"alua_enabled"の説明。

	属性"transient_secs"/"path_fail_secs"の新たな最大設定可能値。

	I/Oロードバランシングポリシーclosest_path/pref_tportの説明。

	解決方法:
	上記の情報をscsimgr(1M)/scsimgr_esdisk(7)のマンページに追加しました。

	9. (SR:8606488103 CR:JAGag40757)
	I/Oロードバランシングポリシー"pref_tport"(優先ターゲットポート)をサポ
	ートするために導入された新たな属性"pref_tport"を認識するようにscsimg
	のSCSIクラスドライバesdiskプラグインを更新する必要があります。

	解決方法:
	属性"pref_tport"を認識するようにscsimgrのSCSIクラスドライバesdiskプラ
	グインを更新しました。

	10.(SR:8606486267 CR:JAGag39156)
	"scsimgr get_stat"は一部の統計情報を正しく表示しませんでした。

	解決方法:
	統計情報を正しく表示するようにscsimgrを修正しました。

	11.(SR:8606488220 CR:JAGag40867)
	scsimgrのSCSIクラスドライバesdiskプラグインは、デバイスの容量に関連す
	る一部の統計情報を表示しませんでした。

	解決方法:
	デバイスの容量に関連するすべての統計情報を表示するようにscsimgrのSCSI
	クラスドライバesdiskプラグインを修正しました。

	12.(SR:8606486531 CR:JAGag39394)
	disk(7)のマンページに、ディスクDSF(Device Special File)フォーマットに
	関する不正な情報が記載されていました。

	解決方法:
	ディスクDSF(Device Special File)フォーマットに関する正しい情報を記載す
	るようにdisk(7)のマンページを修正しました。

	13.(SR:8606491528 CR:JAGag43784)
	この問題の原因は、設定可能な範囲が登録されていない場合に、esdiskドライ
	バが属性の設定を受け入れていたためです。しかし、設定可能な範囲が登録さ
	れていない場合、ドライバは属性の設定を受け入れてはいけません。この場合、
	scsimgrはエラーメッセージを表示すべきです。

	解決方法:
	設定可能な範囲が登録されている場合にだけ属性の設定を受け入れるように
	esdiskを修正しました。設定可能な属性範囲が登録されていない場合に
	set_attr/save_attrを使って属性値を変更しようとしたら、エラーメッセージ
	を表示するようにscsimgrを修正しました。

-----------------------------------------------------------------------------
Patch Name: PHCO_36250

Patch Description: 11.31 scsimgr cumulative patch

Creation Date: 07/06/07

Post Date: 07/07/18

Hardware Platforms - OS Releases: 
	11.31

Products: N/A

Filesets: 
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
	OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP

Automatic Reboot?: No

Status: General Release

Critical: 
	Yes
	PHCO_36250: ABORT
		'JAGag27498: scsimgr inquiry' operation dumps core
		with 'Segmentation Violation' (SIGSEGV), error
		message for certain devices.
		JAGag29109: 'scsimgr log_sense' operation for
		Start-Stop log page dumps core with 'Bus Error'
		(SIGBUS) error message.

Category Tags: 
	defect_repair hardware_enablement general_release critical
	halts_system

Path Name: /hp-ux_patches/11.X/PHCO_36250

Symptoms: 
	PHCO_36250:
	( SR:8606472647 CR:JAGag27498 )
	'scsimgr inquiry' operation dumps core with 'Segmentation
	Violation' (SIGSEGV), error message for certain devices.

	( SR:8606474591 CR:JAGag29109 )
	'scsimgr log_sense' operation for Start-Stop log page dumps
	core with 'Bus Error' (SIGBUS) error message.

	( SR:8606471781 CR:JAGag26753 )
	Certain scsimgr operations prompting user confirmation to
	proceed, exit with incorrect status, when user chooses not
	to continue.

	( SR:8606479313 CR:JAGag33525 )
	scsimgr get_attr for a disk device some times do not display
	the values of 'capacity' and 'block_size' attributes.

	( SR:8606479700 CR:JAGag33859 )
	scsimgr get_attr -d esdisk all_lun displays an unwarranted
	error message:
	'scsimgr:ERROR: No attribute meets criteria specified'

	( SR:8606482245 CR:JAGag36147 )
	scsimgr get_stat operation does not display
	some statistics maintained by SCSI drivers.

	( SR:8606482239 CR:JAGag36141 )
	scsimgr does not get/set/save some attributes maintained by
	SCSI drivers.

	( SR:8606485571 CR:JAGag38548 )
	scsimgr(1M) and scsimgr_esdisk(7) man pages requires an
	update for certain new commands, new attributes and new
	values.

	( SR:8606488103 CR:JAGag40757 )
	scsimgr unable to recognize the 'pref_tport' attribute.

	( SR:8606486267 CR:JAGag39156 )
	scsimgr get_stat does not display certain statistics
	description correctly

	( SR:8606488220 CR:JAGag40867 )
	The SCSI class driver esdisk plug-in for scsimgr does not
	display certain statistical information.

	( SR:8606486531 CR:JAGag39394 )
	disk(7) man page give incorrect information about disk
	Device Special File (DSF) format.

	( SR:8606491528 CR:JAGag43784 )
	If an attribute value is changed (with command 'scsimgr
	set_attr' or 'scsimgr save_attr') for a non registered
	settable attribute scope, the command succeeds and the
	change affects devices beyond the settable attribute scope
	specified.

Defect Description: 
	PHCO_36250:
	( SR:8606472647 CR:JAGag27498 )
	Incorrect handling of Peripheral Device Type field in ANSI
	version 1 inquiry response, resulted in scsimgr to access
	the protected memory location, resulting in core dump.

	Resolution:
	The Peripheral Device Type field in ANSI version 1 inquiry
	response is decoded correctly.

	( SR:8606474591 CR:JAGag29109 )
	Certain devices report odd number of bytes as parameter
	length field in start-stop log page for log sense data.
	scsimgr misinterpreted this parameter length to copy the
	fields with incorrect alignment. This resulted in core dump
	with SIGBUS.

	Resolution:
	scsimgr now correctly handles the parameter length field in
	Start-Stop log page.

	( SR:8606471781 CR:JAGag26753 )
	Certain scsimgr operations prompting user confirmation to
	proceed, exit with EINVAL(22), when user chooses not to
	continue.

	Resolution:
	scsimgr returns the expected status of ESUCCESS(0), when the
	user chooses not to continue with the operation.

	( SR:8606479313 CR:JAGag33525 )
	The SCSI class driver esdisk plug-in for scsimgr was passing
	the incorrect LUN device special file (DSF) as an argument
	to get the capacity and block_size attributes.

	Resolution:
	SCSI class driver esdisk plug-in for scsimgr now passes the
	correct LUN DSF to get the attributes.

	( SR:8606479700 CR:JAGag33859 )
	The incorrect initialization of local variable causes the
	error message to be displayed, even on a successful
	operation.

	Resolution:
	scsimgr now correctly initialize the local variable.

	( SR:8606482245 CR:JAGag36147 )
	There are certain statistical information not being
	displayed by scsimgr get_stat operation that are maintained
	by SCSI drivers.

	Resolution:
	scsimgr get_stat now displays the missing statistics.

	( SR:8606482239 CR:JAGag36141 )
	scsimgr does not get/set/save 'alua_enabled' attribute
	defined in SCSI drivers.

	Resolution:
	scsimgr now processes 'alua_enabled' attribute.

	( SR:8606485571 CR:JAGag38548 )
	scsimgr(1M) and scsimgr_esdisk(7) man pages do not reflect
	the following:

	  The modified maximum settable value for the
	attribute 'transient_secs'.

	  The description of the attribute 'alua_enabled'.

	  The modified maximum settable value for the attributes
	'transient_secs' and 'path_fail_secs'

	  The description of the closest_path and pref_tport
	I/O load balancing policies

	Resolution:
	scsimgr(1M) and scsimgr_esdisk(7) man pages are modified to
	reflect the following:

	  The modified maximum settable value for the
	attribute 'transient_secs'.

	  The description of the attribute 'alua_enabled'.

	  The modified maximum settable value for the attributes
	'transient_secs' and 'path_fail_secs'

	  The description of the closest_path and pref_tport
	I/O load balancing policies

	( SR:8606488103 CR:JAGag40757 )
	The SCSI class driver esdisk plug-in for scsimgr needs to be
	updated to recognize the new attribute 'pref_tport'
	introduced for the support of preferred target port
	('pref_tport') I/O load balancing policy.

	Resolution:
	The SCSI class driver esdisk plug-in for scsimgr is updated
	to recognize the attribute 'pref_tport'.

	( SR:8606486267 CR:JAGag39156 )
	scsimgr get_stat does not display certain statistics
	description correctly

	Resolution:
	scsimgr is modified to display the statistics description
	correctly.

	( SR:8606488220 CR:JAGag40867 )
	The SCSI class driver esdisk plug-in for scsimgr does not
	display certain statistical information relating to capacity
	of a device.

	Resolution:
	The SCSI class driver esdisk plug-in for scsimgr is modified
	to display certain statistical information relating to
	capacity of a device.

	( SR:8606486531 CR:JAGag39394 )
	disk(7) man page give incorrect information about disk
	Device Special File (DSF) format.

	Resolution:
	disk(7) man page is modified to provide correct information
	about Device Special File (DSF) format.

	( SR:8606491528 CR:JAGag43784 )
	This behavior is due to the fact that the esdisk driver
	allows to set attribute at the highest scope that exists,
	when the scope specified does not exist. Normally the driver
	should allow to set attributes only at scopes already
	registered. Because of this scsimgr does not throw any error
	message in this case.

	Resolution:
	esdisk driver has been changed to set attributes only at
	scopes already registered. scsimgr has been modified to
	display error message, if an attribute value is changed
	using set_attr or save_attr for a non registered settable
	attribute scope.

Enhancement: 
	No

SR: 
	8606472647 8606474591 8606471781 8606479313 8606479700
	8606482245 8606482239 8606485571 8606488103 8606486267
	8606488220 8606486531 8606491528

Patch Files: 
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,
		v=HP:
	/usr/share/man/man1m.Z/scsimgr.1m
	/usr/share/man/man7.Z/disk.7
	/usr/share/man/man7.Z/scsimgr_esdisk.7

	OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
	/usr/lib/nls/msg/C/diskmgr.cat
	/usr/lib/nls/msg/C/scsimgr.cat
	/usr/bin/escsi_diag

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	/usr/lib/hpux32/libsmgr_esdisk.so.1

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	/usr/sbin/scsimgr

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	/usr/lib/libsmgr_esdisk.1

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	/usr/sbin/scsimgr

what(1) Output: 
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,
		v=HP:
	/usr/share/man/man1m.Z/scsimgr.1m:
		None
	/usr/share/man/man7.Z/disk.7:
		None
	/usr/share/man/man7.Z/scsimgr_esdisk.7:
		None

	OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
	/usr/lib/nls/msg/C/diskmgr.cat:
		None
	/usr/lib/nls/msg/C/scsimgr.cat:
		None
	/usr/bin/escsi_diag:
		escsi_diag.sh $Date: 2007/06/07 10:37:22 $Revision: 
			r11.31/3 PATCH_11.31 (PHCO_36250)

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	/usr/lib/hpux32/libsmgr_esdisk.so.1:
		diskmgr.c $Date: 2007/04/05 10:21:34 $Revision: r11.
			31/1 PATCH_11.31 (PHCO_36250)

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	/usr/sbin/scsimgr:
		scsimgr.c $Date: 2007/04/05 10:22:07 $Revision: r11.
			31/1 PATCH_11.31 (PHCO_36250)
		scsimgr_svcs.c $Date: 2007/04/05 10:22:25 $Revision:
			 r11.31/1 PATCH_11.31 (PHCO_36250)
		scsimgr_util.c $Date: 2007/04/05 10:22:32 $Revision:
			 r11.31/1 PATCH_11.31 (PHCO_36250)

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	/usr/lib/libsmgr_esdisk.1:
		diskmgr.c $Date: 2007/04/05 10:21:34 $Revision: r11.
			31/1 PATCH_11.31 (PHCO_36250)

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	/usr/sbin/scsimgr:
		$Revision: 92453-07 linker linker crt0.o B.11.16.01 
			030415 $
		scsimgr.c $Date: 2007/04/05 10:22:07 $Revision: r11.
			31/1 PATCH_11.31 (PHCO_36250)
		scsimgr_svcs.c $Date: 2007/04/05 10:22:25 $Revision:
			 r11.31/1 PATCH_11.31 (PHCO_36250)
		scsimgr_util.c $Date: 2007/04/05 10:22:32 $Revision:
			 r11.31/1 PATCH_11.31 (PHCO_36250)

cksum(1) Output: 
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,
		v=HP:
	4133490746 23463 /usr/share/man/man1m.Z/scsimgr.1m
	1745061610 4690 /usr/share/man/man7.Z/disk.7
	2402017497 6846 /usr/share/man/man7.Z/scsimgr_esdisk.7

	OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
	195670576 14170 /usr/lib/nls/msg/C/diskmgr.cat
	2758435839 80922 /usr/lib/nls/msg/C/scsimgr.cat
	3188707855 19317 /usr/bin/escsi_diag

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	3746118130 178456 /usr/lib/hpux32/libsmgr_esdisk.so.1

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
	1050397601 747984 /usr/sbin/scsimgr

	OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	946758904 77824 /usr/lib/libsmgr_esdisk.1

	OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
	1677065042 385024 /usr/sbin/scsimgr

Patch Conflicts: None

Patch Dependencies: 
	11.31: PHKL_36248 PHKL_36249

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

Equivalent Patches: None

Patch Package Size: 570 KBytes

Installation Instructions: 
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHCO_36250

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHCO_36250.depot

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHCO_36250.  If you do not wish to retain a
	copy of the original software, include the patch_save_files
	option in the swinstall command above:

		-x patch_save_files=false

	WARNING: If patch_save_files is false when a patch is installed,
		 the patch cannot be deinstalled.  Please be careful
		 when using this feature.

	For future reference, the contents of the PHCO_36250.text file is 
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHCO_36250.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHCO_36250.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None

ページトップへ
セキュリティ報告&パッチダイジェスト翻訳版に戻る
プライバシー 本サイト利用時の合意事項 ウェブマスターに連絡
© 2008 Hewlett-Packard Development Company, L.P.