Hi Alexander, Yes, I did read the documentation, this is how I came up with the series of command I pasted in my original mail. The documentation says: "1. Add IEEE802.15.4 interface and initialize PANid;", which I translated by: > izattach /dev/ttyUSB1 > iz add wpan-phy0 > ip link set wpan0 address ca:fe:ca:fe:ca:fe:ca:fe > ifconfig wpan0 up > izcoordinator -i wpan0 -s 1 -p 777 -c 11 -l lease &
I guess it should be compatible with the use of 6LoWPAN. And then, step 2 to 4 are just copy and paste from the documentation. Could you confirm that this should work? As for the status of the Linux-zigbee kernel, there is only one change in the 6lowpan.* files: lowpan_set_address has been replaced by eth_mac_addr. I overwrote the 6lowpan.* files with the corresponding files of the mainline kernel (Linus branch), but it didn't do me any good and my laptops are still crashing when I "up" the interface. Perhaps, were you implying that some important ieee802154 files have changed as well? I'll give a try to a mainline kernel, and I'll let you know. In case you are interested, I attached after my signature the two call trace I mostly obtain when the kernel crash (perhaps depending on the other application that are running at the moment of the crash). Regards, Tony #1: Call Trace: [<c14aecad>] ? _raw_spin_lock+0xd/0x10 [<c140d7e7>] ? sch_direct_xmit+0x47/0x180 [<fbd9db4b>] ? mac802154_header_create+0x13b/0x220 [mac802154] [<c13f4eb4>] ? dev_queue_xmit+0x184/0x3a0 [<fc186487>] ? lowpan_xmit+0x137/0x1f0 [6lowpan] [<c13ef9cf>] ? netif_skb_features+0xaf/0xc0 [<c13f4aa8>] ? dev_hard_start_xmit+0x228/0x4b0 [<c13f4eb4>] ? dev_queue_xmit+0x184/0x3a0 [<c107575e>] ? update_curr+0x24e/0x2b0 [<c107575e>] ? update_curr+0x24e/0x2b0 [<c1076307>] ? enqueue_sleeper+0x1a7/0x240 [<c10791c5>] ? enqueue_entity+0x145/0x2b0 [<c1074625>] ? set_next_buddy+0x35/0x40 [<c107601e>] ? check_preempt_wakeup+0x18e/0x220 [<c1069b8a>] ? check_preempt_curr+0x6a/0x80 [<c106e8d0>] ? ttwu_do_wakeup+0x30/0x110 [<c10702dd>] ? try_to_wake_up+0x1cd/0x230 [<c1070394>] ? wake_up_process+0x14/0x20 [<c105959e>] ? wake_up_worker+0x1e/0x30 [<c105a0d3>] ? __queue_work+0xf3/0x3c0 [<c1050b64>] ? mod_timer+0x134/0x260 [<c105a3c6>] ? delayed_work_timer_fn+0x26/0x30 [<c104fb5f>] ? call_timer_fn+0x2f/0xe0 [<c1047d79>] ? irq_exit+0x59/0xc0 [<c14b61db>] ? do_IRQ+0x4b/0xc0 [<c14aebed>] ? _raw_spin_unlock_irq+0xd/0x20 [<c104fece>] ? run_timer_softirq+0x12e/0x1f0 [<c14b6030>] ? common_interrupt+0x30/0x38 [<c105a3a0>] ? __queue_work+0x3c0/0x3c0 [<c1047fd8>] ? __do_softirq+0xf8/0x1a0 [<c1047ee0>] ? irq_enter+0x70/0x70 [<c1094fc6>] ? futex_wait+0x196/0x260 [<c1131f33>] ? kfree_debugcheck+0x13/0x40 [<c10646f0>] ? update_rmtp+0x80/0x80 [<c1065b16>] ? hrtimer_start_range_ns+0x26/0x30 [<c1095fca>] ? do_futex+0xea/0x220 [<c109616e>] ? sys_futex+0x6e/0x120 [<c10b0ec6>] ? __audit_syscall_exit+0x386/0x3d0 [<c14b5a9f>] ? sysenter_do_call+0x12/0x28 #2: Call Trace: [<c13e8a2d>] ? __kfree_skb+0x3d/0x90 [<c13e8a2d>] ? __kfree_skb+0x3d/0x90 [<c1436955>] ? tcp_data_queue+0x105/0xa40 [<c14391d0>] ? tcp_data_snd_check+0x40/0x50 [<c143a0c3>] ? tcp_rcv_established+0x303/0x640 [<c1429ecd>] ? __inet_lookup_established+0x9d/0x2c0 [1]more> [<c144197d>] ? tcp_v4_do_rcv+0xed/0x1c0 [<c14aec2d>] ? _raw_spin_unlock+0xd/0x10 [<c144304b>] ? tcp_v4_rcv+0x53b/0x770 [<c1419133>] ? nf_iterate+0x63/0x90 [<c14224e0>] ? ip_rcv+0x330/0x330 [<c14192d2>] ? nf_hook_slow+0x62/0x110 [<c1422587>] ? ip_local_deliver_finish+0xa7/0x2a0 [<c14227ff>] ? ip_local_deliver+0x7f/0x90 [<c14224e0>] ? ip_rcv+0x330/0x330 [<c1421ddb>] ? ip_rcv_finish+0xfb/0x3c0 [<c142240d>] ? ip_rcv+0x25d/0x330 [<c1421ce0>] ? inet_del_protocol+0x30/0x30 [<c13f4079>] ? __netif_receive_skb+0x1c9/0x420 [<c13f68f7>] ? netif_receive_skb+0x27/0x80 [<c13f6a67>] ? napi_skb_finish+0x37/0x50 [<c13f6ff9>] ? napi_gro_receive+0x109/0x140 [<c13e8180>] ? __alloc_skb+0x60/0x110 [<f8500b7a>] ? tg3_rx+0x71a/0x740 [tg3] [<c1015df0>] ? alternatives_smp_module_add+0x150/0x150 [<f850444a>] ? tg3_poll_work+0x5a/0x140 [tg3] [<c140d7e7>] ? sch_direct_xmit+0x47/0x180 [<c1067137>] ? put_cred_rcu+0x67/0xa0 [1]more> [<c14aebed>] ? _raw_spin_unlock_irq+0xd/0x20 [<c104fece>] ? run_timer_softirq+0x12e/0x1f0 [<c1047fd8>] ? __do_softirq+0xf8/0x1a0 [<c1047ee0>] ? irq_enter+0x70/0x70 <IRQ> [<c14ae185>] ? schedule+0x35/0x50 [<c104326f>] ? do_syslog+0x43f/0x4b0 [<c1060d30>] ? wake_up_bit+0x30/0x30 [<c119d5e0>] ? kmsg_poll+0x40/0x40 [<c119d610>] ? kmsg_read+0x30/0x70 [<c1192cb6>] ? proc_reg_read+0x66/0xa0 [<c114387f>] ? vfs_read+0x9f/0x170 [<c1192c50>] ? proc_reg_write+0xa0/0xa0 [<c1143a22>] ? sys_read+0x42/0x70 [<c14b5a9f>] ? sysenter_do_call+0x12/0x28 Le 09.04.2012 21:14, Alexander Smirnov a écrit : > Hi Tony, > > First of all I'm not sure that the 6LowPAN fully merged to > linux-zigbee tree due to I worked with mainline kernel, so it may be > a > point. > > Moreover, have you red about 6lowpan in kernel documentation > (Documentation folder in sources)? Here I put some notes how to bring > up ipv6 interface. > > Please feel free to ask me. > > With best regards, > Alexander > > 9 апреля 2012 г. 23:05 пользователь Tony Cheneau > <tony.cheneau+zigbee...@amnesiak.org> написал: >> Good afternoon, >> >> I'm still trying to figure out if I have the latest version of the >> 6LowPAN module. I'm currently using the devel branch of the Linux >> Zigbee >> kernel (rev: 9155ba3a1c13ba, slightly patched the autofs4 files so >> that >> it compiles) and I did not managed to get the 6LoWPAN part working >> (izchat works great). >> >> It is crashing any of the two testbed computers each time I try to >> set >> up a 6LoWPAN network (the crash message on the console seems to be >> changing all the time and does not point toward any error in the >> 802154 >> or 6LoWPAN subsystem, but I'll investigate it further if needed). >> I've >> been using the serial driver (with an econotag) and the fakehard >> driver, >> both yield the same outcome: the system hangs. >> >> Here is how I reproduce the crash: >>> # this line is one with the serial driver >>> izattach /dev/ttyUSB1 >>> iz add wpan-phy0 >>> ip link set wpan0 address ca:fe:ca:fe:ca:fe:ca:fe >>> ifconfig wpan0 up >>> izcoordinator -i wpan0 -s 1 -p 777 -c 11 -l lease & >>> modprobe 6lowpan >>> ip link add link wpan0 name lowpan0 type lowpan >>> ip link set lowpan0 address de:ad:be:ef:ca:fe:ca:fe >>> ifconfig lowpan0 up >> >> At this point (ifconfig lowpan0 up), the system stops functioning >> and >> the SSH access is frozen. Perhaps there is a step that I'm missing, >> I do >> not know. But I start wondering if I am the only one experiencing >> this >> issue. >> >> Please let me know if you need more information on my system in >> order >> to help me debug them. >> As always, help, in any form, is greatly appreciated. >> >> Regards, >> Tony Cheneau >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Linux-zigbee-devel mailing list >> Linux-zigbee-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel