Patch Name: PHKL_22785

Patch Description: s700_800 11.00 HPMC, FC reset & conn, chassis log, I20 RAID

Creation Date: 00/12/19

Post Date: 00/12/19

Hardware Platforms - OS Releases:
	s700: 11.00
	s800: 11.00

Products: N/A

Filesets:
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP

Automatic Reboot?: Yes

Status: General Release

Critical:
	Yes
	PHKL_22785: OTHER
		HPMC on panic.
	PHKL_22363: OTHER
		Rebooting one or more hosts in an FC-AL
		configuration may cause loss of access
		to LUNS for other hosts on the loop.
	PHKL_19752: HANG

Category Tags:
	defect_repair enhancement general_release critical
	halts_system

Path Name: /hp-ux_patches/s700_800/11.X/PHKL_22785

Symptoms:
	PHKL_22785:
	( SR: 8606161973 DTS: JAGad31289 )
	 System HPMC's during a panic.

	PHKL_22363:
	( SR: 8606158594 DTS: JAGad27924 )
	In a configuration involving multiple hosts attached to a
	fibre channel private loop, if one or more of the hosts is
	rebooted, the non-rebooting host(s) experience I/O
	performance problems.  Additionally, in some cases, if an
	'ioscan' is executed on a non-rebooting host during the
	reboot window, a status of "NO_HW" may be generated for
	some of the devices on the fibre.

	PHKL_21119:
	( SR: 8606126623 DTS: JAGac59464 )
	On N and L class machines, the run LED remains on during
	a reset of the system, in preparation for reboot.

	PHKL_20979:
	( SR: 8606125655 DTS: JAGac42317 )
	The chassis code log files show incorrect time stamps.  They
	show either March 06, 2106 or January 01, 1970 (instead of
	the current date).  These incorrect dates show up every four
	hours, and last for approximately one hour.

	The logs are accessible through two mechanisms.  They are
	maintained and available when the online diagnostics
	subsystem is enabled and running (the cclogd daemon is
	running on the system).  The last 200 are also maintained on
	the Guardian Service Processor (GSP), and accessible from
	the system consol after typing [ctrl]-b.

	The date errors are cosmetic only and do not impact the
	operating system or applications.  The date errors are
	generated on the GSP, which is supported by L-Class and
	N-Class systems only.

	PHKL_20176:
	( SR: 8606108529 DTS: JAGab16799 )
	Wrong Chassis Codes (Cxxx) displayed during shutdown.

	( SR: 8606103410 DTS: JAGab70129 )
	I20 RAID Disks are not supported.

	PHKL_19752:
	( SR: 1653287672 DTS: JAGab12583 )
	When soft-rebooting (reboot/shutdown -r) a node other
	than a V-class without doing a hardware reset, connections
	to all fiber channel devices will be lost, causing the whole
	cluster to be unusable.

Defect Description:
	PHKL_22785:
	( SR: 8606161973 DTS: JAGad31289 )

	 Sometimes the OS sleeps inside of panic while it is
	 flushing dirty buffers to disk. Upon waking up, the
	 scheduler sets a flag which (incorrectly) indicates
	 that the OS is executing in a process context.

	 As a result of this mistake, the OS later tries to
	 write to a virtual address from real mode.

	Resolution:

	 Reset the flag mentioned above to indicate that the
	 OS is not executing in a process context and avoid
	 the writing to a virtual address in real mode
	 (i.e. the code that would create an HPMC).

	PHKL_22363:
	( SR: 8606158594 DTS: JAGad27924 )
	When you reboot a machine on a fibre channel loop, its FC
	card may start sending garbage; this can cause severe
	performance degradation that may result in the inability
	to communicate with devices on the fibre. Although we do
	not expect many customers to observe this defect, we
	believe it is serious enough to create a patch for those
	who believe they might encounter the problem.

	PHKL_21119:
	( SR: 8606126623 DTS: JAGac59464 )
	Previously, the standard set by FES was that the run LED
	should remain on during a reboot. FES has changed that
	standard to state that the run LED should be turned off
	just before the machine is reset.

	Resolution:
	Included code to turn the run LED off before resetting
	the system.

	PHKL_20979:
	( SR: 8606125655 DTS: JAGac42317 )
	At boot time and every four hours thereafter, the operating
	system sends the GSP the current time to update the GSP's
	clock.  Every hour, the cclogd also sends the GSP the time.

	The time value sent by the operating system includes a year
	value of '0' for 2000, instead of 100, or years since 1900.
	The GSP interprets the year as 1900, which is invalid.  It
	generates an error code -1, which gets interpreted in the
	logs as the date March 06, 2106.  The GSP then resets its
	clock to January 01, 1970.  This happens with every
	operating system time update to the GSP.

	The time value sent by cclogd to the GSP is correct.  As
	this is sent every hour, we see the erroneous values on log
	entries generated starting with the operating system update
	until the next cclogd update.

	This defect impacts L-Class and N-Class only, is visable
	only in the chassis code logs, and has no impact on the
	operating system or any applications.  The log files are
	viewable through the online diagnostic subsystem.

	Resolution:
	Change the current rounding up procedure in the operating
	system GSP update routine so that the year will be the
	number of years since 1900, as the GSP expects.

	PHKL_20176:
	( SR: 8606108529 DTS: JAGab16799 )
	Chassis codes were changed for N-class and broke legacy
	systems.   (Cxxx) codes showed instead of (Dxxx) codes.

	Resolution:
	Replace the classic Dxxx chassis codes and reduce the
	alert level to Forward Progress for Dxxx codes.

	( SR: 8606103410 DTS: JAGab70129 )
	I20 RAID Disks are not supported.

	Resolution:
	I20 RAID requires some modification to the boot path.

	PHKL_19752:
	( SR: 1653287672 DTS: JAGab12583 )
	Fiber channel interfaces did not get reset when soft-
	rebooting a machine other than a V-class, causing all the
	connected devices to be disconnected and inaccessible.

	Resolution:
	Add PDC_IO to reset fiber channel interfaces when rebooting
	the kernel.

SR:
	1653287672 8606103410 8606108529 8606125655 8606126623
	8606158594 8606161973

Patch Files:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	/usr/conf/lib/libhp-ux.a(chassis_log.o)
	/usr/conf/lib/libhp-ux.a(machdep.o)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(chassis_log.o)
	/usr/conf/lib/libhp-ux.a(machdep.o)

what(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	/usr/conf/lib/libhp-ux.a(chassis_log.o):
		chassis_log.c $Date: 2000/09/08 11:43:00 $Revision: 
			r11ros/5 PATCH_11.00 (PHKL_22363)
	/usr/conf/lib/libhp-ux.a(machdep.o):
		machdep.c $Date: 2000/12/07 14:55:15 $Revision: r11r
			os/16 PATCH_11.00 (PHKL_22785)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(chassis_log.o):
		chassis_log.c $Date: 2000/09/08 11:43:00 $Revision: 
			r11ros/5 PATCH_11.00 (PHKL_22363)
	/usr/conf/lib/libhp-ux.a(machdep.o):
		machdep.c $Date: 2000/12/07 14:55:15 $Revision: r11r
			os/16 PATCH_11.00 (PHKL_22785)

cksum(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	3582437691 7652 /usr/conf/lib/libhp-ux.a(chassis_log.o)
	2081314360 28508 /usr/conf/lib/libhp-ux.a(machdep.o)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	411903387 16176 /usr/conf/lib/libhp-ux.a(chassis_log.o)
	2163978677 73800 /usr/conf/lib/libhp-ux.a(machdep.o)

Patch Conflicts: None

Patch Dependencies:
	s700: 11.00: PHKL_18543
	s800: 11.00: PHKL_18543

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHKL_22363 PHKL_21119 PHKL_20979 PHKL_20176 PHKL_19752

Equivalent Patches: None

Patch Package Size: 170 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 PHKL_22785

	5. Run swinstall to install the patch:

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

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

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -x patch_save_files=false -s /tmp/PHKL_22785.depot

	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 PHKL_22785.text file is 
	available in the product readme:

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

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

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

Special Installation Instructions:
	This patch depends on base patch PHKL_18543.
	For successful installation please insure that PHKL_18543
	is already installed, or that PHKL_18543 is included
	in the same depot with this patch and PHKL_18543
	is selected for installation.

