BU050414_EW01
 
HP Tru64 UNIX - Panics During quotactl Calls

»

HP Tru64 UNIX

Tru64 UNIX

» Tru64 UNIX V5.1B-6
» Tru64 UNIX V5.1B-5
» Documentation
» Information library
» Software web index
» Software products library
» Patch database
» Services
» Developer & Solution Partner Program
» Send us your comments
» Support Statements

Evolving business value

» Tru64 UNIX to HP-UX 11i transition benefits calculator
» Alpha RetainTrust Program
» Transition

Related links

» Alpha systems
» HP-UX 11i
» Integrity servers
» Linux
» HP storage
» HP solutions
HP-UX 11i: measurably better TCO!
 Advisory Information
 

RELEASE DATE: 25 April 2005

DESCRIPTION

The Early Release Patch kits (ERPs) provided in this Engineering Advisory (EA) address the following two panics that result from quotactl requests on AdvFS filesets:

  • panic "lock_terminate: lock held"
  • kernel memory fault in dyn_hash_remove

These two panics are present in HP Tru64 UNIX V5.1A PK6 and 5.1B-1/PK3. HP has resolved the panics by providing the two ERP kits listed in the Resolution section of this EA. The ERP kits distribute a revised advfs.mod.

The 5.1B-1/PK3 ERP kit combines the fixes for the two quotactl-related panics with a previously announced memory leak fix that also affects advfs.mod.

Details of both kits follow.

The 5.1A PK6 ERP Kit

The 5.1A PK6 ERP kit contains the fixes for the "lock_terminate: lock held" and the kernel memory fault panics.

Partial stack traces for the two types of panicing threads are the following:


1) panic "lock_terminate: lock held"

4 panic() "lock_terminate: lock held"
5 lock_terminate()
6 dqput()
7 advfs_get_quota()
8 advfs_quotactl()
9 cfs_comm_quotactl()
10 cfs_quotactl()
11 quotactl()
12 syscall()
13 _Xsyscall()

2) kernel memory fault in dyn_hash_remove:

4 panic
5 trap
6 _XentMM()
7 dyn_hash_remove()
8 dqput()
9 advfs_get_quota()
10 advfs_quotactl()
11 cfs_comm_quotactl()
12 cfs_quotactl()
13 quotactl()
14 syscall()
15 _Xsyscall()

The 5.1B-1/PK3 ERP Kit

The 5.1B-1/PK3 kit includes fixes for the two quotactl-related panics described in this EA and a fix originally announced in EA BU040604_EW01 (Memory Leak in Bucket 1 (32-byte bucket) When Running vfast). The problem description for the memory leak fix is:

A memory leak exists in a routine that vfast uses to merge extent maps. The routine is not freeing allocated memory in bucket 1 (32-byte bucket). The problem manifests as an inordinate amount of memory being used in bucket 1. It can be identified by issuing the vmstat -M command and viewing the bytes_in_use column for bucket 1.

This problem only occurs when using vfast. The workaround is to issue "vfast deactivate dmnName" for all domains with vfast activated.

Target Audience: Customers running 5.1A PK6 and customers running 5.1B-1/PK3

 

SCOPE

The following versions are affected:

  • HP Tru64 UNIX 5.1B-1/PK3
  • HP Tru64 UNIX 5.1A PK6
 

RESOLUTION
HP is releasing the following ERP kits publicly for use by any customer. The ERP kits use dupatch to install and will not install over any Customer Specific Patches (CSPs) that have file intersections with the ERP. Contact your service provider for assistance if ERP installation is blocked by any of your installed CSPs..

The fixes contained in the ERPs are available in HP Tru64 UNIX 5.1B-2/PK4, which is already shipping.

Early Release Patches

The ERP kits distribute /sys/BINARY/advfs.mod

HP Tru64 UNIX 5.1B-1/PK3
ERP Kit Name: T64KIT0025392-V51BB24-E-20050418.tar
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0025392-V51BB24-E-20050418

HP Tru64 UNIX 5.1A PK6
ERP Kit Name: T64KIT0025391-V51AB24-E-20050418.tar
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0025391-V51AB24-E-20050418