Linux emulation [was: Re: shared memory borked?]

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Wed Jul 30 13:45:18 PDT 2003


Something is happening with the Linux emulation layer.

Try reinstalling linux_base from ports:

[22:32] [root at purgatory] (37) {0} # make install
===>  Installing for linux_base-7.1_5
===>   Generating temporary packing list
===>  Checking if emulators/linux_base already installed
kern.fallback_elf_brand: 3 -> 3
glibc-common-2.2.4-32.i386.rpm
glibc-2.2.4-32.i386.rpm
redhat-release-7.1-1.noarch.rpm
setup-2.4.7-1.noarch.rpm
filesystem-2.0.7-1.noarch.rpm
basesystem-7.0-2.noarch.rpm
termcap-11.0.1-8.noarch.rpm
db1-1.85-5.i386.rpm
execution of db1-1.85-5 script failed, exit status 0
*** Error code 1

At the same time:

Jul 30 22:33:11 purgatory /kernel: pid 20316 (ldconfig), uid 0: exited
on signal 11 (core dumped)

[22:33] [root at purgatory] (38) {1} # rpm -qp --scripts /usr/ports/distfiles/rpm/db3-3.1.17-7.i386.rpm
postinstall program: /sbin/ldconfig
postuninstall program: /sbin/ldconfig

/sbin/ldconfig is installed by glibc-2.2.4-32.i386.rpm.

[22:35] [root at purgatory] (42) {0} # file /usr/compat/linux/sbin/ldconfig 
/usr/compat/linux/sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), for GNU/Linux 2.2.5, statically linked, stripped

Note the SYSV.

Odd though, since the fallback brand is set to 3.

[22:40] [root at purgatory] (53) {139} # brandelf -t Linux /usr/compat/linux/sbin/ldconfig
(/usr/ports/emulators/linux_base)
[22:40] [root at purgatory] (54) {0} # file /usr/compat/linux/sbin/ldconfig
/usr/compat/linux/sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), for GNU/Linux 2.2.5, statically linked, stripped
(/usr/ports/emulators/linux_base)
[22:40] [root at purgatory] (55) {0} # /usr/compat/linux/sbin/ldconfig
zsh: segmentation fault (core dumped)  /usr/compat/linux/sbin/ldconfig

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
Infinite Dreams, I can't deny them, Infinity is hard to comprehend...





More information about the Kernel mailing list