[systemd-devel] systemd fails to boot OLPC XO-1.5
Gustavo Sverzut Barbieri
barbieri at profusion.mobi
Sat May 7 15:33:54 PDT 2011
On Sat, May 7, 2011 at 7:26 PM, Daniel Drake <dsd at laptop.org> wrote:
> On 7 May 2011 21:49, Gustavo Sverzut Barbieri <barbieri at profusion.mobi> wrote:
>> maybe need CONFIG_DEVTMPFS_MOUNT=y as well? But yeah, take a look
>> from top->bottom in the log, don't bother investigating the last
>> messages if there are errors before them.
>
> CONFIG_DEVTMPFS_MOUNT is only for non-initramfs boot. I enabled it
> anyway, no change.
>
> I made all of the changes you suggested, still having problems.
>
> The autofs error is because systemd tries to mount
> /sys/kernel/security but that directory doesn't exist. It looks like
> the unit file tries to be conditional based on the existence of the
> directory, but it doesn't seem to be working.
> I was unable to disable it with "systemctl disable" so I resorted to
> removing the sys-kernel-security.automount and
> sys-kernel-security.mount files. Error gone.
I see. The error is likely due lack of securityfs in kernel, I used to
have that in the past as I don't have such requirement and just masked
the service (disable is not enough):
ln -s /dev/null /etc/systemd/system/sys-kernel-security.automount
> I think the /etc/mtab error is wrong; even after making the change you
> suggested, it complains in the same way. I'm assuming thats a
> non-critical error anyway.
That is weird. Maybe you were working with RO filesystem? Or some
tmpfs overlay on top of it?
> Now my first error is:
> [ 10.572508] <29>systemd[1]: systemd-kmsg-syslogd.service: main
> process exited, code=exited, status=218
> [ 10.594245] <29>systemd[1]: Unit systemd-kmsg-syslogd.service
> entered failed state.
> Any hints how to debug that?
try to manually execute /lib/systemd/systemd-kmsg-syslogd binary
manually from a working systemd and check what's happening. It never
failed to me. I don't have the code now (different system) so I can
look what's status=218.
--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
More information about the systemd-devel
mailing list