NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/40081: Linux emulation does not work with Debian lenny i386 binaries



>Number:         40081
>Category:       port-amd64
>Synopsis:       The Linux kernel API changed too much for emulation to work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 02 13:35:00 +0000 2008
>Originator:     Pierre Pronchery <khorben%defora.org@localhost>
>Release:        NetBSD 5.0_BETA
>Organization:
>Environment:
System: NetBSD syn.defora.rom 5.0_BETA NetBSD 5.0_BETA (GENERIC) #12: Thu Nov 
27 17:49:36 CET 2008 
khorben%syn.defora.rom@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I have a Debian lenny i386 install accessible from my NetBSD/amd64
machine. Using chroot usually works to get a working shell and run some
applications this way, but it is no longer the case:

A change was apparently made in Linux between version 2.6.0 and 2.6.18
WRT thread-local storage. NetBSD's 32-bit Linux emulation does not seem
to cover it.

>How-To-Repeat:

$ sudo /usr/bin/env -i HOME=/root /usr/sbin/chroot destdir-lenny-i386 \
/bin/sh
FATAL: kernel too old
$ sudo sysctl -w emul.linux32.kern.osrelease=2.6.18
emul.linux32.kern.osrelease: 2.6.0 -> 2.6.18
$ sudo /usr/bin/env -i HOME=/root /usr/sbin/chroot destdir-lenny-i386 \
/bin/sh
cannot set up thread-local storage: set_thread_area failed when setting up 
thread-local storage

>Fix:

None known.



Home | Main Index | Thread Index | Old Index