From owner-freebsd-questions Mon Jan 19 11:07:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06995 for questions-outgoing; Mon, 19 Jan 1998 11:07:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from serv01.net-link.net (serv01.net-link.net [205.217.6.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06972 for ; Mon, 19 Jan 1998 11:07:33 -0800 (PST) (envelope-from wpub1@net-link.net) Received: from ricecake (grxa6-ppp32.triton.net [209.172.4.32]) by serv01.net-link.net (8.8.8/8.6.9) with SMTP id OAA32687 for ; Mon, 19 Jan 1998 14:02:46 -0500 Message-Id: <3.0.3.32.19980119140622.006ced64@smtp.net-link.net> X-Sender: wpub1@smtp.net-link.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 19 Jan 1998 14:06:22 -0500 To: freebsd-questions@FreeBSD.ORG From: Matthew Hagerty Subject: Re: FreeBSD on BSD/OS (BSDI) In-Reply-To: <34C2C64D.52BFA1D7@whistle.com> References: <3.0.1.32.19980118214936.006a7da8@wolfepub.com> <19980118215919.33160@emu.sourcee.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk At 07:19 PM 1/18/98 -0800, Julian Elischer wrote: >Norman C Rice wrote: >> >> On Sun, Jan 18, 1998 at 09:49:36PM -0500, Matthew Hagerty wrote: >> > I was wondering how I can get my FreeBSD 2.2.5 box to run BSD/OS (BSDI) >> > binaries. The list of features indicates the FreeBSD can run Linux, BSDI, >> > and SCO binaries. I have gone through compiling a custom kernel and did >> > not see any options for adding BSDI or SCO compatibility. >> > >> > Thanks, >> > Matthew Hagerty >> > wpub1@net-link.net > >no that's for SCO >BSDI emulation is our native mode really.. >no options needed > >> >> Enable Ibcs2 emulation in /etc/rc.conf. >> >> ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO). >> >> -- >> Regards, >> Norman C. Rice, Jr. > > If BSDI emulation is the native mode for FreeBSD, then my problem seems to not be executing the binary, but with the semaphore system. When I first ran the program (a database) it failed with something similar to: invalid parameter in some function error 22: no SYSVSEM So I compiled a custom kernel with: options SYSVSHM options SYSVSEM options SYSVMSG Now the program executes, but when I try a query it core dumps with what appears to be more semaphore errors. I'm not in front of the FreeBSD box or I would include the exact error. I did notice that the LINT kernel had many more options that looked semaphore related. How can I know which extra options I need? Is it possible to emulate the complete BSDI and/or SYSV semaphore and messaging? Being that this is a database application I'm assuming this is where the problems are since it needs to do locking, sharing, etc. The database is for a BSDI-3.0 system, but since I don't have a license to run my BSD/OS on more than one machine (but I do for the database), I would like to try to get it going on FreeBSD (which I like more than BSDI anyway). Thanks, Matthew ---------------- Matthew Hagerty wpub1@net-link.net