Patch Name: PHKL_24279

Patch Description: s700_800 11.00 Directed range,PIOP,PAT and high temp Alerts

Creation Date: 01/06/15

Post Date: 01/06/20

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_64,v=HP

Automatic Reboot?: Yes

Status: General Release

Critical:
	No (superseded patches were critical)
	PHKL_19543: PANIC
		For the initial N-class release, I/O Port Space
		support did not make the ship requirements and
		thus was not supported.  However, rather than
		simply not claiming cards with I/O Port Space,
		they will be claimed by their drivers but they
		may data page fault when their drivers attempt
		to access their cards due to a bad IOPS handle.

Category Tags:
	defect_repair hardware_enablement enhancement
	general_release critical panic

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

Symptoms:
	PHKL_24279:
	(SR: 8606194504  CR: JAGad63712)
	When overheated, a machine makes an entry in diag_log and
	shuts down.  The machine must be brought back up to check
	diag_log for diagnosis.  Field support engineers have
	requested a high-temperature system alert in time to fix
	the problem before the machine overheats and shuts down.

	PHKL_22469:
	(SR: 8606136107  CR: JAGad05237)
	There was no mechanism to control the frequency of reporting
	of events generated by PAT PDC which were logged into syslog
	by OS. As a result the syslog used to overflow resulting in
	some critical errors being missed out. The fix resolves this
	problem.

	PHKL_20981:
	(SR: 8606109540  DTS: JAGab17148)
	Environmental events may go undetected by HPUX.  HPUX may
	fail to prepare for shutdowns caused by environmental
	conditions.

	PHKL_20167:
	( SR: 8606107507 DTS: JAGab77743 )
	L2000 systems support only a restricted set of IO card
	configurations on HPUX 11.00.

	( SR: 8606107136 DTS: JAGab16392 )
	Devices requiring more than 8 MBs of memory mapped IO fail
	to acquire system resources on L2000 systems.

	PHKL_19543:
	( SR: 8606103312 DTS: JAGab16774 )
	Any PCI cards needing I/O Port Space on N-class platforms
	may cause a data page fault when accessed.

Defect Description:
	PHKL_24279:
	(SR: 8606194504  CR: JAGad63712)
	The OS needs to be enhanced to send the chassis log to the
	Processor Dependent Code in addition to the diag_log.

	Resolution:
	When the OS receives a moderate temperature interrupt, it
	now sends the chassis log to the PDC as well as to the
	diag_log.

	PHKL_22469:
	(SR: 8606136107  CR: JAGad05237)
	Due to reporting of some errors such as GSP not responding,
	the OS used to continually log such events without making
	any distinction as to whether this is a continuation of the
	older problem or is a new instance of the same.  Due to
	this, syslog used to be flooded by such messages leading to
	some messages not getting logged due to overflowing of the
	log.  As a result, there was a possibility of critical
	messages not getting logged.  This problem not only
	manifests itself in the GSP not responding but also in other
	events like overtemp reporting, power monitor fail, etc.

	Resolution:
	Since this is a problem occuring in multiple events, there
	was a need for a generic solution for the same.  The
	solution which has been implemented incorporates both time
	based and counter based resetting of counters used to keep
	track of the occurences of each individual event.  The time
	based resetting mechanism resets the counter if the previous
	instance of the error logged is greater than 5 minutes old.
	The counter based resetting mechanism resets the counter
	once per every 32768 occurrences (event is logged at
	0,32768, 65536,...)  of that event.

	PHKL_20981:
	(SR: 8606109540  DTS: JAGab17148)
	Only one environmental event per interrupt was being
	serviced, even though multiple events can be reported on a
	single interrupt.  Events after the first one would not be
	recognized.  Controlled reproduction of this condition is
	very difficult.  Software simulation was used during testing
	to reproduce the bit patterns required to test the fix.

	Resolution:
	Add code to handle all events on each interrupt.

	PHKL_20167:
	( SR: 8606107507 DTS: JAGab77743 )
	L2000 systems support a limited set of IO card
	configurations due to incomplete IO mapping services
	available in the May 1999 HPUX 11.00 expansion pack.
	Resolution:
	Added complete support for mapping services necessary for
	more complete IO card configurations.

	( SR: 8606107136 DTS: JAGab16392 )
	L2000 systems did not have complete OS and PDC support to
	map extra MMIO ranges to support greater than 8 MB of MMIO.
	Resolution:
	Added complete support for directed MMIO ranges on L2000
	systems.

	PHKL_19543:
	( SR: 8606103312 DTS: JAGab16774 )
	N-class did not support PCI cards needing I/O Port Space at
	first release.  Attempting to use an I/O Port Space card
	could lead to a data page fault because the PCI bridge
	manager and kernel platform services mapping routines for
	I/O Port Space were not functional.

	Resolution:
	This patch addresses the I/O Port Space mapping defect.  In
	pat_map_iface_regs, the type PIOP was missing.  Added the
	type PIOP (one line fix) so that platform services can
	recognize Postable I/O Port Space ranges.

	Note that this patch ENABLES the feature in PHKL_19544 for
	the PCI bridge manager and needs to be installed with this
	patch.

SR:
	8606103312 8606107136 8606107507 8606109540 8606136107
	8606194504

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

what(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(pat_psm.o):
		pat_psm.c $Date: 2001/06/12 13:03:20 $Revision: r11r
			os/9 PATCH_11.00 (PHKL_24279)

cksum(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	2797616222 114144 /usr/conf/lib/libhp-ux.a(pat_psm.o)

Patch Conflicts: None

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

Hardware Dependencies:
	9000/800/N4000
	9000/800/L2000

Other Dependencies: None

Supersedes:
	PHKL_22469 PHKL_20981 PHKL_20167 PHKL_19543

Equivalent Patches:
	PHKL_24280:
	s700: 11.11
	s800: 11.11

Patch Package Size: 150 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_24279

	5. Run swinstall to install the patch:

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

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHKL_24279.  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 PHKL_24279.text file is 
	available in the product readme:

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

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

		dd if=/tmp/PHKL_24279.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.

