How to install OMV5 in HC4

Post Reply
dvpfig
Posts: 12
Joined: Tue Oct 27, 2020 6:06 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 0
Contact:

How to install OMV5 in HC4

Post by dvpfig »

Hi,

Anyone has managed to install OMV5 in the new HC4 board?
I wonder if there is a good step by step instruction, the instructions in OMV indicate to install armbian buster but there is only one for C4 and not HC4 yet.

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

If you can use non-Armbian OS, you can try my custom Debian Installation and run the OMV installation commands.
The Debian installation on HC4 is easy if you follow the instruction, you only need to prepare a storage to install, uSD or SSD/HDD.


Once you have installed Debian, follow the instruction in the page.
https://openmediavault.readthedocs.io/e ... ebian.html
These users thanked the author tobetter for the post (total 2):
superpowter77 (Tue Nov 03, 2020 1:51 pm) • DHGE (Thu Nov 05, 2020 2:30 am)

dvpfig
Posts: 12
Joined: Tue Oct 27, 2020 6:06 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to install OMV5 in HC4

Post by dvpfig »

Oh, this is great.

I missed the part when you choose where should the OS be installed (SSD or HDD). Is that a selection in the Debian installation? or is it during netbook_installer?

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

dvpfig wrote:
Mon Nov 02, 2020 5:11 am
Oh, this is great.

I missed the part when you choose where should the OS be installed (SSD or HDD). Is that a selection in the Debian installation? or is it during netbook_installer?
In the Debian Installation.

netboot_installer command is to load the installer, and the installer is almost idential to genuine Debian Installer.

dvpfig
Posts: 12
Joined: Tue Oct 27, 2020 6:06 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to install OMV5 in HC4

Post by dvpfig »

Hi tobetter,

I have received the HC4, I'm following your instructions but it does not start OS installation.

I have an appropriate PSU from Hardkernel 15V/4A, and using one Samsung 860 Evo 1TB SSD in one of the slots.

Once the board starts, and enters in petitboot (version 20201005).
The steps (as your video):
1. Exit to Shell
2. netboot_default
3. exit
4. Debian 10

It indicates in the bottom line that it starts downloading the images, it completes download of two files (10 seconds).
Then the screen goes blank and the board stays unresponsive (until I power off and power it back on).

It has the same behavior with Debian or Ubuntu.

Should I do an update of Petitboot with pb-update command?

User avatar
istanbulls
Posts: 378
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 233 times
Been thanked: 53 times
Contact:

Re: How to install OMV5 in HC4

Post by istanbulls »

dvpfig wrote:
Tue Nov 03, 2020 5:13 am
Hi tobetter,

I have received the HC4, I'm following your instructions but it does not start OS installation.

I have an appropriate PSU from Hardkernel 15V/4A, and using one Samsung 860 Evo 1TB SSD in one of the slots.

Once the board starts, and enters in petitboot (version 20201005).
The steps (as your video):
1. Exit to Shell
2. netboot_default
3. exit
4. Debian 10

It indicates in the bottom line that it starts downloading the images, it completes download of two files (10 seconds).
Then the screen goes blank and the board stays unresponsive (until I power off and power it back on).

It has the same behavior with Debian or Ubuntu.

Should I do an update of Petitboot with pb-update command?
Have you updated the petitboot?
If you didn't, exit the shell and enter # pb-update, it will do it itself.

viewtopic.php?f=206&t=40727

dvpfig
Posts: 12
Joined: Tue Oct 27, 2020 6:06 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to install OMV5 in HC4

Post by dvpfig »

istanbulls wrote:
Tue Nov 03, 2020 5:47 am

Have you updated the petitboot?
If you didn't, exit the shell and enter # pb-update, it will do it itself.

viewtopic.php?f=206&t=40727
I have updated petitboot to latest version (20201101) and still the same effect: Not possible to install either Debian or Ubuntu.

it's a pity that petitboot is not working since it was one of the main reasons for me to buy this board so I wouldn't need a uSD card.

Can someone point me to a topic explaining how I can boot with uSD card and then have the OS on the SSD drive?

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

dvpfig wrote:
Wed Nov 04, 2020 6:31 am
istanbulls wrote:
Tue Nov 03, 2020 5:47 am

Have you updated the petitboot?
If you didn't, exit the shell and enter # pb-update, it will do it itself.

viewtopic.php?f=206&t=40727
I have updated petitboot to latest version (20201101) and still the same effect: Not possible to install either Debian or Ubuntu.

it's a pity that petitboot is not working since it was one of the main reasons for me to buy this board so I wouldn't need a uSD card.

Can someone point me to a topic explaining how I can boot with uSD card and then have the OS on the SSD drive?
Are you having the display black issue now?
Do you see the blue LED blinks when the screen becomes black?
What's you display brand and model?
Can you try another 1080P display?

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

Hey tobetter - I've just got my HC4 today and I tried following your video but when I get to installing the kernel it fails. Specifically

Code: Select all

linux-image-generic
is missing

Code: Select all

linux-image-5.9.0-odroid
as a dependency. Any idea why?

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mitt wrote:
Fri Nov 06, 2020 2:23 am
Hey tobetter - I've just got my HC4 today and I tried following your video but when I get to installing the kernel it fails. Specifically

Code: Select all

linux-image-generic
is missing

Code: Select all

linux-image-5.9.0-odroid
as a dependency. Any idea why?
Did you start the Debian Netboot Installer?
Can you capture the error log or screen?
Are you trying to install to SD or SSD/HDD?
These users thanked the author tobetter for the post:
mitt (Fri Nov 06, 2020 3:16 am)

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

Yes I'm using the Debian 10 (Buster) netboot installer after updating petitboot. The specific error is

Code: Select all

in-target: The following packages have unmet dependencies:
in-target:  linux-image-generic : Depends: linux-image-5.9.0-odroid-arm64 but it is not installable
I'm trying to install it to a 32GB SD card. I've got the logs loaded up so I can transcribe any you need but there's no CURL installed so I can't upload the logs anywhere or get them onto another machine.

EDIT: Sorry tobetter, forgot to tag you.

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

tobetter wrote:
Fri Nov 06, 2020 2:27 am
Can you capture the error log or screen?
Just saw I could pull it off a webserver that the installer sets up - here are the logs from the first mention of anything odroid related:
https://pastebin.com/ytdJPPQg

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

I've just checked your repository and there's no linux-image-5.9.0-odroid-arm64 for buster, only for focal and groovy tobetter.

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mitt wrote:
Fri Nov 06, 2020 6:29 am
I've just checked your repository and there's no linux-image-5.9.0-odroid-arm64 for buster, only for focal and groovy tobetter.
Sorry for that cause. Somehow the package is removed last night, even though I've helped a couple of users who had a difficulty to install to SD card. Anyway, I pushed new kernel package 5.9 for Debian Buster to my package repository. So you would be able to install using the Netboot Installer, I've tested twice with my ODROID-HC4.

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

tobetter wrote:
Fri Nov 06, 2020 11:00 am
Sorry for that cause. Somehow the package is removed last night, even though I've helped a couple of users who had a difficulty to install to SD card. Anyway, I pushed new kernel package 5.9 for Debian Buster to my package repository. So you would be able to install using the Netboot Installer, I've tested twice with my ODROID-HC4.
Great, thanks it all seems to be working great now and the OMV install was very quick. Only issue I've found now is some dependency shenanigans with odroid-homecloud-display and luma.core/luma.lcd. Just thought you'd want to know!

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mitt wrote:
Fri Nov 06, 2020 8:29 pm
tobetter wrote:
Fri Nov 06, 2020 11:00 am
Sorry for that cause. Somehow the package is removed last night, even though I've helped a couple of users who had a difficulty to install to SD card. Anyway, I pushed new kernel package 5.9 for Debian Buster to my package repository. So you would be able to install using the Netboot Installer, I've tested twice with my ODROID-HC4.
Great, thanks it all seems to be working great now and the OMV install was very quick. Only issue I've found now is some dependency shenanigans with odroid-homecloud-display and luma.core/luma.lcd. Just thought you'd want to know!
Thanks, this helps me a lot to know what to do. For sure, you are installed Debian 10 on SD card, not SATA storage...right?

For the package dependency issue, another user had fixed it...so please refer to the link.
viewtopic.php?p=310377#p310377

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

tobetter wrote:
Fri Nov 06, 2020 8:32 pm
Thanks, this helps me a lot to know what to do. For sure, you are installed Debian 10 on SD card, not SATA storage...right?

For the package dependency issue, another user had fixed it...so please refer to the link.
viewtopic.php?p=310377#p310377
Yep, it's definitely on my SD card since I wiped my hard drive and reformatted it in OMV. Thanks for the link!
These users thanked the author mitt for the post:
tobetter (Fri Nov 06, 2020 9:13 pm)

dvpfig
Posts: 12
Joined: Tue Oct 27, 2020 6:06 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to install OMV5 in HC4

Post by dvpfig »

tobetter wrote:
Wed Nov 04, 2020 6:39 am
dvpfig wrote:
Wed Nov 04, 2020 6:31 am
istanbulls wrote:
Tue Nov 03, 2020 5:47 am

Have you updated the petitboot?
If you didn't, exit the shell and enter # pb-update, it will do it itself.

viewtopic.php?f=206&t=40727
I have updated petitboot to latest version (20201101) and still the same effect: Not possible to install either Debian or Ubuntu.

it's a pity that petitboot is not working since it was one of the main reasons for me to buy this board so I wouldn't need a uSD card.

Can someone point me to a topic explaining how I can boot with uSD card and then have the OS on the SSD drive?
Are you having the display black issue now?
Do you see the blue LED blinks when the screen becomes black?
What's you display brand and model?
Can you try another 1080P display?
Yes, it was an old 1080P LG TV that was the problem. I switched to a recent computer display and it went ahead with the Debian install.

Then I got stuck in another problem with a red screen not able to install the linux-kernel. But I will try again today. Good to see some users managed to go all the way.

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

dvpfig wrote:
Sat Nov 07, 2020 8:04 pm
tobetter wrote:
Wed Nov 04, 2020 6:39 am
dvpfig wrote:
Wed Nov 04, 2020 6:31 am
istanbulls wrote:
Tue Nov 03, 2020 5:47 am

Have you updated the petitboot?
If you didn't, exit the shell and enter # pb-update, it will do it itself.

viewtopic.php?f=206&t=40727
I have updated petitboot to latest version (20201101) and still the same effect: Not possible to install either Debian or Ubuntu.

it's a pity that petitboot is not working since it was one of the main reasons for me to buy this board so I wouldn't need a uSD card.

Can someone point me to a topic explaining how I can boot with uSD card and then have the OS on the SSD drive?
Are you having the display black issue now?
Do you see the blue LED blinks when the screen becomes black?
What's you display brand and model?
Can you try another 1080P display?
Yes, it was an old 1080P LG TV that was the problem. I switched to a recent computer display and it went ahead with the Debian install.

Then I got stuck in another problem with a red screen not able to install the linux-kernel. But I will try again today. Good to see some users managed to go all the way.
I've reported the same problem that Linux kernel cannot be installed when installing to SD card. It has been fixed Nov/6 KST, so if you had tried earlier then it would work now.

Feel free to ping me when you have another problem.

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

Hey Tobetter, I’m wondering if you’ve tried installing docker and plex onto OMV5 on the HC4 with the linuxserver/plex image. I’ve been trying most of today but something funny is going on which is dropping DNS packets from the container so you can’t communicate with plex’s central servers to claim the server to your account.

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mitt wrote:
Sun Nov 08, 2020 1:40 am
Hey Tobetter, I’m wondering if you’ve tried installing docker and plex onto OMV5 on the HC4 with the linuxserver/plex image. I’ve been trying most of today but something funny is going on which is dropping DNS packets from the container so you can’t communicate with plex’s central servers to claim the server to your account.
I have no issue to install Docker containers, but have not tried to install Plex.
How did you install Plex server/container?
Can you share the log if you have?

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

tobetter wrote:
Sun Nov 08, 2020 7:35 am
I have no issue to install Docker containers, but have not tried to install Plex.
How did you install Plex server/container?
Can you share the log if you have?
This is the compose file I used:

Code: Select all

 
version: "2.1"
services:
  plex:
    image: ghcr.io/linuxserver/plex
    container_name: plex
    network_mode: host
    environment:
      - PUID=1001
      - PGID=100
      - VERSION=latest
    volumes:
      - /home/orca/.config/plex:/config
      - /media/tv:/tv
      - /media/movies:/movies
    restart: unless-stopped
The specific error is

Code: Select all

> cat ~/.config/plex/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log | grep claim
Nov 07, 2020 14:57:00.925 [0xffff737fe1a0] DEBUG - Request: [192.168.0.218:63209 (Subnet)] POST /myplex/claim?token=xxxxxxxxxxxxxxxxxxxxEKvY2n (7 live) GZIP
Nov 07, 2020 14:57:00.925 [0xffff737fe1a0] DEBUG - HTTP requesting POST https://plex.tv/api/claim/exchange?token=xxxxxxxxxxxxxxxxxxxxEKvY2n
Nov 07, 2020 14:57:00.928 [0xffff737fe1a0] WARN - HTTP error requesting POST https://plex.tv/api/claim/exchange?token=xxxxxxxxxxxxxxxxxxxxEKvY2n (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
Nov 07, 2020 14:57:00.928 [0xffff737fe1a0] DEBUG - MyPlex: Did token exchange for claim (returnCode: -6)
Nov 07, 2020 14:57:00.945 [0xffff9e3ea1a0] DEBUG - Completed: [192.168.0.218:63209] 500 POST /myplex/claim?token=xxxxxxxxxxxxxxxxxxxxEKvY2n (7 live) GZIP 20ms 508 bytes (pipelined: 10)

mad_ady
Posts: 8825
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 529 times
Contact:

Re: How to install OMV5 in HC4

Post by mad_ady »

Well, you have network_mode: host, which means it's using the regular linux networking/dns sersolver. Check that dns is working correctly on the host.

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

mad_ady wrote:
Sun Nov 08, 2020 5:51 pm
Well, you have network_mode: host, which means it's using the regular linux networking/dns sersolver. Check that dns is working correctly on the host.
It can resolve just fine on the main host - just not in the container. I’ve had this work fine on other ARM64 systems with OMV so I’m wondering if it’s some idiosyncrasy with the custom odroid kernel.

igorpec
Posts: 800
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 43 times
Been thanked: 114 times
Contact:

Re: How to install OMV5 in HC4

Post by igorpec »

We just added images for HC4, but someone would need to confirm they work. I don't have this hardware - just C4, which is very similar and works.

https://www.armbian.com/odroid-hc4/
ARMBIAN
Linux for ARM development boards
What is Armbian?

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mitt wrote:
Sun Nov 08, 2020 6:04 pm
mad_ady wrote:
Sun Nov 08, 2020 5:51 pm
Well, you have network_mode: host, which means it's using the regular linux networking/dns sersolver. Check that dns is working correctly on the host.
It can resolve just fine on the main host - just not in the container. I’ve had this work fine on other ARM64 systems with OMV so I’m wondering if it’s some idiosyncrasy with the custom odroid kernel.
I've run the script check-config.sh and it gives the status like this. https://raw.githubusercontent.com/moby/ ... -config.sh
Unfortunately, some of kernel configs are missing... Would it be helpful to add them? Are you able to check/run this script in other ARM64 system that you've tried?

Code: Select all

$ ./check-config.sh 
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: missing
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_IP_NF_NAT: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: missing
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: missing
    (cgroup swap accounting is currently enabled)
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_IOSCHED_CFQ: missing
- CONFIG_CFQ_GROUP_IOSCHED: missing
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: enabled
- CONFIG_NET_CLS_CGROUP: enabled (as module)
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_NF_TARGET_REDIRECT: enabled (as module)
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_PROTO_TCP: enabled
- CONFIG_IP_VS_PROTO_UDP: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT3_FS: enabled
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: missing
- CONFIG_EXT3_FS_SECURITY: enabled
    (enable these ext3 configs if you are using ext3 as backing filesystem)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
  - "overlay":
    - CONFIG_VXLAN: enabled (as module)
    - CONFIG_BRIDGE_VLAN_FILTERING: enabled
      Optional (for encrypted networks):
      - CONFIG_CRYPTO: enabled
      - CONFIG_CRYPTO_AEAD: enabled
      - CONFIG_CRYPTO_GCM: enabled
      - CONFIG_CRYPTO_SEQIV: enabled
      - CONFIG_CRYPTO_GHASH: enabled
      - CONFIG_XFRM: enabled
      - CONFIG_XFRM_USER: enabled (as module)
      - CONFIG_XFRM_ALGO: enabled
      - CONFIG_INET_ESP: enabled (as module)
      - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
  - "ipvlan":
    - CONFIG_IPVLAN: enabled (as module)
  - "macvlan":
    - CONFIG_MACVLAN: enabled (as module)
    - CONFIG_DUMMY: enabled (as module)
  - "ftp,tftp client in container":
    - CONFIG_NF_NAT_FTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_FTP: enabled (as module)
    - CONFIG_NF_NAT_TFTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_TFTP: enabled (as module)
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: missing
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled
    - CONFIG_BTRFS_FS_POSIX_ACL: enabled
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled (as module)
    - CONFIG_DM_THIN_PROVISIONING: enabled (as module)
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled (as module)
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000

mad_ady
Posts: 8825
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 529 times
Contact:

Re: How to install OMV5 in HC4

Post by mad_ady »

You should add NAT support in your next build, though it shouldn't make a difference in this case

User avatar
tobetter
Posts: 6622
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: How to install OMV5 in HC4

Post by tobetter »

mad_ady wrote:
Tue Nov 10, 2020 10:03 pm
You should add NAT support in your next build, though it shouldn't make a difference in this case
Indeed, I thought they've been enabled since 5.7 but apparently missing in 5.9.

mitt
Posts: 10
Joined: Fri Nov 06, 2020 2:18 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: How to install OMV5 in HC4

Post by mitt »

tobetter wrote:
Tue Nov 10, 2020 7:57 pm
mitt wrote:
Sun Nov 08, 2020 6:04 pm
It can resolve just fine on the main host - just not in the container. I’ve had this work fine on other ARM64 systems with OMV so I’m wondering if it’s some idiosyncrasy with the custom odroid kernel.
I've run the script check-config.sh and it gives the status like this. https://raw.githubusercontent.com/moby/ ... -config.sh
Unfortunately, some of kernel configs are missing... Would it be helpful to add them? Are you able to check/run this script in other ARM64 system that you've tried?

Code: Select all

$ ./check-config.sh 
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: missing
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_IP_NF_NAT: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: missing
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: missing
    (cgroup swap accounting is currently enabled)
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_IOSCHED_CFQ: missing
- CONFIG_CFQ_GROUP_IOSCHED: missing
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: enabled
- CONFIG_NET_CLS_CGROUP: enabled (as module)
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_NF_TARGET_REDIRECT: enabled (as module)
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_PROTO_TCP: enabled
- CONFIG_IP_VS_PROTO_UDP: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT3_FS: enabled
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: missing
- CONFIG_EXT3_FS_SECURITY: enabled
    (enable these ext3 configs if you are using ext3 as backing filesystem)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
  - "overlay":
    - CONFIG_VXLAN: enabled (as module)
    - CONFIG_BRIDGE_VLAN_FILTERING: enabled
      Optional (for encrypted networks):
      - CONFIG_CRYPTO: enabled
      - CONFIG_CRYPTO_AEAD: enabled
      - CONFIG_CRYPTO_GCM: enabled
      - CONFIG_CRYPTO_SEQIV: enabled
      - CONFIG_CRYPTO_GHASH: enabled
      - CONFIG_XFRM: enabled
      - CONFIG_XFRM_USER: enabled (as module)
      - CONFIG_XFRM_ALGO: enabled
      - CONFIG_INET_ESP: enabled (as module)
      - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
  - "ipvlan":
    - CONFIG_IPVLAN: enabled (as module)
  - "macvlan":
    - CONFIG_MACVLAN: enabled (as module)
    - CONFIG_DUMMY: enabled (as module)
  - "ftp,tftp client in container":
    - CONFIG_NF_NAT_FTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_FTP: enabled (as module)
    - CONFIG_NF_NAT_TFTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_TFTP: enabled (as module)
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: missing
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled
    - CONFIG_BTRFS_FS_POSIX_ACL: enabled
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled (as module)
    - CONFIG_DM_THIN_PROVISIONING: enabled (as module)
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled (as module)
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000
I managed to fix the issue a couple of days ago - it was an issue with file permissions not getting passed correctly for the /etc/resolv.conf file so only root could access the file and not the processes running in the container. I'm not sure if it's an issue with the images that I was using or a kernel issue.

mad_ady
Posts: 8825
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 529 times
Contact:

Re: How to install OMV5 in HC4

Post by mad_ady »

Thanks for reporting the fix!

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest