Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
        More options        
HP.com Home
patch database

patch details: PHKL_34311

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map
Content starts here
» view selected patch list
The recommended patch is :  PHKL_34311
The most recent patch is :  PHKL_34311

   useful links
» Patch Family Tree

You may provide feedback on this document.
» patch name » patch description » creation date » post date » hardware platforms - os releases » products » filesets » automatic reboot? » status » critical » category tags » path name » symptoms » defect description » enhancement » sr » patch files » what(1) output » cksum(1) output » patch conflicts » patch dependencies » hardware dependencies » other dependencies » supersedes » equivalent patches » patch package size » installation instructions » special installation instructions


Patch Name: PHKL_34311

Patch Description: s700_800 11.11 thread abrt,suspend,DaS,physio,cleanpt

Creation Date: 06/01/25

Post Date: 06/03/07

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

Products: N/A

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

Automatic Reboot?: Yes

Status: General Release

Critical: 
	Yes
	PHKL_34311: HANG
	PHKL_30954: PANIC
	PHKL_30286: HANG
	PHKL_30100: HANG
	PHKL_29889: PANIC
	PHKL_25166: PANIC
	PHKL_25453: OTHER
		 Xservers may core dump.
	PHKL_23609: PANIC
		Superdome machines may panic early in boot with
		"Data and/or code translations improperly disabled"
		message.  This patch resolves this panic during
		early boot.
	PHKL_30288: HANG

Category Tags: 
	defect_repair hardware_enablement enhancement
	general_release critical panic halts_system
	manual_dependencies

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

Symptoms: 
	PHKL_34311:
	( SR:8606425727 CR:JAGaf85235 )
	A multi-threaded process may hang forever trying to fork
	a new process, if other threads in the process are in
	kernel context and are holding  kernel resources.

	PHKL_32005:
	( SR:8606299086 CR:JAGae62582 )
	After installing patch PHKL_32002, statically allocated I/O
	buffer pools are no longer used. This results in wastage of
	approximately 96KB of memory per cpu on the system.

	PHKL_30954:
	( SR:8606362747 CR:JAGaf23412 )
	The system can panic with the following panic string:
	check_caught_trap: Caught trap was not ours
	and the following stack trace:

	panic+0x6c
	check_caught_trap+0xa8
	ulbtraprtn+0x48
	copyin+0x158
	uiomove+0x90
	streams_write_uio+0x594
	sosend+0x4d4
	soo_rw+0x80
	writev+0x1a4
	syscall+0x62c
	syscallinit+0x554

	PHKL_30606:
	( SR:8606321509 CR:JAGae83977 )
	This product update is a member of a set needed to
	enable the optional HP-UX Detect and Strobe feature.
	Upon installation, the HP-UX Detect and Strobe
	bundle (InterruptStrobe) will install the full
	set of product updates (including this one) to
	enable the HP-UX Detect and Strobe feature.

	If the HP-UX Detect and Strobe feature is not
	installed, this product update will not impact
	your system.

	( SR:8606331405 CR:JAGae92525 )
	Continuous stream of interrupts from a device may
	starve interrupts from other devices.

	PHKL_30286:
	( SR:8606334497 CR:JAGae95577 )
	A multi-threaded user application using Light Weight
	Process (LWP) threads might experience an unkillable hang
	after a thread is asynchronously canceled.  This is more
	likely to occur on a uniprocessor system but can also
	happen on a multiprocessor system.

	PHKL_30100:
	( SR:8606218037 CR:JAGad87187 )
	An LPMC or unexpected interrupt during the early boot path
	can cause a system to hang.

	PHKL_29889:
	( SR:8606330496 CR:JAGae91619 )
	When loading DLKM software modules on large memory
	systems (>8GB) running 64-bit kernels, the kernel
	can panic with the following panic string:
	kalloc: out of kernel virtual address space.

	Stack trace:
	panic+0x6c
	kalloc_4K+0x238
	kalloc_from_superpage+0x408
	kalloc+0x14
	alloc_mem+0x44
	get_kmem+0x8c
	kmem_arena_xlarge_alloc+0x74
	kmem_arena_varalloc+0x144
	mod_obj_getprog+0x2c4
	mod_obj_load+0x1b8
	mod_load_helper+0x50
	modld+0x200
	modload+0x12c
	syscall+0x750
	syscallinit+0x554

	PHKL_27766:
	( SR:8606251440 CR:JAGae17505 )
	This product update is a member of a set needed to enable
	the optional HP-UX Strong Random Number Generator feature.
	Upon installation, the HP-UX Strong Random Number Generator
	bundle (KRNG11) will install the full set of product
	updates (including this one) to enable the Strong Random
	Number Generator feature.

	If the HP-UX Strong Random Number Generator product is not
	installed, this product update will have no impact on your
	system.

	PHKL_27054:
	( SR:8606223938 CR:JAGad93033 )
	CPU migration on non-Superdome cellular systems will cause
	floating CPUs to become lost between the vPar monitor and
	the kernel.  CPUs will leave the monitor and be reported as
	unavailable by the vpar* commands, but tools such as top(1)
	run on the owning vPar will not show the CPU.

	PHKL_25166:
	( SR:8606205090 CR:JAGad74266 )
	A HPMC may occur on T600 (9000/893) systems when cache flush
	code is executing.  A stack trace may look similar to the
	following:

	    fdc_one_page_2_0+0x180
	    fdcache_conditionally+0x90
	    pdd_large_page2_0+0x1f0
	    pddpage+0x2d4
	    hdl_deletetrans+0xbc
	    do_deltransc+0x118
	    for_val2+0xb4
	    foreach_chunk+0x3c
	    hdl_detach+0x210
	    detachreg+0x80
	    kissofdeath+0x64
	    freethread+0x14c
	    thread_deallocate+0x94
	    thread_free+0x94
	    wait1+0x244
	    waitpid+0x38
	    syscall+0x200
	    syscallinit+0x54c

	PHKL_24557:
	( SR:8606199585 CR:JAGad68772 )
	This patch is a member of a set of patches needed to enable
	the HP-UX Virtual Partitions product. When the HP-UX Virtual
	Partitions product (VPARSBASE or T1335AA) is installed, it
	will install the full set of required patches for that
	product, including this patch.

	If the HP-UX Virtual Partitions product is not installed,
	this change will have no impact on your system.

	PHKL_25453:
	( SR:8606186988 CR:JAGad56198 )
	After CDE comes up when trying to enter username/password
	the Xserver core dumps. It also core dumped when using
	x11start.

	If the customer disables one of the CPUs the Xserver
	does not core dump.

	PHKL_24550:
	( SR:8606244308 CR:JAGae10796 )
	The Gang Scheduler does not provide the advertised
	application parallelism on a multiprocessor system.

	( SR:8606200799 CR:JAGad69975 )
	This patch is a member of a set of patches needed to enable
	the HP-UX Processor Sets product (PROCSETS). When PROCSETS
	product is installed, it will install the full set of
	required patches for that product, including this patch.

	If the HP-UX Processor Sets product is not installed, this
	change will have no impact on your system.

	( SR:8606199576 CR:JAGad68763 )
	This patch is a member of a set of patches needed to enable
	the HP-UX Virtual Partitions product Sets. When the HP-UX
	Virtual Partitions product (VPARSBASE or T1335AA) is
	installed, it will install the full set of required patches
	for that product, including this patch.

	If the HP-UX Virtual Partitions product is not installed,
	this change will have no impact on your system.

	PHKL_23609:
	( SR:8606169455 CR:JAGad38730 )
	Some Superdome machines randomly panic very early in the
	boot process.

	PHKL_30288:
	( SR:8606337549 CR:JAGae98556 )
	A multi-threaded user application using Light Weight
	Process (LWP) threads might experience an unkillable hang
	after a thread is asynchronously canceled.  This is more
	likely to occur on a uniprocessor system but can also
	happen on a multiprocessor system.

	PHKL_25842:
	( SR:8606229034 CR:JAGad98088 )
	Enhancement to provide support for the interruption of a
	specic thread blocked interruptibly in a system call.

Defect Description: 
	PHKL_34311:
	( SR:8606425727 CR:JAGaf85235 )
	A thread performing a process-wide operation like fork()
	needs to suspend all other threads in the process. If this
	causes a 'ready to run' thread to be suspended, which may
	be holding some kernel resource, it will cause another
	thread waiting non-interruptably for that kernel resource
	to be blocked indefinitely, without getting suspended.
	This will cause the first thread performing process-wide
	operation to block forever too. This will result in a
	process hang.

	Resolution:
	Mark threads exiting the trap and system call paths safe
	for suspension.

	PHKL_32005:
	( SR:8606299086 CR:JAGae62582 )
	In patch PHKL_32002, device I/O operations uses dynamically
	allocated buffers instead of using statically allocated
	buffers. This statically allocated buffer pool is no longer
	used which results in a wastage of approximately 96KB of
	memory per cpu on the system.

	Resolution:
	Device I/O buffer pools are not allocated since they are
	not used after PHKL_32002 installation. Absence of this
	patch will have no other impact on the system.

	PHKL_30954:
	( SR:8606362747 CR:JAGaf23412 )
	When the kernel needs to copy memory to or from user
	space, the function copyin() is used.  If the starting
	source address is unaligned (not aligned to a 4-byte
	memory boundary), copyin() rounds the address down to a
	word-aligned address and then uses the ldw instruction
	to load one word of the source data.  If the virtual
	memory translation for the source page is not present, a
	data page fault will occur causing the function
	check_caught_trap() to be called to check if the faulting
	address is within the range of memory that copyin() was
	attempting to access.  Because the fault address can be
	up to 3 bytes before the actual source address that was
	passed to copyin(), check_caught_trap() would consider
	the address to be outside of the expected range and panic
	with the message "Caught trap was not ours".

	Resolution:
	The function check_caught_trap() was modified so that it
	considers the double word (8-byte) aligned address of the
	starting address to be be inside the copy range.

	PHKL_30606:
	( SR:8606321509 CR:JAGae83977 )
	This product update contains support required to
	enable the HP-UX Detect and Strobe.

	Resolution:
	EIRR bit mask generation for Detect and Strobe
	feature.

	( SR:8606331405 CR:JAGae92525 )
	Each bit in the EIRR register represents a set of
	interrupts. The order in which the interrupts are
	processed is from MSB (most significant bit) to
	LSB (least significant bit). So, if a higher order
	bit is asserted continuously, the interrupts
	corresponding to lower order bits my be starved.

	Resolution:
	Interrupt processing is changed to use round robin
	algorithm.

	PHKL_30286:
	( SR:8606334497 CR:JAGae95577 )
	When a LWP thread is aborted by a pthread_cancel, a side
	effect of is that the aborting thread may execute briefly
	before being aborted completely.  The thread may return to
	user space and execute user program code during this brief
	interval.  Depending on what the user program does during
	that period, unexpected, detrimental effects to the system
	could result.  For instance, the program could immediately
	perform another system call where a semaphore or other
	global resources could be acquired and cause the thread to
	become unkillable, lead to a system deadlock/hang, etc.

	Resolution:
	The fix is to create a new function that will handle the
	aborting thread instead of letting it get rescheduled.
	Check the condition in the trap path where a thread returns
	to user space from the kernel to ensure that an aborted
	thread does not return to user space.

	PHKL_30100:
	( SR:8606218037 CR:JAGad87187 )
	In the event of an LPMC or unexpected interrupt during the
	early boot path, HP-UX 64bit kernels will incorrectly
	collect interrupt save state for PA-RISC 1.x processors.

	Resolution:
	HP-UX 64bit kernels will always collect interrupt save
	state for PA-RISC 2.0 processors by setting a static flag
	in the kernel binary.

	PHKL_29889:
	( SR:8606330496 CR:JAGae91619 )
	This happens on large memory systems due to
	unavailability of 32-bit kernel virtual addresses.
	DLKM needs 32-bit kernel virtual addresses to load
	the module, but these addresses are already
	taken by kernel data structures.

	Resolution:
	This patch provides the functionality of reserving
	32-bit kernel virtual addresses, when installed with
	patch PHKL_29890. If PHKL_29890 is not installed
	this patch will not have any effect.

	PHKL_27766:
	( SR:8606251440 CR:JAGae17505 )
	This product update contains minor enhancements required to
	enable the HP-UX Strong Random Number Generator.

	Resolution:
	Enhancements added to set up the system for loading the
	Strong Random Number Generator when this product is
	configured.

	PHKL_27054:
	( SR:8606223938 CR:JAGad93033 )
	This patch is a member of a set of patches needed to enable
	version A.02.01.00 of the HP-UX Virtual Partitions product.
	When the HP-UX Virtual Partitions product (VPARSBASE or
	T1335AC) is installed, it will install the full set of
	required patches for that product, including this patch.

	If the HP-UX Virtual Partitions product is not installed,
	this change will have no impact on your system.

	Resolution:
	Enhancements added to support CPU migration on cell based
	systems like : Superdome, rp8400, rp7410.

	PHKL_25166:
	( SR:8606205090 CR:JAGad74266 )
	This problem is caused by a defect in the hardware bus
	arbitration logic.  The arbitration logic favors the
	sequential cache flush code over memory access requests,
	such that outstanding I/O requests (e.g.  FWSCSI) will time
	out and cause an HPMC.

	Resolution:
	The sequential cache flush code was modified to periodically
	provide a time slot for the I/O requests to finish.

	PHKL_24557:
	( SR:8606199585 CR:JAGad68772 )
	This patch contains minor enhancements required to support
	the HP-UX Virtual Partitions product.

	Resolution:
	Enhancements added to enable Purge Data TLB lock.

	PHKL_25453:
	( SR:8606186988 CR:JAGad56198 )
	The graphics Block TLB entry is not set up on non-monarch
	processors.  When the X Server migrates off the monarch
	processor, there is no valid TLB entry on the processor it
	moves to.  When the X Server tries to access an address that
	should be covered by the Block TLB entry it gets a data page
	fault and dumps core.

	Resolution:
	Moved the Graphics Block TLB initialization of non-monarch
	processors from phase 1 to phase 2 of MP configuration so
	that the entries get populated correctly on non-monarch
	processors.

	PHKL_24550:
	( SR:8606244308 CR:JAGae10796 )
	The Gang Scheduler only recognizes processor 0 even if there
	are more processors in the system. This is because the Gang
	Scheduler is initialized in the boot path before the other
	processors are enabled.

	Resolution:
	The fix is to enable the other processors before the Gang
	Scheduler is initialized, so that the Gang Scheduler will
	recognize them.

	Note that this fix is effective only in systems in which
	neither PSETS nor VPARS nor both products are installed.  A
	fix for the Gang Scheduler problem in configurations
	containing the PSETS and VPARS products is not planned at
	this time.

	( SR:8606200799 CR:JAGad69975 )
	This patch contains minor enhancements required to support
	the HP-UX Processor Sets product.

	Resolution:
	Enhancements added to provide initialization of Processor
	Sets product in early system boot path.

	( SR:8606199576 CR:JAGad68763 )
	This patch contains minor enhancements required to support
	the HP-UX Virtual Partitions product.

	Resolution:
	Enhancements added to support CPU migration.

	PHKL_23609:
	( SR:8606169455 CR:JAGad38730 )
	Data and/or code translations are improperly disabled.

	Resolution:
	Set the OS tick interval to a longest possible value during
	initializing non_monarch CPU's interval timer.

	PHKL_30288:
	( SR:8606337549 CR:JAGae98556 )
	When a LWP thread is aborted by a pthread_cancel, a side
	effect of is that the aborting thread may execute briefly
	before being aborted completely.  The thread may return to
	user space and execute user program code during this brief
	interval.  Depending on what the user program does during
	that period, unexpected, detrimental effects to the system
	could result.  For instance, the program could immediately
	perform another system call where a semaphore or other
	global resources could be acquired and cause the thread to
	become unkillable, lead to a system deadlock/hang, etc.

	Resolution:
	The fix is to insert a call at the end of syscall to handle
	the terminating process instead of letting it exit out of
	syscall.  That is, check the condition in the syscall path
	where a thread returns to user space from the kernel to
	ensure that an aborted thread does not return to user space.

	PHKL_25842:
	( SR:8606229034 CR:JAGad98088 )
	The Operating System currently has no way to abort a
	specific thread blocked interruptibly in a system call.

	Resolution:
	A new kernel internal interface (function) is introduced to
	provide kernel subsystems the ability to abort a thread that
	is currently blocked interruptibly in a system call.This
	portion of the functionality clears flags associated with
	the new routine.

Enhancement: 
	No (superseded patches contained enhancements)
	PHKL_30606:
		Hooks to setup the system for HP-UX Detect
		and Strobe when this product is installed.

		Round robin handling of interrupt EIRR bits.
	PHKL_27766:
		        Enhancements added to set up the system for
		        loading the Strong Random Number Generator
			        when this product is configured.

		Additional enhancements were delivered in a patch
		this one has superseded.  Please review the Defect
		Description text for more information.

	PHKL_30288:
		Enhancements were delivered in a patch this one has
		superseded.  Please review the Defect Description
		text for more information.

SR: 
	8606425727 8606169455 8606186988 8606199576 8606199585
	8606200799 8606205090 8606218037 8606223938 8606244308
	8606251440 8606299086 8606321509 8606330496 8606331405
	8606334497 8606362747 8606229034 8606337549

Patch Files: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	/usr/conf/lib/libsvc-pdk.a(asm_vm.o)
	/usr/conf/lib/libinit-pdk.a(boot_machdep.o)
	/usr/conf/lib/libscall.a(syscall.o)
	/usr/conf/lib/libsvc-pdk.a(trap.o)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	/usr/conf/lib/libsvc-pdk.a(asm_vm.o)
	/usr/conf/lib/libinit-pdk.a(boot_machdep.o)
	/usr/conf/lib/libdebug.a(intr_strobe_dbg.o)
	/usr/conf/lib/libscall.a(syscall.o)
	/usr/conf/lib/libsvc-pdk.a(trap.o)

what(1) Output: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	/usr/conf/lib/libsvc-pdk.a(asm_vm.o):
		asm_vm.s $Date: 2001/10/24 13:19:17 $Revision: r11.1
			1/2 PATCH_11.11 (PHKL_25166)
	/usr/conf/lib/libinit-pdk.a(boot_machdep.o):
		boot_machdep.c $Date: 2004/09/14 03:17:45 $Revision:
			 r11.11/11 PATCH_11.11 (PHKL_32005)
	/usr/conf/lib/libscall.a(syscall.o):
		syscall.c $Date: 2006/01/25 16:18:52 $Revision: r11.
			11/3 PATCH_11.11 (PHKL_34311)
	/usr/conf/lib/libsvc-pdk.a(trap.o):
		trap.c $Date: 2006/01/25 16:21:28 $Revision: r11.11/
			7 PATCH_11.11 (PHKL_34311)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	/usr/conf/lib/libsvc-pdk.a(asm_vm.o):
		asm_vm.s $Date: 2001/10/24 13:19:17 $Revision: r11.1
			1/2 PATCH_11.11 (PHKL_25166)
	/usr/conf/lib/libinit-pdk.a(boot_machdep.o):
		boot_machdep.c $Date: 2004/09/14 03:17:45 $Revision:
			 r11.11/11 PATCH_11.11 (PHKL_32005)
	/usr/conf/lib/libdebug.a(intr_strobe_dbg.o):
		intr_strobe_dbg.c $Date: 2004/04/06 07:12:47 $Revisi
			on: r11.11/1 PATCH_11.11 (PHKL_30606)
	/usr/conf/lib/libscall.a(syscall.o):
		syscall.c $Date: 2006/01/25 16:18:52 $Revision: r11.
			11/3 PATCH_11.11 (PHKL_34311)
	/usr/conf/lib/libsvc-pdk.a(trap.o):
		trap.c $Date: 2006/01/25 16:21:28 $Revision: r11.11/
			7 PATCH_11.11 (PHKL_34311)

cksum(1) Output: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	808923471 21560 /usr/conf/lib/libsvc-pdk.a(asm_vm.o)
	2355949802 81536 /usr/conf/lib/libinit-pdk.a(boot_machdep.o)
	3935026564 15792 /usr/conf/lib/libscall.a(syscall.o)
	1616494786 32812 /usr/conf/lib/libsvc-pdk.a(trap.o)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	1460884851 27416 /usr/conf/lib/libsvc-pdk.a(asm_vm.o)
	2481777362 182912 /usr/conf/lib/
		libinit-pdk.a(boot_machdep.o)
	951548793 46208 /usr/conf/lib/libdebug.a(intr_strobe_dbg.o)
	632347087 40344 /usr/conf/lib/libscall.a(syscall.o)
	580466454 89224 /usr/conf/lib/libsvc-pdk.a(trap.o)

Patch Conflicts: None

Patch Dependencies: 
	s700: 11.11: PHKL_30105 PHKL_32002 PHKL_32668 PHKL_34309
		PHKL_34310
	s800: 11.11: PHKL_30105 PHKL_32002 PHKL_32668 PHKL_34309
		PHKL_34310

Hardware Dependencies: None

Other Dependencies: 
	PHKL_30100:
	        To correctly report processor-related LPMC events,
	        PHSS_30101 should be installed on PA-8800 systems
	        and above when running OnlineDiag December 2003.

	PHKL_25842:For enablement of this feature, PHKL_25840 also
	needs to be installed in the system.  Installation of either
	patch by itself has no effect on the system.

Supersedes: 
	PHKL_32005 PHKL_30954 PHKL_30606 PHKL_30288 PHKL_30286 PHKL_30100
	PHKL_29889 PHKL_27766 PHKL_27054 PHKL_25842 PHKL_25453 PHKL_25166
	PHKL_24557 PHKL_24550 PHKL_23609

Equivalent Patches: None

Patch Package Size: 210 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_34311

	5. Run swinstall to install the patch:

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

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

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

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

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

Special Installation Instructions: None




» top of page
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.