[SOLVED] C2 won't boot up after upgrading systemd to 245-1 on Arch

Post Reply
stas-t
Posts: 5
Joined: Sun Jan 19, 2020 1:09 am
languages_spoken: english
ODROIDs: C2, XU4, GO
Has thanked: 0
Been thanked: 0
Contact:

[SOLVED] C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by stas-t »

Original post: https://archlinuxarm.org/forum/viewtopi ... 65&t=14334
As you can see - many services fail to start. Downgrading systemd solves the boot problem. It's related to the lack of support of ambient capabilities in 3.16.78-1-ARCH kernel. Also I cannot upgrade to 3.16.81 due to RTC issues I've reported earlier.

A question to Hardkernel team: is there a work-around to make the system boot at least?
Last edited by stas-t on Fri Mar 20, 2020 1:58 am, edited 1 time in total.

soulrebell
Posts: 16
Joined: Thu Oct 13, 2016 12:41 pm
languages_spoken: german
Has thanked: 0
Been thanked: 0
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by soulrebell »

Same problem here. I am using kernel 3.16.81 upgrade to systemd 245-3.

graysky
Posts: 162
Joined: Wed Jul 13, 2016 9:11 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by graysky »

This board [ODROID-C2] is just too quirky I think due primarily to its ancient kernel support by Hard Kernel. Here are a few major issues I see with mine:
* No boot bug mentioned in this thread with currently stable version of systemd (impacting everything).
* CGroups (impacting LXC and virtualization).
* Bridge networking (impacting LXC and virtualization).

As we approach the official EOL of the 3.16.x branch which is June of 2020 (just a few months), what is the plan moving forward from Hard Kernel?

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by odroid »

Since the latest Ubuntu 18.04.4 update is still using the systemd version 237, we didn't know what has changed in version 245.
The RTC shield also worked fine on that old systemd + Kernel 3.16.81 on Ubuntu so far.
We need to learn which part of the latest systemd blocks the booting process from ALARM developers.

We have a plan to build a trial Ubuntu 20.04 LTS image in July/August based on Kernel 5.4.y.
But it will contain very limited GPU/VPU acceleration drivers due to lack of our upstream capability.

Meanwhile, you can try the latest Armbian images which comes with Kernel 5.4.y if your target application is not a 4K video playing nor gaming machine.

soulrebell
Posts: 16
Joined: Thu Oct 13, 2016 12:41 pm
languages_spoken: german
Has thanked: 0
Been thanked: 0
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by soulrebell »

@odroid: Thank you for your reply
We need to learn which part of the latest systemd blocks the booting process from ALARM developers.
Can you estimate a timeline?

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by odroid »

We have no firm schedule yet.

mdrjr
Site Admin
Posts: 11777
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 35 times
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by mdrjr »

Hello,

This commit: https://github.com/hardkernel/linux/com ... f18b78941a
Fixes the issue.

I've also send a PR to get our kernel updated: https://github.com/archlinuxarm/PKGBUILDs/pull/1778

reydecopas
Posts: 6
Joined: Thu Sep 21, 2017 12:36 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by reydecopas »

boot fails if I upgrade the ArchArm to "aarch64 core systemd 245-3"

and I cannot install docker or other packages if adding to pacman.conf
IgnorePkg = systemd systemd-libs systemd-sysvcompat

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by odroid »

You might need to update the kernel first.

graysky
Posts: 162
Joined: Wed Jul 13, 2016 9:11 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by graysky »

odroid wrote:
Wed Mar 18, 2020 10:38 am
You might need to update the kernel first.
I kept both the kernel and systemd* packages in the package manager's ignore list until now.

Code: Select all

IgnorePkg   = linux-odroid-c2 linux-odroid-c2-headers systemd systemd-libs systemd-sysvcompat
I commented that line and updated:

Code: Select all

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (5) linux-odroid-c2-3.16.82-1  linux-odroid-c2-headers-3.16.82-1  systemd-245-3  systemd-libs-245-3
             systemd-sysvcompat-245-3
I appear to be running OK with the exception of my RTC sheild. Thank you for the help to get the systemd bug ironed out, let's talk about the RTC shield in the other thread.

@stas-t - I think you can mark this as solved if the update works for you as well.

stas-t
Posts: 5
Joined: Sun Jan 19, 2020 1:09 am
languages_spoken: english
ODROIDs: C2, XU4, GO
Has thanked: 0
Been thanked: 0
Contact:

[SOLVED] Re: C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by stas-t »

@graysky: thank you for testing! I'm going to trust you and mark it as resolved.
However, since RTC is still not working for me - I've rolled back the kernel instead of upgrading everything.

mdrjr
Site Admin
Posts: 11777
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 35 times
Contact:

Re: [SOLVED] C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by mdrjr »

I'm looking onto the RTC issue

graysky
Posts: 162
Joined: Wed Jul 13, 2016 9:11 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [SOLVED] C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by graysky »

mdrjr wrote:
Fri Mar 20, 2020 11:27 pm
I'm looking onto the RTC issue
Thank you please let me know if you need stuff tested.

graysky
Posts: 162
Joined: Wed Jul 13, 2016 9:11 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [SOLVED] C2 won't boot up after upgrading systemd to 245-1 on Arch

Post by graysky »

mdrjr wrote:
Fri Mar 20, 2020 11:27 pm
I'm looking onto the RTC issue
I'm guessing since no new posts, you have no ideas to get the RTC shield working?

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 3 guests