This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Any way to create jail on arm version?
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Any way to create jail on arm version?
I have tested odroid c1 version, and one works fine. Great job, Aoyama-san!
But I could not find a way to create jail on it. basically, I need FreeBSD tarballs, but have found only images at http://ftp.freebsd.org/pub/FreeBSD/snap ... AGES/11.0/
Does any solution exists?
But I could not find a way to create jail on it. basically, I need FreeBSD tarballs, but have found only images at http://ftp.freebsd.org/pub/FreeBSD/snap ... AGES/11.0/
Does any solution exists?
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
I try compille Pi2 for make tarball only. Working machine is HOME server - E350
1.Create jail for compilations and download Freebsd sources
2 . As wrote in https://wiki.freebsd.org/FreeBSD/arm/Ra ... 02%20image , I execute
It begin compille. if success I make tarball
If all success, I'll try compile some for Banana pi .
I put result into http://alexeykr.noip.me/tarball/pi2.xz Please check
1.Create jail for compilations and download Freebsd sources
2 . As wrote in https://wiki.freebsd.org/FreeBSD/arm/Ra ... 02%20image , I execute
Code: Select all
mkdir /mnt/pi2
cd /usr/src
make TARGET_ARCH=armv6 UBLDR_LOADADDR=0x2000000 buildworldCode: Select all
make TARGET_ARCH=armv6 DESTDIR=/mnt/pi2 installworld distributionI put result into http://alexeykr.noip.me/tarball/pi2.xz Please check
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
alexey123, my applause! I have RPI2, but my installation is on odroid c1. But looking on make key, you had used, I suppose to try - no anything PRI2 specific.alexey123 wrote:I put result into http://alexeykr.noip.me/tarball/pi2.xz Please check
So I had created jail by hands as per my old (Russian) post http://2gusia.livejournal.com/28567.html
I had not used TheBrig for having less potential incompatibility points.
Code: Select all
n4fodroid: ~# jls
JID IP Address Hostname Path
1 192.168.1.32 proto.nas4free.local /jail/proto
n4fodroid: ~# jexec 1 tcsh
root@proto:/ # ls
.cshrc bin lib proc sys
.profile boot libexec rescue tmp
.rnd dev media root usr
COPYRIGHT etc mnt sbin var
root@proto:/ #
Code: Select all
Jan 2 21:40:42 n4fodroid root: /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider to migrate to /etc/jail.conf.- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
ups...
so only from ports... If I'll be lucky enough and have enough time
Code: Select all
root@proto:/ # pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:armv6/quarterly, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:10:armv6/quarterly/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
root@proto:/ #
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
PLEASE NOTE!
I compille tarball under 10.2 NAS4Free based jail - so you have 10.2 based tarball. And it work. This is good point, I can by Banana PI board
About warning message - from FreeBSD 9.3 jail must be open over jail.conf https://www.freebsd.org/cgi/man.cgi?que ... tion=5&n=1
See alcatraz - it work over this way
You must build tarball itself on special host , if you want create tarball itself. Jist buld 11-based freebsd and download sources
NOT USE VIRYIAL BOX, because it very slow.
I compille tarball under 10.2 NAS4Free based jail - so you have 10.2 based tarball. And it work. This is good point, I can by Banana PI board
About warning message - from FreeBSD 9.3 jail must be open over jail.conf https://www.freebsd.org/cgi/man.cgi?que ... tion=5&n=1
See alcatraz - it work over this way
You must build tarball itself on special host , if you want create tarball itself. Jist buld 11-based freebsd and download sources
NOT USE VIRYIAL BOX, because it very slow.
Over ports is true wayMikeMac wrote:ups...
so only from ports... If I'll be lucky enough and have enough time
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
yesalexey123 wrote:PLEASE NOTE!
I compille tarball under 10.2 NAS4Free based jail - so you have 10.2 based tarball.
So I should upgrade jail, before I could build from ports...make: "/usr/ports/Mk/bsd.port.mk" line 1172: UNAME_r (11.0-CURRENT) and OSVERSION (1002000) do not agree on major version number.
UPD.
and jail upgrade with try to build world on arm will be even more time consumingalexey123 wrote:NOT USE VIRYIAL BOX, because it very slow.
So I am back - still need tarball for prorer OSVERSION.
But there is good point - now I know - this is possible!
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
Tommorow I'll build FreeBSD 11 on faster CPU, then my E350
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
great! thank youalexey123 wrote:Tommorow I'll build FreeBSD 11 on faster CPU, then my E350
I will be at holidays at my close relatives home, but arm NAS will be with me - I am going to install one here. So I will try you new cooking
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: Any way to create jail on arm version?
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600