Patch-ID# 100293-04
Keywords: write, ufs, syscall, system, call, returning, eintr
Synopsis: SunOS 4.1.1: write system call is returning EINTR
Date: 3/Dec/91
 
SunOS release: 4.1.1 
 
Topic: ufs system call EINTR newsprint
 
BugId's fixed with this patch: 1052649 1045582

Architectures for which this patch is available: sun3 sun3x sun4 sun4c

Note: Revision 4 of this patch was to add the sun3x architecture which
	was not included previously.

Patches which may conflict with this patch: 

Note: This patch is incompatible with Online DiskSuite and Backup CoPilot.

Obsoleted by: 

Problem Description: 
1.	different return from write function from 4.1 to 4.1.1.
	SIGALRM  ITIMER_REAL
	What happens is that on 4.1 the kernel restarts the write(2) call. In
	4.1.1 the kernel returns EINTR.  
2. 	NeWSprint 1.0 hangs on SS2 and IPC without this patch.
INSTALL: 

Make a copy of the old file:
---------------------------
mv /usr/sys/`arch -k`/OBJ/ufs_vnodeops.o /usr/sys/`arch -k`/OBJ/ufs_vnodeops.o.FCS

Copy new object files into /usr/sys/`arch -k`/OBJ:
--------------------------------------------------

cp `arch -k`/*.o /usr/sys/`arch -k`/OBJ

Config and make a new kernel and reboot with the new kernel.

     Please Refer to the System and Networking Administration Manual
             section on building and installing a custom kernel.
 

