List Info

Thread: emul.linux32 error: Inconsistency detected by ld.so




emul.linux32 error: Inconsistency detected by ld.so
user name
2006-08-15 20:47:47
Hi,

I have a NetBSD 4.0_BETA/amd64 running with
meta-pkg/suse-10.0nb3
installed in /emul/linux and a working slackware (v 10.2,
i386)
installation mounted on /emul/linux32. When I try to run the
linux 32bits
apps, I get the error:
Inconsistency detected by ld.so: dl-minimal.c: 84:
__libc_memalign:
Assertion `page != ((void *) -1)' failed!
If I untar the emulators/suse* packages (build for
4.0_BETA/i386), it
seems to work.

Here are the commands (suse64, suse32, slackware32):
# /emul/linux/bin/uname -a
Linux atheria.tumfatig.net 2.4.18 #0 Wed Feb 20 20:00:02 CET
2002 x86_64
x86_64 x86_64 GNU/Linux
# /emul/linux32/bin/uname -a
Linux atheria.tumfatig.net 2.4.18 #0 Wed Feb 20 20:00:02 CET
2002 x86_64
x86_64 x86_64 GNU/Linux
# /emul/linux32/bin/uname -a
Inconsistency detected by ld.so: dl-minimal.c: 84:
__libc_memalign:
Assertion `page != ((void *) -1)' failed!

From the 4.0_BETA/i386 installation, I can run the slackware
binaries.

Here's a few info about my kernel:
#  sysctl -a | grep linux
emul.linux.kern.ostype = Linux
emul.linux.kern.osrelease = 2.4.18
emul.linux.kern.osversion = #0 Wed Feb 20 20:00:02 CET 2002
emul.linux32.kern.ostype = Linux
emul.linux32.kern.osrelease = 2.4.18
emul.linux32.kern.osversion = #0 Wed Feb 20 20:00:02 CET
2002

# strings /netbsd | egrep 'COMPAT_|EXEC_'
_CFG_options \011COMPAT_15\011# compatibility with NetBSD
1.5,
_CFG_options \011COMPAT_16\011# NetBSD 1.6,
_CFG_options \011COMPAT_20\011# NetBSD 2.0,
_CFG_options \011COMPAT_30\011# NetBSD 3.0 compatibility.
_CFG_options \011COMPAT_43\011# and 4.3BSD
_CFG_options \011COMPAT_386BSD_MBRPART # recognize old
partition ID
_CFG_options \011COMPAT_NETBSD32
_CFG_options \011COMPAT_LINUX
_CFG_options \011COMPAT_LINUX32\011# req. COMPAT_LINUX and
COMPAT_NETBSD32
_CFG_options \011EXEC_ELF32
_CFG_options\011\011EXEC_AOUT
_CFG_options\011\011COMPAT_BSDPTY\011# /dev/[pt]ty??
ptys.
_CFG_options \011WSDISPLAY_COMPAT_PCVT\011\011# emulate
some ioctls
_CFG_options \011WSDISPLAY_COMPAT_SYSCONS\011# emulate
some ioctls
_CFG_options \011WSDISPLAY_COMPAT_USL\011\011# VT
handling
_CFG_options \011WSDISPLAY_COMPAT_RAWKBD\011\011# can get
raw scancodes
_CFG_#options VERIFIED_EXEC_FP_RMD160
_CFG_#options VERIFIED_EXEC_FP_SHA256
_CFG_#options VERIFIED_EXEC_FP_SHA384
_CFG_#options VERIFIED_EXEC_FP_SHA512
_CFG_#options VERIFIED_EXEC_FP_SHA1
_CFG_#options VERIFIED_EXEC_FP_MD5
_CFG_###> options \011EXEC_ELF64\011# exec ELF binaries
_CFG_###> options \011EXEC_SCRIPT\011# exec #! scripts


any ideas ?
TIA,
    Jo


emul.linux32 error: Inconsistency detected by ld.so
user name
2006-08-16 14:51:05
On Tue, Aug 15, 2006 at 10:47:47PM +0200, joelcarnat.net wrote:
> Hi,
> 
> I have a NetBSD 4.0_BETA/amd64 running with
meta-pkg/suse-10.0nb3
> installed in /emul/linux and a working slackware (v
10.2, i386)
> installation mounted on /emul/linux32. 

The whole installation? Including /dev ?

Pavel
emul.linux32 error: Inconsistency detected by ld.so
user name
2006-08-16 15:30:06
yes, I have only one partition where the whole Linux system
fits.

# ls /emul/linux32/dev/
./                hde26             intel_rng         ptyce 
           tty14
../               hde27             ipauth            ptycf 
           tty15
MAKEDEV*          hde28             ipl               ptyd0 
           tty16
README.MAKEDEV    hde29             ipnat             ptyd1 
           tty17
X0R 
            hde3              ippp0             ptyd2       
     tty18
admmidi0          hde30             ippp1             ptyd3 
           tty19
admmidi1          hde31             ippp10            ptyd4 
           tty2
admmidi2          hde32             ippp11            ptyd5 
           tty20

#  /bin/ls -1 /emul/linux32/dev | wc -l
    2570

I'm not sure how it could matters but the partition was
formatted in EXT3
but mounted with ext2fs. And the same behaviour occured
without EXEC_AOUT
configured (that is with GENERIC).

On Wed, August 16, 2006 16:51, Pavel Cahyna wrote:
> On Tue, Aug 15, 2006 at 10:47:47PM +0200, joelcarnat.net wrote:
>
>> Hi,
>>
>>
>> I have a NetBSD 4.0_BETA/amd64 running with
meta-pkg/suse-10.0nb3
>> installed in /emul/linux and a working slackware (v
10.2, i386)
>> installation mounted on /emul/linux32.
>
> The whole installation? Including /dev ?
>
>
> Pavel
>
>


emul.linux32 error: Inconsistency detected by ld.so
user name
2006-08-16 21:30:19
On Wed, Aug 16, 2006 at 05:30:06PM +0200, joelcarnat.net wrote:
> yes, I have only one partition where the whole Linux
system fits.
> 
> # ls /emul/linux32/dev/
> ./                hde26             intel_rng        
ptyce             tty14
> ../               hde27             ipauth           
ptycf             tty15
> MAKEDEV*          hde28             ipl              
ptyd0             tty16
> README.MAKEDEV    hde29             ipnat            
ptyd1             tty17
> X0R              hde3              ippp0            
ptyd2             tty18
> admmidi0          hde30             ippp1            
ptyd3             tty19
> admmidi1          hde31             ippp10           
ptyd4             tty2
> admmidi2          hde32             ippp11           
ptyd5             tty20
> 
> #  /bin/ls -1 /emul/linux32/dev | wc -l
>     2570

Don't do this. You can for example null mount /dev to
/mnt/linux32/dev to
hide the original.

Pavel
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )