Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 14:06:22 -0500
From:      Matthew Hagerty <wpub1@net-link.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD on BSD/OS (BSDI)
Message-ID:  <3.0.3.32.19980119140622.006ced64@smtp.net-link.net>
In-Reply-To: <34C2C64D.52BFA1D7@whistle.com>
References:  <3.0.1.32.19980118214936.006a7da8@wolfepub.com> <19980118215919.33160@emu.sourcee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19980119140622.006ced64>