8 Replies Latest reply on Apr 30, 2016 1:08 PM by KyloRen

    Powering down the Edison (Yocto 3.0) using the power button on break out causes WPA_Supplicant to crash

    KyloRen

      I have noticed powering down the board using the power button causes the following exception, and WPA_supplicant wont load. Only remedy is to reflash the board

       

      [  OK  ] Started Daemon to receive the wpa_supplicant event.

      [   12.915348] BUG: unable to handle kernel NULL pointer dereference at 00000020

      [   12.915446] IP: [<f8e0a7cb>] wl_cfgp2p_generate_bss_mac+0xb/0x50 [bcm4334x]

      [   12.915612] *pdpt = 00000000357d1001 *pde = 0000000000000000

      [   12.915684] Oops: 0002 [#1] PREEMPT SMP

      [   12.915747] Modules linked in: bcm4334x(O) usb_f_acm u_serial g_multi libcomposite bcm_bt_lpm [last unloaded: bcm4334x]

      [   12.915898] CPU: 0 PID: 269 Comm: wpa_supplicant Tainted: G           O 3.10.17-poky-edison+ #2

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

      [   12.916059] task: f5133210 ti: f509c000 task.ti: f509c000

      [   12.916116] EIP: 0060:[<f8e0a7cb>] EFLAGS: 00210246 CPU: 0

      [   12.916249] EIP is at wl_cfgp2p_generate_bss_mac+0xb/0x50 [bcm4334x]

      [   12.916312] EAX: f509dbb2 EBX: 00000000 ECX: 00000022 EDX: 0000001c

      [   12.916373] ESI: f513bc00 EDI: f5420468 EBP: f509dba0 ESP: f509db9c

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

      [   12.916489] CR0: 8005003b CR2: 00000020 CR3: 35791000 CR4: 001007f0

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

      [   12.916608] DR6: ffff0ff0 DR7: 00000400

      [   12.916648] Stack:

      [   12.916676]  f5420460 f509dbc4 f8e0b92d 00000808 0079d737 4b78fc50 660ea987 f5455800

      [   12.916804]  f54201c0 f54206a4 f509dc2c f8e04a98 00000000 f509c000 c1735aa7 00001000

      [   12.916930]  000102d0 f56ff000 f509dc1f f5420460 f56f4000 f5ef3520 0000000a f54206a4

      [   12.917056] Call Trace:

      [   12.917181]  [<f8e0b92d>] wl_cfgp2p_add_p2p_disc_if+0xad/0x1a0 [bcm4334x]

      [   12.917334]  [<f8e04a98>] wl_cfg80211_add_virtual_iface+0x438/0xa90 [bcm4334x]

      [   12.917419]  [<c1735aa7>] ? __alloc_skb+0x67/0x1a0

      [   12.917486]  [<c1735ab6>] ? __alloc_skb+0x76/0x1a0

      [   12.917555]  [<c18a7d62>] nl80211_new_interface+0x122/0x490

      [   12.917628]  [<c18a8550>] ? __cfg80211_rdev_from_attrs+0x1d0/0x1d0

      [   12.917702]  [<c1762973>] genl_rcv_msg+0x253/0x370

      [   12.917769]  [<c1762720>] ? ctrl_dumpfamily+0xf0/0xf0

      [   12.917834]  [<c17613de>] netlink_rcv_skb+0x8e/0xb0

      [   12.917896]  [<c1761891>] genl_rcv+0x21/0x30

      [   12.917955]  [<c1760e94>] netlink_unicast+0x114/0x180

      [   12.918020]  [<c1761102>] netlink_sendmsg+0x202/0x350

      [   12.918090]  [<c172dbdb>] sock_sendmsg+0x7b/0xb0

      [   12.918152]  [<c18e5465>] ? sub_preempt_count+0x95/0xf0

      [   12.918221]  [<c122f043>] ? __kunmap_atomic+0x33/0x90

      [   12.918287]  [<c12f7685>] ? get_page_from_freelist+0x3d5/0x580

      [   12.918364]  [<c172e36f>] ___sys_sendmsg+0x2df/0x2f0

      [   12.918432]  [<c12f0f40>] ? unlock_page+0x40/0x50

      [   12.918492]  [<c130c8f0>] ? __do_fault+0x260/0x500

      [   12.918558]  [<c1270dcb>] ? get_parent_ip+0xb/0x40

      [   12.918619]  [<c18e5465>] ? sub_preempt_count+0x95/0xf0

      [   12.918685]  [<c12fc323>] ? lru_cache_add_lru+0x23/0x40

      [   12.918750]  [<c1316730>] ? page_add_new_anon_rmap+0x60/0xb0

      [   12.918834]  [<c14e8b28>] ? __percpu_counter_add+0x88/0xd0

      [   12.918909]  [<c130f6be>] ? handle_mm_fault+0xbe/0x120

      [   12.918981]  [<c172cadc>] ? sockfd_lookup_light+0x1c/0x60

      [   12.919055]  [<c172ee08>] __sys_sendmsg+0x38/0x70

      [   12.919128]  [<c172ee56>] SyS_sendmsg+0x16/0x20

      [   12.919195]  [<c172f623>] SyS_socketcall+0x2d3/0x330

      [   12.919267]  [<c14da594>] ? copy_to_user+0x44/0x50

      [   12.919335]  [<c18e5160>] ? __do_page_fault+0x550/0x550

      [   12.919406]  [<c14d9ec4>] ? trace_hardirqs_on_thunk+0xc/0x10

      [   12.919483]  [<c18e2118>] syscall_call+0x7/0xb

      [   12.919539] Code: f8 e8 47 ff ac c8 c7 04 24 10 d0 e3 f8 e8 3b ff ac c8 c7 45 a8 00 00 00 00 e9 63 fe ff ff 66 90 55 89 e5 53 3e 8d 74 26 00 31 db <66> 89 5a 04 31 db c7 02 00 00 00 00 66 89 59 04 c7 01 00 00 00

      [   12.920212] EIP: [<f8e0a7cb>] wl_cfgp2p_generate_bss_mac+0xb/0x50 [bcm4334x] SS:ESP 0068:f509db9c

      [   12.920399] CR2: 0000000000000020