Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

NetworkManager greatly increases boot time

$
0
0
I have openSUSE 13.1 x86_64

Few days ago my PC started to boot much longer then usually.

I found that this problem is caused by Network Manager.

Code:

$ systemd-analyze blame
        25.080s NetworkManager.service
          967ms run_dkms.service
          738ms vmware.service
          704ms xdm.service
          616ms user@1000.service
          613ms plymouth-start.service
          439ms home-yuri-.steam-drive_c-Program\x20Files-Steam-steamapps-commo
          343ms vboxdrv.service
          306ms dkms_autoinstaller.service
          147ms libvirtd.service
          111ms udisks2.service
          109ms systemd-fsck@dev-disk-by\x2did-ata\x2dWDC_WD10EZRX\x2d00A8LB0_W
            78ms ntp.service
            74ms vmware-USBArbitrator.service
            57ms systemd-remount-fs.service
            49ms systemd-udev-trigger.service
            38ms jexec.service
            32ms systemd-readahead-replay.service
            32ms systemd-readahead-collect.service
            31ms systemd-udev-root-symlink.service
            26ms packagekit.service
            26ms scpm.service
            25ms rsyslog.service

Systemd shows this log for NetworkManager service

Code:

# journalctl _SYSTEMD_UNIT=NetworkManager.service
-- Logs begin at Tue 2014-06-10 18:33:14 EEST, end at Tue 2014-06-10 18:41:15 EEST. --
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> NetworkManager (version 0.9.8.8) is starting...
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> WEXT support is enabled
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> Loaded plugin ifcfg-suse: (C) 2008 Novell, Inc.  To report bugs please use the NetworkManager mailing list.
Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jun 10 18:33:18 linux-dceb NetworkManager[893]: keyfile: parsing Wired connection 1 ...
Jun 10 18:33:18 linux-dceb NetworkManager[893]: keyfile:    read connection 'Wired connection 1'
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> monitoring kernel firmware directory '/lib/firmware'.
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> WiFi hardware radio set enabled
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> WiFi enabled by radio killswitch; enabled by state file
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> WWAN enabled by radio killswitch; enabled by state file
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> WiMAX enabled by radio killswitch; enabled by state file
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> Networking is enabled by state file
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <warn> failed to allocate link cache: (-12) Object not found
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): carrier is OFF
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): bringing up device.
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): preparing device.
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> (eth0): deactivating device (reason 'managed') [2]
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <warn> /sys/devices/virtual/net/vmnet1: couldn't determine device driver; ignoring...
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <warn> /sys/devices/virtual/net/vmnet8: couldn't determine device driver; ignoring...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): carrier now ON (device state 20)
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Auto-activating connection 'Wired connection 1'.
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) starting connection 'Wired connection 1'
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> NetworkManager state is now CONNECTING
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> dhclient started with pid 1803
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jun 10 18:33:45 linux-dceb dhclient[1803]: Internet Systems Consortium DHCP Client 4.2.5-P1
Jun 10 18:33:45 linux-dceb dhclient[1803]: Copyright 2004-2013 Internet Systems Consortium.
Jun 10 18:33:45 linux-dceb dhclient[1803]: All rights reserved.
Jun 10 18:33:45 linux-dceb dhclient[1803]: For info, please visit https://www.isc.org/software/dhcp/
Jun 10 18:33:45 linux-dceb dhclient[1803]:
Jun 10 18:33:45 linux-dceb NetworkManager[893]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jun 10 18:33:45 linux-dceb dhclient[1803]: Listening on LPF/eth0/c8:60:00:5a:ff:11
Jun 10 18:33:45 linux-dceb dhclient[1803]: Sending on  LPF/eth0/c8:60:00:5a:ff:11
Jun 10 18:33:45 linux-dceb dhclient[1803]: Sending on  Socket/fallback
Jun 10 18:33:45 linux-dceb dhclient[1803]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Jun 10 18:33:45 linux-dceb dhclient[1803]: DHCPOFFER from 192.168.1.1
Jun 10 18:33:50 linux-dceb dhclient[1803]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 10 18:33:50 linux-dceb dhclient[1803]: DHCPACK from 192.168.1.1
Jun 10 18:33:50 linux-dceb dhclient[1803]: bound to 192.168.1.15 -- renewal in 35804 seconds.
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info> (eth0): DHCPv4 state changed preinit -> bound
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info>  address 192.168.1.15
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info>  prefix 24 (255.255.255.0)
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info>  gateway 192.168.1.1
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info>  nameserver '192.168.1.1'
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jun 10 18:33:50 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> NetworkManager state is now CONNECTED_GLOBAL
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Jun 10 18:33:51 linux-dceb NetworkManager[893]: <info> Activation (eth0) successful, device activated.

As you can see, most of the boot time was consumed by this
Code:

Jun 10 18:33:18 linux-dceb NetworkManager[893]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.Jun 10 18:33:18 linux-dceb NetworkManager[893]: keyfile: parsing Wired connection 1 ...
Jun 10 18:33:18 linux-dceb NetworkManager[893]: keyfile:    read connection 'Wired connection 1'
Jun 10 18:33:43 linux-dceb NetworkManager[893]: <info> monitoring kernel firmware directory '/lib/firmware'.

NM read the keyfile for 25 seconds which is not OK.
I have another copy of openSUSE 13.1 x86_64 installed on my second HDD and it hasn't this problem.

Code:

Jun 10 15:17:03 linux-7o44 NetworkManager[850]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.Jun 10 15:17:03 linux-7o44 NetworkManager[850]: keyfile: parsing Wired connection 1 ...
Jun 10 15:17:03 linux-7o44 NetworkManager[850]: keyfile:    read connection 'Wired connection 1'
Jun 10 15:17:03 linux-7o44 NetworkManager[850]: <info> monitoring kernel firmware directory '/lib/firmware'.

This means that i have some problems with configuration. Can you help me to resolve this problem?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>