[Bug 216558] New: networkmanager does not recognize network interface after module has been unloaded/reloaded
https://bugzilla.novell.com/show_bug.cgi?id=216558 Summary: networkmanager does not recognize network interface after module has been unloaded/reloaded Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: rml@novell.com ReportedBy: seife@novell.com QAContact: qa@suse.de CC: hmacht@novell.com, thoenig@novell.com, behlert@novell.com OtherBugsDependingO 215208 nThis: simple testcase: #!/bin/bash dbus-send --system \ --print-reply \ --reply-timeout=2000 \ --dest=org.freedesktop.NetworkManager \ /org/freedesktop/NetworkManager \ org.freedesktop.NetworkManager.sleep echo "rmmod" rmmod r8169 sleep 3 echo "modprobe" modprobe r8169 dbus-send --system \ --print-reply \ --reply-timeout=2000 \ --dest=org.freedesktop.NetworkManager \ /org/freedesktop/NetworkManager \ org.freedesktop.NetworkManager.wake ################################################################ This is essentially the same what the now-cool pm-utils do during suspend. Unfortunately, network manager does no longer find a networking device after this. The only way to get it going again for me is a "rcnetwork restart". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |seife@novell.com ------- Comment #1 from jpr@novell.com 2006-10-31 05:40 MST ------- I would guess this is a duplicate of 207899. Does hal show the device after you unsuspend? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 rml@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rml@novell.com AssignedTo|rml@novell.com |tambet@ximian.com Status|NEEDINFO |NEW Info Provider|seife@novell.com | ------- Comment #2 from rml@novell.com 2006-10-31 06:05 MST ------- Does look like a dupe. FWIW, this works for me. Both my e1000 and my ipw3945 come back after resume. And I am doing the above steps (have pm-utils installed and have both modules reloaded on suspend/resume). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 ------- Comment #3 from seife@novell.com 2006-10-31 06:09 MST ------- do you use pm-utils to suspend? you need to add your modules in /etc/pm/config and then call "pm-hibernate". However, my testcase fails without any suspend involved at all. I'll check the hal output. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 ------- Comment #4 from seife@novell.com 2006-10-31 06:15 MST ------- ok. I did: lshal>/tmp/lshal.before bash /tmp/test.sh lshal> /tmp/lshal.after diff /tmp/lshal.* This is the diff: root@strolchi:~# diff /tmp/lshal.* 192c192 < battery.voltage.current = 12516 (0x30e4) (int) ---
battery.voltage.current = 12513 (0x30e1) (int) 1446c1446 < net.linux.ifindex = 15 (0xf) (int)
net.linux.ifindex = 14 (0xe) (int)
So this seems to not be the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkukawka@novell.com ------- Comment #5 from seife@novell.com 2006-10-31 06:19 MST ------- It works, if i put "sleep 5" after "modprobe r8169" So i think this is what happens: - nm is put to sleep - module is removed - interface vanishes from hal - module is reloaded - hal starts detecting the new interface etc. - in the mean time, nm is woken - hal is still detecting the interface and stuff. I mean - the HAL code is known to be horrible wrt. performance and stuff - nm sees "no interface" - hal finally finishes detecting the interface - somehow, nm does not notice that there has turned up a new interface - nm never gets to know that there is a new interface. So i do not know who is to blame, but it surely does not work correctly. And no, i will not put "sleep 5" into the pm-utils scripts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216558 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #6 from jpr@novell.com 2006-10-31 10:14 MST ------- *** This bug has been marked as a duplicate of bug 216495 *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com