3 Replies Latest reply on Aug 26, 2015 12:45 PM by Intel_Peter

    Intel edison connects to wifi and bluetooth at same time?

    quanqchau

      Hi,

       

      I'm using the latest firmware version 159 when I do command configure_edison --wifi and I'm using small break out board with Edison.

      I used configure_edison --wifi to connect to wifi as usual.

      Then I do the following com     mand:

      rfkill unblock bluetooth

      bluetoothctl (get new console)

           list    -> show the bluetooth device on Edison

           scan on         -> get my bluetooth peripheral address

           pair xx:xx:xx...          ->pair my bluetooth device

           quit

      rfcomm connect -i xx:xx:xx:xx:xx:xx

       

      It connected OK. But then when I try to do something with wifi such as "opkg update", i get this error below. So could Edison handle bluetooth and wifi at the same time?

       

      [  350.687192] BUG: unable to handle kernel paging request at ffffffe0

      [  350.687312] IP: [<c13212ac>] kmem_cache_alloc+0x8c/0x1b0

      [  350.687400] *pdpt = 0000000001d14001 *pde = 0000000001d18067 *pte = 0000000000000000

      [  350.687505] Oops: 0000 [#1] PREEMPT SMP

      [  350.687572] Modules linked in: usb_f_acm u_serial g_multi libcomposite bcm_bt_lpm bcm4334x(O)

      [  350.687707] CPU: 1 PID: 486 Comm: wget Tainted: G           O 3.10.17-poky-edison+ #1

      [  350.687788] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48

      [  350.687875] task: f5019640 ti: f6c96000 task.ti: f6c96000

      [  350.687938] EIP: 0060:[<c13212ac>] EFLAGS: 00210282 CPU: 1

      [  350.688003] EIP is at kmem_cache_alloc+0x8c/0x1b0

      [  350.688059] EAX: 00000000 EBX: ffffffe0 ECX: 0000315d EDX: 0000315b

      [  350.688126] ESI: c1d0c4e0 EDI: f6c01b00 EBP: f6c97f80 ESP: f6c97f58

      [  350.688193]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068

      [  350.688254] CR0: 8005003b CR2: ffffffe0 CR3: 35f11000 CR4: 001007f0

      [  350.688320] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000

      [  350.688385] DR6: ffff0ff0 DR7: 00000400

      [  350.688429] Stack:

      [  350.688460]  f5fa9848 00000008 f644708c c12089d7 f6c96000 000000d0 ffffffe0 f5019640

      [  350.688600]  f50199b0 c18e04b0 f6c97f90 c12089d7 f5019640 00000005 f6c97fa0 c1201ea4

      [  350.688736]  f6c97fb4 c18e04b0 f6c97fac c18e04c7 bf896664 bf8964f8 c18dfe6b bf896664

      [  350.688873] Call Trace:

      [  350.688930]  [<c12089d7>] ? init_fpu+0x77/0xa0

      [  350.689001]  [<c18e04b0>] ? do_debug+0x160/0x160

      [  350.689067]  [<c12089d7>] init_fpu+0x77/0xa0

      [  350.689130]  [<c1201ea4>] math_state_restore+0x24/0x160

      [  350.689201]  [<c18e04b0>] ? do_debug+0x160/0x160

      [  350.689267]  [<c18e04c7>] do_device_not_available+0x17/0x30

      [  350.689340]  [<c18dfe6b>] error_code+0x5f/0x64

      [  350.689408]  [<c18e04b0>] ? do_debug+0x160/0x160

      [  350.689461] Code: 5c 00 8b 45 e8 8b 55 f0 8b 40 08 a8 08 0f 85 ec 00 00 00 8b 03 85 c0 89 45 f0 0f 84 ef 00 00 00 8b 47 14 8b 5d f0 8d 4a 02 8b 37 <8b> 1c 03 8b 45 f0 64 0f c7 0e 0f 94 c0 84 c0 74 a3 03 5f 14 0f

      [  350.690140] EIP: [<c13212ac>] kmem_cache_alloc+0x8c/0x1b0 SS:ESP 0068:f6c97f58

      [  350.690234] CR2: 00000000ffffffe0

      [  350.690285] ---[ end trace 8c74b044036a4f92 ]---

      [  350.690346] BUG: sleeping function called from invalid context at /data/jenkins_worker/workspace/edison-weekly/linux-kernel/kernel/rwsem.c:20

      [  350.690465] in_atomic(): 0, irqs_disabled(): 1, pid: 486, name: wget

      [  350.690538] CPU: 1 PID: 486 Comm: wget Tainted: G      D    O 3.10.17-poky-edison+ #1

      [  350.690617] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48

      [  350.690701]  f5019640 000001e6 f6c97d70 c18d9eea f6c97d94 c126d689 c1adaaf8 00000000

      [  350.690840]  00000001 000001e6 f5019940 f5690268 f5019640 f6c97da0 c18dcd1c f5019640

      [  350.690977]  f6c97db4 c125573e 00000000 f6c97db4 00000009 f6c97e04 c12452fd 00000009

      [  350.691113] Call Trace:

      [  350.691168]  [<c18d9eea>] dump_stack+0x16/0x18

      [  350.691236]  [<c126d689>] __might_sleep+0xe9/0x110

      [  350.691305]  [<c18dcd1c>] down_read+0x1c/0x30

      [  350.691371]  [<c125573e>] exit_signals+0x1e/0x110

      [  350.691438]  [<c12452fd>] do_exit+0x8d/0x9d0

      [  350.691502]  [<c18d7f19>] ? printk+0x1c/0x1e

      [  350.691565]  [<c124413b>] ? kmsg_dump+0xcb/0xe0

      [  350.691633]  [<c18e060b>] oops_end+0x8b/0xd0

      [  350.691697]  [<c12293a4>] no_context+0x104/0x1e0

      [  350.691765]  [<c1229535>] __bad_area_nosemaphore+0xb5/0x140

      [  350.691841]  [<c1270ddb>] ? get_parent_ip+0xb/0x40

      [  350.691909]  [<c12295d7>] bad_area_nosemaphore+0x17/0x20

      [  350.691982]  [<c18e24c7>] __do_page_fault+0xa7/0x550

      [  350.692050]  [<c18df1e7>] ? _raw_spin_unlock+0x17/0x40

      [  350.692120]  [<c130e561>] ? handle_pte_fault+0x2a1/0xb20

      [  350.692201]  [<c18e2970>] ? __do_page_fault+0x550/0x550

      [  350.692272]  [<c18e297d>] do_page_fault+0xd/0x10

      [  350.692338]  [<c18dfe6b>] error_code+0x5f/0x64

      [  350.692404]  [<c18e007b>] ? do_trap+0x4b/0xd0

      [  350.692469]  [<c18e2970>] ? __do_page_fault+0x550/0x550

      [  350.692539]  [<c13212ac>] ? kmem_cache_alloc+0x8c/0x1b0

      [  350.692611]  [<c12089d7>] ? init_fpu+0x77/0xa0

      [  350.692678]  [<c18e04b0>] ? do_debug+0x160/0x160

      [  350.692742]  [<c12089d7>] init_fpu+0x77/0xa0

      [  350.692804]  [<c1201ea4>] math_state_restore+0x24/0x160

      [  350.692875]  [<c18e04b0>] ? do_debug+0x160/0x160

      [  350.692941]  [<c18e04c7>] do_device_not_available+0x17/0x30

      [  350.693014]  [<c18dfe6b>] error_code+0x5f/0x64

      [  350.693081]  [<c18e04b0>] ? do_debug+0x160/0x160

      Downloading http://iotdk.intel.com/repos/1.1/iotdk/i586/Packages.

      [  351.118222] BUG: unable to handle kernel paging request at ffffffe0

      [  351.118344] IP: [<c132243c>] __kmalloc_track_caller+0x9c/0x200

      [  351.118436] *pdpt = 0000000001d14001 *pde = 0000000001d18067 *pte = 0000000000000000

      [  351.118540] Oops: 0000 [#2] PREEMPT SMP

      [  351.118608] Modules linked in: usb_f_acm u_serial g_multi libcomposite bcm_bt_lpm bcm4334x(O)

      [  351.118742] CPU: 1 PID: 487 Comm: wget Tainted: G      D    O 3.10.17-poky-edison+ #1

      [  351.118823] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48

      [  351.118911] task: f512fa60 ti: f6748000 task.ti: f6748000

      [  351.118973] EIP: 0060:[<c132243c>] EFLAGS: 00210282 CPU: 1

      [  351.119039] EIP is at __kmalloc_track_caller+0x9c/0x200

      [  351.119099] EAX: 00000000 EBX: f73fe4e0 ECX: ffffffe0 EDX: 00003163

      [  351.119165] ESI: c1d0c4e0 EDI: f6c01b00 EBP: f6749ab4 ESP: f6749a88

      [  351.119232]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068

      [  351.119292] CR0: 80050033 CR2: ffffffe0 CR3: 35f11000 CR4: 001007f0

      [  351.119358] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000

      [  351.119423] DR6: ffff0ff0 DR7: 00000400

      [  351.119466] Stack:

      [  351.119497]  c18e2c75 00000000 00000000 f6748000 c1733437 00000180 000106d0 ffffffe0

      [  351.119636]  f6749ae3 000004d0 00000180 f6749ad0 c1732bb2 000004d0 f5df59c0 f5df59c0

      [  351.119773]  f6c01c00 000004d0 f6749af0 c1733437 00000000 0000009c 00000000 f5574b00

      [  351.119910] Call Trace:

      [  351.119963]  [<c18e2c75>] ? sub_preempt_count+0x95/0xf0

      [  351.120039]  [<c1733437>] ? __alloc_skb+0x67/0x1a0

      [  351.120109]  [<c1732bb2>] __kmalloc_reserve.isra.33+0x22/0x70

      [  351.120185]  [<c1733437>] __alloc_skb+0x67/0x1a0

      [  351.120255]  [<c172da5e>] sock_alloc_send_pskb+0x1de/0x2f0

      [  351.120334]  [<c172db8d>] sock_alloc_send_skb+0x1d/0x30

      [  351.120409]  [<c177adeb>] __ip_append_data.isra.46+0x60b/0x8c0

      [  351.120493]  [<c177c51c>] ip_make_skb+0xac/0x100

      [  351.120560]  [<c17795e0>] ? ip_copy_metadata+0x110/0x110

      [  351.120632]  [<c17795e0>] ? ip_copy_metadata+0x110/0x110

      [  351.120708]  [<c172d57b>] ? sk_dst_check+0x4b/0x90

      [  351.120775]  [<c17a05cd>] udp_sendmsg+0x2ad/0x900

      [  351.120845]  [<c17795e0>] ? ip_copy_metadata+0x110/0x110

      [  351.120923]  [<c1270d00>] ? scheduler_tick+0x40/0x110

      [  351.120995]  [<c147eb54>] ? sock_has_perm+0x44/0x90

      [  351.121072]  [<c17aad4c>] inet_sendmsg+0x6c/0x90

      [  351.121140]  [<c172b56b>] sock_sendmsg+0x7b/0xb0

      [  351.121211]  [<c130f6ce>] ? handle_mm_fault+0xbe/0x120

      [  351.121290]  [<c172bb2a>] ___sys_sendmsg+0x10a/0x2f0

      [  351.121365]  [<c172d3b2>] ? __sk_dst_check+0x32/0x70

      [  351.121435]  [<c1270df7>] ? get_parent_ip+0x27/0x40

      [  351.121501]  [<c18e2c75>] ? sub_preempt_count+0x95/0xf0

      [  351.121574]  [<c1248365>] ? __local_bh_disable+0x65/0xb0

      [  351.121642]  [<c172f36e>] ? release_sock+0x11e/0x150

      [  351.121711]  [<c1248c69>] ? local_bh_enable_ip+0x69/0xe0

      [  351.121782]  [<c18df22f>] ? _raw_spin_unlock_bh+0x1f/0x30

      [  351.121855]  [<c1270ddb>] ? get_parent_ip+0xb/0x40

      [  351.121921]  [<c18e2c75>] ? sub_preempt_count+0x95/0xf0

      [  351.121992]  [<c18df1e7>] ? _raw_spin_unlock+0x17/0x40

      [  351.122060]  [<c130e561>] ? handle_pte_fault+0x2a1/0xb20

      [  351.122132]  [<c17a93ff>] ? inet_dgram_connect+0x2f/0x80

      [  351.122204]  [<c172a46c>] ? sockfd_lookup_light+0x1c/0x60

      [  351.122277]  [<c172c8ba>] __sys_sendmmsg+0xca/0x160

      [  351.122353]  [<c18e26af>] ? __do_page_fault+0x28f/0x550

      [  351.122434]  [<c14da5a4>] ? copy_to_user+0x44/0x50

      [  351.122503]  [<c172c96f>] SyS_sendmmsg+0x1f/0x30

      [  351.122569]  [<c18df928>] syscall_call+0x7/0xb

      [  351.122624] Code: e8 ca 07 5c 00 8b 45 e0 8b 55 f0 8b 40 08 a8 08 0f 85 32 01 00 00 8b 03 85 c0 89 45 f0 0f 84 32 01 00 00 8b 47 14 8b 4d f0 8b 37 <8b> 1c 01 8d 4a 02 8b 45 f0 64 0f c7 0e 0f 94 c0 84 c0 74 a3 03

      [  351.123301] EIP: [<c132243c>] __kmalloc_track_caller+0x9c/0x200 SS:ESP 0068:f6749a88

      [  351.123400] CR2: 00000000ffffffe0

      [  351.123450] ---[ end trace 8c74b044036a4f93 ]---

      Downloading http://iotdk.intel.com/repos/1.5/intelgalactic/Packages.

      [  351.921893] BUG: unable to handle kernel paging request at ffffffe0

      [  351.922012] IP: [<c132243c>] __kmalloc_track_caller+0x9c/0x200

      [  351.922104] *pdpt = 0000000001d14001 *pde = 0000000001d18067 *pte = 0000000000000000

      [  351.922208] Oops: 0000 [#3] PREEMPT SMP

      [  351.922275] Modules linked in: usb_f_acm u_serial g_multi libcomposite bcm_bt_lpm bcm4334x(O)

      [  351.922408] CPU: 1 PID: 488 Comm: wget Tainted: G      D    O 3.10.17-poky-edison+ #1

      [  351.922489] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48

      [  351.922577] task: f512cde0 ti: f51e4000 task.ti: f51e4000

      [  351.922640] EIP: 0060:[<c132243c>] EFLAGS: 00210282 CPU: 1

      [  351.922705] EIP is at __kmalloc_track_caller+0x9c/0x200

      [  351.922765] EAX: 00000000 EBX: f73fe4e0 ECX: ffffffe0 EDX: 00003167

      [  351.922832] ESI: c1d0c4e0 EDI: f6c01b00 EBP: f51e5e54 ESP: f51e5e28

      [  351.922899]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068

      [  351.922959] CR0: 80050033 CR2: ffffffe0 CR3: 01d17000 CR4: 001007f0

      [  351.923025] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000

      [  351.923089] DR6: ffff0ff0 DR7: 00000400

      [  351.923133] Stack:

      [  351.923163]  c18e2c75 f7b6f460 00000000 f51e4000 c1733437 00000200 000102d0 ffffffe0

      [  351.923304]  f51e5e83 000000d0 00000200 f51e5e70 c1732bb2 000000d0 f6c9e8c0 f6c9e8c0

      [  351.923441]  f6ff0100 000000d0 f51e5e90 c1733437 00000001 00000110 8a1d0da4 f5279080

      [  351.923579] Call Trace:

      [  351.923632]  [<c18e2c75>] ? sub_preempt_count+0x95/0xf0

      [  351.923707]  [<c1733437>] ? __alloc_skb+0x67/0x1a0

      [  351.923777]  [<c1732bb2>] __kmalloc_reserve.isra.33+0x22/0x70

      [  351.923852]  [<c1733437>] __alloc_skb+0x67/0x1a0

      [  351.923922]  [<c1793101>] tcp_send_fin+0x81/0x180

      [  351.923989]  [<c1786d9c>] tcp_close+0x36c/0x3a0

      [  351.924051]  [<c18e2c75>] ? sub_preempt_count+0x95/0xf0

      [  351.924124]  [<c17a935e>] inet_release+0x5e/0x80

      [  351.924190]  [<c172aa8c>] sock_release+0x1c/0x80

      [  351.924256]  [<c172ab00>] sock_close+0x10/0x20

      [  351.924321]  [<c1327468>] __fput+0xd8/0x230

      [  351.924387]  [<c132765d>] ____fput+0xd/0x10

      [  351.924451]  [<c1260629>] task_work_run+0x89/0xb0

      [  351.924519]  [<c12454f1>] do_exit+0x281/0x9d0

      [  351.924582]  [<c13417bd>] ? mntput+0x1d/0x30

      [  351.924645]  [<c13274e9>] ? __fput+0x159/0x230

      [  351.924714]  [<c1246c07>] do_group_exit+0x37/0xa0

      [  351.924781]  [<c1246c86>] SyS_exit_group+0x16/0x20

      [  351.924848]  [<c18df928>] syscall_call+0x7/0xb

      [  351.924904] Code: e8 ca 07 5c 00 8b 45 e0 8b 55 f0 8b 40 08 a8 08 0f 85 32 01 00 00 8b 03 85 c0 89 45 f0 0f 84 32 01 00 00 8b 47 14 8b 4d f0 8b 37 <8b> 1c 01 8d 4a 02 8b 45 f0 64 0f c7 0e 0f 94 c0 84 c0 74 a3 03

      [  351.925580] EIP: [<c132243c>] __kmalloc_track_caller+0x9c/0x200 SS:ESP 0068:f51e5e28

      [  351.925679] CR2: 00000000ffffffe0

      [  351.925729] ---[ end trace 8c74b044036a4f94 ]---

      [  351.925785] Fixing recursive fault but reboot is needed!