Patch-ID#  100255-01
Keywords: xdballoc: out of dblks
Synopsis: SunOS 4.1, 4.1.1:xdballoc: out of dblks, then a "printf" to hangs system
Date: 27/Mar/91

SunOS RELEASE: 4.1, 4.1.1

Topic: streams patch

BugID's fixed with this patch: 1044888

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

Patches which may conflict with this patch: 100233

Obsolete By: 

Problem Description:

BUGID: 1044888

	When streams runs out of "dblks", a console "printf" 
	during this condition will panic the system.  In 
	'strmakemsg()', when allocating the data part of the 
	message, it neglects to check the "nowait" flag and
	instead unconditionally waits for an "dblk" to become
	available, therby causing the invoker to hang when 
	"nowait" is set and no resources are forthcoming.


INSTALL:
Examples are for a sun4, make sure and use your correct archetecture.

As root:
# mv /sys/sun4/OBJ/str_io.o /sys/sun4/OBJ/str_io.o.save

# cp sun4/str_io.o /sys/sun4/OBJ/str_io.o

rerun /etc/config >kernel-name>
and make and install the new kernel.
Please refer to the system and networking administration manual
for details on building and installing a new kernel


