From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 23:52:20 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C92516A402; Sun, 28 Jan 2007 23:52:20 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 81D1A13C471; Sun, 28 Jan 2007 23:52:19 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.41]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l0SNNWFH052920; Mon, 29 Jan 2007 02:23:43 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HBJML-0000Gr-IT; Mon, 29 Jan 2007 02:22:53 +0300 To: Divacky Roman References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> From: Boris Samorodov Date: Mon, 29 Jan 2007 02:22:53 +0300 In-Reply-To: <20070122164926.GA8146@stud.fit.vutbr.cz> (Divacky Roman's message of "Mon, 22 Jan 2007 17:49:26 +0100") Message-ID: <24984594@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@freebsd.org, netchild@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 23:52:20 -0000 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@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) @ /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) ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve