PROBLEM:	(HGOQ80223 40742 42496 40255) (Patch ID: OSF360-027)
********
A process can hang and a "kill -9" command will not kill it.
The ps command will show the status of the process as "U".
This is a rare problem that is due to a file system timing problem
which occurs during an internal sync and is difficult to reproduce.
Running dbx on the hung thread will show getnewvnode and ufs_fsync
on the stack.

A typical stack trace is:

>  0 thread_block()
        ["src/kernel/kern/sched_prim.c":1911, 0xfffffc000042aad4]
   1 ufs_fsync_set_wait_flag(ip = 0xfffffc0004aef8b0, dolock = 1)
        ["src/kernel/ufs/ufs_vnops.c":6149, 0xfffffc000027f868]
   2 ufs_fsync_int(vp = 0xfffffc00029e1200, fflags = 16384, start = 0, length =
      cred = 0xfffffc00028b2400, waitfor = 1)
        ["src/kernel/ufs/ufs_vnops.c":1935, 0xfffffc0000279078]
   3 ufs_fsync(vp = (nil), fflags = 0, cred = 0xfffffc00028b2400, waitfor = 1)
     ["src/kernel/ufs/ufs_vnops.c":2083, 0xfffffc00002792e4]
   4 getnewvnode(tag = VT_NON, vops = 0xfffffc000050c500,
         vpp = 0xffffffff86eb35a8)
        ["src/kernel/vfs/vfs_subr.c":1551, 0xfffffc000040a324]
   5 vdealloc()
        ["src/kernel/vfs/vfs_subr.c":1235, 0xfffffc0000409dd4]
   6 vrele(vp = 0xfffffc000040afb0)
        ["src/kernel/vfs/vfs_subr.c":2276, 0xfffffc000040afb4]
   7 vn_close(0xfffffc0003b85210, 0xfffffc0000dfd000, 0x1, 0xfffffc0000000000,
      0x100000000)
        ["src/kernel/vfs/vfs_vnops.c":1258, 0xfffffc0000299fd0]
   8 closef(0xfffffc00003e29a8, 0xffffffff86eb0000, 0xfffffc0003d88e80,
         0xffffffff86eb3768, 0xfffffc00028b2400)
        ["src/kernel/bsd/kern_descrip.c":1393, 0xfffffc00003e34d0]
   9 close(0xfffffc0003b85210, 0xffffffff86eb38c8, 0xffffffff86eb38b8, 0x1, 0x0
     ["src/kernel/bsd/kern_descrip.c":1071, 0xfffffc00003e29a4]
  10 syscall(0x3, 0x1400009e0, 0x14016d4c0, 0x0, 0x6)
        ["src/kernel/arch/alpha/syscall_trap.c":519, 0xfffffc0000445454]
  11 _Xsyscall(0x8, 0x12002bba8, 0x140016760, 0x8, 0x4a008)
        ["src/kernel/arch/alpha/locore.s":1094, 0xfffffc0000434bd4]


PROBLEM:  ( QCABLR030 TKTB27949 35661 ) (Patch ID: OSF360-027)
********
The system panics with "kernel memory fault".  The crash dump will show that
the fault came from malloc or spec_reclaim.

In the case of malloc, a message similar to the following will be printed:
trap: invalid memory read access from kernel mode

    faulting virtual address:     0x0000000000453940
    pc of faulting instruction:   0xfffffc000042ee08
    ra contents at time of fault: 0xfffffc000042edec
    sp contents at time of fault: 0xffffffffd1ed28b8

The crucial data is the faulting address with 32 high bits of zero,
and 32 low bits of non-zero.

The following is an example of a kernel memory fault panic
coming from malloc:

>  0 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1620 ]
   1 panic("kernel memory fault")
     ["../../../../src/kernel/bsd/subr_prf.c":752, ]
   2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1281, ]
   3 _XentMM() ["../../../../src/kernel/arch/alpha/locore.s":1296, ]
   4 malloc() ["../../../../src/kernel/bsd/kern_malloc.c":520, ]
   5 _ms_malloc() ["../../../../src/kernel/msfs/bs/ms_mode.c":144, ]
   ...

The following is an example of a kernel memory fault panic
coming from malloc:

>  0 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1499, ]
   1 panic("kernel memory fault")
     ["../../../../src/kernel/bsd/subr_prf.c":752, ]
   2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1262, ]
   3 _XentMM() ["../../../../src/kernel/arch/alpha/locore.s":1256, ]
   4 malloc() ["../../../../src/kernel/bsd/kern_malloc.c":430, ]
   5 initnewvnode() ["../../../../src/kernel/vfs/vfs_subr.c":1117, ]
   6 getnewvnode() ["../../../../src/kernel/vfs/vfs_subr.c":1642, ]
   ...

The following is an example of a kernel memory fault panic
coming from spec_reclaim:

>  0 boot() ["../../../../src/kernel/arch/alpha/machdep.c":2023, ]
   1 panic("kernel memory fault")
     ["../../../../src/kernel/bsd/subr_prf.c": 757, ]
   2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1335, ]
   3 _XentMM() ["../../../../src/kernel/arch/alpha/locore.s":1311, ]
   4 spec_reclaim() ["../../../../src/kernel/vfs/spec_vnops.c":1165, ]
   5 msfsspec_reclaim() ["../../../../src/kernel/msfs/osf/msfs_vnops.c":4254, ]
 ...


PROBLEM:  ( HPAQ316C8 KAOB19A78 UVO104061 44625 44374 ) (Patch ID: OSF360-033)
********
This patch fixes a system panic "simple_lock_time_violation" where the
O/S lock routine is called by event_post().  The clearalias() routine
will be part of the stack trace involved.  A stack trace might look
as follows:

   panic
   simple_lock_fault
   simple_lock_time_violation
   event_post
   select_wakeup
   pse_close
   speclose
   clearalias
   exit
   psig
   syscall
   _Xsyscall

This problem could also show up as a kernel memory fault panic.


PROBLEM:  ( QAR 36390, QAR 31822 ) 	(Patch ID: OSF360-350203)
********
	If running in lockmode=4, the problem typically has 
	the following stack footprints (if not running in lockmode=4, 
	random corruption can result)

  11 panic(s = 0xfffffc00005f6050 = "simple_lock: uninitialized lock") ["../../
./../src/kernel/bsd/subr_prf.c":757, 0xfffffc000043fa04]
  12 simple_lock_fault(slp = 0xffffffffa46bf9c0, state = 18446744071591729728, 
aller = 0xfffffc0000353b64, arg = (nil), fmt = (nil), error = 0xfffffc00005f605
 = "simple_lock: uninitialized lock") ["../../../../src/kernel/kern/lock.c":160
, 0xfffffc000046f2ec]
  13 simple_lock_valid_violation(slp = 0xfffffc0000353b64, state = 0, caller = 
nil)) ["../../../../src/kernel/kern/lock.c":1627, 0xfffffc000046f378]
  14 osr_free(osr = 0xffffffffa46bf8f8) ["../../../../src/kernel/streams/str_sc
lls.c":227, 0xfffffc0000353b64]
  15 pse_ioctl(dev = 6291459, cmd = 536892174, data = (nil), fflag = 0, cred = 
xffffffff81a56e10, private = 0xffffffffa46bf800, retval = 0xffffffffb59636e0) [
../../../../src/kernel/streams/str_scalls.c":2157, 0xfffffc0000357324]
  16 spec_ioctl(0xffffffffa4a5c000, 0x2000530e, 0x0, 0x0, 0xffffffff81a56e10) [
../../../../src/kernel/vfs/spec_vnops.c":1871, 0xfffffc000044b7e0]
  17 stat1(0xffffffff826fa210, 0xffffffffb59638c8, 0xffffffffb59638b8, 0xffffff
fb59638c8, 0xfffffc00004ebb38) ["../../../../src/kernel/vfs/vfs_syscalls.c":233
, 0xfffffc0000456c50]
  18 stat(0xffffffffb59638b8, 0xffffffffb59638c8, 0xfffffc00004ebb38, 0xfffffc0
004ececc, 0xfffffc00004eb61c) ["../../../../src/kernel/vfs/vfs_syscalls.c":2297
 0xfffffc0000456b3c]
  19 syscall(0x3, 0x2000, 0x7af8, 0x41, 0x43) ["../../../../src/kernel/arch/alp
a/syscall_trap.c":530, 0xfffffc00004eb618]
  20 _Xsyscall(0x8, 0x120022b18, 0x140011cb0, 0x1400799d4, 0x11ffffcc8) ["../..
../../src/kernel/arch/alpha/locore.s":1086, 0xfffffc00004dbd64]

		____or____

   5 panic(s = 0xfffffc000061b3b0 = "simple_lock: uninitialized lock") ["../../
   6 simple_lock_fault(slp = 0xffffffff8fb89878, state = 18446739675670743232, 
   7 simple_lock_valid_violation(slp = 0xfffffc0000359888, state = 0, caller = 
   8 osr_run(osr = 0xffffffff8fb89800) ["../../../../src/kernel/streams/str_syn
   9 pse_ioctl(dev = 6291459, cmd = 536892174, data = (nil), fflag = 0, cred = 
  10 spec_ioctl(0xffffffff8fa92400, 0x2000530e, 0x0, 0x0, 0xffffffff819f1130) [
  11 stat1(0xffffffff81abe210, 0xffffffff95a3f8c8, 0xffffffff95a3f8b8, 0xffffff
  12 stat(0xffffffff95a3f8b8, 0xffffffff95a3f8c8, 0xfffffc00004ebcc8, 0x2000000
  13 syscall(0x140056000, 0x1, 0x1, 0x21, 0x43) ["../../../../src/kernel/arch/a
  14 _Xsyscall(0x8, 0x3ff800e5d38, 0x14000ba10, 0x140055934, 0x11ffffa68) ["../


PROBLEM:  ( HPAQ68777 ) (Patch ID: OSF360-350258)
********
       This patch fixes a kernel memory fault panic. This panic occurs on
       systems running System V applications or any user process compiled
       with the System V environment, even if System V is not loaded on
        the system.

A representative stack trace is:

5 panic("kernel memory fault")subr_prf.c:719
6 trap()trap.c:1243
7 _XentMM()locore.s:1307
8 malloc()kern_malloc.c:743
9 osr_alloc()str_scalls.c:232
10 pse_ioctl()str_scalls.c:1498
11 spec_ioctl()spec_vnops.c:1987
12 syioctl()tty_tty.c:210
13 spec_ioctl()spec_vnops.c:1987
14 vn_ioctl()vfs_vnops.c:1109
15 ioctl_base()sys_generic.c:465
16 ioctl()sys_generic.c:344
17 syscall()syscall_trap.c:519


PROBLEM:        (QARs 49942 & 49814)    (Patch ID: OSF360-350321)
********
This patch fixes a problem that causes the system to panic with a
kernel memory fault or "malloc_audit: guard space corruption"
with osr_run as an entry in the stack.

At this time no additional stack information is available.


PROBLEM:        (CLD TKTQ42309)         (Patch ID: OSF360-350403)
********
This patch fixes a problem that occurs when running STREAMS.
The system panics with a kernel memory fault in osr_run().
The kernel memory fault is a result of a non_cloned STREAMS device closing
and not being removed from the hash table.

A sample stack trace is shown as follows:

   0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1923,]
   1 thread_preempt()
   2 boot()
   3 panic(s 0xfffffc000074a020 = "kernel memory fault")
   4 trap() ["../../../../src/kernel/arch/alpha/trap.c":1243,]
   5 _XentMM()
   6 osr_run() ["../../../../src/kernel/streams/str_synch.c":161,]
   7 pse_open() ["../../../../src/kernel/streams/str_scalls.c":660,]
   8 spec_open() ["../../../../src/kernel/vfs/spec_vnops.c":1249,]
   9 vn_open() ["../../../../src/kernel/vfs/vfs_vnops.c":568,]
  10 copen() ["../../../../src/kernel/vfs/vfs_syscalls.c":1824,]
  11 open() ["../../../../src/kernel/vfs/vfs_syscalls.c":1781,]


PROBLEM:        (CLD TKTB37284)         (Patch ID: OSF360-350403)
********
This patch fixes a problem that occurs when running STREAMS.
The system panics with a kernel memory fault in osr_reopen().
The kernel memory fault is a result of a non_cloned STREAMS device
closing
and not being removed from the hash table.

A sample stack trace is shown as follows:

   0 boot()
   1 panic()
   2 trap()
   3 _XentMM()
   4 osr_reopen()
   5 osr_run()
   6 pse_open()
   7 spec_open()
   8 vn_open()
   9 copen()
  10 open()


PROBLEM:        (CLD MGO102730)         (Patch ID: OSF360-350440)
********
This patch fixes the problem of a system hang due to corruption of
a STREAM synchronization queue's forward pointer.  The system hangs
in the csq_cleanup() function.

A sample stack trace is as follows:

       csq_cleanup
       osr_pop_subr
       osr_close_subr
       pse_close
       speclose
       spec_close
       vn_close
       closef
       close
       syscall


FILE(s):

/usr/sys/BINARY/spec_vnops.o 		subset OSFBIN350
CHECKSUM: 48599     36	RCSfile: spec_vnops.c	RCS: 4.4.112.4
/usr/sys/BINARY/str_runq.o              subset OSFBIN350
CHECKSUM: 56851     64	RCSfile: str_runq.c	RCS: 4.2.24.2
/usr/sys/BINARY/str_scalls.o            subset OSFBIN350
CHECKSUM: 46185     94  RCSfile: str_scalls.c   RCS: 4.2.78.6
/usr/sys/BINARY/ufs_inode.o 		subset OSFBIN360
CHECKSUM: 33075     86	RCSfile: ufs_inode.c	RCS: 4.3.75.2
/usr/sys/BINARY/vfs_subr.o 		subset OSFBIN360
CHECKSUM: 12452     81	RCSfile: vfs_subr.c	RCS: 4.3.110.3
/usr/sys/include/streams/str_stream.h   subset OSFBINCOM350
CHECKSUM: 60848     19	RCSfile: str_stream.h	RCS: 4.2.40.3
