Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 18:05:02 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Mandatory to upgrade to 7.0 for linux kernel 2.6.16?
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (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 <your application in question>
> brandelf <your application in question>
> -----
> Where <your application in question> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070329180502.5bf3a72c>