HP Tru64 UNIX - Potential Panics in CFS During Low Memory Conditions



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: 2006-05-08


This patch prevents a variety of panics that may occur during low memory conditions when an error occurs during a cfs write. The panics are:

  • Kernel Memory Fault in simple_lock via cfs_rwvp_cache
  • Unaligned Access in msfs_putpage
  • Assert Failed: brp->br_allocated>=0
  • PANIC: pg_hold - underflow
  • Kernel Memory Fault in cfs_delay_adjust

The stack traces of the panicing threads are:

KMF - simple_lock via cfs_rwvp_cache

4 panic
5 trap
6 _XentMM
7 simple_lock
8 cfs_rwvp_cache
9 cfs_cachewrite
10 cfs_write
11 vn_write
12 rwuio
13 write
14 syscall
15 _Xsyscall


4 panic
5 afault_trap
6 _XentUna
7 msfs_putpage
8 ubc_msync
9 cfs_ubc_msync
10 ubc_msync
11 u_map_control
12 msync
13 syscall
14 _Xsyscall


4 panic
5 cfsdb_assert
6 cfscall_writepages
7 cfs_do_bio
8 cfs_strategy
9 cfs_rwblk
10 cfs_rwvp_cache
11 cfs_cachewrite
12 cfs_write
13 vn_write
14 rwuio
15 write
16 syscall
17 _Xsyscall


1 panic
2 ubc_page_release
3 cfs_rwvp_cache
4 cfs_cachewrite
5 cfs_write
6 vn_pwrite
7 prwuio
8 pwrite
9 syscall
10 _Xsyscall

KMF - in cfs_delay_adjust

1 panic
2 trap
3 _XentMM
4 cfs_delay_adjust
5 cfs_rwvp_cache
6 cfs_cachewrite
7 cfs_write
8 vn_write
9 rwuio
10 write
11 syscall
12 _Xsyscall


The following versions are affected:

  • HP Tru64 UNIX v5.1A PK6
  • HP Tru64 UNIX v5.1B-2/PK4

This patch prevents panics that may occur with client writes on nearly full domains, resulting in panicing threads with the stack traces listed in this EA. The problem occurred because cfs_delay_adjust() was being erroneously called when sync_pg was not initialized (due to an error path being taken). It was also being called with the wrong parameters for the non-error case. This has been fixed.

HP is releasing the following Early Release Patch (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. The fixes contained in the ERP kits are available in the following supported patch kit:

The fixes contained in the ERP kit are  available in the following mainstream patch kit:

HP Tru64 UNIX Version 5.1B-3

Early Release Patches

HP Tru64 UNIX version: V5.1B-2:
ERP Kit Name: TCRKIT1000415-V51BB25-E-20060222
Kit Location:

HP Tru64 UNIX version: 5.1A PK6
ERP Kit Name: TCRKIT1000409-V51AB24-E-20060217
Kit Location: