linux compat: path problem? /compat/linux/bin/sh doesn't work!

Michael Ross michael.ross at gmx.net
Mon Feb 11 18:05:37 UTC 2008


Am 11.02.2008, 18:53 Uhr, schrieb Wojciech Puchar  
<wojtek at wojtek.tensor.gdynia.pl>:

>>>  if not set it and rerun /etc/rc.d/abi
>>
>> serafina# kldload linux
>>
>> serafina# /etc/rc.d/abi start
>> Additional ABI support:.
>>
>
> should be
> Additional ABI support:linux.
>
> you miss
>
> linux_enable="YES"
>
> in rc.conf

If I linux_enable in rc.conf, the ABI linux support is there.
- is it unreasonable to assume it _should_ be there if I kldload the  
module and restart abi afterwards? -

Nevertheless:

serafina# grep linux_enable /etc/rc.conf
linux_enable="YES"

serafina# dmesg -a | grep -A1 ABI
Additional ABI support:
  linux

serafina# /etc/rc.d/abi restart
Additional ABI support: linux.

serafina# /compat/linux/bin/sh
sh-3.00# ls
ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS  
ABI invalid


Michael


More information about the freebsd-questions mailing list