Re: Reason codes given off by NM in its logs



On Monday 21 of February 2011 17:34:42 Hugues Demers wrote:
> Hi,
> 
> My connection just stop working for no apparent reason. I stopped NM and
> run it with --no-daemon and the following output is given:
> 
> NetworkManager[2669]: <info> NetworkManager (version 0.8.1) is starting...
> NetworkManager[2669]: <info> Read config file
> /etc/NetworkManager/nm-system-settings.conf
> NetworkManager[2669]: <info> modem-manager is now available
> NetworkManager[2669]: <info> monitoring kernel firmware directory
> '/lib/firmware'.
> NetworkManager[2669]:    SCPlugin-Ifupdown: init!
> NetworkManager[2669]:    SCPlugin-Ifupdown: update_system_hostname
> NetworkManager[2669]:    SCPluginIfupdown: management mode: unmanaged
> NetworkManager[2669]:    SCPlugin-Ifupdown: devices added (path:
> /sys/devices/pci0000:00/0000:00:1c.5/0000:04:00.0/net/eth2, iface: eth2)
> NetworkManager[2669]:    SCPlugin-Ifupdown: device added (path:
> /sys/devices/pci0000:00/0000:00:1c.5/0000:04:00.0/net/eth2, iface: eth2):
> no ifupdown configuration found.
> NetworkManager[2669]:    SCPlugin-Ifupdown: devices added (path:
> /sys/devices/virtual/net/lo, iface: lo)
> NetworkManager[2669]:    SCPlugin-Ifupdown: device added (path:
> /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
> NetworkManager[2669]:    SCPlugin-Ifupdown: end _init.
> NetworkManager[2669]: <info> Loaded plugin ifupdown: (C) 2008 Canonical
> Ltd. To report bugs please use the NetworkManager mailing list.
> NetworkManager[2669]: <info> Loaded plugin keyfile: (c) 2007 - 2008 Red
> Hat, Inc.  To report bugs please use the NetworkManager mailing list.
> NetworkManager[2669]:    Ifupdown: get unmanaged devices count: 0
> NetworkManager[2669]:    SCPlugin-Ifupdown: (8088128) ... get_connections.
> NetworkManager[2669]:    SCPlugin-Ifupdown: (8088128) ... get_connections
> (managed=false): return empty list.
> NetworkManager[2669]:    Ifupdown: get unmanaged devices count: 0
> NetworkManager[2669]: <info> WiFi enabled by radio killswitch; enabled by
> state file
> NetworkManager[2669]: <info> WWAN enabled by radio killswitch; enabled by
> state file
> NetworkManager[2669]: <info> WiMAX enabled by radio killswitch; enabled by
> state file
> NetworkManager[2669]: <info> Networking is enabled by state file
> NetworkManager[2669]: <info> (eth2): carrier is OFF
> NetworkManager[2669]: <info> (eth2): new Ethernet device (driver: 'r8169'
> ifindex: 2)
> NetworkManager[2669]: <info> (eth2): exported as
> /org/freedesktop/NetworkManager/Devices/0
> NetworkManager[2669]: <info> (eth2): now managed
> NetworkManager[2669]: <info> (eth2): device state change: 1 -> 2 (reason 2)
> NetworkManager[2669]: <info> (eth2): bringing up device.
> NetworkManager[2669]: <info> (eth2): preparing device.
> NetworkManager[2669]: <info> (eth2): deactivating device (reason: 2).
> /sbin/ifup: interface lo already configured
> 
> 
> However, I cannot find any documentation relating to the reason codes given
> above. What do they mean? Anybody can point me to such documentation if it
> exists or can explain the reason why the device was deactivated?
> 
> Thank you very much,
> Hugues

This is not an error.  The device is deactivated when preparing the device 
before it can be used by NM.

See the list few days back:
http://mail.gnome.org/archives/networkmanager-list/2011-February/msg00042.html

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]