GNOME Bugzilla – Bug 671276
NetworkManager fails to start
Last modified: 2012-03-09 16:03:45 UTC
After upgrade to 0.9.3.955, NetworkManager fails to start. No D-Bus objects are created. Stack trace shows that it blocks in recvmsg() while probing ethernet device for WiFi capabilities. Software versions are as follows: Mageia Linux, kernel 3.2.9 NetworkManager 0.9.3.955 glibc 2.14.1 libnl 1.1 ethernet driver: forcedeth GDB session transcript follows: [root@localhost ~]# gdb NetworkManager GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-mageia-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/sbin/NetworkManager...Reading symbols from /usr/lib/debug/usr/sbin/NetworkManager.debug...done. done. (gdb) (gdb) set args --no-daemon (gdb) r Starting program: /usr/sbin/NetworkManager --no-daemon [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i686/libthread_db.so.1". NetworkManager[4794]: <info> NetworkManager (version 0.9.3.995) is starting... NetworkManager[4794]: <info> Read config file /etc/NetworkManager/NetworkManager.conf NetworkManager[4794]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn [New Thread 0xb7450b70 (LWP 4797)] NetworkManager[4794]: ifcfg-rh: Acquired D-Bus service com.redhat.ifcfgrh1 NetworkManager[4794]: <info> Loaded plugin ifcfg-rh: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. NetworkManager[4794]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. NetworkManager[4794]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ... NetworkManager[4794]: <warn> failed to allocate link cache ^C Program received signal SIGINT, Interrupt. 0xffffe424 in __kernel_vsyscall () (gdb) bt
+ Trace 229790
Typo at wifi-utils-nl80211.c:782, should be "if (ifindex < 0)" instead of "if (index < 0)"
Works OK with the typo above fixed, though that "<warn> failed to allocate link cache" persists. I think that might affect WiFi detection.
Thanks! Good catch. I'll poke at the failed to allocate link cache issue. Type fix pushed to git master.