[comp.unix.ultrix] More on 2.2 patches

nes@prcrs.UUCP (Nancy Shoemaker) (04/22/88)

I've received *another* 2.2 patch tape from MACSC.  This one's
dated 4/15/88.  The differences between it and the 3/31/88 tape are:

    * Modified install_patch (now checks sccs id's of modules)

    * New .h files:  msg.h tmscp.h tmscpreg.h

    * New module kern_synch.o:
	 Processes were running slowly because the process priority never
	 decayed if the process had taken a signal.

    * Files tmscp.o and uipc_msg.o differ

The entire README is included below.  Has anyone heard any plans for
Ultrix-32 v2.3 [a maintenance release]?

-Nancy Shoemaker
{uunet,decuac}!prcrs!nes
(703) 556-2678

------------------------------------------------------------------------

Run the install_patch script to install these patches. The script
checks the sccs id module and updates the binaries for anyone found
out of rev. You MUST be root to run this script.

uipc_msg.o msg.h
----------------
		panic: bad rmfree
 
		Can occur when processes using message queues swap.
 
File system problems
--------------------
 
    gfs/{gfs_bio.o gfs_gnodeops.o gfs_syscalls.o}
    nfs/{nfs_server.o nfs_vnodeops.o vnodeops_gfs.o nfs_subr.o nfs_gfsops.o}
    ufs/{ufs_gnodeops.o ufs_gnode.o ufs_syscalls.o}
    sys/{kern_sig.o kern_acct.o}
 
	These files don't map one-to-one with bugs.
	The bugs that these files fix are:
 
	1. Change to file generation number increments on NFS server.
	   Would cause "NFS server: stale fhandle" message on server
           (should have only caused problems when accessing through
	   multiple links to same file via NFS, and one link removed).
 
	2. Fix for mode of named pipe created over NFS.
 
	3. Fix for NFS client gnode race condition.
	   Can cause gfs_unlock: unlocked gnode panic.
 
	4. Better tempname algorithm when unlinking open files
	   over NFS. Extremely unlikely to be seen; results in 
	   stale fhandle error.
 
	5. Various fs panics when accounting changes state.
	   (km_free: bad dealloc when shutting system down)
 
	6. bhalt() changes. It could conceivably be writing out
	   read-ahead blocks to disk at shutdown and panics now.
 
	7. Access is not allowed over NFS for a filesystem that
	   has not been explicitly exported. (Not true without 
	   these patches). However, changing the exports file while
	   a system is running is not enough to prohibit access
	   from a filesystem that is currently exported.

	   The filesystem must also be unmounted and remounted on
	   the server (tough for root). After that, any attempt to
	   access that filesystem via NFS will be refused with 
	   ESTALE and an "unexported" message is printed on the server.
 
	8. A df on a remote NFS filesystem now has the same effect
	   as doing a df on the server - not true before, a df
	   on the server was necessary for the stats, as seen by
	   client, to be updated.
 
	9. The utimes() system call now has the proper semantics
	   over NFS - the owner of a file can change the times even
	   if he does not have write permission.
 
       10. Better NFS server fhandle error messages.
 
 
tmscp.o tmscp.h tmscpreg.h
--------------------------
 
    Fixes all kinds of panics, panic: bad rmfree in the tmscp driver
    panic: bad rmfree in other drivers when freeing uba maps. The old
    driver could allow the writing of K mem in improper areas. 
 

uerf.bin
--------

    The file uerf.bin contains erroneuos data. UERF uses this file to
    do bit-to-text translations. Error log reports can contain bad data.
    Some of the bad information is obvious, such as VERY large or negative
    numbers for MSCP disk cylinder or head addresses.

fsck
----

    This replaces the fsck command that was distributed with ULTRIX-32
    V2.2. It fixes panic: free: freeing free block.

kern_synch.o
------------

    Processes were running slowly because the process priority never
    decayed if the process had taken a signal.