[regression jaunty nozomi] NetworkManager does not recognise an Option Globetrotter 3G pcmcia modem

Bug #351803 reported by kasade
30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
High
Alexander Sack

Bug Description

Binary package hint: network-manager

Ubuntu 9.04 beta
network-manager 0.7.1~rc3.2gitb8fc83a7-0ubuntu1

Option Globetrotter 3G is recognised by Ubuntu, but not by the network-manager. It does not appear in the network list.
On ubuntu 8.10 everything works fine.

lspci shows:

02:00.0 Network controller: Option N.V. Qualcomm MSM6275 UMTS chip

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: network-manager 0.7.1~rc3.2.gitb8fc83a7-0ubuntu1
ProcEnviron:
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
kasade (kasade) wrote :
Revision history for this message
Dennis (dennis.guse) wrote :

Me too.

NM does ignore the Option G cause he believes it isn't a mobile modem:

"/var/log/daemon.log":

Apr 1 09:00:56 x90 NetworkManager: <info> (noz0): found serial port (udev: hal:GSM)
Apr 1 09:00:56 x90 NetworkManager: <info> (noz0): ignoring due to lack of probed mobile broadband capabilties
Apr 1 09:00:56 x90 NetworkManager: <info> (noz1): ignoring due to lack of mobile broadband capabilties
Apr 1 09:00:56 x90 NetworkManager: <info> (noz3): ignoring due to lack of mobile broadband capabilties
Apr 1 09:00:56 x90 NetworkManager: <info> (noz2): ignoring due to lack of mobile broadband capabilties

Entry's are also present in the previous posted dmesg.txt...

Revision history for this message
Alexander Sack (asac) wrote : Re: [regression jaunty] NetworkManager does not recognise an Option Globetrotter 3G pcmcia modem

please attach output of lshal, lsusb

also run /lib/udev/nm-modem-probe --export --verbose /dev/noz0 and attach the output.

summary: - NetworkManager does not recognise an Option Globetrotter 3G pcmcia modem
+ [regression jaunty] NetworkManager does not recognise an Option
+ Globetrotter 3G pcmcia modem
Changed in network-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → High
tags: added: regression
Revision history for this message
Alexander Sack (asac) wrote :

we also want the output of lspci on top of what i asked for in https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/351803/comments/3

Would be great if you could come up with that asap as our time to fix things for jaunty is counting. Thanks!

Revision history for this message
kasade (kasade) wrote :
Revision history for this message
kasade (kasade) wrote :
Revision history for this message
kasade (kasade) wrote :
Revision history for this message
kasade (kasade) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :

I can also confirm this. Output of commands is similar to what has been posted already, so I won't post it again.

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

can you try to change in /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules to DRIVERS=="serial_cs|nozomi" ... ?

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

so: DRIVERS=="serial_cs|nozomi", IMPORT{program}="nm-modem-probe --delay 3000 --export $tempnode", GOTO="nm_modem_probe_end"

Revision history for this message
kasade (kasade) wrote :

Done. But there's no effect.
Output of /lib/udev/nm-modem-probe --export --verbose /dev/noz0 attached below

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

The change doesn't work here either.

I don't know if it helps, but I just tried the card in a Jaunty Alpha 5 Live CD session I still had lying around and it is recognized by NM there.

Revision history for this message
Dan Williams (dcbw) wrote :

After making the change Alexander suggested in https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/351803/comments/11 can you unplug the card and replug the card, then grab the last 100 or so lines of /var/log/daemon.log (or wherever NM's syslog output goes) and attach it to this bug?

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

Only the last 8 lines are generated after unplugging and replugging, but I attached the larger amount.

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

Output of kern.log after same procedure.

Revision history for this message
kasade (kasade) wrote :

Same output here.

Alexander Sack (asac)
summary: - [regression jaunty] NetworkManager does not recognise an Option
+ [regression jaunty nozomi] NetworkManager does not recognise an Option
Globetrotter 3G pcmcia modem
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.7.1~rc4-0ubuntu1

---------------
network-manager (0.7.1~rc4-0ubuntu1) jaunty; urgency=low

  * upstream release 0.7.1 rc4
    + http://git.freedesktop.org/NetworkManager/NetworkManager/
    + NETWORKMANAGER_0_7 (branch)
      - dont send AT commands to serial consoles that are not using a modem driver
      - nozomi probing (LP: #351803)
      - allow users with polkit authorization to view/edit secrets for system connections
      - fix crash that might be LP: #319918
  * allow connection sharing out of the box; we add dnsmasq-base to Recommends:
    - update control

 -- Alexander Sack <email address hidden> Mon, 06 Apr 2009 12:43:31 +0200

Changed in network-manager (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Franz Dietzmann (tdk-le) wrote :

after today's update to network -manager, the card is still not found for me. output of relevant logs is still the same as posted before.

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

at best someone with the card would figure how to poke the udev rules to match your driver/card.

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

Franz, can you confirm that your driver is nozomi? (that part is not in the logs posted). Please attach complete syslog after reboot again.

Revision history for this message
Dario Gallucci (dario-gallucci) wrote :

I can confirm that 0.7.1_rc4 did not solve the issue.

Can someone please suggest a way to obtain more meaningful debug output from 77-nm-probe-modem-capabilities.rules?

Revision history for this message
Dario Gallucci (dario-gallucci) wrote :

I have realized that nozomi matches this line:

KERNEL!="tty*", GOTO="nm_modem_probe_end"

and replaced with:

KERNEL!="noz*", GOTO="nm_modem_probe_end"

but it didn't work. (I rebooted of course). Any other idea?

I have attached udevadm info output.

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

please use udevadm control --log-priority=debug

and then replug.

Changed in network-manager (Ubuntu):
assignee: nobody → asac
status: Fix Released → In Progress
Revision history for this message
Alexander Sack (asac) wrote :
Revision history for this message
Alexander Sack (asac) wrote :

Dario, could you also get the udevadm info for the other ttys for us? (e.g. nzo1 nzo2)?

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

on top of what i asked above, please also run:

udevadm test --action=add /class/tty/noz0

and give us the output

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

(all as root user obviously)

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

Attached the complete syslog of last reboot. (I hope it's the right thing, this is my first time contributing to a bug report, so I'm not fully sure it is.)
I will run the udevadm now and post results.

I am sure the card uses the nozomi driver, I'm running it using wvdial for the moment, which works fine.

Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Alexander Sack (asac) wrote :

Franz, I wanted to see those after the udev rules tweakage of the KERNEL line like Dario suggested. Maybe drop it completely for that.

Revision history for this message
Alexander Sack (asac) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :

Just so I get right this time, what do you mean by dropping it completely? Delete the whole line? Sorry I'm slow here..

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

I had some time, so I did both. First set of files is with noz replacing tty.

Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :

following are with the KERNEL line deleted

Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Franz Dietzmann (tdk-le) wrote :
Revision history for this message
Alexander Sack (asac) wrote :

ok so with the KERNEL line removed the prober gets actually run. with that state, please replug/reboot and attach your complete syslog.

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

syslog after reboot, plugged in the card after desktop was ready.

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

ok. still keep the KERNEL line removed and run:

sudo udevadm info --query=env --path=/sys/class/tty/noz0

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

outout is just:

UDEV_LOG=3
DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.0/0000:03:00.2/tty/noz0
MAJOR=249
MINOR=0
DEVNAME=/dev/noz0
DEVLINKS=/dev/char/249:0

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

ok, so still _without_ that KERNEL line in the rules, we need another log:

1. please set udev to debug mode like:

  udevadm control --log-priority=debug

2. run

  tail -n0 -f /var/log/syslog | tee /tmp/syslog.txt

3. replug your card; wait a bit and attach the syslog.txt here. Thanks!

Revision history for this message
Franz Dietzmann (tdk-le) wrote :

here you go. You're very welcome.

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

right now uploading network-manager_0.7.1~rc4.1.cf199a964-0ubuntu1_source.changes which hopefully fixes this. Please check this asap.

Changed in network-manager (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.7.1~rc4.1.cf199a964-0ubuntu1

---------------
network-manager (0.7.1~rc4.1.cf199a964-0ubuntu1) jaunty; urgency=low

  * upstream release 0.7.1 final candidate 1 (Wed Apr 8 06:38:37 2009 -0400)
    + http://git.freedesktop.org/NetworkManager/NetworkManager/
    + NETWORKMANAGER_0_7 (branch)
      - modem-probe: retry opening the serial port if --delay is used (LP: #351803)
        (Up to --delay milliseconds.)
      - core: ignore DHCP-sent MTUs less than 577 (LP: #352779)
      - core: update FSF address (bgo #577949)
      - modem-probe: don't restrict probing on tty device name (LP: #351803)

 -- Alexander Sack <email address hidden> Wed, 08 Apr 2009 12:53:41 +0200

Changed in network-manager (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Franz Dietzmann (tdk-le) wrote :

Works great now! Thanks alot!

Revision history for this message
kasade (kasade) wrote :

Yes, everything is working fine now :) Thank you :)

Revision history for this message
Robert Hrovat (robi-hipnos) wrote :

Will there be a fix for Karmic too?

Revision history for this message
Zsolt Présing (presingzs) wrote :

doesn't work in Karmic

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

for karmic, please try the trunk builds fom ppa on debugging page: https://wiki.ubuntu.com/DebuggingModemmanager

if that does not help, please use those instructions to get proper logs and open a new bug. drop the new bug id here, so we can follow up there.

Thanks!

Revision history for this message
kasade (kasade) wrote :

I've already filled a new bug ( Bug #437766 ), but it was marked as a duplicate of Bug #417389, which has a "Fix Committed" status, but for me nothing has changed and it still does not work! I don't know what to do...
You can find my logs here: https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/417389/comments/30

To post a comment you must log in.