NetworkManager fails and crashes after resume from suspend

Bug #152754 reported by Joss Winn
This bug report is a duplicate of:  Bug #145683: Network manager crash with WPA. Edit Remove
18
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
High
Unassigned

Bug Description

Binary package hint: network-manager

Hello,

This has started to happen to me the last couple of days. I'm running an up-to-date Gutsy on a lenovo 300 n100 0768FPG. Sometimes, after resuming from suspend, one CPU is throttled to 100% by networkmanager and networking fails.

I get this error in deamons.log:

Oct 14 21:37:26 localhost NetworkManager: <info> SUP: response was 'TIMEOUT[CLI]'
Oct 14 21:37:26 localhost NetworkManager: <WARN> nm_utils_supplicant_request_with_check(): supplicant_cleanup: supplicant error for 'AP_SCAN 0'. Response: 'TIMEOUT[CLI]'
Oct 14 21:37:26 localhost NetworkManager: <WARN> supplicant_cleanup(): supplicant_cleanup - couldn't set AP_SCAN 0
Oct 14 21:37:26 localhost NetworkManager: <info> SUP: sending command 'TERMINATE'
Oct 14 21:37:26 localhost NetworkManager: <info> SUP: response was 'OK'
Oct 14 21:37:26 localhost NetworkManager: <WARN> nm_signal_handler(): Caught signal 11. Generating backtrace...
Oct 14 21:37:27 localhost NetworkManager: ******************* START **********************************
Oct 14 21:37:27 localhost NetworkManager: (no debugging symbols found)
Oct 14 21:37:27 localhost NetworkManager: Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Oct 14 21:37:27 localhost NetworkManager: (no debugging symbols found)
Oct 14 21:37:27 localhost last message repeated 12 times
Oct 14 21:37:27 localhost NetworkManager: [Thread debugging using libthread_db enabled]
Oct 14 21:37:27 localhost NetworkManager: [New Thread -1212385616 (LWP 4900)]
Oct 14 21:37:27 localhost NetworkManager: [New Thread -1229173872 (LWP 5948)]
Oct 14 21:37:27 localhost NetworkManager: [New Thread -1220781168 (LWP 5032)]
Oct 14 21:37:27 localhost NetworkManager: (no debugging symbols found)
Oct 14 21:37:27 localhost last message repeated 4 times
Oct 14 21:37:27 localhost NetworkManager: 0xffffe410 in __kernel_vsyscall ()
Oct 14 21:37:27 localhost NetworkManager: ******************* END **********************************

Revision history for this message
Alexander Sack (asac) wrote :

is this reproducible? can you please install my preview package from http://ppa.launchpad.net/asac/ubuntu/pool/main/n/network-manager/ ... the version is 0.6.5-0ubuntu16~ppa3.

Thanks,
 - Alexander

Changed in network-manager:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Alexander Sack (asac) wrote :

ok forgot to mention. The packages you want are:

 + libnm-glib0
 + libnm-util0
 + network-manager

all with version 0.6.5-0ubuntu16~ppa3.

Revision history for this message
Martin Emrich (emme) wrote :

I also have this problem, where n-m hangs in an endless loop of segfaults after resume. I am giving your packages a try now.

Ciao

Martin

Revision history for this message
Scott Robinson (scott-ubuntu) wrote :

People seem to have success with the previous driver ~pp3. But you just released a new version to main that doesn't have those patches and therefore bumps the fixed versions people may have installed.

What's the hold-up on pushing the fixes?

Revision history for this message
Joss Winn (josswinn) wrote :
Download full text (13.4 KiB)

Seems OK with the ppa3 packages. Here's some output:

Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.051778] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial_if0').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.059581] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial_if1').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.059796] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial_if2').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.059974] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial_if3').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.060192] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.070427] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_noserial_usbraw').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.178203] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_8ff_2580_noserial_if0').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.180522] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_8ff_2580_noserial').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.183422] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_8ff_2580_noserial_usbraw').
Oct 16 07:07:07 localhost NetworkManager: <debug> [1192514827.325681] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_1b_38_07_db_35').
Oct 16 07:07:07 localhost NetworkManager: <info> eth0: Device is fully-supported using driver '8139too'.
Oct 16 07:07:07 localhost NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
Oct 16 07:07:07 localhost NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
Oct 16 07:07:07 localhost NetworkManager: <info> Now managing wired Ethernet (802.3) device 'eth0'.
Oct 16 07:07:07 localhost NetworkManager: <info> Deactivating device eth0.
Oct 16 07:07:07 localhost NetworkManager: <info> Will activate wired connection 'eth0' because it now has a link.
Oct 16 07:07:09 localhost NetworkManager: <debug> [1192514829.109116] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/computer_logicaldev_input_1').
Oct 16 07:07:09 localhost NetworkManager: <debug> [1192514829.119149] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/computer_logicaldev_input_0').
Oct 16 07:07:09 localhost NetworkManager: <debug> [1192514829.120711] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/computer_logicaldev_input_2').
Oct 16 07:07:09 localhost NetworkManager: <debug> [1192514829.199462] nm_hal_device_adde...

Revision history for this message
François Cauwe (fcauwe) wrote :

I confirm this bug, which is _really_ annoying,
I don't expect normal users to do a 'sudo killall -9 NetworkManager'

Revision history for this message
MFeif (matt-feifarek) wrote :

Confirmed; also happening every resume on a Thinkpad T43.

I will try the packages. Thanks

Revision history for this message
MFeif (matt-feifarek) wrote :

The ppa3 packages do seem to fix the problem.

But it's true, the automatic updates are trying to stomp those three packages. For now, I'll ignore the suggestion.

If any log data can be useful, let me know.

Revision history for this message
François Pernoud (francois-pernoud) wrote :

Same here, ppa3 packages fix the problem on my Presario V6012. Thanks.

Revision history for this message
Alexander Sack (asac) wrote :

When I uploaded the lastest NM package I had not enough feedback to justify this rather intrustive change. I will prepare new packages based on what is currently in gutsy, and if there is _enough_ positive feedback upload to -proposed.

Thanks,
 - Alexander

Revision history for this message
Joss Winn (josswinn) wrote :

Things have been working for me since updating to ppa3 and then to the latest official updates via synaptic. the only error message i get now in my logs for networkmanager is:

Oct 17 11:03:55 localhost NetworkManager: <WARN> nm_device_802_11_wireless_get_mode(): error getting card mode on eth1: No such device

but my connection is ok.

thanks

Revision history for this message
Harald Staub (staub) wrote :

Before, after some suspend/resume cycles, networking died. With the ppa3 packages, this did not happen again.

Cheers
 Harry

Revision history for this message
Alexander Sack (asac) wrote :

ok this is a duplicate of 145683 then.

Thanks,
 - Alexander

Revision history for this message
Peter Rhone (prhone-gmail) wrote :

I have the same laptop Lenovo 3000 N100 - same problem. Hopefully the pp3 packages are added to proprosed pronto.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 152754] Re: NetworkManager fails and crashes after resume from suspend

Hi,

SqRt7744 [2007-11-06 8:18 -0000]:
> I have the same laptop Lenovo 3000 N100 - same problem. Hopefully the
> pp3 packages are added to proprosed pronto.

They were yesterday (see master bug). Please test and give feedback
there.

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.