538a539,589 > > > > >
> > kernel Panic, cannot set up thread-local storage > >
>
> Your UML kernel doesn't support Native Posix Thread Library and the binaries > you're running are being dynamically linked to the NTPL libraries. >

> You can boot moving the NTPL libraries away. > > If you're running Debian, you can get away with: >

>  # mount root_fs mnt-uml/ -o loop
>  # echo "LD_ASSUME_KERNEL=2.4.1" >> /mnt-uml/etc/environment
>  # umount mnt-uml/
> 
> > It seems that using /etc/environment is Debian specific, > as
discussed here. > > The LD_ASSUME_KERNEL=2.4.1 environment variable precludes > the dynamic linker from using the NTPL libraries, as explained > here. > > If you decide to move away /lib/tls/ and you're running Debian, you might > prefer to use dpkg-divert. >

>   # export LD_ASSUME_KERNEL=2.4.1
>   # mount root_fs mnt-uml/ -o loop
>   # chroot mnt-uml
>   # mkdir /lib/tls.off
>   # cd /lib/tls
>   # pwd
>   #  for f in *;
>      do
>        dpkg-divert --divert --local --rename --divert /lib/tls.off/$f --add /lib/tls/$f;
>      done
>   # exit
>   # umount mnt-uml
> 
>
>