Quoting Nick ! <[EMAIL PROTECTED]>: > On 2/12/07, Karel Kulhavy <[EMAIL PROTECTED]> wrote: > > Hello > > > > How do I figure out if my kernel was compiled with COMPAT_LINUX option or > not? > > I didn't compile it. I put "COMPAT_LINUX openbsd kernel" into google but > didn't > > find anything useful in the first several pages. > > > > I have 4.0 on i386 installed from a CD it must be running the default > kernel. > > http://www.openbsd.org/faq/faq9.html#Interact > "OpenBSD/i386 is able to run Linux binaries when the kernel is > compiled with the COMPAT_LINUX option and the runtime sysctl > kern.emul.linux is also set. If you are using the GENERIC kernel > (which you should be), COMPAT_LINUX is already enabled, and you will > just need to do:" > > -Nick > >
Why do static linux binaries at least sometimes run without executing "sysctl kern.emul.linux=1" and without removing the "#" in front of the line for "kern.emul.linux=1" in /etc/sysctl.conf? I have been running Linux Opera version opera-9.10-20061214.1-static-qt.i386-en.tar.gz with redhat_base-8.0p8 this morning on the 2/9/2007 OpenBSD-current snapshot. Opera launches and runs fine a few times, but eventually it crashes upon relaunch with the error shown at the end of the kdump available for a few days at ftp://ftp.tommiller.us/pub/openbsd/kdump.out Is the failure to execute the sysctl command causing the problem? Why does Opera launch and run okay sometmes? Kindest regards, Tom