You are not logged in.

#1 2013-10-07 08:44:41

MilenKid
Member
Registered: 2013-04-21
Posts: 86

Startup hangs

I will put this here, because it's a laptop, sorry if it's not the correct area.

For a reason I'm missing, my system hangs 10 to 15 seconds at a point in start-up.
This problem just started happening, I don't know what triggered it but I know it is not related with systemd update (which was already done).

I have no idea how to investigate this more, there are no clues regarding what happens in thous 15 sec.

System log:

Oct 07 09:18:45 Leny systemd[1]: Started Load/Save Screen Backlight Brightness of acpi_video1.
Oct 07 09:18:45 Leny systemd[1]: Starting System Initialization.
Oct 07 09:18:45 Leny systemd[1]: Reached target System Initialization.
Oct 07 09:18:45 Leny systemd[1]: Starting Timer for Profile-sync-daemon - 1Hour.
Oct 07 09:18:45 Leny systemd[1]: Started Timer for Profile-sync-daemon - 1Hour.
Oct 07 09:18:45 Leny systemd[1]: Starting D-Bus System Message Bus Socket.
Oct 07 09:18:45 Leny systemd[1]: Listening on D-Bus System Message Bus Socket.

[here it lags]

Oct 07 09:19:00 Leny systemd[1]: Starting Sockets.
Oct 07 09:19:00 Leny systemd[1]: Reached target Sockets.
Oct 07 09:19:00 Leny systemd[1]: Starting Daily Cleanup of Temporary Directories.
Oct 07 09:19:00 Leny systemd[1]: Started Daily Cleanup of Temporary Directories.
Oct 07 09:19:00 Leny systemd[1]: Starting Timers.
Oct 07 09:19:00 Leny systemd[1]: Reached target Timers.
Oct 07 09:19:00 Leny systemd[1]: Started Manage Sound Card State (restore and store).
Oct 07 09:19:00 Leny systemd[1]: Starting Restore Sound Card State...
Oct 07 09:19:00 Leny systemd[1]: Starting Basic System.
Oct 07 09:19:00 Leny kernel: ACPI: \_SB_.PCI0: ACPI_NOTIFY_BUS_CHECK event: unsupported
Oct 07 09:19:00 Leny kernel: ACPI: \_SB_.PCI0: Bus check notify on _handle_hotplug_event_root
Oct 07 09:19:00 Leny kernel: ATOM BIOS: Lenovo

Analyze-blame doesn't give any indication about it.

# systemd-analyze blame
         10.851s netctl@ButterNet.service
          1.984s systemd-backlight@acpi_video1.service
          1.882s psd.service
           634ms systemd-tmpfiles-clean.service
           448ms psd-resync.service
           347ms data.mount
           206ms systemd-tmpfiles-setup.service
           180ms var.mount
           169ms systemd-modules-load.service
           153ms systemd-vconsole-setup.service
           146ms systemd-update-utmp.service
           138ms systemd-remount-fs.service
           132ms systemd-random-seed.service
           126ms systemd-tmpfiles-setup-dev.service
            89ms thermald.service
            76ms systemd-logind.service
            73ms systemd-fsck@dev-disk-by\x2duuid-e006d5c1\x2de00b\x2d417b\x2dbdbd\x2da3790c4204d2.service
            60ms lm_sensors.service
            55ms systemd-udev-trigger.service
            53ms alsa-restore.service
            53ms iptables.service
            53ms kmod-static-nodes.service
            52ms verynice.service

Also the plotted svg looks fine.

Offline

#2 2013-10-07 13:49:46

MilenKid
Member
Registered: 2013-04-21
Posts: 86

Re: Startup hangs

Started with debug options enabled (kernel line).

I guess polkitd is the problem. See bellow:

Journal:

Oct 07 14:59:00 Leny polkitd[404]: Started polkitd version 0.112
Oct 07 14:59:00 Leny polkitd[404]: Loading rules from directory /etc/polkit-1/rules.d
Oct 07 14:59:00 Leny polkitd[404]: Loading rules from directory /usr/share/polkit-1/rules.d
Oct 07 14:59:00 Leny polkitd[404]: Finished loading, compiling and executing 1 rules
Oct 07 14:59:18 Leny dbus[355]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Oct 07 14:59:18 Leny /usr/bin/gpm[338]: *** info [mice.c(1990)]:
Leny / # systemd-analyze blame
         18.455s polkit.service
Leny / :( # ls /etc/polkit-1/rules.d
50-default.rules
Leny / # ls /usr/share/polkit-1/rules.d
Leny / #


 cat /etc/polkit-1/rules.d/50-default.rules
/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */

// DO NOT EDIT THIS FILE, it will be overwritten on update
//
// Default rules for polkit
//
// See the polkit(8) man page for more information
// about configuring polkit.

polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});

Still don't know how to fix and why it happens.

Offline

#3 2013-10-31 06:05:42

elotgamu
Member
From: Masaya, Nicaragua
Registered: 2013-10-25
Posts: 21

Re: Startup hangs

I have a similar problem but in "reached target socket" it lags for 13 secons, but when i execute "journalctl --this-boot" the lags shows in the task " Starting Daily Cleanup of Temporary Directories" that is the next step after "reached target sockets"


English is not my first language! Sorry for bad grammmar skills!

Offline

#4 2013-10-31 06:09:16

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Startup hangs

@elotgamu, you have already posted your issue in a thread that is actually similar to what you are experiencing.  Cross posting in this thread that has absoultely nothing to do with your issue is not going to help you or anyone else.

Offline

Board footer

Powered by FluxBB