Patch-ID# 100163-03 Keywords: vm performance mbuf out of mbufs. Synopsis: SunOS 4.1; 4.1PSR_A: PMEG-03 and MBUF Jumbo Patch Date: 30-May-91 SunOS release: 4.1PSR_A Topic: (4.1PSR_A)PMEG-03 and MBUF Patch BugId's fixed with this patch: 1038249 1033551 1032572 1032818 1041811 Architectures for which this patch is available: sun4-490 sun4c Patches which may conflict with this patch: Obsoleted by: 4.1.2 Problem Description: This patch combines pmeg-03 and mbuf patches into one. WARNING: Read the entire readme and INSTALL very carefully. Backup system before installing and backup all files that need to be changed. NOTES: Make sure to install the CORRECT patch on the differnt arch's. INSTALL: There are two things that need to be done. The first is to copy the source files to the proper directories. The second is to place a new set of object files into the /usr/sys/sun4/OBJ directory. Source file: param.c, mbuf.h Object files: machdep.o, map.o, mmu.o, swtch.o, vm_hat.o, vm_hatasm.o, vm_machdep.o, locore.o, uipc_mbuf.o AS ROOT: save the standard modules aside. # mv /usr/sys/conf.common/param.c /usr/sys/conf.common/param.c.FCS # mv /usr/kvm/sys/sys/mbuf.h /usr/kvm/sys/sys/mbuf.h.FCS # mv /sys/sun4/OBJ/machdep.o /sys/sun4/OBJ/machdep.o.FCS # mv /sys/sun4/OBJ/map.o /sys/sun4/OBJ/map.o.FCS # mv /sys/sun4/OBJ/mmu.o /sys/sun4/OBJ/mmu.o.FCS # mv /sys/sun4/OBJ/swtch.o /sys/sun4/OBJ/swtch.o.FCS # mv /sys/sun4/OBJ/vm_hat.o /sys/sun4/OBJ/vm_hat.o.FCS # mv /sys/sun4/OBJ/vm_hatasm.o /sys/sun4/OBJ/vm_hatasm.o.FCS # mv /sys/sun4/OBJ/vm_machdep.o /sys/sun4/OBJ/vm_machdep.o.FCS # mv /sys/sun4/OBJ/locore.o /sys/sun4/OBJ/locore.o.FCS # mv /sys/sun4/OBJ/uipc_mbuf.o /sys/sun4/OBJ/uipc_mbuf.o.FCS copy the new modules to /sys/ARCH/OBJ/ # cp sun{4c,-490}/*.o /sys/sun{4c,4}/OBJ copy the source files to the correct place. # cp source/mbuf.h /usr/kvm/sys/sys/mbuf.h # cp source/param.c /usr/sys/conf.common/param.c Once the files are in place, edit the 'files' file in /sys/sun4/conf. (/sys/sun4/conf/files) You will need to add an entry to the last line in the file like: sun4/vm_hatasm.s standard OR sun4c/vm_hatasm.s standard Rerun /etc/config on your kernel and rebuild and install the new kernel. Please refer the the System and Networking Administration manual to the chapter on building and installing a custom kernel.