From owner-freebsd-emulation@FreeBSD.ORG Sun Dec 28 13:56:56 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDE1D1065679 for ; Sun, 28 Dec 2008 13:56:56 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 43C8D8FC16 for ; Sun, 28 Dec 2008 13:56:55 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id mBSDur7D024205 ; Sun, 28 Dec 2008 14:56:54 +0100 (CET) X-Ids: 166 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id mBSDuqJK070593 ; Sun, 28 Dec 2008 14:56:52 +0100 (MET) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.3/8.13.1/Submit) id mBSDuqu2070590; Sun, 28 Dec 2008 14:56:52 +0100 (MET) (envelope-from arno) To: Roman Divacky References: <20081227220645.GA13295@freebsd.org> From: "Arno J. Klaassen" Date: 28 Dec 2008 14:56:51 +0100 In-Reply-To: <20081227220645.GA13295@freebsd.org> Message-ID: Lines: 87 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.jussieu.fr [134.157.0.166]); Sun, 28 Dec 2008 14:56:54 +0100 (CET) X-Virus-Scanned: ClamAV 0.94.2/8805/Sun Dec 28 13:19:37 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 495785A5.017 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 495785A5.017/134.157.184.22/heho.snv.jussieu.fr/heho.snv.jussieu.fr/ X-j-chkmail-Score: MSGID : 495785A5.017 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.005 -> S=0.005 X-j-chkmail-Status: Ham Cc: emulation@freebsd.org Subject: Re: 7-stable: linux_dist-gentoo-stage3 wonn't bootstrap X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 13:56:56 -0000 Roman Divacky writes: > On Sat, Dec 27, 2008 at 09:55:05PM +0100, Arno J. Klaassen wrote: > > > > Hello, > > > > I'm having serious problems to get MedInria (a medical imaging > > toolchain) run under Linux emulation > > ( http://gforge.inria.fr/frs/?group_id=727&release_id=2488 > > if ever someone would like to try : at my place even the > > simplest graphical action (change tool, open file, etc) > > literally exploses the X-server ...) > > > > so I thought to run it in debugger etc in the > > chroot gentoo : but its bootstrap.sh will not complete, > > for the time being because of : > > > > > > - compat.linux.osrelease 2.4.2 is not supported > > > > - so I installed fc6 and set compat.linux.osrelease to 2.6.16 > > but then the chroot complains with many errors like : > > > > - (find): syscall fstatat64 not implemented > > - (rm): syscall unlinkat not implemented > > - (tar): syscall futimesat not implemented > > - (chmod): syscall fchmodat not implemented > > > > So : > > - does someone have a patch with these at-functions > > (or the svn command to create it) > > that would not be easy.... but 8-current implements those OK, but the maybe the linux_dist-gentoo-stage3 should be marked BROKEN on <8 > > - or can I even bluntly copy the linuxulator from head > > to releng_7 ? > > no... I doubt that would work. > > > try 8-current and stick with that if it works OK, I upgraded this box to 8-current; now the bootstrap.sh 'hangs' when compiling gconv_simple.c (I can provide whole command line ) : top(1) shows : 17547 root 1 76 0 4640K 4048K ppwait 0:05 0.00% gmake 23865 root 1 76 0 4596K 4176K ppwait 0:02 0.00% gmake 23899 root 1 76 0 18152K 16808K pipewr 0:01 0.00% cc1 15076 root 1 76 0 1672K 872K wait 0:00 0.00% sandbox 23898 root 1 76 0 2296K 1428K ppwait 0:00 0.00% i486-pc-linux and dmesg(1) says : t_delta 15.fcd4d7d810818e80 too short lock order reversal: 1st 0xffffff0024436ba8 pseudofs (pseudofs) @ /raid1/bsd/src-current/sys/kern/vfs_vnops.c:531 2nd 0xffffffff80729360 sysctl lock (sysctl lock) @ /raid1/bsd/src-current/sys/kern/kern_sysctl.c:1088 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x65 witness_checkorder() at witness_checkorder+0x859 _sx_xlock() at _sx_xlock+0x55 kernel_sysctl() at kernel_sysctl+0xbc linprocfs_docpuinfo() at linprocfs_docpuinfo+0x84 pfs_read() at pfs_read+0x53c vn_read() at vn_read+0x267 dofileread() at dofileread+0xa1 kern_readv() at kern_readv+0x60 read() at read+0x54 ia32_syscall() at ia32_syscall+0x1ab Xint0x80_syscall() at Xint0x80_syscall+0x60 --- syscall (3, Linux ELF32, read), rip = 0x2812ae7e, rsp = 0xffff9c24, rbp = 0xffff9c38 --- NB, linprocfs is mounted on /compat/linux/proc as well as /usr/local/gentoo-stage3/proc Let me know if you need more info; I'll leave the box in this state for a while Arno