Patch Name: PHKL_20163

Patch Description: s700_800 11.00 Fix for LPMC buffer size panic

Creation Date: 99/10/29

Post Date: 99/10/29

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_20163: PANIC

Category Tags:
	hardware_enablement general_release critical panic

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

Symptoms:
	PHKL_20163:
	( SR: 8606107507 DTS: JAGab77743 )
	Newer workstations (B1000, C3000, J5000, J7000) and all
	others released after 06/1999 running a 64-bit kernel may
	panic during boot with an unaligned data reference trap.

Defect Description:
	PHKL_20163:
	( SR: 8606107507 DTS: JAGab77743 )
	When the kernel allocates a buffer to hold LPMC data it
	does not round the buffer size up to a multiple of 8 bytes.
	This causes an 8-byte data field within the buffer to be
	improperly aligned.  When the kernel accesses this field,
	it causes an unaligned data reference trap.

	Resolution:
	Modified code that allocates the LPMC data buffer to round
	the size up to an 8-byte boundary.

SR:
	8606107507

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(lpmc.o)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(lpmc.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(lpmc.o):
		lpmc.c $Date: 1999/10/28 10:12:15 $Revision: r11ros/
			6 PATCH_11.00 (PHKL_20163)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(lpmc.o):
		lpmc.c $Date: 1999/10/28 10:12:15 $Revision: r11ros/
			6 PATCH_11.00 (PHKL_20163)

cksum(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	2537148640 6892 /usr/conf/lib/libhp-ux.a(lpmc.o)

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

Patch Conflicts: None

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

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

Equivalent Patches: None

Patch Package Size: 50 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_20163

	5. Run swinstall to install the patch:

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

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

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

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

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

