NetworkManager uses 100% CPU with bcm43xx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: network-manager
Just installed Feisty on my iBook G4 and upgraded to Gutsy (using update-manager).
Using Feisty, network-manager worked fine with both my wired and wireless (bcm43xx) connection. After upgrading to Gutsy (network-manager 0.6.5-0ubuntu16), NetworkManager process takes 100% CPU and nm-applet shows no device and disconnected status. Using "htop", I straced NetworkManager and found this:
...
sigreturn() = ? (mask now [ILL TRAP ABRT BUS FPE USR1 USR2 PIPE ALRM TERM STKFLT CONT STOP IO])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn() = ? (mask now [ILL TRAP ABRT BUS FPE USR1 USR2 PIPE ALRM TERM STKFLT CONT STOP IO])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn() = ? (mask now [ILL TRAP ABRT BUS FPE USR1 USR2 PIPE ALRM TERM STKFLT CONT STOP IO])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn() = ? (mask now [ILL TRAP ABRT BUS FPE USR1 USR2 PIPE ALRM TERM STKFLT CONT STOP IO])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
...
So, I killed it (SIGKILL) and straced it from the beginning, I'll attach the log.
If I rmmod bcm43xx and restart network manager with /etc/dbus-
Oct 18 00:51:27 peque kernel: [ 2619.734134] bcm43xx driver
Oct 18 00:51:27 peque NetworkManager: <debug> [1192661487.280961] nm_hal_
Oct 18 00:51:27 peque NetworkManager: <WARN> new_nl_handle(): new_nl_handle: couldn't connecto to netlink: bind() failed (errno = Operation not permitted)
Oct 18 00:51:30 peque NetworkManager: <info> eth1: Device is fully-supported using driver 'bcm43xx'.
Oct 18 00:51:30 peque NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
Oct 18 00:51:30 peque NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
Oct 18 00:51:30 peque NetworkManager: <info> Now managing wireless (802.11) device 'eth1'.
Oct 18 00:51:30 peque NetworkManager: <info> Deactivating device eth1.
Oct 18 00:51:30 peque NetworkManager: <WARN> new_nl_handle(): new_nl_handle: couldn't connecto to netlink: bind() failed (errno = Operation not permitted)
Oct 18 00:51:30 peque NetworkManager: <WARN> nm_signal_
Oct 18 00:51:30 peque NetworkManager: ******************* START *******
Oct 18 00:51:30 peque kernel: [ 2623.391981] ADDRCONF(
Oct 18 00:51:31 peque NetworkManager: Using host libthread_db library "/lib/libthread
Oct 18 00:51:31 peque kernel: [ 2623.742305] SoftMAC: Open Authentication completed with 00:11:f5:5d:5c:97
Oct 18 00:51:31 peque kernel: [ 2623.754752] ADDRCONF(
Oct 18 00:51:31 peque NetworkManager: [Thread debugging using libthread_db enabled]
Oct 18 00:51:31 peque NetworkManager: [New Thread 805502976 (LWP 6375)]
Oct 18 00:51:31 peque NetworkManager: [New Thread 822281424 (LWP 6485)]
Oct 18 00:51:31 peque NetworkManager: [New Thread 813892816 (LWP 6381)]
Oct 18 00:51:31 peque NetworkManager: 0x0fbff994 in ?? () from /lib/libpthread
Oct 18 00:51:31 peque NetworkManager: ******************* END *******
Oct 18 00:51:32 peque avahi-daemon[5301]: Registering new address record for fe80::211:
Oct 18 00:51:41 peque kernel: [ 2633.832799] eth1: no IPv6 routers present
And NetworkManager goes to the "eternal-
Here's the strace. It was originally sized a few hundred MB, so I chopped it down to a reasonable size (the rest of the file was a repetition of the SIGSEGV).