Bug 816992

Summary: Wifi stop working after suspend/resume after update to pm-utils 1.4.1-26.5.1
Product: [openSUSE] openSUSE 12.3 Reporter: Forgotten User A3auQFY4hJ <forgotten_A3auQFY4hJ>
Component: NetworkAssignee: openSUSE GNOME <os.gnome.maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bbrunner, crrodriguez, David, dimstar, forgotten_dH2Y-YXEfD, forgotten_DV81ZEWZkN, jnelson-suse, meissner, suse
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 12.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: journalctl -b output

Description Forgotten User A3auQFY4hJ 2013-04-24 18:46:44 UTC
Created attachment 536722 [details]
journalctl -b output

User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31

After pm-utils 1.4.1-26.5.1 update wifi on my notebook stop working. Problem probably is somewhere in networkmanager and stoping before suspend. After resume I still see networks which were in suspend time.

After downgrade back to pm-utils 1.4.1-26.2.1 all works great again.

I use standart OpenSuse 12.3 with KDE 4.10,3.7.10-1.1-desktop, wifi driver iwlwifi

03:00.0 Network controller: Intel Corporation WiFi Link 5100

Reproducible: Always

Steps to Reproduce:
1. upgrade to latest stable pm-utils
2. suspend to ram
3. resume on another place with another wifi networks



I think that problem is in suspend NetworkManager and after resume rescan all wireless again
Comment 1 Cristian Rodríguez 2013-04-24 19:17:58 UTC
This issue has to be dealt in networkmanager+upower not in pm-utils.
Comment 2 Cristian Rodríguez 2013-04-24 19:30:02 UTC
maybe this one...

http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=dd42da51a83d265cba227e18ab6fee7e06b4ecb3

fixed in nm 0.9.7.995 but 12.3 has 0.9.6.x
Comment 3 Marcus Meissner 2013-04-25 09:52:30 UTC
-> pm-utils update submitter Wojtek

(regression caused by 12.3 pm-utils update)
Comment 4 Leonardo Chiquitto 2013-04-27 14:27:14 UTC
*** Bug 813461 has been marked as a duplicate of this bug. ***
Comment 5 Vojtech Dziewiecki 2013-04-29 13:05:43 UTC
As Cristian said (here and in bnc#806632), this cannot be hacked around in pm-utils, which we plan to remove in the future, but fixed in upower or networkmanager.

I deliberately removed 55networkmanager hook, as requested in bnc#806632.

Marcus, can you please reassign this to someone who maintains upower or networkmanager? Thanks.
Comment 6 Marcus Meissner 2013-04-29 13:22:24 UTC
hrvoje.senjan@gmail.com is doing all upower submits ... can we add you as maintainer/bugowner?
Comment 7 Forgotten User DV81ZEWZkN 2013-04-29 18:44:28 UTC
(In reply to comment #6)
> hrvoje.senjan@gmail.com is doing all upower submits ... can we add you as
> maintainer/bugowner?

Hardly i would be maintainer, but i can provide my findings.
As i wrote in similar br, https://bugzilla.novell.com/show_bug.cgi?id=807111#c1
i've also had the issue with regards pm-utils and NM.

I have now tried downgrading NM, upower, systemd, and pm-utils from Factory to 12.3 update version, and the situation is now a bit different. Trying to suspend with factory system + above packages from 12.3:u rebuilt for factory produces a kernel panic, so now without pm-utils NM doesn't reconnect. But, it does *with* pm-utils. In other words, i can't reproduce the problem.

@Zdenek
Could you test 12.3 NM binaries from
home:sumski:12.3 and see does it resolves the problem for you?
I've adjust the upower patch as per comment 2

Adding also Dominique to CC
Comment 8 Forgotten User A3auQFY4hJ 2013-04-29 20:02:36 UTC
I have i586 distro - in repository are only x64 packages. So I cannot test. Can you compile for i586 please ?
Comment 9 Forgotten User DV81ZEWZkN 2013-04-29 20:08:09 UTC
You can find i586 packages too :-)
http://download.opensuse.org/repositories/home:/sumski:/12.3/openSUSE_12.3/
Comment 10 Forgotten User A3auQFY4hJ 2013-04-29 20:25:20 UTC
Sorry - after refresh I see openSUSE_12.3 repository (dir date 29-Apr-2013 20:03-UTC) - some timeout.


Yes with yours packages all is ok !

Thanks a lot
Comment 11 Forgotten User DV81ZEWZkN 2013-04-29 20:50:41 UTC
Great to hear Zdenek! I've now created maintance request for NM. Thanks for testing :-)
Comment 12 Cristian Rodríguez 2013-04-29 20:57:04 UTC
(In reply to comment #11)
> Great to hear Zdenek! I've now created maintance request for NM. Thanks for
> testing :-)

Thank you for taking the time to backport the relevant bulk of work that fixes this issue for good instead of adding workarounds. I owe you a beer :-)
Comment 13 Bernhard Wiedemann 2013-04-29 21:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (816992) was mentioned in
https://build.opensuse.org/request/show/173848 Maintenance /
Comment 14 Forgotten User dH2Y-YXEfD 2013-05-07 17:26:23 UTC
Hrvoje Senjan: Thanks so much for making this fix available! I can confirm that your repo fixes this bug for me on openSUSE 12.3 with KDE 4.10.3 and NetworkManager.

So can we expect an NetworkManager fix from the main update repository in the near future?

Thanks again for the fix!
Comment 15 Cristian Rodríguez 2013-05-07 19:46:19 UTC
> So can we expect an NetworkManager fix from the main update repository in the
> near future?

It is already in the "update-test" repository which contains packages that will be soon released to the official channel.
Comment 16 Forgotten User dH2Y-YXEfD 2013-05-07 20:26:55 UTC
Great, thanks Cristian.
Comment 17 Forgotten User DV81ZEWZkN 2013-05-07 21:47:25 UTC
(In reply to comment #12)
> Thank you for taking the time to backport the relevant bulk of work that fixes
> this issue for good instead of adding workarounds. I owe you a beer :-)

Right, but you found where the issue lies ;-)
Looks like devs also like typos, as much as the packagers :-p

I am also wondering does this resolves bug 807111 and a few others (now that the axing of pm-utils has slowly started).

@Rahim, as Christian said, official update should be available soon.
Comment 18 Forgotten User A3auQFY4hJ 2013-05-08 06:58:16 UTC
I am using your patch from 2013-04-29 and works successfully. Many thanks
Comment 19 Benjamin Brunner 2013-05-14 14:56:20 UTC
The update for openSUSE 12.3 is released now and should be available soon in the regular update-channel. Thanks for all your efforts. 

Resolved fixed.
Comment 20 Swamp Workflow Management 2013-06-10 09:12:30 UTC
openSUSE-RU-2013:0895-1: An update that has two recommended fixes can now be installed.

Category: recommended (important)
Bug References: 816992,817585
CVE References: 
Sources used:
openSUSE 12.3 (src):    NetworkManager-0.9.6.4-5.12.2, NetworkManager-gnome-0.9.6.4-2.9.2