giacomo
(Giacomo Sanchietti)
January 8, 2019, 11:34am
75
I would like to test a couple of issues inside an aarch64 machine, so I’ve created a new scaleway account.
But when creating a new machine, there is no CentOS image available for ARM.
What are the steps to have a running CentOS/NethServer aarch64 machine on Scaleway? Do I need to create my image?
giacomo
(Giacomo Sanchietti)
January 18, 2019, 5:12pm
76
Tested on virtual machine using qemu. Everything good.
Thank you @mark_nl !
1 Like
dz00te
March 1, 2019, 12:17pm
77
i’m just playing a little with some ns76 altarch to see where we are, because i was a litle absent during last two months… anyway, i think that Ultimate ns7 software updates origin policy break yum on altarch
error on software center:
failure: repodata/repomd.xml from ce-base: [Errno 256] No more mirrors to try. http://mirror.centos.org/centos/7.6.1810/os/aarch64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
it seems that mirrorlist.nethserver.org did not handle correctly with altarch, ie if the ce-base seems to redirect to
http://mirror.centos.org/centos/7.6.1810/os/aarch64/repodata/repomd.xml
but there is no such url
to make it work i have disabled from ce-* mirrorlist and changed baseurl, ie:
#baseurl=http://mirror.centos.org/centos/$nsrelease/extras/$basearch/
baseurl=http://mirror.centos.org/altarch/$nsrelease/extras/$basearch/
and i think we should also disable some repo for altarch:
ce-sclo* for armhfp
ce-sclo-sclo for aarch64
someone else had the same problem?
2 Likes
giacomo
(Giacomo Sanchietti)
March 1, 2019, 5:01pm
78
Thanks for reporting, we will look into it!
1 Like
mrmarkuz
(Markus Neuberger)
March 1, 2019, 7:25pm
79
Seems like @Mr.Olie had the same problem:
Unfortuantely there are no native CentOS images available for OdroidC1. It looks like the generic CentOS image comes with mainline kernel and there is dtb file for OdroidC1, I did not see a u-boot image suitable to boot that up, even if it did work, mainline kernel does not yet have full support for OdroidC1. Instead I took the bootloader and the kernel from ArchLinuxARM (something I’m familiar with) and the userland is obviously CentOS.
You can download the image here:
https://drive.google.…
2 Likes
davidep
(Davide Principi)
March 11, 2019, 11:12am
80
Just pushed a fix to mirrorlist.nethserver.org
, would you mind checking it out?
https://github.com/NethServer/mirrorlist/pull/22
2 Likes
giacomo
(Giacomo Sanchietti)
March 11, 2019, 11:14am
81
Just did a quick test using curl, seems good:
curl 'http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=aarch64&nsrelease=7.6.1810'
curl 'http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=armhfp&nsrelease=7.6.1810'
dz00te
March 11, 2019, 11:27am
82
it seems ok to me, for aarch64 and armhfp. tnx!
ops… i talked too early… i’ve done a full update, but now i got error on sclo which didn’t exist for aarch64
more tests, later…
1 Like
davidep
(Davide Principi)
March 11, 2019, 11:55am
83
Please give me the official URLs [or open a PR for them]!
m.traeumner
(Michael Träumner)
March 11, 2019, 12:13pm
84
This is from nethserver repo file:
```
[ce-sclo-sclo]
name=CE-SCLo-sclo-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-s$
#baseurl=http://mirror.centos.org/centos/$nsrelease/sclo/$basearch/sclo/
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
enabled=0
[ce-sclo-rh]
name=CE-SCLo-rh-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-r$
#baseurl=http://mirror.centos.org/centos/$nsrelease/sclo/$basearch/rh/
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
enabled=0
Disabled it manually, like @dz00te said.
dz00te
March 11, 2019, 3:07pm
85
sorry I do not think I understood
the problem is that ther is no official url… i mean if you check a mirrror:
http://dallas.tx.mirror.xygenhosting.com/centos-altarch/7.6.1810/sclo/aarch64/
only sclo-rh exixst for aarch64, while for armhfp there is no sclo* at all
i don’t know if it’s possible to manage this from mirrorlist (that will be probably the best solution), otherwise the only solution i see is to change
“/etc/e-smith/templates/etc/yum.repos.d/NethServer.repo/10base”
check the arch and and enable/disable [ce-sclo-sclo]
and [ce-sclo-rh] depending on the arch… but probably i miss something…
1 Like
davidep
(Davide Principi)
March 11, 2019, 3:20pm
86
Yes, I forgot that …it’s the kind of input I need
IIRC packages that we recompile from EPEL and SCLo as dependencies for our modules will go to nethserver-updates/armhfp. Wherever an upstream mirror exists, mirrorlist will point to it.
Otherwise it could point to an empty/dummy repo and its packages are expected to be in nethserver-updates (or nethserver-base).
3 Likes
ftimmers
(Frank Timmers)
August 25, 2019, 11:50am
87
Yesterday I was able to install CentOS on a new Raspberry Pi4 2GB via this link:
https://www.centos.org/forums/viewtopic.php?f=49&t=71407&p=300229#p300246
After expanding the root partition I inserted the uSD into the Pi and was able to install NethServer:
yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm
nethserver-install
I had still some problems:
repo’s ce-sclo-sclo and ce-sclo-rh still had to be disabled manually; I don’t know the implication of this;
openVPN could not be installed;
rspamd as part of nethserver-mail-filter could not be installed.
What are the options to solve these problems?
1 Like
giacomo
(Giacomo Sanchietti)
August 26, 2019, 6:53am
88
You shouldn’t have any major drawbacks.
ftimmers:
openVPN could not be installed;
rspamd as part of nethserver-mail-filter could not be installed.
I have no idea on this.
I don’t know The ARM project is community driven but it’s a little bit stuck.
Maybe @dz00te or other ARM users can help to solve your problems
stephdl
(Stéphane de Labrusse)
August 26, 2019, 5:41pm
89
The rspamd rpm has been done manually by @mark_nl AFAIK, maybe he can upgrade the version or share his note to do it ourself ?
the last src.rpm I know is : http://packages.nethserver.org/nethserver/7/arm-base/Source/SPackages/rspamd-1.8.2-1.ns7.src.rpm
1 Like
ftimmers
(Frank Timmers)
August 27, 2019, 7:40am
90
Installation of nethserver-mail-filter requires rspamd ≥ 1.9.1. I really have no idea how to upgrade this. @mark_nl can you point me in the right direction?
I hope the ARM project stays alive. Older Pi’s were not so powerfull; other boards were more powerfull, but I wasn’t able to install a recent version of Centos on it. I believe the new Pi4 will change this and might be a energy-saving server for soho-use.
1 Like
m.traeumner
(Michael Träumner)
August 27, 2019, 9:55am
91
I think it’s the same problem as with evebox, it’s not compiled for arm in the new version.
Hello
We( @m.traeumner and me ) tried to install the IPS-package in the software center which fails with an error during evebox installation.
We tried to install the evebox-package manually and we get the following error:
Error: Package: nethserver-evebox-1.2.0-1.ns7.noarch (nethserver-updates)
Requires: evebox >= 0.10.2
Available: evebox-0.9.1-1.fc27.armv7hl (nethserver-base)
evebox = 0.9.1-1.fc27
The version in the status dashboard says the following :
S…
Perhaps @smutje1179 can help with compiling
2 Likes
stephdl
(Stéphane de Labrusse)
August 27, 2019, 3:35pm
92
well I can build locally rspamd for x86_64, probably more to know for ARM, wait and see
Thank @mark_nl for the spec file
1 Like
mark_nl
(Mark Verlinde)
August 27, 2019, 7:59pm
93
Yes it could be, main restraint was the 1G ram with 2G or more it should perform much better!
@ftimmers give me a couple of days to update/(re)compile nethserver dependencies like rspamd for armhfp.
(Sorry for being a lousy community member…)
6 Likes