systemd error: Failed to mount cgroup at /sys/fs...

This forum is for supported devices using an ARMv7 Samsung SoC.

systemd error: Failed to mount cgroup at /sys/fs...

Postby lagagnon » Fri Aug 28, 2015 9:39 pm

Been away from my Samsung Chromebook ALARM distro for a few months. Just did an update and now the booting screen throws this error:

systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd. No such file of device.

[!!!!!] Failed to mount API filesystems, freezing.


Any idea where I can start with this?
lagagnon
 
Posts: 7
Joined: Fri May 23, 2014 6:30 pm

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby stronnag » Tue Sep 01, 2015 5:04 pm

This is an artefact of the ancient kernel available for this device (3.4). The latest systemd requires a more recent kernel.

You need to recover your system from a backup, and then prevent systemd (and network manager) from being updated.The most recent working versions being:

libsystemd 221-1
systemd 216-3
systemd-sysvcompat 216-3
networkmanager 1.0.0-1

Then resolve never to buy an ARM device again such that, despite the best efforts of the Arch developers, you don't have to deal with this obsolete crap again.
stronnag
 
Posts: 44
Joined: Sat Sep 22, 2012 6:51 am

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby lagagnon » Sun Sep 06, 2015 12:13 am

Thanks - yes, finally realized it was a new systemd problem with a kernel with old firmware. Luckily I stored my last image of the whole system. I have now vowed never to update the system. I am just going to live with it as is -working perfectly. I see the lifetime of this old Samsung Chromebook in terms of another couple of years only so unless I read about a very specific security bust with a package other than systemd it's going to stay the way it is.

Not exactly the "Arch way" but I'm tired of the major busts and the system now works perfectly fine with year old packages!
lagagnon
 
Posts: 7
Joined: Fri May 23, 2014 6:30 pm

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby Veyrdite » Fri Sep 11, 2015 2:14 pm

I've been holding back systemd on my Snow Chromebook for a while. It turns out that the linux-snow (kernel) package has been abandoned and you should instead be using linux-peach instead.

WARNING: When I installed the linux-peach package, it chose the WRONG partition to dd vmlinux to and destroyed my root partition. When if asks you if it can "install" the vmlinux/bootloader to a certain parition make sure you check which partition it wants first! Backup beforehand!
Veyrdite
 
Posts: 22
Joined: Thu Jun 05, 2014 11:09 am

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby WarheadsSE » Fri Sep 11, 2015 2:46 pm

Perhaps re-read the instructions for installation. You'll find it doesn't work the same way
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby stronnag » Sat Sep 12, 2015 5:43 pm

So let's assume I have an existing installation with linux-chromebook. How do I upgrade without destroying my existing setup? See 'Installation' does not appear to address that use case.
stronnag
 
Posts: 44
Joined: Sat Sep 22, 2012 6:51 am

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby Veyrdite » Mon Sep 14, 2015 1:57 pm

I believe the old process was to have a bootloader in one partition and the kernel in another (inside a filesystem) -- the old instructions are archived.

All that may be needed is to replace the vmlinux.kpart file in your boot partition with the new one. I remember on my system the boot partition was not automatically mounted/in my fstab.

Be warned: doing this may render your laptop unbootable! Please back up all of your data before trying anything and ensure you have a bootable usb/sd card handy if you need to replace the new vmlinux with the old one.
Veyrdite
 
Posts: 22
Joined: Thu Jun 05, 2014 11:09 am

Re: systemd error: Failed to mount cgroup at /sys/fs...

Postby stronnag » Wed Sep 16, 2015 6:18 pm

Or, just (cross) compile your own 3.8 kernel from the chromeos github. Solves all the IgnorePkg issues.
stronnag
 
Posts: 44
Joined: Sat Sep 22, 2012 6:51 am


Return to Samsung

Who is online

Users browsing this forum: No registered users and 14 guests