Hi Pierre-Emmanuel,

Unfortunately this moment I have no serial transceiver near me. I work
with ARM and at91rf230 radio connected via SPI only. So I can't
provide a solution of this problem in a moment. Investigation is
needed.

With best regards,
Alexander

2012/1/9 Pierre-Emmanuel Goudet <pe.gou...@watteco.com>:
> Hi all,
>
>
>
> I’m still trying to use 6LowPan on my serial device.
>
> But it does not work. I did successfully recompile my kernel and modules for
> my Linux 64 bits architecture, ubuntu 11 …
>
> But maybe “Linux-Zigbee” things can’t work with this architecture?
>
>
>
> All seems verify fine except that when I set my lowpan interface UP, it gets
> UP but the following kernel messages occur (See last paragraph).
>
>
>
> Please hints ?
>
>
>
> Here is my kernel version:
>
> --------------------------
>
> Linux watteco-X610 3.0.0-rc4+ #1 SMP Mon Dec 19 14:31:58 CET 2011 x86_64
> x86_64 x86_64 GNU/Linux
>
>
>
> Here are my loaded modules:
>
> ---------------------------
>
> serial                 18119  1
>
> mac802154              33435  1 serial
>
> usbserial              46926  3 ftdi_sio
>
> af_802154              18229  2
>
> mac802154              33435  1 serial
>
> ieee802154             25494  1 mac802154
>
> crc_ccitt              12667  2 mac802154,rt2800lib
>
> 6lowpan                17687  0
>
>
>
>
>
> Here is : ifconfig
>
> ------------------
>
>
>
> wpan0   Link encap:UNSPEC  HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>
>           BROADCAST NOARP  MTU:127  Metric:1
>
>           Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
>
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>
>           collisions:0 lg file transmission:10
>
>           Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
>
> ...
>
>
>
> lowpan0   Link encap:UNSPEC  HWaddr
> 00-12-4B-00-01-20-9B-54-00-00-00-00-00-00-00-00
>
>           adr inet6: fe80::12:4b00:120:9b54/64 Scope:Lien
>
>           UP BROADCAST RUNNING MULTICAST  MTU:1281  Metric:1
>
>           Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
>
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>
>           collisions:0 lg file transmission:0
>
>           Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
>
> ...
>
>
>
> Here is the "dmesg tail" Just before "ifconfig lowpan0 up":
>
> … my serial device is starting
>
> ----------------------------------------------------------
>
> ...
>
> [28573.389146] ieee802154_tty_receive, received 4 bytes
>
> [28573.389153] ieee802154_tty_receive 0a 4f 6e
> 6c                                      .Onl
>
> [28573.390138] ieee802154_tty_receive, received 4 bytes
>
> [28573.390145] ieee802154_tty_receive 69 6e 65 0a
>                             ine.
>
>
>
> Here is the "dmesg tail" Just after "ifconfig lowpan0 up":
>
> ----------------------------------------------------------
>
>
>
> [28819.496098] BUG: scheduling while atomic: gnome-terminal/1671/0x10000100
>
> [28819.496109] Modules linked in: 6lowpan af_802154 serial mac802154
> ieee802154 ftdi_sio usbserial bluetooth parport_pc ppdev radeon arc4
> snd_hda_codec_hdmi rt2800pci rt2800lib crc_ccitt rt2x00pci
> snd_hda_codec_realtek rt2x00lib mac80211 snd_hda_intel snd_hda_codec
> snd_hwdep snd_pcm snd_seq_midi snd_rawmidi ttm snd_seq_midi_event snd_seq
> joydev drm_kms_helper drm snd_timer snd_seq_device cfg80211 edac_core
> psmouse sp5100_tco binfmt_misc edac_mce_amd k8temp i2c_piix4 serio_raw snd
> video wmi soundcore eeprom_93cx6 i2c_algo_bit snd_page_alloc lp parport ahci
> libahci r8169
>
> [28819.496257] CPU 0
>
> [28819.496260] Modules linked in: 6lowpan af_802154 serial mac802154
> ieee802154 ftdi_sio usbserial bluetooth parport_pc ppdev radeon arc4
> snd_hda_codec_hdmi rt2800pci rt2800lib crc_ccitt rt2x00pci
> snd_hda_codec_realtek rt2x00lib mac80211 snd_hda_intel snd_hda_codec
> snd_hwdep snd_pcm snd_seq_midi snd_rawmidi ttm snd_seq_midi_event snd_seq
> joydev drm_kms_helper drm snd_timer snd_seq_device cfg80211 edac_core
> psmouse sp5100_tco binfmt_misc edac_mce_amd k8temp i2c_piix4 serio_raw snd
> video wmi soundcore eeprom_93cx6 i2c_algo_bit snd_page_alloc lp parport ahci
> libahci r8169
>
> [28819.496343]
>
> [28819.496351] Pid: 1671, comm: gnome-terminal Not tainted 3.0.0-rc4+ #1
> Micro-Star International X610/MS-1692
>
> [28819.496363] RIP: 0033:[<00007f7b35d26a44>]  [<00007f7b35d26a44>]
> 0x7f7b35d26a43
>
> [28819.496382] RSP: 002b:00007fff7509c140  EFLAGS: 00000202
>
> [28819.496388] RAX: 0000000000000001 RBX: ffffffff815cd642 RCX:
> 0000000000000014
>
> [28819.496394] RDX: 0000000000000014 RSI: 0000000002483698 RDI:
> 00007fff7509c198
>
> [28819.496400] RBP: 000000000000011b R08: 0000000002473930 R09:
> 0000000000000687
>
> [28819.496407] R10: 00000000000000e8 R11: 0000000000000960 R12:
> ffffffff815ce00e
>
> [28819.496413] R13: 0000000000000000 R14: 0000000000000042 R15:
> 000000000209b7c8
>
> [28819.496421] FS:  00007f7b3918e9a0(0000) GS:ffff88007fc00000(0000)
> knlGS:0000000000000000
>
> [28819.496428] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>
> [28819.496433] CR2: 00000000006eb158 CR3: 0000000076021000 CR4:
> 00000000000006f0
>
> [28819.496440] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
>
> [28819.496446] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
>
> [28819.496453] Process gnome-terminal (pid: 1671, threadinfo
> ffff880078754000, task ffff88007694c4d0)
>
> [28819.496459]
>
> [28819.496462] Call Trace:
>
> [28820.556104] BUG: scheduling while atomic: swapper/0/0x10000100
>
> [28820.556114] Modules linked in: 6lowpan af_802154 serial mac802154
> ieee802154 ftdi_sio usbserial bluetooth parport_pc ppdev radeon arc4
> snd_hda_codec_hdmi rt2800pci rt2800lib crc_ccitt rt2x00pci
> snd_hda_codec_realtek rt2x00lib mac80211 snd_hda_intel snd_hda_codec
> snd_hwdep snd_pcm snd_seq_midi snd_rawmidi ttm snd_seq_midi_event snd_seq
> joydev drm_kms_helper drm snd_timer snd_seq_device cfg80211 edac_core
> psmouse sp5100_tco binfmt_misc edac_mce_amd k8temp i2c_piix4 serio_raw snd
> video wmi soundcore eeprom_93cx6 i2c_algo_bit snd_page_alloc lp parport ahci
> libahci r8169
>
> [28820.556257] CPU 0
>
> [28820.556260] Modules linked in: 6lowpan af_802154 serial mac802154
> ieee802154 ftdi_sio usbserial bluetooth parport_pc ppdev radeon arc4
> snd_hda_codec_hdmi rt2800pci rt2800lib crc_ccitt rt2x00pci
> snd_hda_codec_realtek rt2x00lib mac80211 snd_hda_intel snd_hda_codec
> snd_hwdep snd_pcm snd_seq_midi snd_rawmidi ttm snd_seq_midi_event snd_seq
> joydev drm_kms_helper drm snd_timer snd_seq_device cfg80211 edac_core
> psmouse sp5100_tco binfmt_misc edac_mce_amd k8temp i2c_piix4 serio_raw snd
> video wmi soundcore eeprom_93cx6 i2c_algo_bit snd_page_alloc lp parport ahci
> libahci r8169
>
> [28820.556342]
>
> [28820.556350] Pid: 0, comm: swapper Not tainted 3.0.0-rc4+ #1 Micro-Star
> International X610/MS-1692
>
> [28820.556362] RIP: 0010:[<ffffffff81032bbb>]  [<ffffffff81032bbb>]
> native_safe_halt+0xb/0x10
>
> [28820.556383] RSP: 0018:ffffffff81a01e18  EFLAGS: 00000246
>
> [28820.556389] RAX: 0000000000000000 RBX: ffffffff812e7234 RCX:
> 0000000225c17d03
>
> [28820.556396] RDX: 12675978a6020c00 RSI: 0000000000000001 RDI:
> ffff88007bd6fc68
>
> [28820.556402] RBP: ffffffff81a01e18 R08: 00000000fffffffe R09:
> 000000000000072b
>
> [28820.556408] R10: 00000001006ccbe4 R11: 0000000000000000 R12:
> ffffffff815ce00e
>
> [28820.556415] R13: ffffffff81a01e48 R14: 000000000008c800 R15:
> 0000000000000000
>
> [28820.556423] FS:  00007fb793ffa9c0(0000) GS:ffff88007fc00000(0000)
> knlGS:0000000000000000
>
> [28820.556429] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>
> [28820.556435] CR2: 0000000000c43008 CR3: 000000007ab88000 CR4:
> 00000000000006f0
>
> [28820.556442] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
>
> [28820.556448] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
>
> [28820.556455] Process swapper (pid: 0, threadinfo ffffffff81a00000, task
> ffffffff81a0b020)
>
> [28820.556461] Stack:
>
> [28820.556465]  ffffffff81a01e28 ffffffff81362c2a ffffffff81a01e38
> ffffffff81362c63
>
> [28820.556475]  ffffffff81a01e88 ffffffff81362d61 0000000000000000
> 00000000000ccee8
>
> [28820.556485]  0000000000000000 00000000000ccee8 ffff88007bd6f820
> ffff88007bd6f820
>
> [28820.556494] Call Trace:
>
> [28820.556508]  [<ffffffff81362c2a>] acpi_safe_halt+0x2a/0x43
>
> [28820.556517]  [<ffffffff81362c63>] acpi_idle_do_entry+0x20/0x30
>
> [28820.556525]  [<ffffffff81362d61>] acpi_idle_enter_c1+0x5e/0xab
>
> [28820.556536]  [<ffffffff81496ddd>] cpuidle_idle_call+0x9d/0x280
>
> [28820.556549]  [<ffffffff8100a20b>] cpu_idle+0xab/0x100
>
> [28820.556559]  [<ffffffff8159fe6e>] rest_init+0x72/0x74
>
> [28820.556571]  [<ffffffff81acec18>] start_kernel+0x3d4/0x3df
>
> [28820.556582]  [<ffffffff81ace347>] x86_64_start_reservations+0x132/0x136
>
> [28820.556592]  [<ffffffff81ace140>] ? early_idt_handlers+0x140/0x140
>
> [28820.556601]  [<ffffffff81ace44d>] x86_64_start_kernel+0x102/0x111
>
> [28820.556607] Code: 55 48 89 e5 66 66 66 66 90 fa 5d c3 0f 1f 40 00 55 48
> 89 e5 66 66 66 66 90 fb 5d c3 0f 1f 40 00 55 48 89 e5 66 66 66 66 90 fb f4
> <5d> c3 0f 1f 00 55 48 89 e5 66 66 66 66 90 f4 5d c3 0f 1f 40 00
>
> [28820.556686] Call Trace:
>
> [28820.556693]  [<ffffffff81362c2a>] acpi_safe_halt+0x2a/0x43
>
> [28820.556701]  [<ffffffff81362c63>] acpi_idle_do_entry+0x20/0x30
>
> [28820.556709]  [<ffffffff81362d61>] acpi_idle_enter_c1+0x5e/0xab
>
> [28820.556718]  [<ffffffff81496ddd>] cpuidle_idle_call+0x9d/0x280
>
> [28820.556728]  [<ffffffff8100a20b>] cpu_idle+0xab/0x100
>
> [28820.556736]  [<ffffffff8159fe6e>] rest_init+0x72/0x74
>
> [28820.556745]  [<ffffffff81acec18>] start_kernel+0x3d4/0x3df
>
> [28820.556755]  [<ffffffff81ace347>] x86_64_start_reservations+0x132/0x136
>
> [28820.556764]  [<ffffffff81ace140>] ? early_idt_handlers+0x140/0x140
>
> [28820.556773]  [<ffffffff81ace44d>] x86_64_start_kernel+0x102/0x111
>
> [28824.560074] BUG: scheduling while atomic: swapper/0/0x10000100
>
>
>
> …
>
>
>
> Pierre-emmanuel
>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Linux-zigbee-devel mailing list
> Linux-zigbee-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to