Red Hat Bugzilla – Bug 484530
Unplugging CDMA modem doesn't update active connections
Last modified: 2009-05-12 00:07:03 EDT
Description of problem:
I'm connecting to the internet by using a CDMA modem. Occasionally I have to use it on a secondary PC. It's very convenient to unplug it directly rather than disconnecting. Everything works ok, the programs enter offline mode as they should but nm-applet still displays the connection(device). Repeating this step will leave another active connection, which can look quite ugly after doing this a couple of times(see attached).
Steps to Reproduce:
1. Plug the usb CDMA modem and connect
2. Unplug the modem (without using disconnect)
Created attachment 331219 [details]
Next time you want to just unplug without disconnecting, can you:
1) Open a terminal (as your user), and run the command "lshal --monitor"
2) Open another terminal, and (as root) run "/sbin/udevadm monitor"
Then, while you're connected, unplug the modem. Attach the output from both terminals. What we're looking for here is whether it's a kernel problem or a NetworkManager problem. We can figure this out by looking at whether udev and hal recognize the device unplug. Thanks!
Created attachment 331960 [details]
Created attachment 331961 [details]
Ok, same thing, but after you unplug without disconnecting and NM shows the issue, can you grab the output of just "lshal" (ie, without the --monitor)?
Created attachment 331975 [details]
The archive contains both the lshal output when the modem is connected (lshal_output_before) and after it gets disconnected(lshal_output_after).
I figured you can use diff or something similar to find what you're looking for.
The lshal output looks OK, moves some suspicion back to NM itself. I guess we need to do some scrach builds with more debugging info.
This actually turns out to be a kernel bug with the PPP layer; worked around in NM for now.
NetworkManager-0.7.0.99-4.git20090324.fc10 has been submitted as an update for Fedora 10.
NetworkManager-0.7.0.99-4.git20090324.fc9 has been submitted as an update for Fedora 9.
NetworkManager-0.7.0.99-4.git20090324.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
NetworkManager-0.7.0.99-5.git20090326.fc9 has been submitted as an update for Fedora 9.
NetworkManager-0.7.0.100-2.git20090408.fc9 has been submitted as an update for Fedora 9.
NetworkManager-0.7.1-1.fc9 has been submitted as an update for Fedora 9.
NetworkManager-0.7.1-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.