Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!voder!cullsj!david From: david@cullsj.UUCP (David Taylor) Newsgroups: comp.databases Subject: Re: Use of Sys V IPC features by RTI Ingres Summary: Sys V IPC in SunOS 4.0 kernel? Message-ID: <623@cullsj.UUCP> Date: 28 Jun 89 21:17:52 GMT References: <386@odi.ODI.COM> <4121@ima.ima.isc.com> Organization: Cullinet Software, San Jose, CA Lines: 26 In article <4121@ima.ima.isc.com>, johnl@ima.ima.isc.com (John R. Levine) writes: > In article <386@odi.ODI.COM> dlw@odi.com writes: > >A few weeks ago, I believe someone mentioned that the new version of > >RTI's Ingres makes use of one of the System V IPC features ... > >... Now, in the standard Unix kernel distributed by Sun Microsystems, the > >System V IPC features >are not assembled in; ... > > In the SunOS 4.0 kernel, the Sys V stuff is included by default, and you > have to rebuild your kernel if for some reason you want to get rid of it. > -- Kernel configuration files may be prepared from templates supplied with the SunOS distribution. Options may be added or deleted by editing a copy of the template. Different templates exist for different systems. There is a GENERIC template a stand-alone 3/60 template (SDST60), etc. In the SunOS 3.5 we received, all of the kernel configuration file templates enabled the IPC options. In the SunOS 4.0 we received, IPC was only enabled in the GENERIC template, but not in any of the other templates. I followed the Sun manual and used the SDST60 template for my stand-alone 3/60. As a result, I saw an application that used IPC successfully under 3.5 break under 4.0. Diagnosing the problem took a full day, but the fix - rebuilding the kernel - was straightforward and painless. This might not be the case for a kernel that has been highly customized. Note that anyone building a kernel from any of the non-GENERIC 4.0 templates (as manual suggests) could come to the same conclusion as dlw@odi.com did above. Anyone building a kernel from any 3.5 template or the GENERIC 4.0 template could reach the same conclusion as John Levine.