[systemd-devel] systemd hang on booting after mount

최찬우 cwchoi00 at gmail.com
Mon Jan 17 05:57:27 PST 2011


Dear members,


I want to use 'systemd' instead of old init process.
Then I builded successfully "systemd-16" source in armel enviroment.

But, I faced following booting error :

---------------------------------
  3.038309] Btrfs detected SSD devices, enabling SSD mode
[    3.046861] VFS: Mounted root (btrfs filesystem) on device 0:14.
[    3.052251] devtmpfs: mounted
[    3.259323] systemd[1]: Succesfully opened /dev/kmsg for logging.
[    3.264039] systemd[1]: systemd 16 running in system mode. (-PAM -LIBWRAP
-AUDIT -SELINUX +SYS
TUP; ubuntu)
Welcome to Linux!
[    3.286016] systemd[1]: Your kernel apparently lacks built-in ipv6
support. Might be a good id
in. We'll now try to work around this by calling '/sbin/modprobe ipv6'...
[    3.301242] systemd[1]: About to execute: /sbin/modprobe -qab -- ipv6
[    3.308201] systemd[1]: Forked /sbin/modprobe as 1357
[    3.428832] systemd[1]: /sbin/modprobe failed with error code 1.
[    3.436366] systemd[1]: Set hostname to <chan>.
[    3.446448] systemd[1]: /etc/mtab is not a symlink or not pointing to
/proc/self/mounts. This
anymore. Please make sure to replace this file by a symlink to avoid
incorrect or misleading moun
[    3.485589] systemd[1]: Looking for unit files in:
[    3.488928] systemd[1]:      /etc/systemd/system
[    3.493179] systemd[1]:      /lib/systemd/system
[    3.497679] systemd[1]: Looking for SysV init scripts in:
[    3.502818] systemd[1]:      /etc/init.d
[    3.506384] systemd[1]: Looking for SysV rcN.d links in:
[    3.511670] systemd[1]:      /etc
[    3.515621] systemd[1]: Using cgroup controller name=systemd. File system
hierarchy is at /sys
d/system.
[    3.526342] systemd[1]: Installed release agent.
[    3.625854] systemd[1]: Failed to allocate manager object: Invalid
argument
---------------------------------

I try to find the location of "Failed to allocate manager object: Invalid
argument".
This error happens in main() function which calls manager_setup_cgroup().

The manager_setup_cgroup() returns error in the following code.
(src/cgroup.c)
(parameter "path" is "1053088".)

/* 2. Show data */
if ((r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, m->cgroup_hierarchy, NULL,
&path)) < 0)

goto finish;


Let me know the solution for this error.
I will expect for your reply.

Thank you,
Chanwoo Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110117/26eedc27/attachment.html>


More information about the systemd-devel mailing list