[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 » Sat Mar 14, 2020 4:44 am

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 » Sat Mar 14, 2020 4:38 pm

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

User avatar
graysky
Posts: 158
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 » Sat Mar 14, 2020 10:27 pm

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: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

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

Post by odroid » Mon Mar 16, 2020 11:01 am

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 » Tue Mar 17, 2020 3:44 am

@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: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

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

Post by odroid » Tue Mar 17, 2020 10:20 am

We have no firm schedule yet.

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

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

Post by mdrjr » Tue Mar 17, 2020 11:24 pm

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 » Wed Mar 18, 2020 6:47 am

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: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

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

Post by odroid » Wed Mar 18, 2020 10:38 am

You might need to update the kernel first.

User avatar
graysky
Posts: 158
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 » Thu Mar 19, 2020 11:57 pm

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 » Fri Mar 20, 2020 1:57 am

@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: 11743
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 22 times
Contact:

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

Post by mdrjr » Fri Mar 20, 2020 11:27 pm

I'm looking onto the RTC issue

User avatar
graysky
Posts: 158
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 » Fri Mar 20, 2020 11:46 pm

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.

User avatar
graysky
Posts: 158
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 » Fri May 15, 2020 7:03 pm

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 2 guests