NM failed to initialize WiFi driver (after boot/ return from suspend)

Bug #1518681 reported by Vincent Thiele
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Since 15.10 my network is not working because of this bug.
I got this error:
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: <warn> (wlan0): failed to initialize WiFi driver
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: <warn> wlan0: factory failed to create device: (unknown)
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: (NetworkManager:685): GLib-GObject-CRITICAL **: object NMDeviceWifi 0xeda450 finalized while still in-construction
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: (NetworkManager:685): GLib-GObject-CRITICAL **: Custom constructor for class NMDeviceWifi returned NULL (which is invalid). Please use GInitable instead.
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: <info> wpa_supplicant running
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: <info> devices added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb5/5-1/5-1.4/5-1.4:1.0/net/wlxf81a67191694, iface: wlxf81a67191694)
Nov 22 03:45:23 arbeits-pc NetworkManager[685]: <info> device added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb5/5-1/5-1.4/5-1.4:1.0/net/wlxf81a67191694, iface: wlxf81a67191694): no ifupdown configuration found.

Only workaround: sudo systemctl restart network-manager.service

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: network-manager 1.0.4-0ubuntu5.1
ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 22 11:23:48 2015
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2015-11-21 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
IpRoute:
 default via 192.168.1.1 dev wlxf81a67191694 proto static metric 600
 169.254.0.0/16 dev wlxf81a67191694 scope link metric 1000
 192.168.1.0/24 dev wlxf81a67191694 proto kernel scope link src 192.168.1.126 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
RfKill:

SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlxf81a67191694 wifi connected /org/freedesktop/NetworkManager/Devices/2 WG-WLAN c2683c87-f2df-40a9-b40b-d2b4ec6f1d12 /org/freedesktop/NetworkManager/ActiveConnection/0
 eno1 ethernet unavailable /org/freedesktop/NetworkManager/Devices/0 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Revision history for this message
Vincent Thiele (vincentthiele) wrote :
Revision history for this message
Vincent Thiele (vincentthiele) wrote :

This error is in the systemd boot logs: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
importance: Undecided → High
Revision history for this message
Ferhat (ferhat-akguen) wrote :

It seems to be the cause of my problem:
http://askubuntu.com/questions/742347/wifi-r8712u-is-only-working-after-doing-rmmod-modprobe

ar 5 21:28:12 ferhat-X58A-UD5 NetworkManager[882]: <info> urfkill disappeared from the bus
Mar 5 21:28:12 ferhat-X58A-UD5 NetworkManager[882]: <info> ofono is now available
Mar 5 21:28:12 ferhat-X58A-UD5 NetworkManager[882]: <warn> failed to enumerate oFono devices: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Mar 5 21:28:12 ferhat-X58A-UD5 NetworkManager[882]: <info> ModemManager available in the bus
Mar 5 21:28:12 ferhat-X58A-UD5 NetworkManager[882]: <info> wpa_supplicant running
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <error> [1457209693.030273] [platform/wifi/wifi-utils-wext.c:519] wext_get_range(): (wlan0): couldn't get driver range information (19).
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <info> (wlan0): driver WEXT range request failed
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <warn> (wlan0): failed to initialize WiFi driver
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: (NetworkManager:882): GLib-GObject-CRITICAL **: object NMDeviceWifi 0xfa83d0 finalized while still in-construction
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: (NetworkManager:882): GLib-GObject-CRITICAL **: Custom constructor for class NMDeviceWifi returned NULL (which is invalid). Please use GInitable instead.
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <warn> wlan0: factory failed to create device: (unknown)
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <info> devices added (path: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/net/wlx0087401008be, iface: wlx0087401008be)
Mar 5 21:28:13 ferhat-X58A-UD5 NetworkManager[882]: <info> device added (path: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/net/wlx0087401008be, iface: wlx0087401008be): no ifupdown configuration found.
Mar 5 21:28:17 ferhat-X58A-UD5 NetworkManager[882]: <info> startup complete

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.