Interfaces are somethings not detected after return from suspend

Bug #57689 reported by Pedro Côrte-Real
2
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

Sometimes after returning from suspend network manager says it has no detected interfaces. Here's what the log says:

Aug 25 12:12:25 localhost NetworkManager: <information>^IWaking up from sleep.
Aug 25 12:12:25 localhost NetworkManager: <information>^IDeactivating device eth0.
Aug 25 12:12:25 localhost NetworkManager: <information>^IDeactivating device ath0.
Aug 25 12:12:27 localhost NetworkManager: <WARNING>^I nm_device_802_11_wireless_get_mode (): error getting card mode on ath0: No such
device

These are the first messages in daemon.log after suspend. If I disable and then reenable networking network manager works again.

Aug 25 12:20:06 localhost NetworkManager: <information>^IGoing to sleep.
Aug 25 12:20:08 localhost NetworkManager: <information>^IWaking up from sleep.
Aug 25 12:20:08 localhost NetworkManager: <information>^Iath0: Device is fully-supported using driver 'new_ath_pci'.
Aug 25 12:20:08 localhost NetworkManager: <information>^Inm_device_init(): waiting for device's worker thread to start
Aug 25 12:20:08 localhost NetworkManager: <information>^Inm_device_init(): device's worker thread started, continuing.
Aug 25 12:20:08 localhost NetworkManager: <information>^INow managing wireless (802.11) device 'ath0'.
Aug 25 12:20:08 localhost NetworkManager: <information>^Ieth0: Device is fully-supported using driver 'sky2'.
Aug 25 12:20:08 localhost NetworkManager: <information>^Inm_device_init(): waiting for device's worker thread to start
Aug 25 12:20:08 localhost NetworkManager: <information>^Inm_device_init(): device's worker thread started, continuing.
Aug 25 12:20:08 localhost NetworkManager: <information>^INow managing wired Ethernet (802.3) device 'eth0'.
Aug 25 12:20:08 localhost NetworkManager: <information>^Imatch
Aug 25 12:20:08 localhost last message repeated 3 times
Aug 25 12:20:10 localhost NetworkManager: <information>^IWill activate wired connection 'eth0' because it now has a link.
Aug 25 12:20:10 localhost NetworkManager: <information>^ISWITCH: no current connection, found better connection 'eth0'.
Aug 25 12:20:10 localhost NetworkManager: <information>^IWill activate connection 'eth0'.
Aug 25 12:20:10 localhost NetworkManager: <information>^IDevice eth0 activation scheduled...
Aug 25 12:20:10 localhost NetworkManager: <information>^IActivation (eth0) started...

After this the normal connection happens.

I suspect this happens because when network manager wakes up from sleep the interfaces aren't available yet.

This is on an Apple White Macbook, with a 2Ghz intel core duo processor. The network cards use the sky (wired) and ath (wireless) drivers.

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

Sorry for the duplicate. I didn't find the original one when I searched.

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.