delays, failures on wireless connection (using the example of Linphone)

Hi!

My overall problem is that certain applications show significant delays if (and only if!) wireless is connected on openSUSE 12.2 / 12.3. My particular problem is that the SIP client “Linphone” is not working. When wireless is activated there are more than 120 seconds of delay at startup of “Midnight Commander”, 25 seconds for “Firefox”, and 60 seconds delays throughout run of “Linphone” - I guess at each try to SIP registration.

On openSUSE 12.2 the problem occured only recently on a particular wireless network. On the fresh installed openSUSE 12.3 64-bit (Dartmouth, Kernel “3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64 GNU/Linux”) the problem occurs on several (all?) wireless networks. Details about the wireless card are:


03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
    Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card [1a3b:1089]
    Kernel driver in use: ath9k

I have tried to get more log messages of Linphone 3.5.2-42.1.2:


> mkdir ~/mylogdir; linphone -l ~/mylogdir

Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Segmentation fault

> linphone

Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL default:0
ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0

(linphone:3094): Gtk-WARNING **: Could not find signal handler 'linphone_gtk_create_fonics_account'

In “Linphone” after setup of an account without wizard, which is also broken, the messages in “Help > Show Debug Window” do not show warnings or errors except of


message: eXosip: Reseting timer to 10s before waking up!
message: linphone process event get a message 2

message: REGISTRATION_FAILURE

Any ideas are welcome… I think it would be helpful if someone showed how to make “Linphone” (or “Midnight Commander” or “Firefox”) print a really verbose log… Thx.

On 06/15/2013 07:06 AM, fips907 wrote:
>
> > mkdir ~/mylogdir; linphone -l ~/mylogdir
>
> Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 9: reading configurations from ~/.fonts.conf is deprecated.
> Segmentation fault

for that part of this problem i think if you just delete the
…fonts.conf in your home, that error will end–whether it fixes the
delays, failures, etc with wireless i don’t know, but we can hope…

> > linphone
>
> Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 9: reading configurations from ~/.fonts.conf is deprecated.
> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL default:0
> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0
> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0
>
> (linphone:3094): Gtk-WARNING **: Could not find signal handler ‘linphone_gtk_create_fonics_account’

what desktop environment and version are you using?
and, if using KDE do you also have Gnome or other installed?

what version of linphone are you using and from where and how was it
installed (YaST, zypper, 1-Click, rpm command, source and local
compiled?)

> In “Linphone” after setup of an account without wizard, which is also
> broken,

besides those broken things, as well as the “delays, failures on
wireless” are you experiencing any other
fault/failures/pauses/freezes anywhere at any time? if so, please
explain what you mean by “fresh installed” 12.3 after running 12.2
(that is, did you format the entire system disk and “fresh install”
12.3 on a bare blank disk and then rejoin your saved
data/music/mail/etc back in?

or, did you save your /home and format the rest? or did you use some
form of upgrade retaining configs and whatever?

>
> message: eXosip: Reseting timer to 10s before waking up!
> message: linphone process event get a message 2
>
> message: REGISTRATION_FAILURE

are you using an Internet Telephony Service Provider (ITSP), or ??

> Any ideas are welcome… I think it would be helpful if someone showed
> how to make “Linphone” (or “Midnight Commander” or “Firefox”) print a
> really verbose log…

most applications that are not specifically set up to run debug code
will report complaints to /var/log/messages

some applications will create a subdirectory under /var/log/ and
report there (mc and firefox do not, but linphone might (i’ve never
used it) so, you might look for a /var/log/linphone/

or linphone problems might be in /var/log/NetworkManager

or, you might type this into a terminal


lindphone --help

and see if the resulting output lists a switch to turn on verbose
output…

as for midnight commander verbose logs, have you searched for that?
try a google like this and see where it leads:

https://www.google.com/search?q=site%3Amidnight-commander.org+“verbose+logs”

something similar might answer the firefox question…but it is kinda
difficult to give one answer which will fit all of the thousands of
Linux applications…


dd
http://tinyurl.com/DD-Caveat

Thanks for your reply!

> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL default:0
> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0
> ALSA lib conf.c:4692:(snd_config_expand) Unknown parameters 0
> ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM default:0
>
> (linphone:3094): Gtk-WARNING **: Could not find signal handler ‘linphone_gtk_create_fonics_account’

  • After deleting the file “.fonts.conf” this particular warning is not shown again.
  • The segmentation fault is actually due to the -l option. “linphone --help” says “path to a file to write logs into”. Actually a filename should be given not a path.
  • Not sure about the reason of the GTK warning.

what desktop environment and version are you using?
and, if using KDE do you also have Gnome or other installed?

what version of linphone are you using and from where and how was it
installed (YaST, zypper, 1-Click, rpm command, source and local compiled?)

I am using XFCE (with several KDE applications and a few GNOME applications). In KDE the same problem exists. Linphone 3.5.3-42.1.2 is installed by YaST from Index of /distribution/12.3/repo/oss.

besides those broken things, as well as the “delays, failures on
wireless” are you experiencing any other
fault/failures/pauses/freezes anywhere at any time? if so, please
explain what you mean by “fresh installed” 12.3 after running 12.2

Basicly, I have separate partitions for /home and /. First I did a distribution upgrade 12.2 to 12.3, which I should have never tried - after spending much time I finally did not succeed fixing the X system crashing ocasionally.

Hence, I installed 12.3 on a newly formatted partition (I still have the old upgraded 12.3 on another partition). For my testing, I created a new test user to have a clean home directory (unfortunately for the “.fonts.conf” warning, I choose the wrong output - the test user account does not show this message).

Another thing to notice is that after the “startup” of KDE (that is, showing already the desktop) it takes another 30 seconds until things like the menu can be used…

And just to note that the whole setup was working under openSUSE 12.2 (on a few different networks).

are you using an Internet Telephony Service Provider (ITSP), or ??

Yes, an ITSP with SIP protocol support.

> Any ideas are welcome… I think it would be helpful if someone showed
> how to make “Linphone” (or “Midnight Commander” or “Firefox”) print a
> really verbose log…

most applications that are not specifically set up to run debug code
will report complaints to /var/log/messages

some applications will create a subdirectory under /var/log/ and
report there (mc and firefox do not, but linphone might (i’ve never
used it) so, you might look for a /var/log/linphone/

or linphone problems might be in /var/log/NetworkManager

as for midnight commander verbose logs, have you searched for that?
try a google like this and see where it leads:

https://www.google.com/search?q=site%3Amidnight-commander.org+“verbose+logs”

something similar might answer the firefox question…but it is kinda
difficult to give one answer which will fit all of the thousands of
Linux applications…

Unfortunately “linphone -l myfile.log” has been still the best which I have found so far. There is no related information written to any file under /var/log. Now Linphone reports (as it did some time ago using 12.2):

[message] New binding with XX.XX.XX.XX:5060
[message] socket node:XXX1.XXX , socket 20, family:2 set to non blocking mode
[message] Cannot connect socket node / select timeout (0 ms)
[message] socket node:XXX1.XXX, socket 20 [pos=0], family:2, in progress
[message] Cannot connect socket node / select timeout (0 ms)
[message] socket node:XXX1.XXX, socket 20 [pos=0], in progress
[message] cb_transport_error (id=2)
[message] cb_nict_kill_transaction (id=2)
[message] free transaction ressource 2 496714548
[message] free nict ressource
[message] eXosip: Reseting timer to 10s before waking up!
[message] eXosip: Reseting timer to 10s before waking up!
[error] Could not read socket (Connection refused)- close it
[message] eXosip: Reseting timer to 10s before waking up!
[message] linphone process event get a message 31

[warning] other_request_reply(): Receiving response to unknown request.
[message] eXosip: Reseting timer to 10s before waking up!
...