Hi!

Am 04.03.2013 um 19:57 schrieb Sascha Herrmann <sas...@ps.nvbi.de>:

> Did you apply the patch against izcoordinator, which was send by Tom
> Carroll to the list some time ago? It fixed some error handling with
> libnl but isn't included in the git repository at the moment :(
> http://comments.gmane.org/gmane.linux.network.zigbee.devel/1278

Yepp, but it did not help.


> Hmm, are you using the standard kernel 3.6.11 for the raspberry? The
> code from the mainline kernel is missing the assoc feature and I would
> expect it would crash with an null pointer exception when you try to run
> iz assoc!?!

$ izcoordinator -i wpan0 -d 1 -s 1 -p 777 -c 23 -l lease
izcoordinator[3141]: mlme_start
izcoordinator[3141]: Received command 14 (1) for interface wpan0
izcoordinator[3141]: Start confirmation

GDB tells me, that the coordinator sits here:

        while (!die_flag) {
>>>             res = nl_recvmsgs_default(nl);
                log_msg_nl_perror("nl_recvmsgs", res);
        }

$ iz -d1 assoc wpan0 777 1 23 short
DBG<1>: Clearing cache 0x4340b8 <genl/family>...
DBG<1>: Picking up answer for cache 0x4340b8 <genl/family>...
DBG<1>: Added 0x435210 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x4352a8 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x435328 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x435198 to cache 0x4340b8 <genl/family>.
DBG<1>: Clearing cache 0x4340b8 <genl/family>...
DBG<1>: Deleted 0x435210 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x4352a8 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x435328 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x435198 from cache 0x4340b8 <genl/family>.
DBG<1>: Freeing cache 0x4340b8 <genl/family>...
DBG<1>: Clearing cache 0x4340b8 <genl/family>...
DBG<1>: Picking up answer for cache 0x4340b8 <genl/family>...
DBG<1>: Added 0x4362d0 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x436368 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x4363e8 to cache 0x4340b8 <genl/family>.
DBG<1>: Added 0x436258 to cache 0x4340b8 <genl/family>.
DBG<1>: Clearing cache 0x4340b8 <genl/family>...
DBG<1>: Deleted 0x4362d0 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x436368 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x4363e8 from cache 0x4340b8 <genl/family>.
DBG<1>: Deleted 0x436258 from cache 0x4340b8 <genl/family>.
DBG<1>: Freeing cache 0x4340b8 <genl/family>...
nl_send_auto_complete
nlmsg_free

GDB tells me, that iz is sitting here:

        /* Received message handling loop */
        while (iz_exit == IZ_CONT_OK) {
>>>             int err = nl_recvmsgs_default(nl);
                if (err != NLE_SUCCESS) {
                        nl_perror(err, "Receive failed");
                        return 1;
                }
        }
        nl_close(nl);

Looks like both are waiting for something. But for what? 


Bastian
-- 
Wolf-Bastian Pöttner      Institut für Betriebssysteme & Rechnerverbund
Tel.: +49-531-391-3265                           Mühlenpfordtstrasse 23
Fax.: +49-531-391-5936         TU Braunschweig     D-38106 Braunschweig

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to