Subject: Re: Re: emul.linux32 error: Inconsistency detected by ld.so
To: Pavel Cahyna <pavel@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: port-amd64
Date: 08/17/2006 00:07:40
--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
This doesn't work :(
# sudo mount -t null /dev /emul/linux32/dev
# ls /emul/linux32/dev/
=2E/ fd0b raid2f rld2a rvnd2e =
ttyCZ0055
=2E./ fd0c raid2g rld2b rvnd2f =
ttyCZ0056
MAKEDEV* fd0d raid2h rld2c rvnd2g =
ttyCZ0057
MAKEDEV.local* fd0e raid2i rld2d rvnd2h =
ttyCZ0058
agp0 fd0f raid2j rld2e rvnd2i =
ttyCZ0059
agpgart@ fd0g raid2k rld2f rvnd2j =
ttyCZ0060
altq/ fd0h raid2l rld2g rvnd2k =
ttyCZ0061
amr0 fd0i raid2m rld2h rvnd2l =
ttyCZ0062
atabus0 fd0j raid2n rld2i rvnd2m =
ttyCZ0063
atabus1 fd0k raid2o rld2j rvnd2n =
ttyE0
(...)
# /emul/linux32/bin/uname -a
Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Asserti=
on `page !=3D ((void *) -1)' failed!
Also I tried to simply rename the linux dev directory but the same error oc=
curs :-/
# sudo mv /emul/linux32/dev /emul/linux32/dev.old
# ls /emul/linux32/dev
ls: /emul/linux32/dev: No such file or directory
# /emul/linux32/bin/uname -a
Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Asserti=
on `page !=3D ((void *) -1)' failed!
Running the app as root or simple user doesn't change the behaviour.
Also the kind of binary looks (quite) the same:
(slack) # file /emul/linux32/bin/uname=20
/emul/linux32/bin/uname: ELF 32-bit LSB executable, Intel 80386, version 1 =
(SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU=
/Linux 2.0.0, stripped
(suse) # file /emul/linux32/bin/uname=20
/emul/linux32/bin/uname: ELF 32-bit LSB executable, Intel 80386, version 1 =
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU=
/Linux 2.2.5, stripped
On Wed, Aug 16 2006 - 23:30, Pavel Cahyna wrote:
>=20
> Don't do this. You can for example null mount /dev to /mnt/linux32/dev to
> hide the original.
>=20
> Pavel
--Q68bSM7Ycu6FN28Q
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFE45cs0/VH7L7F7Y4RApgRAJ9kZOyiHMx4SVrIMPZF4V5ny2m+BwCfY9OC
qA30NSM5MnZg6cwyZcph23A=
=QyJW
-----END PGP SIGNATURE-----
--Q68bSM7Ycu6FN28Q--