CFT/HEADS-UP: linux 2.6.16 emulation

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Mon Jan 29 09:10:08 UTC 2007


On Mon, Jan 29, 2007 at 02:22:53AM +0300, Boris Samorodov wrote:
> 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

please post those messages about unimplemented syscalls, thnx

> 2. Works but coredumps when exitting:
>    - net/skype

cant reproduce that. I have proceses left when I "click on exit in skype" but I guess
its normal as skype wants to be able to answer a phone call.

> 3. Is not executed (some new... or old libraries are needed):
>    - www/linux-mozilla.

but this doesnt relate to 2.6 emulation, right?

> 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) @ /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) @ /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)

I'll investigate that. thnx


More information about the freebsd-current mailing list