View Single Post

   
  #1 (permalink)  
Old 02-16-2008, 07:07 AM
Mark Zimmerman
 
Posts: n/a
Default Linux emulation using a debian dual boot system

Greetings:

I have a laptop that dual boots between OpenBSD 3.8 and Debian stable.
Rather than install redhat-base (which seems redundant) I have been
trying to use the working debian setup for emulation. I created
/emul/linux, symlinked the appropriate directories, and set
kern.emul.linux=1.

Nothing works.

To find out why, i used ktrace on one of the simplest linux binaries
I could imagine (echo). It finds the right linux libraries but fails
thusly:

21723 echo CALL #243 (unimplemented linux_sys_set_thread_area)()
21723 echo PSIG SIGSYS SIG_DFL code 0
21723 echo NAMI "echo.core"

Everything else I tried fails the same way.

I suspect that this error message means that the OpenBSD kernel does
not implement this particular linux system call, which apparently is
made from libc for every program I tried. This would mean that this
linux distribution is entirely incompatible with OpenBSD linux
emulation.

I am hoping that I am wrong about that. Can anyone confirm or
contradict this interpretation?

-- Mark
Reply With Quote