Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2100 closed defect (fixed in core)

126: doesn't fully boot

Reported by: elisa42 Owned by: mrmoku
Priority: major Milestone: shr-2012.07
Component: SHR Image Version: SHR-core
Keywords: Cc:


booting stops with:

[ 3.750000] systemd[1]: Failed to create root cgroup hierarchy: Invalid argument
[ 3.760000] systemd[1]: Failed to allocate manager object: Invalid argument

Attachments (1)

OM-GTA02_20131031_220507.jpg (1.9 MB) - added by jama 5 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 5 years ago by elisa42

on gta02

comment:2 Changed 5 years ago by jama

Can you please try with image from not yet closed feed 127?

comment:3 Changed 5 years ago by elisa42

Same happens with 127

comment:4 Changed 5 years ago by jama

I've tested it on om-gta04 with 127 and it booted, just E17 wasn't started (only plain Xorg without Xsession).

Changed 5 years ago by jama

comment:6 Changed 5 years ago by jama

Corresponding block from my own image..

[    2.455000] mmc1: host does not support reading read-only switch. assuming write-enable.
[    2.470000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 399kHz div=0 (req: 400kHz). Bus width=0
[    2.480000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 16373kHz div=0 (req: 17000kHz). Bus width=0
[    2.490000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 16373kHz div=0 (req: 17000kHz). Bus width=2
[    2.495000] mmc1: new high speed SDHC card at address aaaa
[    2.500000] mmcblk0: mmc1:aaaa SU08G 7.60 GiB 
[    2.510000]  mmcblk0: p1 p2 p3 p4
[    2.605000] async_waiting @ 1
[    2.610000] async_continuing @ 1 after 6 usec
[    2.635000] EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
[    2.650000] VFS: Mounted root (ext2 filesystem) on device 179:1.
[    2.660000] devtmpfs: mounted
[    2.665000] async_waiting @ 1
[    2.670000] async_continuing @ 1 after 6 usec
[    2.675000] Freeing init memory: 124K
[    2.690000] Failed to execute /usr/sbin/bootchartd.  Attempting defaults...
[    3.775000] systemd[1]: systemd 206 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ)
[    3.880000] calling  init_autofs4_fs+0x0/0x20 [autofs4] @ 1
[    3.885000] initcall init_autofs4_fs+0x0/0x20 [autofs4] returned 0 after 726 usecs
[    3.890000] systemd[1]: Inserted module 'autofs4'
[    4.050000] calling  inet6_init+0x0/0x274 [ipv6] @ 1
[    4.055000] NET: Registered protocol family 10
[    4.060000] initcall inet6_init+0x0/0x274 [ipv6] returned 0 after 7285 usecs
[    4.065000] systemd[1]: Inserted module 'ipv6'
[    4.075000] systemd[1]: Set hostname to <gjama>.
[    4.600000] pcf50633 0-0073: usb curlim to 1000 mA
[    4.965000] systemd[1]: Cannot add dependency job for unit uuidd.socket, ignoring: Unit uuidd.socket failed to load: No such file or directory. See system logs and 'systemctl status uuidd.socket' for details.
[    4.975000] systemd[1]: Cannot add dependency job for unit xinput-calibrator.service, ignoring: Unit xinput-calibrator.service failed to load: No such file or directory. See system logs and 'systemctl status xinput-calibrator.service' for details.
[    4.985000] systemd[1]: Expecting device dev-ttySAC2.device...
[    4.990000] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.995000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.000000] systemd[1]: Starting Syslog Socket.
[    5.005000] systemd[1]: Socket service syslog.service not loaded, refusing.
[    5.010000] systemd[1]: Failed to listen on Syslog Socket.
[    5.015000] systemd[1]: Starting Remote File Systems.
[    5.020000] systemd[1]: Reached target Remote File Systems.
[    5.030000] systemd[1]: Starting Delayed Shutdown Socket.
[    5.035000] systemd[1]: Listening on Delayed Shutdown Socket.
[    5.040000] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    5.045000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.050000] systemd[1]: Starting Root Slice.
[    5.055000] systemd[1]: Created slice Root Slice.
[    5.060000] systemd[1]: Starting User and Session Slice.
[    5.065000] systemd[1]: Created slice User and Session Slice.
[    5.075000] systemd[1]: Starting System Slice.

comment:7 Changed 5 years ago by jama

Sigh, I've completely forgotten that in my builds I'm using newer kernel:
-rw-r--r-- 1 root root 1481328 Nov 1 15:21 uImage-
-rw-r--r-- 1 root root 1536480 Sep 17 22:43 uImage-3.2.18-my

Now it makes sense, I'm going to backport
referenced in:

comment:8 Changed 5 years ago by jama

Ah we have that one already.

comment:9 Changed 5 years ago by jama

Systemd docs were updated to require 3.0 kernel with cgroup.procs support

To backport cgroup.procs we would need to cherry-pick following commits

They don't apply cleanly, but looks doable, but I'm not sure if it's worth it, I'm using kernel 3.2 on gta02 for long time (since January 2012 or something like that), it's not without issues, but time spent on fixing 3.2 would be more valuable than spending it on hacking systemd support to 2.6.39 (until some other change will require even newer kernel again). What do you think?

comment:10 Changed 5 years ago by Thamos0815

Why do we need new systemd? I would postpone systemd update a while to support dos efforts to make a solid release of shr.
This is in relation to the issues with kernel 3.2, if they are not much, i would give it a try. Backporting is only an option, if we relly need new systemd in a solid shr-release and the new kernel makes too much troubles.

comment:11 Changed 5 years ago by jama

It's part of newer oe-core to which we upgraded lately, in order to get older systemd back I would need to add it into our layer and downgrade it in feeds.

comment:12 Changed 5 years ago by jama

Sorry for delay, my current plan is to downgrade to older systemd in current builds (based on dora release) and upgrade to 3.2 in master branch (for next release) - so that we don't drag old systemd forever.

comment:13 Changed 5 years ago by jama

Older systemd included in staging 128, tested on om-gta02 that it now boots OK.

comment:14 Changed 5 years ago by elisa42

  • Resolution set to fixed in core
  • Status changed from new to closed

works here too, thanks

comment:15 Changed 5 years ago by jama

3.12 is now default kernel for om-gta04 in next release (shr branch)
3.2 for om-gta02 in next release (which doesn't have downgraded systemd)

More testing from would be great, I wonder if I should revive and upload newer kernels there first, what do you think?

comment:16 Changed 5 years ago by elisa42

I tested 3.2 a few days ago in om-gta02 and it has even more problems than 2.6.39. 2.6.34 is still the best choice for om-gta02. Unfortunatly not supported with systemd.

I'd really like to do some kernelwork as a more uptodate and stable kernel for om-gta02 would realy contribute to the usability of om-gta02 with shr. But I fear it's a going to be alot of work and I'll need to learn alot for that.

Testing kernel wouldn't really help until someone is doing work on them.

3.12 sounds great for om-gta04.

Note: See TracTickets for help on using tickets.