Patch Name: PHKL_20169

Patch Description: s700_800 11.00 Use right install kernel on 32/64 bit system

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.KERN-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP

Automatic Reboot?: No

Status: General Release

Critical: No

Category Tags:
	hardware_enablement enhancement general_release

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

Symptoms:
	PHKL_20169:
	( SR: 8606107507 DTS: JAGab77743 )
	New workstation products (B1000, C3000, J5000, J7000)
	will load the wrong install kernel.  These workstations
	require the 64-bit install kernel (WINSTALL).

	PHKL_18325:
	1) The symptoms of loading a 32-bit kernel on a 64-bit
	   system that does not support 32-bit kernels are unknown.

	   The intention of this patch is to prevent the user from
	   loading a 32-bit kernel on a system that only supports
	   64-bit kernels.

	2) The symptoms of loading a 32-bit install kernel on a
	   64-bit system that does not support 32-bit kernels are
	   unknown.

	3) On some new systems, there may not be any messages
	   displayed on the console when hpux(1m) is in control of
	   the system.

Defect Description:
	PHKL_20169:
	( SR: 8606107507 DTS: JAGab77743 )
	This patch adds functionality required to fully support
	new workstations (B1000, C3000, J5000 and J7000).

	Resolution:
	The kernel secondary loader was modified to use the WINSTALL
	install kernel when installing on a system that requires it.

	PHKL_18325:
	1) The usual way a 32-bit OS gets on a system that only
	   supports a 64-bit OS is that the user manually moves
	   the 32-bit OS onto the 64-bit system.

	2) The usual way a 32-bit install OS gets on a system
	   that only supports a 64-bit OS is that the user manually
	   moves the 32-bit install OS onto the 64-bit system.

	3) Some new systems no longer require the hpa to be in
	   the address range of 0xf0000000.

	Resolution:
	1) Issue a error message and quit if an attempt is made to
	   load a 32-bit kernel on a system that only supports a
	   64-bit kernel.

	2) Change the name of the install kernel from INSTALL to
	   WINSTALL if an attempt is made to load a 32-bit kernel on
	   a system that only supports a 64-bit kernel.

	   NOTE: The OS capabilities bits are checked to determine
	         what OS is supported.  If there are no capabilities
	         bits to check, then assume whatever is being loaded
	         is OK.  If the processor is PA2.0 and the sysetm is
	         a series 700, assume that both OS capabilities bits
	         are set.

	3) Remove address range check for the hpa.  This check is
	   now considered unnecessary because the hpa is no longer
	   limited to the address range of 0xf0000000.

SR:
	8606107507 4701422766

Patch Files:
	
	OS-Core.KERN-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/lib/uxbootlf

what(1) Output:
	
	OS-Core.KERN-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/lib/uxbootlf:
		A.00.38 (3250) --  OCT 26, 1994
		reloc_it.c $Date: 1999/04/20 14:25:10 $Revision: r11
			ros/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325
			)
		conf.c $Date: 1999/04/20 14:24:28 $Revision: r11ros/
			cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
		hpux_rel.c $Date: 1999/04/20 14:24:44 $Revision: r11
			ros/cup_ros_ep3_pb/4 PATCH_11.00 (PHKL_18325
			)
		exec.c $Date: 1999/04/20 14:24:36 $Revision: r11ros/
			cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_18325)
		malloc.c $Date: 1999/04/20 14:25:02 $Revision: r11ro
			s/cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_18325)
		pif.c $Date: 1999/10/28 10:22:26 $Revision: r11ros/3
			 PATCH_11.00 (PHKL_20169)
		iodc_util.c $Date: 1999/04/20 14:24:48 $Revision: r1
			1ros/cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_1832
			5)
		machdep.c $Date: 1999/04/20 14:24:52 $Revision: r11r
			os/cup_ros_ep3_pb/4 PATCH_11.00 (PHKL_18325)
		flags.c $Date: 1999/04/20 14:24:40 $Revision: r11ros
			/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
		srt0.s $Date: 1999/04/20 14:25:15 $Revision: r11ros/
			cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
		X11.00.U HP-UX() #1: Oct 26 1999 09:57:35
		sys.c          $Date: 97/10/31 16:19:11 $ $Revision:
			 1.73.106.8 $ PATCH_11.00 (PHKL_13052)

cksum(1) Output:
	
	OS-Core.KERN-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	356610656 707584 /usr/lib/uxbootlf

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies:
	9000/800/N4000-36
	9000/800/N4000-44
	9000/785/B1000
	9000/785/C3000
	9000/785/J5000
	9000/785/J7000

Other Dependencies: None

Supersedes:
	PHKL_18325 

Equivalent Patches: None

Patch Package Size: 760 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_20169

	5. Run swinstall to install the patch:

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

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

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

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

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

Special Installation Instructions: None

