very slow boot

If none of the more specific forums is the right place to ask

very slow boot

Postby dove » 2018-05-04 14:46

My laptop (i3,4g ram) with stretch mate 64b has suddenly started very slow boot. Output for
Code: Select all
systemd-analyze blame
is
Code: Select all
 3.043s iio-sensor-proxy.service
          1.469s apt-daily-upgrade.service
           748ms exim4.service
           657ms upower.service
           559ms dev-sdb1.device
           459ms ModemManager.service
           366ms loadcpufreq.service
           327ms accounts-daemon.service
           288ms NetworkManager.service
           216ms systemd-logind.service
           201ms lm-sensors.service
           200ms speech-dispatcher.service
           197ms keyboard-setup.service
           189ms avahi-daemon.service
           187ms rtkit-daemon.service
           172ms pppd-dns.service
           150ms systemd-timesyncd.service
           148ms systemd-fsck@dev-disk-by\x2duuid-5571228c\x2d3974\x2d4741\x2dad78\x2d76
           143ms udisks2.service
           134ms systemd-journald.service
           115ms systemd-fsck@dev-disk-by\x2duuid-e35eb82f\x2d5318\x2d4380\x2d8e42\x2dd0
           108ms systemd-rfkill.service
           104ms networking.service
           100ms systemd-udevd.service
            99ms rsyslog.service
            97ms polkit.service
            96ms systemd-udev-trigger.service
            90ms lightdm.service
            63ms user@1000.service
            54ms user@111.service
            47ms wpa_supplicant.service
            45ms systemd-tmpfiles-setup-dev.service
            42ms systemd-backlight@backlight:intel_backlight.service
            34ms boot.mount
            31ms dev-mqueue.mount
            29ms systemd-tmpfiles-setup.service
            24ms systemd-remount-fs.service
How can I fix?
dove
 
Posts: 11
Joined: 2010-03-31 20:54

Re: very slow boot

Postby debiman » 2018-05-04 18:14

^ that output doesn't look so bad.
do you have any reason to believe that the services at the top are responsible?
3 extra seconds isn't much.
what's "very slow" by your standards?
most common cause are networking problems (but i think they should show up in systemd-analyze).
User avatar
debiman
 
Posts: 2927
Joined: 2013-03-12 07:18

Re: very slow boot

Postby Wheelerof4te » 2018-05-04 18:34

If that is slow, then what's this?
Code: Select all
systemd-analyze
Startup finished in 3.549s (firmware) + 1.761s (loader) + 3.863s (kernel) + 20.730s (userspace) = 29.904s
graphical.target reached after 20.723s in userspace


Code: Select all
systemd-analyze blame
          7.106s NetworkManager-wait-online.service
          4.197s udisks2.service
          4.169s dev-sda2.device
          4.079s NetworkManager.service
          3.978s ModemManager.service
          3.731s accounts-daemon.service
          2.797s networking.service
          2.779s rsyslog.service
          2.709s wpa_supplicant.service
          2.698s bluetooth.service
          2.694s lm-sensors.service
          2.688s switcheroo-control.service
          2.688s systemd-logind.service
          2.682s pppd-dns.service
          2.596s avahi-daemon.service
          1.572s packagekit.service
          1.328s systemd-fsck@dev-disk-by\x2duuid-2C02\x2dA00C.service
          1.202s apparmor.service
           975ms keyboard-setup.service
           941ms polkit.service
           885ms systemd-backlight@backlight:intel_backlight.service
           645ms dev-disk-by\x2duuid-8070911e\x2d4
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: very slow boot

Postby dove » 2018-05-04 20:35

After I sign in I have a pointer but no desktop for about 60s or more
dove
 
Posts: 11
Joined: 2010-03-31 20:54

Re: very slow boot

Postby sunrat » 2018-05-04 22:29

Run
Code: Select all
journalctl -b -p3
to see if any related errors show up.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2453
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: very slow boot

Postby dove » 2018-05-04 22:37

output is
Code: Select all
-- Logs begin at Fri 2018-05-04 16:22:27 PDT, end at Fri 2018-05-04 16:24:44 PDT. --
May 04 16:22:27 dove kernel: usb 1-1.4: string descriptor 0 read error: -22
May 04 16:22:28 dove kernel: usb 1-1.4: firmware: failed to load ar3k/AthrBT_0x11020000.dfu (-2)
May 04 16:22:28 dove kernel: Bluetooth: Loading patch file failed
May 04 16:22:28 dove avahi-daemon[426]: chroot.c: open() failed: No such file or directory
May 04 16:23:10 dove pulseaudio[1138]: [pulseaudio] pid.c: Daemon already running.
dove
 
Posts: 11
Joined: 2010-03-31 20:54

Re: very slow boot

Postby sunrat » 2018-05-05 00:51

Do you still get slow boot with your USB device unplugged? I occasionally get a stall like that when my USB wifi dongle isn't recognised instantly.
That firmware is in the package firmware-atheros from the non-free repo. Do you have it installed?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2453
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: very slow boot

Postby dove » 2018-05-05 01:02

Yes I have it installed
dove
 
Posts: 11
Joined: 2010-03-31 20:54

Re: very slow boot

Postby dove » 2018-05-05 01:03

I have a usb mouse
dove
 
Posts: 11
Joined: 2010-03-31 20:54

Re: very slow boot

Postby sunrat » 2018-05-05 01:58

Bluetooth mouse? If you have the firmware installed it shouldn't be failing to load. It's probably either that or the avahi service. Disable avahi if you don't use it. But I suspect the USB as I've seen a similar issue as I said.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2453
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to General Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable