Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Tue, Mar 04, 2014 at 11:30:37PM +0100, Rafik Harzi wrote: > HI > I have recently found about linx-zigbee so I wanted to run it on my PC but > I am getting this error > > " could not get multicast group ID: no such file or directory " > Which lowpan-tools version do you use and which libnl3 ve

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Rafik Harzi
I am currently using the last version of lowpan-tools 0.3.1 and I have installed libnl-3.2.3. I have tested all the commands for instance: # iz listphy #iz set wpan4 777 60001 21 and every time I get the following error message: " iz: /lib/x86_64-linux-gnu/libnl-3.so.200: no version informati

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 11:37:26AM +0100, Rafik Harzi wrote: > I am currently using the last version of lowpan-tools 0.3.1 and I have > installed libnl-3.2.3. > > I have tested all the commands for instance: > > # iz listphy > > #iz set wpan4 777 60001 21 > > and every time I get the following

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Rafik Harzi
Ok, I will try the patch and a newer version of libnl and will keep you posted with the results. Thank you. 2014-03-05 11:58 GMT+01:00 Alexander Aring : > On Wed, Mar 05, 2014 at 11:37:26AM +0100, Rafik Harzi wrote: > > I am currently using the last version of lowpan-tools 0.3.1 and I have > >

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 12:11:33PM +0100, Rafik Harzi wrote: > Ok, I will try the patch and a newer version of libnl and will keep you ehm, what for a patch? :-) - Alex -- Subversion Kills Productivity. Get off Subversio

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Rafik Harzi
Sorry I was having my lunch break :-p I am going to try the patches from Tony Cheneau right away and let you know. 2014-03-05 12:28 GMT+01:00 Alexander Aring : > On Wed, Mar 05, 2014 at 12:11:33PM +0100, Rafik Harzi wrote: > > Ok, I will try the patch and a newer version of libnl and will keep

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 01:50:38PM +0100, Rafik Harzi wrote: > Sorry I was having my lunch break :-p > > I am going to try the patches from Tony Cheneau right away and let you know. > oh these patches are already mainline in libnl3, it's in libnl3 since version 3.2.22. That's why I gave you the a

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Rafik Harzi
I didn't. But I tried it this time " iz add wpan5-phy " and I got the same error in return. PS : I am not using any kind of hardware, only my PC. -Rafik 2014-03-05 14:55 GMT+01:00 Alexander Aring : > On Wed, Mar 05, 2014 at 02:49:30PM +0100, Rafik Harzi wrote: > > So I have installed libnl-3.

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 03:14:34PM +0100, Rafik Harzi wrote: > I didn't. > But I tried it this time " iz add wpan5-phy " and I got the same error in > return. > > PS : > I am not using any kind of hardware, only my PC. > then what are you trying to do with the lowpan-tools? - Alex -

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Rafik Harzi
For the moment I am trying to use the simulation with fake radio interfaces. 2014-03-05 15:21 GMT+01:00 Alexander Aring : > On Wed, Mar 05, 2014 at 03:14:34PM +0100, Rafik Harzi wrote: > > I didn't. > > But I tried it this time " iz add wpan5-phy " and I got the same error in > > return. > > > >

Re: [Linux-zigbee-devel] IZ problems

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 03:27:08PM +0100, Rafik Harzi wrote: > For the moment I am trying to use the simulation with fake radio > interfaces. > Do you follow these instructions [1]? btw. I won't trust the fakelb implementation at the moment, I don't looked at this code right now. [1] http://sour

Re: [Linux-zigbee-devel] [PATCH net-next v4 1/4] ieee802154: add generic header handling routines

2014-03-05 Thread Phoebe Buckheister
> From: Phoebe Buckheister > Date: Tue, 4 Mar 2014 15:34:45 +0100 > >> +struct ieee802154_sechdr { >> +u8 sc; >> +u32 frame_ctr; >> +union { >> +struct { >> +u16 pan_id; >> +u16 short_addr; >> +} pan; >> +u8 h

[Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: reassembly: fix return of init function

2014-03-05 Thread Alexander Aring
This patch adds a missing return after fragmentation init. Otherwise we register a sysctl interface and deregister it afterwards which makes no sense. Signed-off-by: Alexander Aring --- net/ieee802154/reassembly.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ieee802154/reassembly.c

[Linux-zigbee-devel] [PATCH net-next 2/2] 6lowpan: reassembly: fix kernel oops while unloading

2014-03-05 Thread Alexander Aring
While fragmentation and unloading of 6lowpan module I got this kernel Oops after few seconds: BUG: unable to handle kernel paging request at f88bbc30 IP: [] 0xf88bbc30 *pde = 371ee067 *pte = Oops: [#1] SMP Modules linked in: ipv6 [last unloaded: 6lowpan] CPU: 0 PID: 0 Comm: swapper/0

[Linux-zigbee-devel] [PATCH net-next 0/2] 6lowpan: fixes for new reassembly implementation

2014-03-05 Thread Alexander Aring
Hi all, I detected a embarrassing mistake of registering sysctl interface while init fragmentation. This is fixed in Patch 1/2 (6lowpan: reassembly: fix return of init function). The second issue occurs while reassembly and unloading 6lowpan module. I am definitively sure about if I fixed it corr

Re: [Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: reassembly: fix return of init function

2014-03-05 Thread Sergei Shtylyov
Hello. On 03/05/2014 11:43 PM, Alexander Aring wrote: > This patch adds a missing return after fragmentation init. Otherwise we > register a sysctl interface and deregister it afterwards which makes no > sense. > Signed-off-by: Alexander Aring > --- > net/ieee802154/reassembly.c | 2 ++ > 1

Re: [Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: reassembly: fix return of init function

2014-03-05 Thread Alexander Aring
Hi Sergei, On Thu, Mar 06, 2014 at 01:04:20AM +0300, Sergei Shtylyov wrote: > Hello. > > On 03/05/2014 11:43 PM, Alexander Aring wrote: > > >This patch adds a missing return after fragmentation init. Otherwise we > >register a sysctl interface and deregister it afterwards which makes no > >sense

Re: [Linux-zigbee-devel] [PATCH net-next 2/2] 6lowpan: reassembly: fix kernel oops while unloading

2014-03-05 Thread Alexander Aring
Hi Florian, thanks for your reply. On Wed, Mar 05, 2014 at 11:32:46PM +0100, Florian Westphal wrote: > Alexander Aring wrote: > > It seems that the inet_frag_queue is deleted but the timer is running. This > > patch adds a for loop to iterate over all frag_queue entries in the > > frag_bucket an