CarlosML83 Posted November 25, 2016 Share Posted November 25, 2016 I'm trying to use the WiFi module included with the Orange Pi PC Plus, when I try connect to a WiFi network (using just iwconfig and 'ifconfig wlan0 up') it doesn't connect, resulting in a kernel panic. [ 1029.575558] ------------[ cut here ]------------ [ 1029.591494] WARNING: at net/wireless/sme.c:531 cfg80211_connect_result+0x50/0x120() [ 1029.611113] Modules linked in: bnep bluetooth sunxi_cir pcf8591 bmp085 8189fs [last unloaded: scsi_wait_scan] [ 1029.611234] [<c0016a20>] (unwind_backtrace+0x0/0xe8) from [<c0687850>] (dump_stack+0x20/0x24) [ 1029.611283] [<c0687850>] (dump_stack+0x20/0x24) from [<c0029720>] (warn_slowpath_common+0x5c/0x74) [ 1029.611328] [<c0029720>] (warn_slowpath_common+0x5c/0x74) from [<c00297f4>] (warn_slowpath_null+0x2c/0x34) [ 1029.611376] [<c00297f4>] (warn_slowpath_null+0x2c/0x34) from [<c0676ce4>] (cfg80211_connect_result+0x50/0x120) [ 1029.611704] [<c0676ce4>] (cfg80211_connect_result+0x50/0x120) from [<bf0570cc>] (rtw_cfg80211_indicate_connect+0x1e8/0x1f0 [8189fs]) [ 1029.612170] [<bf0570cc>] (rtw_cfg80211_indicate_connect+0x1e8/0x1f0 [8189fs]) from [<bf052ba8>] (rtw_os_indicate_connect+0x3c/0x70 [8189fs]) [ 1029.612588] [<bf052ba8>] (rtw_os_indicate_connect+0x3c/0x70 [8189fs]) from [<bf016fc0>] (rtw_indicate_connect+0x38/0x54 [8189fs]) [ 1029.612965] [<bf016fc0>] (rtw_indicate_connect+0x38/0x54 [8189fs]) from [<bf018bc0>] (rtw_joinbss_event_prehandle+0x464/0x508 [8189fs]) [ 1029.613348] [<bf018bc0>] (rtw_joinbss_event_prehandle+0x464/0x508 [8189fs]) from [<bf0235c0>] (report_join_res+0xc0/0xd0 [8189fs]) [ 1029.613735] [<bf0235c0>] (report_join_res+0xc0/0xd0 [8189fs]) from [<bf023824>] (OnAssocRsp+0x254/0x264 [8189fs]) [ 1029.614112] [<bf023824>] (OnAssocRsp+0x254/0x264 [8189fs]) from [<bf019afc>] (_mgt_dispatcher+0x94/0x9c [8189fs]) [ 1029.614486] [<bf019afc>] (_mgt_dispatcher+0x94/0x9c [8189fs]) from [<bf01aba8>] (mgt_dispatcher+0x1a4/0x1c8 [8189fs]) [ 1029.614879] [<bf01aba8>] (mgt_dispatcher+0x1a4/0x1c8 [8189fs]) from [<bf02fdfc>] (validate_recv_mgnt_frame+0x158/0x17c [8189fs]) [ 1029.615290] [<bf02fdfc>] (validate_recv_mgnt_frame+0x158/0x17c [8189fs]) from [<bf02ff10>] (validate_recv_frame+0xf0/0x148 [8189fs]) [ 1029.615701] [<bf02ff10>] (validate_recv_frame+0xf0/0x148 [8189fs]) from [<bf030f44>] (recv_func_prehandle+0x54/0x78 [8189fs]) [ 1029.616110] [<bf030f44>] (recv_func_prehandle+0x54/0x78 [8189fs]) from [<bf03109c>] (recv_func+0x80/0x138 [8189fs]) [ 1029.616518] [<bf03109c>] (recv_func+0x80/0x138 [8189fs]) from [<bf031178>] (rtw_recv_entry+0x24/0x64 [8189fs]) [ 1029.616971] [<bf031178>] (rtw_recv_entry+0x24/0x64 [8189fs]) from [<bf07f884>] (rtl8188fs_recv_tasklet+0x344/0x3d0 [8189fs]) [ 1029.617246] [<bf07f884>] (rtl8188fs_recv_tasklet+0x344/0x3d0 [8189fs]) from [<c00315f4>] (tasklet_action+0xb4/0x120) [ 1029.617297] [<c00315f4>] (tasklet_action+0xb4/0x120) from [<c00309e0>] (__do_softirq+0xe4/0x240) [ 1029.617343] [<c00309e0>] (__do_softirq+0xe4/0x240) from [<c0030f88>] (irq_exit+0x58/0xa4) [ 1029.617388] [<c0030f88>] (irq_exit+0x58/0xa4) from [<c000ef58>] (handle_IRQ+0x90/0xbc) [ 1029.617431] [<c000ef58>] (handle_IRQ+0x90/0xbc) from [<c000853c>] (gic_handle_irq+0x4c/0x6c) [ 1029.617474] [<c000853c>] (gic_handle_irq+0x4c/0x6c) from [<c000db40>] (__irq_svc+0x40/0x74) [ 1029.617500] Exception stack(0xef0a7e48 to 0xef0a7e90) [ 1029.617531] 7e40: c1475780 eebb4740 c09d1520 00000000 eebb4740 ee9c0e40 [ 1029.617568] 7e60: 00000002 c1475780 88ca30c2 ee9c0e40 00000000 ef0a7e9c ef0a7ea0 ef0a7e90 [ 1029.617598] 7e80: c0055d88 c0690c18 60000013 ffffffff [ 1029.617640] [<c000db40>] (__irq_svc+0x40/0x74) from [<c0690c18>] (_raw_spin_unlock_irq+0x2c/0x58) [ 1029.617689] [<c0690c18>] (_raw_spin_unlock_irq+0x2c/0x58) from [<c0055d88>] (finish_task_switch+0x48/0x120) [ 1029.617736] [<c0055d88>] (finish_task_switch+0x48/0x120) from [<c068fc20>] (__schedule+0x590/0x7fc) [ 1029.617780] [<c068fc20>] (__schedule+0x590/0x7fc) from [<c068ff1c>] (schedule+0x90/0x94) [ 1029.617823] [<c068ff1c>] (schedule+0x90/0x94) from [<c069030c>] (schedule_preempt_disabled+0x30/0x40) [ 1029.617870] [<c069030c>] (schedule_preempt_disabled+0x30/0x40) from [<c0030bbc>] (run_ksoftirqd+0x80/0x190) [ 1029.617920] [<c0030bbc>] (run_ksoftirqd+0x80/0x190) from [<c0049c58>] (kthread+0x94/0xa0) [ 1029.617967] [<c0049c58>] (kthread+0x94/0xa0) from [<c000f1b0>] (kernel_thread_exit+0x0/0x8) [ 1029.617994] ---[ end trace 11986543d997a627 ]--- Linux orangepipcplus 3.4.112-sun8i #10 SMP PREEMPT Sun Oct 23 16:06:55 CEST 2016 armv7l GNU/Linux Distributor ID: Debian Description: Debian GNU/Linux 8.6 (jessie) Release: 8.6 Codename: jessie All packages are updated. I'm also connected via Ethernet, I can disable it and try using the serial port if its necessary. Link to comment Share on other sites More sharing options...
CarlosML83 Posted November 28, 2016 Author Share Posted November 28, 2016 I "fixed" this installing NetworkManager and using it for handling the connection. I dunno what is causing the kernel panic otherwise. Link to comment Share on other sites More sharing options...
Recommended Posts