Comment 3 for bug 620503

Revision history for this message
Kalle Valo (kvalo) wrote : Re: [Bug 620503] Re: Network indicator doesn't work. It just says "command not available"

Connel Hooley <email address hidden> writes:

> Here are the outputs of the commands you told me to run. I couldn't
> find the conmand process in the ps aux | less. Posting it here just in
> case I missed it.

Thanks, this was very helpful. connman crashes during boot and that's
why it's not running:

> Aug 19 16:26:44 connel-laptop kernel: [ 41.159167] connmand[1155]: segfault at 0 ip 00c0876f sp bfc78230 error 4 in wifi.so[c01000+9000]

[...]

> Aug 20 21:37:00 connel-laptop connmand[1185]: Connection Manager version 0.53
> Aug 20 21:37:01 connel-laptop kernel: [ 41.924147] connmand[1185]: segfault at 0 ip 004bc76f sp bffba290 error 4 in wifi.so[4b5000+9000]

I assume it happens everytime connman is started because you see the not
available message in the menu all the time and there are two entries of
connmand segfault in the log.

The crash happens in the connman's wifi plugin. What wifi device and
driver are you using? Outputs from lsmod and lspci (and lsusb if you are
using a usb device) help here.

As a workaround, and to verify that wifi plugin is really the culprit
here, you can ask connman to ignore your wifi device, which I assume to
be eth1, by editing /etc/default/connman and changing DAEMON_OPTS to
this:

DAEMON_OPTS="$DAEMON_OPTS -c -W wext -I eth1"

But I would really like to know more about the crash so that I can fix
it. It would help a lot if you can install the daily build version of
connman, enable apport temporarily and send the crash files to me, the
more the better :) Here are the instructions:

  1. Fetch and install connman daily build version for Ubuntu 10.04.
     Choose amd64 or i386 based on your architecture:

     https://launchpad.net/~indicator-network-developers/+archive/daily-ppa/+files/connman_0.56%2Bind-0ubuntu1~ind1%2Br2534%2B201008220428_amd64.deb
     https://launchpad.net/~indicator-network-developers/+archive/daily-ppa/+files/connman_0.56%2Bind-0ubuntu1~ind1%2Br2534%2B201008220428_i386.deb

  2. Reboot computer.

  3. Enable apport temporarily (it will be disabled again in next boot):

     sudo service apport start force_start=1

     https://wiki.ubuntu.com/Apport#How to enable apport

  4. Try to start connmand few times:

     sudo /etc/init.d/connman start

  5. Check that there are _usr_sbin_connmand crash files in /var/crash/
     and send them privately to me to <email address hidden>.

Please note that the daily build might not crash for you anymore. Let me
know how it goes.

--
Kalle Valo