Re: CFT/HEADS-UP: linux 2.6.16 emulation

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Mon, 29 Jan 2007 02:22:53 +0300
On Mon, 22 Jan 2007 17:49:26 +0100 Divacky Roman wrote:
> On Sat, Jan 20, 2007 at 05:07:23PM +0100, Alexander Leidinger wrote:

> > today I committed the last fixes for the showstopper problems (panics)
> > in the linux 2.6.16 emulation. I intend to switch the default version
> > to 2.6.16 on i386 "soon" (see below), so please help testing it.

> to be more precise.. we want testing on -current on i386...
> any other report is useles. except for reports from p4 linuxulator
> branch on 2.6/amd64.. 

Here are some test results (for 2.6.16 linux emulation) at:
$ uname -a
FreeBSD bsam.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jan 24 01:58:12 MSK 2007     bsam_at_bsam.ru:/usr/obj/usr/src/sys/GENERIC  i386

...and linux_base-fc6 (a port from my repository), other port
dependencies are from FC4:

1. Just work (sometimes messages about an unimplemented syscall(s) do
appear):
   - print/acroread7
   - www/linux-opera
   - www/linux-firefox
   - www/linux-flashplugin7
   - mail/linux-thunderbird
   - multimedia/linux-realplayer
2. Works but coredumps when exitting:
   - net/skype
3. Is not executed (some new... or old libraries are needed):
   - www/linux-mozilla.

Sometimes (not stable result) I get the following LOR. This one I got
while testing net/skype:
-----
Jan 28 21:11:31 bsam kernel: lock order reversal:
Jan 28 21:11:31 bsam kernel: 1st 0xc0bd58e0 emuldata lock (emuldata lock) _at_ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:67
Jan 28 21:11:31 bsam kernel: 2nd 0xc0bd58a0 emuldata->shared lock (emuldata->shared lock) _at_ /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1613
Jan 28 21:11:31 bsam kernel: KDB: stack backtrace:
Jan 28 21:11:31 bsam kernel: db_trace_self_wrapper(c09442e5) at db_trace_self_wrapper+0x25
Jan 28 21:11:31 bsam kernel: kdb_backtrace(0,ffffffff,c0a525f8,c0a525d0,c09ed16c,...) at kdb_backtrace+0x29
Jan 28 21:11:31 bsam kernel: witness_checkorder(c0bd58a0,1,c0bd2671,64d) at witness_checkorder+0x586
Jan 28 21:11:31 bsam kernel: _sx_slock(c0bd58a0,c0bd2671,64d,0,c49366c0,...) at _sx_slock+0x4c
Jan 28 21:11:31 bsam kernel: linux_exit_group(c49366c0,e69dfd00) at linux_exit_group+0x3f
Jan 28 21:11:31 bsam kernel: syscall(e69dfd38) at syscall+0x256
Jan 28 21:11:31 bsam kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20
Jan 28 21:11:31 bsam kernel: --- syscall (5, Linux ELF, linux_open), eip = 0x2, esp = 0x246, ebp = 0x2825427c ---
Jan 28 21:12:57 bsam kernel: pid 1733 (skype_bin), uid 1001: exited on signal 11 (core dumped)
-----


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Sun Jan 28 2007 - 22:52:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC