Wasurerarenai
Dabbler
- Joined
- Jun 28, 2011
- Messages
- 15
Back in FreeNAS 7 is had built a 32bit Jail on a FreeNAS amd64 host. The amd64 kernel back then was compiled with 32bit binary execution support in the kernel. FreeNAS 8 amd64 kernel is missing this support and there is no /usr/lib32/ directory that 32bit apps can use. I would simply like the amd64 kernel to be built with the "options COMPAT_FREEBSD32" option so future builds have 32bit compatibility.
I compiled the kernel from SVN with this option and was successfully able to start my jail (which I 32bit recompiled under FreeNAS 8). Without this option compiled into the kernel I get the following error trying to start the jail.
Kernel Options for amd64 Kernel:
Missing:
Thanks,
Mike
I compiled the kernel from SVN with this option and was successfully able to start my jail (which I 32bit recompiled under FreeNAS 8). Without this option compiled into the kernel I get the following error trying to start the jail.
Code:
[root@freenas /]# /etc/rc.d/jail start Configuring jails:. Starting jails: cannot start jail "x86_test": jail: execvp: /bin/sh: Exec format error
Kernel Options for amd64 Kernel:
Code:
https://freenas.svn.sourceforge.net/svnroot/freenas/trunk/nanobsd/FREENAS.amd64
Missing:
Code:
options COMPAT_FREEBSD32 # Compatible with i386 binaries
Thanks,
Mike