Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 1996 21:48:12 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Stanley Hopcroft <hopcrof@ibm.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How can I avoid Bus Error when running Linux applications please ?
Message-ID:  <Pine.BSI.3.94.960807214701.216J-100000@gdi.uoregon.edu>
In-Reply-To: <199608070934.JAA215182@smtp-gw01.ny.us.ibm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Aug 1996, Stanley Hopcroft wrote:

> I am writing to ask your help in running linux applications on FreeBSD 2.1.
> 
> My results are like Mr Doug White (& at least 2 others who have written to
> this list, that after installing the shard and dynamically loaded libraries
> and loading the linux kernel module (which is visible in modstat) that in
> Xfree86 windows the application abends with a SIGNAL 10 (bus error).
> 
> This is Mr Whites description :-
> I compiled the sources from freebsd-current as indicated, created the 
> /compat/linux/* as directed, and are loading the lkm at boot time.  But, 
> when I try to run a Linux X application, like xdoom:
> 
> gdi,ttyp2,~/bin,54>./xdoom
> Bus error
> 
> Another writer has stated that linux applications also abend when run
> outside of X-Windows

> Running FreeBSD 2.1.0-RELEASE, Xf86 3.1.2s.  

That was ancient :)

To fix it, I had to do a couple things:

1)  Rebuild the linux LKM.
2)  Add 'options COMPAT_LINUX' and 'options LINUX_COMPAT' to the kernel
config & recompiled

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960807214701.216J-100000>