From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 29 16:05:14 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4795916A403 for ; Thu, 29 Mar 2007 16:05:14 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 0110A13C483 for ; Thu, 29 Mar 2007 16:05:13 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5E7B7.dip.t-dialin.net [84.165.231.183]) by redbull.bpaserver.net (Postfix) with ESMTP id 5D2E02E177; Thu, 29 Mar 2007 18:05:05 +0200 (CEST) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 8EE575B4817; Thu, 29 Mar 2007 18:05:02 +0200 (CEST) Date: Thu, 29 Mar 2007 18:05:02 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20070329180502.5bf3a72c@Magellan.Leidinger.net> In-Reply-To: <43883381@serv3.int.kfs.ru> References: <46003EA9.6060305@gmail.com> <10E0B922-FBBD-4E2B-94C9-B04455DFB582@gmx.ch> <43883381@serv3.int.kfs.ru> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.9; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Mandatory to upgrade to 7.0 for linux kernel 2.6.16? 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: Thu, 29 Mar 2007 16:05:14 -0000 Quoting Boris Samorodov (Thu, 29 Mar 2007 18:49:30 +0400): > On Thu, 29 Mar 2007 10:14:33 +0900 Sven Stauss wrote: > > > P.S . Running the programs under truss I typically get the following > > output: > > > truss: execution type Linux ELF32 is not supported -- using FreeBSD > > ELF64: Unknown error: 0 > > truss: execution type Linux ELF32 is not supported -- using FreeBSD > > ELF64: Invalid argument > > ktrace(0x1) = 146112512 (0x8b58000) > > settimeofday(0x0) = 0 (0x0) > > access("",680748704) ERR#-2 'Unknown error: -2' > > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > > open("",O_SHLOCK|O_FSYNC|O_EXCL|O_DIRECT|0x28926000,01) = 3 (0x3) > > mmap(0x2,3,PROT_EXEC| > > 0x28935fc0,0x0,4996820062306259536,0x3339383278307c43) = 0 (0x0) > > dup2(0x28936628) = 680751104 (0x28937000) > > close(680751104) = 0 (0x0) > > ... > > Can you show some other info: > ----- > uname -a > /compat/linux/bin/uname -a > kldstat -v | grep linux > sysctl -a | grep linux > ls -ld /var/db/pkg/linux* > file > brandelf > ----- > Where actually is a binary file which is > running (not a script). Boris, truss does not decode linux syscalls ("Linux ELF32" not supported... I would be happy to get proven wrong). And he is trying to run with osrelease=2.6.16 on 6.2. Any time spent on getting more info about this is useless because the kernel doesn't support this. Even on -current it would be useless to request more debugging stuff, as long as the amd64 part is not synced with i386 (TLS + futexes) or the p4 patches are used. Bye, Alexander. -- ports/net/netcat port is useful not only for redirecting input/output to TCP or UDP connections, but also for proxying them with inetd(8). http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137