Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 18:49:30 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Sven Stauss <sven.stauss@gmx.ch>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Mandatory to upgrade to 7.0 for linux kernel 2.6.16?
Message-ID:  <43883381@serv3.int.kfs.ru>
In-Reply-To: <10E0B922-FBBD-4E2B-94C9-B04455DFB582@gmx.ch> (Sven Stauss's message of "Thu, 29 Mar 2007 10:14:33 %2B0900")
References:  <46003EA9.6060305@gmail.com> <10E0B922-FBBD-4E2B-94C9-B04455DFB582@gmx.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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).


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



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