Mandatory to upgrade to 7.0 for linux kernel 2.6.16?

Alexander Leidinger Alexander at Leidinger.net
Thu Mar 29 16:05:14 UTC 2007


Quoting Boris Samorodov <bsam at 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


More information about the freebsd-emulation mailing list