evilpan / Airkiss

A source code implementation of Wechat(微信) Airkiss protocol
185 stars 112 forks source link

执行到wi = wi_open(wifi_if);出现linux内核报错问题,然后自动10s后重启 #10

Open VIRGIL-YAN opened 7 years ago

VIRGIL-YAN commented 7 years ago

root@DietPi:~/Airkiss# ./airkiss wlan1 80211 driver_id is 17 index is 3 NL80211_CMD_TRIGGER_SCAN sent 36 bytes to the kernel. Waiting for scan to complete... Got NL80211_CMD_NEW_SCAN_RESULTS. Scan is done. NL80211_CMD_GET_SCAN sent 28 bytes to the kernel. Mac Address:[14:75:90:51:ff:2e], Channel:[ 1], SSID_CRC:[38], SSID:[BBTGZ] Mac Address:[c8:3a:35:f5:2e:48], Channel:[ 1], SSID_CRC:[1d], SSID:[TN-2014] Mac Address:[24:69:68:0b:14:30], Channel:[ 1], SSID_CRC:[42], SSID:[jiufu] Mac Address:[d0:c7:c0:9d:12:38], Channel:[11], SSID_CRC:[ 2], SSID:[geetion-outside] Mac Address:[ec:26:ca:8f:63:a4], Channel:[ 6], SSID_CRC:[30], SSID:[suirong] Mac Address:[54:e6:fc:35:2d:b0], Channel:[ 7], SSID_CRC:[8a], SSID:[YIMEI] Mac Address:[8c:be:be:2b:8e:31], Channel:[11], SSID_CRC:[15], SSID:[mi-geetion] Mac Address:[06:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[a2], SSID:[Guest_FCVC] Mac Address:[f4:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[15], SSID:[WXseevon] Mac Address:[10:d0:ab:5a:4c:78], Channel:[ 6], SSID_CRC:[e0], SSID:[ChinaNet-VVTH] Mac Address:[], Channel:[11], SSID_CRC:[dc], SSID:[DIRECT-10-HP DeskJet 3830 series] Airkiss start open wifi interface wlan1

然后下面就开始报错

[ 108.192199] ------------[ cut here ]------------ [ 108.197399] Kernel BUG at c057e374 [verbose debug info unavailable] [ 108.201415] sunxi oops: enable sdcard JTAG interface [ 108.201415] sunxi oops: cpu frequency: 1008 MHz [ 108.201415] sunxi oops: ddr frequency: 408 MHz [ 108.201415] sunxi oops: gpu frequency: 105 MHz [ 108.201415] sunxi oops: cpu temperature: 32 [ 108.201415] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM [ 108.201415] Modules linked in: pcf8591 bmp085 g_serial dhd [last unloaded: scsi_wait_scan] [ 108.201415] CPU: 1 Not tainted (3.4.113-sun8i #2) [ 108.201415] PC is at free_netdev+0xa4/0xbc [ 108.201415] LR is at free_percpu+0xfc/0x11c [ 108.201415] pc : [] lr : [] psr: 800f0013 [ 108.201415] sp : d4ea5d38 ip : d4ea5d10 fp : d4ea5d54 [ 108.201415] r10: d5bc05cc r9 : bf05c540 r8 : bf094348 [ 108.201415] r7 : 00000000 r6 : d5a93094 r5 : d5a93078 r4 : d5a93000 [ 108.201415] r3 : 00000002 r2 : 00000000 r1 : a00f0013 r0 : c0ad91dc [ 108.201415] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 108.201415] Control: 10c5387d Table: 54c1406a DAC: 00000015 [ 108.201415] [ 108.201415] PC: 0xc057e2f4: [ 108.201415] e2f4 e5940210 ebee54db e5940228 ebee54d9 e1a00004 eb0019f0 e5b63094 e243001c [ 108.201415] e314 e5935000 e245501c e280301c e1530006 0a000004 ebfff35d e595301c e1a00005 [ 108.201415] e334 e243501c eafffff7 e594029c ebedf203 e3a03000 e584329c e5d432b8 e3530000 [ 108.201415] e354 1a000004 e300314e e19400b3 e0440000 ebee54c0 e89da8f0 e3530003 0a000000 [ 108.201415] e374 e7f001f2 e3a03004 e2840e2d e5c432b8 ebfac375 e89da8f0 e1a0c00d e92dd830 [ 108.201415] e394 e24cb004 e52de004 e8bd4000 e1a04000 e1a05001 eb0032d5 e3500000 1a000004 [ 108.201415] e3b4 e30127b2 e59f1068 e59f0068 eb046631 eb046525 e3550000 0a00000a e59430a0 [ 108.201415] e3d4 e284209c e594109c e5813004 e5831000 e5953004 e5852004 e584509c e58430a0 [ 108.201415] [ 108.201415] LR: 0xc00fabd0: [ 108.201415] abd0 e3c3303f e5932014 e5943008 e7930102 e0860000 eb003a87 e5905008 e5951010 [ 108.201415] abf0 e1a00005 e0461001 ebfffd1f e5952008 e5943018 e1520003 1a00000d e594301c [ 108.201415] ac10 e5942020 e243321e e0821183 e7923183 e1510003 0a000006 e1530005 0a000002 [ 108.201415] ac30 e59f0030 ebfd28d3 ea000001 e5933000 eafffff6 e1a01008 e59f001c eb1697f8 [ 108.201415] ac50 e89dabf0 e5975010 eaffffe3 c09e34e4 c09bd000 c0ad91d4 c09f2ac4 c0ad91dc [ 108.201415] ac70 e1a0c00d e92ddff0 e24cb004 e24dd024 e52de004 e8bd4000 e59f6228 e24b7034 [ 108.201415] ac90 e59f0224 e50b7034 e596401c e5965020 e244421e e50b7030 eb168fca e59f020c [ 108.201415] acb0 e0858184 eb1699a9 e7954184 e59f9200 e5945000 e1580004 0a000012 e5d43024 [ 108.201415] [ 108.201415] SP: 0xd4ea5cb8: [ 108.201415] 5cb8 c00f9d18 c00f9790 d4ea5ce4 d4ea5cd0 c00f9d48 c00f9cd4 c057e378 800f0013 [ 108.201415] 5cd8 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c c0ad91dc a00f0013 [ 108.201415] 5cf8 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 bf094348 bf05c540 [ 108.201415] 5d18 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 800f0013 ffffffff [ 108.201415] 5d38 bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c c057e2dc [ 108.201415] 5d58 d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 d4ea5d80 [ 108.201415] 5d78 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 00000000 [ 108.201415] 5d98 c0697cd0 d5b48000 d5b480a4 d4a00000 00000000 bf08dc38 00000000 d4ea4000 [ 108.201415] [ 108.201415] IP: 0xd4ea5c90: [ 108.201415] 5c90 c09ef6c0 c09ef480 c0ab0df8 c001de98 d4ea4000 c0e59dc8 c0adda54 c00f9d18 [ 108.201415] 5cb0 d4ea5ccc d4ea5cc0 c00f9d18 c00f9790 d4ea5ce4 d4ea5cd0 c00f9d48 c00f9cd4 [ 108.201415] 5cd0 c057e378 800f0013 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c [ 108.201415] 5cf0 c0ad91dc a00f0013 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 [ 108.201415] 5d10 bf094348 bf05c540 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 [ 108.201415] 5d30 800f0013 ffffffff bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 [ 108.201415] 5d50 bf06ae4c c057e2dc d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 [ 108.201415] 5d70 d4ea5dc4 d4ea5d80 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 [ 108.201415] [ 108.201415] FP: 0xd4ea5cd4: [ 108.201415] 5cd4 800f0013 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c c0ad91dc [ 108.201415] 5cf4 a00f0013 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 bf094348 [ 108.201415] 5d14 bf05c540 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 800f0013 [ 108.201415] 5d34 ffffffff bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c [ 108.201415] 5d54 c057e2dc d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 [ 108.201415] 5d74 d4ea5d80 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 [ 108.201415] 5d94 00000000 c0697cd0 d5b48000 d5b480a4 d4a00000 00000000 bf08dc38 00000000 [ 108.201415] 5db4 d4ea4000 d4ea5dec d4ea5dc8 bf014f4c bf061440 d4a00000 d4ea5e08 00001042 [ 108.201415] [ 108.201415] R0: 0xc0ad915c: [ 108.201415] 915c 0001fb80 d5819740 00000000 00000000 d58228d0 d5af3340 d55433c0 d590c440 [ 108.201415] 917c d5401ee8 00000000 00000000 00000000 00000000 00000000 d58cc9cc d58cc9cc [ 108.201415] 919c ffffb758 d58cc000 c00f93c0 00000000 ffffffff ffffffff 00000000 00000000 [ 108.201415] 91bc 00000000 00000000 00000000 d59818c0 00000000 d5afa8c0 d597a840 d4a28b40 [ 108.201415] 91dc 00000000 00000000 c1017180 c10171c0 00004ec0 00000000 00000000 00000000 [ 108.201415] 91fc 00000000 d5fab000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 921c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 923c 00000000 c0ad9240 c0ad9240 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R4: 0xd5a92f80: [ 108.201415] 2f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3000 306e6f6d 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3060 00000000 00000000 00000000 00000000 00200200 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R5: 0xd5a92ff8: [ 108.201415] 2ff8 00000000 00000000 306e6f6d 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3018 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3038 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3058 00000000 00000000 00000000 00000000 00000000 00000000 00200200 00000000 [ 108.201415] 3078 00000000 00000000 00000000 00000000 00000002 c0a24368 00200200 d5a93094 [ 108.201415] 3098 d5a93094 d5a9309c d5a9309c 00000000 00004000 00000000 40004800 00000000 [ 108.201415] 30b8 00004800 00000000 00000020 00000000 00000004 00000004 00000000 00000000 [ 108.201415] 30d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R6: 0xd5a93014: [ 108.201415] 3014 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3034 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3054 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00200200 [ 108.201415] 3074 00000000 00000000 00000000 00000000 00000000 00000002 c0a24368 00200200 [ 108.201415] 3094 d5a93094 d5a93094 d5a9309c d5a9309c 00000000 00004000 00000000 40004800 [ 108.201415] 30b4 00000000 00004800 00000000 00000020 00000000 00000004 00000004 00000000 [ 108.201415] 30d4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 30f4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R10: 0xd5bc054c: [ 108.201415] 054c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 056c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 bf05cd34 [ 108.201415] 058c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 05ac 00000000 00000000 00000000 00000000 00000000 bf051208 d5bc05c4 d5bc05c4 [ 108.201415] 05cc d49d3ab4 d49d3ab4 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 05ec 00000000 d5bc05f0 d5bc05f0 00000000 00000000 00000000 d5bc0604 d5bc0604 [ 108.201415] 060c 00000000 00000000 00000000 d5bc0618 d5bc0618 00000000 00000000 00000000 [ 108.201415] 062c d5bc062c d5bc062c d48d0200 d5bc1494 d5b80000 d59671c0 20000174 45524944 [ 108.201415] Process ifconfig (pid: 1832, stack limit = 0xd4ea42f8) [ 108.201415] Stack: (0xd4ea5d38 to 0xd4ea6000) [ 108.201415] 5d20: bf094288 bf094288 [ 108.201415] 5d40: d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c c057e2dc d5bc0380 d5bd1380 [ 108.201415] 5d60: d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 d4ea5d80 bf061bc4 bf06ae00 [ 108.201415] 5d80: d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 00000000 c0697cd0 d5b48000 [ 108.201415] 5da0: d5b480a4 d4a00000 00000000 bf08dc38 00000000 d4ea4000 d4ea5dec d4ea5dc8 [ 108.201415] 5dc0: bf014f4c bf061440 d4a00000 d4ea5e08 00001042 00001003 d4a00000 00000000 [ 108.201415] 5de0: d4ea5e04 d4ea5df0 c057ad68 bf014eb0 d4a00000 00000001 d4ea5e1c d4ea5e08 [ 108.201415] 5e00: c057adc4 c057acd0 d4a0009c d4a0009c d4ea5e3c d4ea5e20 c0580ab8 c057ad98 [ 108.201415] 5e20: d4a00000 00001003 d4ff8400 d4ff840c d4ea5e5c d4ea5e40 c0580bcc c0580a28 [ 108.201415] 5e40: d4c37580 00008914 d4ff8400 d4ff840c d4ea5ebc d4ea5e60 c05d8d8c c0580bb8 [ 108.201415] 5e60: d4ea4000 beef6ea7 c0a24300 beef6ab4 6e616c77 00000031 00000000 00000000 [ 108.201415] 5e80: b6f61042 beef6ea7 0000002c 00000064 00000000 c0a24300 00008914 beef6ab4 [ 108.201415] 5ea0: c0a24300 00000007 d4ea4000 00000000 d4ea5ed4 d4ea5ec0 c05da0e8 c05d8a1c [ 108.201415] 5ec0: c05da010 00008914 d4ea5ef4 d4ea5ed8 c0569558 c05da01c beef6ab4 d57403a0 [ 108.201415] 5ee0: d4833e40 beef6ab4 d4ea5f04 d4ea5ef8 c012e9e8 c0569334 d4ea5f74 d4ea5f08 [ 108.201415] 5f00: c012f4ac c012e9bc d4f12200 d4f121c0 00000009 00000001 d4ea5f34 c0128218 [ 108.201415] 5f20: fffffffe fffffffe d5009000 00000001 c000e1c8 d4ea4000 d4ea5f54 d4ea5f48 [ 108.201415] 5f40: c0128218 c01131dc d4ea5f94 d4ea5f58 00000000 d4833e40 00008914 beef6ab4 [ 108.201415] 5f60: 00000007 d4ea4000 d4ea5fa4 d4ea5f78 c012f5b0 c012eff0 00000001 00000000 [ 108.201415] 5f80: c000e1c8 0002b8e8 beef6b74 00000007 00000036 c000e1c8 00000000 d4ea5fa8 [ 108.201415] 5fa0: c000df60 c012f55c 0002b8e8 beef6b74 00000007 00008914 beef6ab4 00001042 [ 108.201415] 5fc0: 0002b8e8 beef6b74 00000007 00000036 00000000 00000000 b6f7c000 0002b3b4 [ 108.201415] 5fe0: 0002b07c beef6aa4 00012acf b6ef4106 600f0030 00000007 00000000 00000000 [ 108.201415] [] (free_netdev+0xa4/0xbc) from [] (dhd_monitor_uninit+0x58/0x8c [dhd]) [ 108.201415] [] (dhd_monitor_uninit+0x58/0x8c [dhd]) from [] (wl_cfg80211_down+0x790/0x7cc [dhd]) [ 108.201415] [] (wl_cfg80211_down+0x790/0x7cc [dhd]) from [] (dhd_stop+0xa8/0x1b8 [dhd]) [ 108.201415] [] (dhd_stop+0xa8/0x1b8 [dhd]) from [] (dev_close_many+0xa4/0xc8) [ 108.201415] [] (dev_close_many+0xa4/0xc8) from [] (dev_close+0x38/0x50) [ 108.201415] [] (__dev_close+0x38/0x50) from [] (dev_change_flags+0x9c/0x124) [ 108.201415] [] (__dev_change_flags+0x9c/0x124) from [] (dev_change_flags+0x20/0x54) [ 108.201415] [] (dev_change_flags+0x20/0x54) from [] (devinet_ioctl+0x37c/0x750) [ 108.201415] [] (devinet_ioctl+0x37c/0x750) from [] (inet_ioctl+0xd8/0x108) [ 108.201415] [] (inet_ioctl+0xd8/0x108) from [] (sock_ioctl+0x230/0x27c) [ 108.201415] [] (sock_ioctl+0x230/0x27c) from [] (vfs_ioctl+0x38/0x4c) [ 108.201415] [] (vfs_ioctl+0x38/0x4c) from [] (do_vfs_ioctl+0x4c8/0x56c) [ 108.201415] [] (do_vfs_ioctl+0x4c8/0x56c) from [] (sys_ioctl+0x60/0x84) [ 108.201415] [] (sys_ioctl+0x60/0x84) from [] (ret_fast_syscall+0x0/0x30) [ 108.201415] Code: ebee54c0 e89da8f0 e3530003 0a000000 (e7f001f2) [ 109.454365] ---[ end trace 1f449fdfb220baa3 ]---

继续输出错误

Segmentation fault [ 109.490091] Unable to handle kernel paging request at virtual address 00642000 [ 109.498150] pgd = c0004000 [ 109.500005] [00642000] *pgd=00000000 [ 109.500005] sunxi oops: enable sdcard JTAG interface [ 109.500005] sunxi oops: cpu frequency: 1152 MHz [ 109.500005] sunxi oops: ddr frequency: 408 MHz [ 109.500005] sunxi oops: gpu frequency: 105 MHz [ 109.500005] sunxi oops: cpu temperature: 34 [ 109.500005] Internal error: Oops: 5 [#2] PREEMPT SMP ARM [ 109.500005] Modules linked in: pcf8591 bmp085 g_serial dhd [last unloaded: scsi_wait_scan] [ 109.500005] CPU: 1 Tainted: G D (3.4.113-sun8i #2) [ 109.500005] PC is at in_dev_finish_destroy+0x70/0xb4 [ 109.500005] LR is at in_dev_rcu_put+0x48/0x4c [ 109.500005] pc : [] lr : [] psr: 600f0193 [ 109.500005] sp : d58c3e40 ip : d58c3e58 fp : d58c3e54 [ 109.500005] r10: 00000005 r9 : d58c2000 r8 : 00000069 [ 109.500005] r7 : d4a1ec00 r6 : c0fffac4 r5 : d5a93000 r4 : d4947a00 [ 109.500005] r3 : 00000000 r2 : c09e3520 r1 : 00642000 r0 : 600f0113 [ 109.500005] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [ 109.500005] Control: 10c5387d Table: 54aa406a DAC: 00000015 [ 109.500005] [ 109.500005] PC: 0xc05d6bec: [ 109.500005] 6bec e89da8f0 9e370001 c0b6059c c09e3520 e1a0c00d e92dd830 e24cb004 e52de004 [ 109.500005] 6c0c e8bd4000 e590300c e1a04000 e5905000 e3530000 0a000002 e3a010da e59f0074 [ 109.500005] 6c2c ebe94af1 e5943010 e3530000 0a000002 e3a010db e59f005c ebe94aeb e10f0000 [ 109.500005] 6c4c f10c0080 e1a0200d e3c22d7f e3c2203f e595329c e5921014 e59f203c e7921101 [ 109.500005] 6c6c e7932001 e2422001 e7832001 e121f000 e5943008 e3530000 1a000003 e1a01004 [ 109.500005] 6c8c e59f0018 eb0303fd e89da830 e1a00004 ebecf272 e89da830 c08a1847 c09e3520 [ 109.500005] 6cac c08a185a e1a0c00d e92dd800 e24cb004 e52de004 e8bd4000 e1a03000 e2400f43 [ 109.500005] 6ccc e2432f42 f57ff05f e1921f9f e2411001 e182cf91 e33c0000 1afffffa f57ff05f [ 109.500005] [ 109.500005] LR: 0xc05d6c78: [ 109.500005] 6c78 e121f000 e5943008 e3530000 1a000003 e1a01004 e59f0018 eb0303fd e89da830 [ 109.500005] 6c98 e1a00004 ebecf272 e89da830 c08a1847 c09e3520 c08a185a e1a0c00d e92dd800 [ 109.500005] 6cb8 e24cb004 e52de004 e8bd4000 e1a03000 e2400f43 e2432f42 f57ff05f e1921f9f [ 109.500005] 6cd8 e2411001 e182cf91 e33c0000 1afffffa f57ff05f e3510000 189da800 ebffffc0 [ 109.500005] 6cf8 e89da800 e1a0c00d e92dd830 e24cb004 e52de004 e8bd4000 e2404010 e5100004 [ 109.500005] 6d18 e3500000 0a00000a e2803004 f57ff05f e1932f9f e2422001 e1831f92 e3310000 [ 109.500005] 6d38 1afffffa f57ff05f e3520000 1a000000 ebffffab e1a00004 ebecf245 e89da830 [ 109.500005] 6d58 e1a0c00d e92dd830 e24cb004 e52de004 e8bd4000 e1a04000 e1a05001 ebeb49ab [ 109.500005] [ 109.500005] SP: 0xd58c3dc0: [ 109.500005] 3dc0 d58c3e90 c0076334 c0fff948 c06a1298 0000003c d580cc40 c05d6c6c 600f0193 [ 109.500005] 3de0 ffffffff d58c3e2c d58c3e54 d58c3df8 c000dad8 c0008370 600f0113 00642000 [ 109.500005] 3e00 c09e3520 00000000 d4947a00 d5a93000 c0fffac4 d4a1ec00 00000069 d58c2000 [ 109.500005] 3e20 00000005 d58c3e54 d58c3e58 d58c3e40 c05d6cf8 c05d6c6c 600f0193 ffffffff [ 109.500005] 3e40 c0fffaa8 c09ef6c0 d58c3e64 d58c3e58 c05d6cf8 c05d6c08 d58c3e9c d58c3e68 [ 109.500005] 3e60 c00ab324 c05d6cbc 0000000a d4c59634 c005e1e8 d58c2000 c09bdaa8 c09e3520 [ 109.500005] 3e80 00000001 c0a52fc0 00000102 0000000a d58c3ebc d58c3ea0 c00ab558 c00ab130 [ 109.500005] 3ea0 d58c2000 c09c20a4 00000009 00000001 d58c3f04 d58c3ec0 c0030a20 c00ab494 [ 109.500005] [ 109.500005] IP: 0xd58c3dd8: [ 109.500005] 3dd8 c05d6c6c 600f0193 ffffffff d58c3e2c d58c3e54 d58c3df8 c000dad8 c0008370 [ 109.500005] 3df8 600f0113 00642000 c09e3520 00000000 d4947a00 d5a93000 c0fffac4 d4a1ec00 [ 109.500005] 3e18 00000069 d58c2000 00000005 d58c3e54 d58c3e58 d58c3e40 c05d6cf8 c05d6c6c [ 109.500005] 3e38 600f0193 ffffffff c0fffaa8 c09ef6c0 d58c3e64 d58c3e58 c05d6cf8 c05d6c08 [ 109.500005] 3e58 d58c3e9c d58c3e68 c00ab324 c05d6cbc 0000000a d4c59634 c005e1e8 d58c2000 [ 109.500005] 3e78 c09bdaa8 c09e3520 00000001 c0a52fc0 00000102 0000000a d58c3ebc d58c3ea0 [ 109.500005] 3e98 c00ab558 c00ab130 d58c2000 c09c20a4 00000009 00000001 d58c3f04 d58c3ec0 [ 109.500005] 3eb8 c0030a20 c00ab494 d58c2000 c09e3520 d58c3f04 c09c20c0 00000001 ffffb596 [ 109.500005] [ 109.500005] FP: 0xd58c3dd4: [ 109.500005] 3dd4 d580cc40 c05d6c6c 600f0193 ffffffff d58c3e2c d58c3e54 d58c3df8 c000dad8 [ 109.500005] 3df4 c0008370 600f0113 00642000 c09e3520 00000000 d4947a00 d5a93000 c0fffac4 [ 109.500005] 3e14 d4a1ec00 00000069 d58c2000 00000005 d58c3e54 d58c3e58 d58c3e40 c05d6cf8 [ 109.500005] 3e34 c05d6c6c 600f0193 ffffffff c0fffaa8 c09ef6c0 d58c3e64 d58c3e58 c05d6cf8 [ 109.500005] 3e54 c05d6c08 d58c3e9c d58c3e68 c00ab324 c05d6cbc 0000000a d4c59634 c005e1e8 [ 109.500005] 3e74 d58c2000 c09bdaa8 c09e3520 00000001 c0a52fc0 00000102 0000000a d58c3ebc [ 109.500005] 3e94 d58c3ea0 c00ab558 c00ab130 d58c2000 c09c20a4 00000009 00000001 d58c3f04 [ 109.500005] 3eb4 d58c3ec0 c0030a20 c00ab494 d58c2000 c09e3520 d58c3f04 c09c20c0 00000001 [ 109.500005] [ 109.500005] R2: 0xc09e34a0: [ 109.500005] 34a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 34c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 34e0 00000064 c1017080 00000008 c10170c0 00000000 00000003 00000004 00008000 [ 109.500005] 3500 0000000f c1017100 0000002c 00001000 00000001 c1017040 c1017000 c0ff7000 [ 109.500005] 3520 0063a000 00642000 0064a000 00652000 00000000 00000002 00055faa 0005ffff [ 109.500005] 3540 00000000 00000032 0000fffa 00000001 00000000 d581e200 00000001 00000000 [ 109.500005] 3560 c0690080 c011ae8c c0117d1c 00000000 c011b25c c0117d00 c0117c10 00000000 [ 109.500005] 3580 00000000 c0117234 00000000 00000000 00000003 00000001 00000000 00000000 [ 109.500005] [ 109.500005] R4: 0xd4947980: [ 109.500005] 7980 00000000 d4947800 d49479a8 d4947998 00000000 d4947800 d49479a8 00000000 [ 109.500005] 79a0 00000000 d4947800 00000000 00000000 00000000 d4947800 00000000 00000000 [ 109.500005] 79c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 79e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 7a00 d5a93000 00000000 00000001 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 7a20 00000000 00000000 00000000 00000000 00000002 00000000 00000000 00000000 [ 109.500005] 7a40 d58bc000 c05dc4a4 d4947a00 ffffffff ffffffff 00000000 00000000 00000000 [ 109.500005] 7a60 00000000 00000000 00000000 00000000 00000000 d58bc000 c05dcf60 d4947a00 [ 109.500005] [ 109.500005] R5: 0xd5a92f80: [ 109.500005] 2f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 2fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 2fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 2fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 3000 306e6f6d 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 3020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 3040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 3060 00000000 00000000 00000000 00000000 00200200 00000000 00000000 00000000 [ 109.500005] [ 109.500005] R6: 0xc0fffa44: [ 109.500005] fa44 00000000 c0a54838 00000000 00000000 00000000 17e47d82 0000001a 17e47d82 [ 109.500005] fa64 0000001a c00a2d34 c0fff7f8 00000001 0000000b c004e7cc 63746177 676f6468 [ 109.500005] fa84 0000312f 00000000 00000000 0000001b 0000001b 00000000 00000000 00000000 [ 109.500005] faa4 00000000 000002e6 000002e7 000002e6 01010100 c09ef6c0 00000002 00000000 [ 109.500005] fac4 d4f58aa8 c0fffac4 c0fffac4 d4f121d8 d4a28998 0000000f 00000085 00000000 [ 109.500005] fae4 00006cff 00000000 00000000 00000000 0000000a c0fffb38 0000390b 0000000a [ 109.500005] fb04 00000000 00000a8b 00000000 000002f6 00000001 00000047 0000026a 0000008b [ 109.500005] fb24 000000ea 0000036e 00000001 c09ef6c0 00000000 00000001 00000000 00000000 [ 109.500005] [ 109.500005] R7: 0xd4a1eb80: [ 109.500005] eb80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] eba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] ebc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] ebe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] ec00 d489aa80 00000000 00000000 00000000 ffffffea d4953004 c0a2c50c c0a24330 [ 109.500005] ec20 d489aa80 d4a1ec28 00000000 d4a1ec38 d4a1ec58 d4a1ec00 00000000 d4a1ec48 [ 109.500005] ec40 d4a1ec58 d4a1ec00 d4a1ed28 d4a1ec98 d4a1ed18 d4a1ec00 d4a1ed28 d4a1ec68 [ 109.500005] ec60 d4a1edf8 d4a1ec00 d4a1ed38 d4a1ec78 d4a1ed48 d4a1ec00 d4a1eda8 d4a1ec88 [ 109.500005] [ 109.500005] R9: 0xd58c1f80: [ 109.500005] 1f80 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 109.500005] 1fa0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 109.500005] 1fc0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 109.500005] 1fe0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 109.500005] 2000 00000000 00000104 00000000 d58c17c0 c09e9380 00000001 00000015 c1001780 [ 109.500005] 2020 d58c17c0 d58c2000 d4f64180 391fb905 d4c3c900 d4f4a740 d58c3f94 d58c3ef8 [ 109.500005] 2040 c069fca4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] 2060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 109.500005] Process swapper/1 (pid: 0, stack limit = 0xd58c22f8) [ 109.500005] Stack: (0xd58c3e40 to 0xd58c4000) [ 109.500005] 3e40: c0fffaa8 c09ef6c0 d58c3e64 d58c3e58 c05d6cf8 c05d6c08 d58c3e9c d58c3e68 [ 109.500005] 3e60: c00ab324 c05d6cbc 0000000a d4c59634 c005e1e8 d58c2000 c09bdaa8 c09e3520 [ 109.500005] 3e80: 00000001 c0a52fc0 00000102 0000000a d58c3ebc d58c3ea0 c00ab558 c00ab130 [ 109.500005] 3ea0: d58c2000 c09c20a4 00000009 00000001 d58c3f04 d58c3ec0 c0030a20 c00ab494 [ 109.500005] 3ec0: d58c2000 c09e3520 d58c3f04 c09c20c0 00000001 ffffb596 c00a6bcc d58c2000 [ 109.500005] 3ee0: c09e3520 d58c2000 0000001d 00000000 410fc075 00000000 d58c3f1c d58c3f08 [ 109.500005] 3f00: c0030fc8 c0030948 c09bf23c c09e3520 d58c3f44 d58c3f20 c000ef58 c0030f7c [ 109.500005] 3f20: c09e1ca0 d58c3f68 f1c82000 d58c3f9c 4000406a 410fc075 d58c3f64 d58c3f48 [ 109.500005] 3f40: c000853c c000eed4 c000f2dc 600f0013 ffffffff d58c3f9c d58c3fbc d58c3f68 [ 109.500005] 3f60: c000db40 c00084fc c0fffb38 c09e224c 0000000f 00000000 d58c2000 00000001 [ 109.500005] 3f80: d58c2000 c0a31fa4 4000406a 410fc075 00000000 d58c3fbc d58c3fc0 d58c3fb0 [ 109.500005] 3fa0: c000f2d8 c000f2dc 600f0013 ffffffff d58c3fd4 d58c3fc0 c000f694 c000f2b4 [ 109.500005] 3fc0: c09f2c94 00000001 d58c3ff4 d58c3fd8 c069477c c000f5f8 558a806a 00000015 [ 109.500005] 3fe0: 10c0387d c0a31fa4 00000000 d58c3ff8 40693d94 c0694680 ffffffff ffffffff [ 109.500005] [] (in_dev_finish_destroy+0x70/0xb4) from [] (in_dev_rcu_put+0x48/0x4c) [ 109.500005] [] (in_dev_rcu_put+0x48/0x4c) from [] (rcu_process_callbacks+0x200/0x364) [ 109.500005] [] (rcu_process_callbacks+0x200/0x364) from [] (rcu_process_callbacks+0xd0/0x154) [ 109.500005] [] (rcu_process_callbacks+0xd0/0x154) from [] (do_softirq+0xe4/0x240) [ 109.500005] [] (__do_softirq+0xe4/0x240) from [] (irq_exit+0x58/0xa4) [ 109.500005] [] (irq_exit+0x58/0xa4) from [] (handle_IRQ+0x90/0xbc) [ 109.500005] [] (handle_IRQ+0x90/0xbc) from [] (gic_handle_irq+0x4c/0x6c) [ 109.500005] [] (gic_handle_irq+0x4c/0x6c) from [] (irq_svc+0x40/0x74) [ 109.500005] Exception stack(0xd58c3f68 to 0xd58c3fb0) [ 109.500005] 3f60: c0fffb38 c09e224c 0000000f 00000000 d58c2000 00000001 [ 109.500005] 3f80: d58c2000 c0a31fa4 4000406a 410fc075 00000000 d58c3fbc d58c3fc0 d58c3fb0 [ 109.500005] 3fa0: c000f2d8 c000f2dc 600f0013 ffffffff [ 109.500005] [] (irq_svc+0x40/0x74) from [] (default_idle+0x34/0x3c) [ 109.500005] [] (default_idle+0x34/0x3c) from [] (cpu_idle+0xa8/0xf4) [ 109.500005] [] (cpu_idle+0xa8/0xf4) from [] (secondary_start_kernel+0x108/0x12c) [ 109.500005] [] (secondary_start_kernel+0x108/0x12c) from [<40693d94>] (0x40693d94) [ 109.500005] Code: e595329c e5921014 e59f203c e7921101 (e7932001) [ 110.758394] ---[ end trace 1f449fdfb220baa4 ]--- [ 110.763535] Kernel panic - not syncing: Fatal exception in interrupt [ 110.770602] CPU3: stopping [ 110.773625] [] (unwind_backtrace+0x0/0xe8) from [] (dump_stack+0x20/0x24) [ 110.780598] [] (dump_stack+0x20/0x24) from [] (handle_IPI+0x114/0x298) [ 110.780598] [] (handle_IPI+0x114/0x298) from [] (gic_handle_irq+0x64/0x6c) [ 110.780598] [] (gic_handle_irq+0x64/0x6c) from [] (irq_svc+0x40/0x74) [ 110.780598] Exception stack(0xd5901f68 to 0xd5901fb0) [ 110.780598] 1f60: c100fb38 c09e224c 0000000f 00000000 d5900000 00000003 [ 110.780598] 1f80: d5900000 c0a31fa4 4000406a 410fc075 00000000 d5901fbc d5901fc0 d5901fb0 [ 110.780598] 1fa0: c000f2d8 c000f2dc 60030013 ffffffff [ 110.780598] [] (irq_svc+0x40/0x74) from [] (default_idle+0x34/0x3c) [ 110.780598] [] (default_idle+0x34/0x3c) from [] (cpu_idle+0xa8/0xf4) [ 110.780598] [] (cpu_idle+0xa8/0xf4) from [] (secondary_start_kernel+0x108/0x12c) [ 110.780598] [] (secondary_start_kernel+0x108/0x12c) from [<40693d94>] (0x40693d94) [ 110.780598] CPU2: stopping [ 110.780598] [] (unwind_backtrace+0x0/0xe8) from [] (dump_stack+0x20/0x24) [ 110.780598] [] (dump_stack+0x20/0x24) from [] (handle_IPI+0x114/0x298) [ 110.780598] [] (handle_IPI+0x114/0x298) from [] (gic_handle_irq+0x64/0x6c) [ 110.780598] [] (gic_handle_irq+0x64/0x6c) from [] (irq_svc+0x40/0x74) [ 110.780598] Exception stack(0xd58f3f68 to 0xd58f3fb0) [ 110.780598] 3f60: c1007b38 c09e224c 0000000f 00000000 d58f2000 00000002 [ 110.780598] 3f80: d58f2000 c0a31fa4 4000406a 410fc075 00000000 d58f3fbc d58f3fc0 d58f3fb0 [ 110.780598] 3fa0: c000f2d8 c000f2dc 60030013 ffffffff [ 110.780598] [] (irq_svc+0x40/0x74) from [] (default_idle+0x34/0x3c) [ 110.780598] [] (default_idle+0x34/0x3c) from [] (cpu_idle+0xa8/0xf4) [ 110.780598] [] (cpu_idle+0xa8/0xf4) from [] (secondary_start_kernel+0x108/0x12c) [ 110.780598] [] (secondary_start_kernel+0x108/0x12c) from [<40693d94>] (0x40693d94) [ 110.780598] CPU0: stopping [ 110.780598] [] (unwind_backtrace+0x0/0xe8) from [] (dump_stack+0x20/0x24) [ 110.780598] [] (dump_stack+0x20/0x24) from [] (handle_IPI+0x114/0x298) [ 110.780598] [] (handle_IPI+0x114/0x298) from [] (gic_handle_irq+0x64/0x6c) [ 110.780598] [] (gic_handle_irq+0x64/0x6c) from [] (irq_svc+0x40/0x74) [ 110.780598] Exception stack(0xc09c1f20 to 0xc09c1f68) [ 110.780598] 1f20: c0ff7b38 c09e224c 0000000f 00000000 c09c0000 c0a54748 00000001 ffffffff [ 110.780598] 1f40: c0ff4b00 c099c6ac 00000000 c09c1f74 c09c1f78 c09c1f68 c000f2d8 c000f2dc [ 110.780598] 1f60: 600f0013 ffffffff [ 110.780598] [] (__irq_svc+0x40/0x74) from [] (default_idle+0x34/0x3c) [ 110.780598] [] (default_idle+0x34/0x3c) from [] (cpu_idle+0xa8/0xf4) [ 110.780598] [] (cpu_idle+0xa8/0xf4) from [] (rest_init+0x9c/0xb8) [ 110.780598] [] (rest_init+0x9c/0xb8) from [] (start_kernel+0x2f8/0x358) [ 110.773526] [hotplug]: cpu(1) try to kill cpu(0) [ 110.773526] [hotplug]: try to kill cpu:0 failed! [ 110.773526] [hotplug]: cpu(1) try to kill cpu(2) [ 110.773526] [hotplug]: try to kill cpu:2 failed! [ 110.773526] [hotplug]: cpu(1) try to kill cpu(3) [ 110.773526] [hotplug]: try to kill cpu:3 failed! [ 110.773526] Rebooting in 10 seconds..

evilpan commented 7 years ago

Hi,Yan 能否提供以下信息: - 系统以及内核版本(uname) - 已安装的内核模块(lsmod) - 设备信息(处理器的架构以及网卡的型号) - 出错时的syslog(dmsg) 根据说说内容来看,像是内核的错误,把wifi_scan注释掉看是否运行正常? 在2016年11月28日 18:36 ,VIRGIL-YAN写道: root@DietPi:~/Airkiss# ./airkiss wlan1 80211 driver_id is 17 index is 3 NL80211_CMD_TRIGGER_SCAN sent 36 bytes to the kernel. Waiting for scan to complete... Got NL80211_CMD_NEW_SCAN_RESULTS. Scan is done. NL80211_CMD_GET_SCAN sent 28 bytes to the kernel. Mac Address:[14:75:90:51:ff:2e], Channel:[ 1], SSID_CRC:[38], SSID:[BBTGZ] Mac Address:[c8:3a:35:f5:2e:48], Channel:[ 1], SSID_CRC:[1d], SSID:[TN-2014] Mac Address:[24:69:68:0b:14:30], Channel:[ 1], SSID_CRC:[42], SSID:[jiufu] Mac Address:[d0:c7:c0:9d:12:38], Channel:[11], SSID_CRC:[ 2], SSID:[geetion-outside] Mac Address:[ec:26:ca:8f:63:a4], Channel:[ 6], SSID_CRC:[30], SSID:[suirong] Mac Address:[54:e6:fc:35:2d:b0], Channel:[ 7], SSID_CRC:[8a], SSID:[YIMEI] Mac Address:[8c:be:be:2b:8e:31], Channel:[11], SSID_CRC:[15], SSID:[mi-geetion] Mac Address:[06:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[a2], SSID:[Guest_FCVC] Mac Address:[f4:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[15], SSID:[WXseevon] Mac Address:[10:d0:ab:5a:4c:78], Channel:[ 6], SSID_CRC:[e0], SSID:[ChinaNet-VVTH] Mac Address:[], Channel:[11], SSID_CRC:[dc], SSID:[DIRECT-10-HP DeskJet 3830 series] Airkiss start open wifi interface wlan1 [ 108.192199] ------------[ cut here ]------------ [ 108.197399] Kernel BUG at c057e374 [verbose debug info unavailable] [ 108.201415] sunxi oops: enable sdcard JTAG interface [ 108.201415] sunxi oops: cpu frequency: 1008 MHz [ 108.201415] sunxi oops: ddr frequency: 408 MHz [ 108.201415] sunxi oops: gpu frequency: 105 MHz [ 108.201415] sunxi oops: cpu temperature: 32 [ 108.201415] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM [ 108.201415] Modules linked in: pcf8591 bmp085 g_serial dhd [last unloaded: scsi_wait_scan] [ 108.201415] CPU: 1 Not tainted (3.4.113-sun8i #2) [ 108.201415] PC is at free_netdev+0xa4/0xbc [ 108.201415] LR is at free_percpu+0xfc/0x11c [ 108.201415] pc : [] lr : [] psr: 800f0013 [ 108.201415] sp : d4ea5d38 ip : d4ea5d10 fp : d4ea5d54 [ 108.201415] r10: d5bc05cc r9 : bf05c540 r8 : bf094348 [ 108.201415] r7 : 00000000 r6 : d5a93094 r5 : d5a93078 r4 : d5a93000 [ 108.201415] r3 : 00000002 r2 : 00000000 r1 : a00f0013 r0 : c0ad91dc [ 108.201415] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 108.201415] Control: 10c5387d Table: 54c1406a DAC: 00000015 [ 108.201415] [ 108.201415] PC: 0xc057e2f4: [ 108.201415] e2f4 e5940210 ebee54db e5940228 ebee54d9 e1a00004 eb0019f0 e5b63094 e243001c [ 108.201415] e314 e5935000 e245501c e280301c e1530006 0a000004 ebfff35d e595301c e1a00005 [ 108.201415] e334 e243501c eafffff7 e594029c ebedf203 e3a03000 e584329c e5d432b8 e3530000 [ 108.201415] e354 1a000004 e300314e e19400b3 e0440000 ebee54c0 e89da8f0 e3530003 0a000000 [ 108.201415] e374 e7f001f2 e3a03004 e2840e2d e5c432b8 ebfac375 e89da8f0 e1a0c00d e92dd830 [ 108.201415] e394 e24cb004 e52de004 e8bd4000 e1a04000 e1a05001 eb0032d5 e3500000 1a000004 [ 108.201415] e3b4 e30127b2 e59f1068 e59f0068 eb046631 eb046525 e3550000 0a00000a e59430a0 [ 108.201415] e3d4 e284209c e594109c e5813004 e5831000 e5953004 e5852004 e584509c e58430a0 [ 108.201415] [ 108.201415] LR: 0xc00fabd0: [ 108.201415] abd0 e3c3303f e5932014 e5943008 e7930102 e0860000 eb003a87 e5905008 e5951010 [ 108.201415] abf0 e1a00005 e0461001 ebfffd1f e5952008 e5943018 e1520003 1a00000d e594301c [ 108.201415] ac10 e5942020 e243321e e0821183 e7923183 e1510003 0a000006 e1530005 0a000002 [ 108.201415] ac30 e59f0030 ebfd28d3 ea000001 e5933000 eafffff6 e1a01008 e59f001c eb1697f8 [ 108.201415] ac50 e89dabf0 e5975010 eaffffe3 c09e34e4 c09bd000 c0ad91d4 c09f2ac4 c0ad91dc [ 108.201415] ac70 e1a0c00d e92ddff0 e24cb004 e24dd024 e52de004 e8bd4000 e59f6228 e24b7034 [ 108.201415] ac90 e59f0224 e50b7034 e596401c e5965020 e244421e e50b7030 eb168fca e59f020c [ 108.201415] acb0 e0858184 eb1699a9 e7954184 e59f9200 e5945000 e1580004 0a000012 e5d43024 [ 108.201415] [ 108.201415] SP: 0xd4ea5cb8: [ 108.201415] 5cb8 c00f9d18 c00f9790 d4ea5ce4 d4ea5cd0 c00f9d48 c00f9cd4 c057e378 800f0013 [ 108.201415] 5cd8 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c c0ad91dc a00f0013 [ 108.201415] 5cf8 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 bf094348 bf05c540 [ 108.201415] 5d18 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 800f0013 ffffffff [ 108.201415] 5d38 bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c c057e2dc [ 108.201415] 5d58 d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 d4ea5d80 [ 108.201415] 5d78 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 00000000 [ 108.201415] 5d98 c0697cd0 d5b48000 d5b480a4 d4a00000 00000000 bf08dc38 00000000 d4ea4000 [ 108.201415] [ 108.201415] IP: 0xd4ea5c90: [ 108.201415] 5c90 c09ef6c0 c09ef480 c0ab0df8 c001de98 d4ea4000 c0e59dc8 c0adda54 c00f9d18 [ 108.201415] 5cb0 d4ea5ccc d4ea5cc0 c00f9d18 c00f9790 d4ea5ce4 d4ea5cd0 c00f9d48 c00f9cd4 [ 108.201415] 5cd0 c057e378 800f0013 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c [ 108.201415] 5cf0 c0ad91dc a00f0013 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 [ 108.201415] 5d10 bf094348 bf05c540 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 [ 108.201415] 5d30 800f0013 ffffffff bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 [ 108.201415] 5d50 bf06ae4c c057e2dc d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 [ 108.201415] 5d70 d4ea5dc4 d4ea5d80 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 [ 108.201415] [ 108.201415] FP: 0xd4ea5cd4: [ 108.201415] 5cd4 800f0013 c000de94 00000000 d4ea5d54 d4ea5cf0 c000dbec c000820c c0ad91dc [ 108.201415] 5cf4 a00f0013 00000000 00000002 d5a93000 d5a93078 d5a93094 00000000 bf094348 [ 108.201415] 5d14 bf05c540 d5bc05cc d4ea5d54 d4ea5d10 d4ea5d38 c00fac50 c057e374 800f0013 [ 108.201415] 5d34 ffffffff bf094288 bf094288 d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c [ 108.201415] 5d54 c057e2dc d5bc0380 d5bd1380 d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 [ 108.201415] 5d74 d4ea5d80 bf061bc4 bf06ae00 d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 [ 108.201415] 5d94 00000000 c0697cd0 d5b48000 d5b480a4 d4a00000 00000000 bf08dc38 00000000 [ 108.201415] 5db4 d4ea4000 d4ea5dec d4ea5dc8 bf014f4c bf061440 d4a00000 d4ea5e08 00001042 [ 108.201415] [ 108.201415] R0: 0xc0ad915c: [ 108.201415] 915c 0001fb80 d5819740 00000000 00000000 d58228d0 d5af3340 d55433c0 d590c440 [ 108.201415] 917c d5401ee8 00000000 00000000 00000000 00000000 00000000 d58cc9cc d58cc9cc [ 108.201415] 919c ffffb758 d58cc000 c00f93c0 00000000 ffffffff ffffffff 00000000 00000000 [ 108.201415] 91bc 00000000 00000000 00000000 d59818c0 00000000 d5afa8c0 d597a840 d4a28b40 [ 108.201415] 91dc 00000000 00000000 c1017180 c10171c0 00004ec0 00000000 00000000 00000000 [ 108.201415] 91fc 00000000 d5fab000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 921c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 923c 00000000 c0ad9240 c0ad9240 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R4: 0xd5a92f80: [ 108.201415] 2f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 2fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3000 306e6f6d 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3060 00000000 00000000 00000000 00000000 00200200 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R5: 0xd5a92ff8: [ 108.201415] 2ff8 00000000 00000000 306e6f6d 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3018 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3038 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3058 00000000 00000000 00000000 00000000 00000000 00000000 00200200 00000000 [ 108.201415] 3078 00000000 00000000 00000000 00000000 00000002 c0a24368 00200200 d5a93094 [ 108.201415] 3098 d5a93094 d5a9309c d5a9309c 00000000 00004000 00000000 40004800 00000000 [ 108.201415] 30b8 00004800 00000000 00000020 00000000 00000004 00000004 00000000 00000000 [ 108.201415] 30d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R6: 0xd5a93014: [ 108.201415] 3014 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3034 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 3054 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00200200 [ 108.201415] 3074 00000000 00000000 00000000 00000000 00000000 00000002 c0a24368 00200200 [ 108.201415] 3094 d5a93094 d5a93094 d5a9309c d5a9309c 00000000 00004000 00000000 40004800 [ 108.201415] 30b4 00000000 00004800 00000000 00000020 00000000 00000004 00000004 00000000 [ 108.201415] 30d4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 30f4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] [ 108.201415] R10: 0xd5bc054c: [ 108.201415] 054c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 056c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 bf05cd34 [ 108.201415] 058c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 05ac 00000000 00000000 00000000 00000000 00000000 bf051208 d5bc05c4 d5bc05c4 [ 108.201415] 05cc d49d3ab4 d49d3ab4 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.201415] 05ec 00000000 d5bc05f0 d5bc05f0 00000000 00000000 00000000 d5bc0604 d5bc0604 [ 108.201415] 060c 00000000 00000000 00000000 d5bc0618 d5bc0618 00000000 00000000 00000000 [ 108.201415] 062c d5bc062c d5bc062c d48d0200 d5bc1494 d5b80000 d59671c0 20000174 45524944 [ 108.201415] Process ifconfig (pid: 1832, stack limit = 0xd4ea42f8) [ 108.201415] Stack: (0xd4ea5d38 to 0xd4ea6000) [ 108.201415] 5d20: bf094288 bf094288 [ 108.201415] 5d40: d5a93000 00000000 d4ea5d7c d4ea5d58 bf06ae4c c057e2dc d5bc0380 d5bd1380 [ 108.201415] 5d60: d5bc0558 d49d3a40 d4a00000 bf05c540 d4ea5dc4 d4ea5d80 bf061bc4 bf06ae00 [ 108.201415] 5d80: d5bc0620 d5bd1380 d49d3a40 d5bc0558 d4ea5db4 00000000 c0697cd0 d5b48000 [ 108.201415] 5da0: d5b480a4 d4a00000 00000000 bf08dc38 00000000 d4ea4000 d4ea5dec d4ea5dc8 [ 108.201415] 5dc0: bf014f4c bf061440 d4a00000 d4ea5e08 00001042 00001003 d4a00000 00000000 [ 108.201415] 5de0: d4ea5e04 d4ea5df0 c057ad68 bf014eb0 d4a00000 00000001 d4ea5e1c d4ea5e08 [ 108.201415] 5e00: c057adc4 c057acd0 d4a0009c d4a0009c d4ea5e3c d4ea5e20 c0580ab8 c057ad98 [ 108.201415] 5e20: d4a00000 00001003 d4ff8400 d4ff840c d4ea5e5c d4ea5e40 c0580bcc c0580a28 [ 108.201415] 5e40: d4c37580 00008914 d4ff8400 d4ff840c d4ea5ebc d4ea5e60 c05d8d8c c0580bb8 [ 108.201415] 5e60: d4ea4000 beef6ea7 c0a24300 beef6ab4 6e616c77 00000031 00000000 00000000 [ 108.201415] 5e80: b6f61042 beef6ea7 0000002c 00000064 00000000 c0a24300 00008914 beef6ab4 [ 108.201415] 5ea0: c0a24300 00000007 d4ea4000 00000000 d4ea5ed4 d4ea5ec0 c05da0e8 c05d8a1c [ 108.201415] 5ec0: c05da010 00008914 d4ea5ef4 d4ea5ed8 c0569558 c05da01c beef6ab4 d57403a0 [ 108.201415] 5ee0: d4833e40 beef6ab4 d4ea5f04 d4ea5ef8 c012e9e8 c0569334 d4ea5f74 d4ea5f08 [ 108.201415] 5f00: c012f4ac c012e9bc d4f12200 d4f121c0 00000009 00000001 d4ea5f34 c0128218 [ 108.201415] 5f20: fffffffe fffffffe d5009000 00000001 c000e1c8 d4ea4000 d4ea5f54 d4ea5f48 [ 108.201415] 5f40: c0128218 c01131dc d4ea5f94 d4ea5f58 00000000 d4833e40 00008914 beef6ab4 [ 108.201415] 5f60: 00000007 d4ea4000 d4ea5fa4 d4ea5f78 c012f5b0 c012eff0 00000001 00000000 [ 108.201415] 5f80: c000e1c8 0002b8e8 beef6b74 00000007 00000036 c000e1c8 00000000 d4ea5fa8 [ 108.201415] 5fa0: c000df60 c012f55c 0002b8e8 beef6b74 00000007 00008914 beef6ab4 00001042 [ 108.201415] 5fc0: 0002b8e8 beef6b74 00000007 00000036 00000000 00000000 b6f7c000 0002b3b4 [ 108.201415] 5fe0: 0002b07c beef6aa4 00012acf b6ef4106 600f0030 00000007 00000000 00000000 [ 108.201415] [] (free_netdev+0xa4/0xbc) from [] (dhd_monitor_uninit+0x58/0x8c [dhd]) [ 108.201415] [] (dhd_monitor_uninit+0x58/0x8c [dhd]) from [] (wl_cfg80211_down+0x790/0x7cc [dhd]) [ 108.201415] [] (wl_cfg80211_down+0x790/0x7cc [dhd]) from [] (dhd_stop+0xa8/0x1b8 [dhd]) [ 108.201415] [] (dhd_stop+0xa8/0x1b8 [dhd]) from [] (dev_close_many+0xa4/0xc8) [ 108.201415] [] (dev_close_many+0xa4/0xc8) from [] (dev_close+0x38/0x50) [ 108.201415] [] (__dev_close+0x38/0x50) from [] (dev_change_flags+0x9c/0x124) [ 108.201415] [] (__dev_change_flags+0x9c/0x124) from [] (dev_change_flags+0x20/0x54) [ 108.201415] [] (dev_change_flags+0x20/0x54) from [] (devinet_ioctl+0x37c/0x750) [ 108.201415] [] (devinet_ioctl+0x37c/0x750) from [] (inet_ioctl+0xd8/0x108) [ 108.201415] [] (inet_ioctl+0xd8/0x108) from [] (sock_ioctl+0x230/0x27c) [ 108.201415] [] (sock_ioctl+0x230/0x27c) from [] (vfs_ioctl+0x38/0x4c) [ 108.201415] [] (vfs_ioctl+0x38/0x4c) from [] (do_vfs_ioctl+0x4c8/0x56c) [ 108.201415] [] (do_vfs_ioctl+0x4c8/0x56c) from [] (sys_ioctl+0x60/0x84) [ 108.201415] [] (sys_ioctl+0x60/0x84) from [] (ret_fast_syscall+0x0/0x30) [ 108.201415] Code: ebee54c0 e89da8f0 e3530003 0a000000 (e7f001f2) [ 109.454365] ---[ end trace 1f449fdfb220baa3 ]--- Segmentation fault [ 109.490091] Unable to handle kernel paging request at virtual address 00642000 [ 109.498150] pgd = c0004000 [ 109.500005] [00642000] *pgd=00000000 [ 109.500005] sunxi oops: enable sdcard JTAG interface [ 109.500005] sunxi oops: cpu frequency: 1152 MHz [ 109.500005] sunxi oops: ddr frequency: 408 MHz [ 109.500005] sunxi oops: gpu frequency: 105 MHz [ 109.500005] sunxi oops: cpu temperature: 34 [ 109.500005] Internal error: Oops: 5 [#2] PREEMPT SMP ARM [ 109.500005] Modules linked in: pcf8591 bmp085 g_serial dhd [last unloaded: scsi_wait_scan] [ 109.500005] CPU: 1 Tainted: G D (3.4.113-sun8i #2) [ 109.500005] PC is at in_dev_finish_destroy+0x70/0xb4 [ 109.500005] LR is at in_dev_rcu_put+0x48/0x4c [ 109.500005] pc : [] lr : [] psr: 600f0193 [ 109.500005] sp : d58c3e40 ip : d58c3e58 fp : d58c3e54 [ 109.500005] r10: 00000005 r9 : d58c2000 r8 : 00000069 [ 109.500005] r7 : d4a1ec00 r6 : c0fffac4 r5 : d5a93000 r4 : d4947a00 [ 109.500005] r3 : 00000000 r2 : c09e3520 r1 : 00642000 r0 : 600f0113 [ 109.500005] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [ 109.500005] Control: 10c5387d Table: 54aa406a DAC: 00000015 [ 109.500005] [ 109.500005] PC: 0xc05d6bec: [ 109.500005] 6bec e89da8f0 9e370001 c0b6059c c09e3520 e1a0c00d e92dd830 e24cb004 e52de004 [ 109.500005] 6c0c e8bd4000 e590300c e1a04000 e5905000 e3530000 0a000002 e3a010da e59f0074 [ 109.500005] 6c2c ebe94af1 e5943010 e3530000 0a000002 e3a010db e59f005c ebe94aeb e10f0000 [ 109.500005] 6c4c f10c0080 e1a0200d e3c22d7f e3c2203f e595329c e5921014 e59f203c e7921101 [ 109.500005] 6c6c e7932001 e2422001 e7832001 e121f000 e5943008 e3530000 1a000003 e1a01004 [ 109.500005] 6c8c e59f0018 eb0303fd e89da830 e1a00004 ebecf272 e89da830 c08a1847 c09e3520 [ 109.500005] 6cac c08a185a e1a0c00d e92dd800 e24cb004 e52de004 e8bd4000 e1a03000 e2400f43 [ 109.500005] 6ccc e2432f42 f57ff05f e1921f9f e2411001 e182cf91 e33c0000 1afffffa f57ff05f [ 109.500005] [ 109.500005] LR: 0xc05d6c78: [ 109.500005] 6c78 e121f000 e5943008 e3530000 1a000003 e1a01004 e59f0018 eb0303fd e89da830 [ 109.500005] 6c98 e1a00004 ebecf272 e89da830 c08a1847 c09e3520 c08a185a e1a0c00d e92dd800 [ 109.500005] 6cb8 e24cb004 e52de004 e8bd4000 e1a03000 e2400f43 e2432f42 f57ff05f e1921f9f [ 109.500005] 6cd8 e2411001 e182cf91 e33c0000 1afffffa f57ff05f e3510000 189da800 ebffffc0 [ 109.500005] 6cf8 e89da800 e1a0c00d e92dd830 e24cb004 e52de004 e8bd4000 e2404010 e5100004 [ 109.500005] 6d18 e3500000 0a00000a e2803004 f

VIRGIL-YAN commented 7 years ago

回复: 系统以及内核版本(Debian GNU/Linux 8 DietPi;Linux DietPi 3.4.113-sun8i) - 已安装的内核模块(lsmod) - pcf8591 3363 0 bmp085 3487 0 g_serial 27617 0 dhd 666855 0 设备信息(处理器的架构是armv7l(型号:全志H3四核A7)以及网卡的型号(正基AP6212)) - 出错时的syslog(dmsg) 根据说说内容来看,像是内核的错误,把wifi_scan注释掉看是否运行正常? 我一一进行断点,发现执行到if(openraw(dev, iface, dev->fd_out, &dev->arptype_out, dev->pl_mac) != 0)这个判断开始断了,估计是里面方法有问题,但是对linux内核不太了解,所以不知道是何问题

root@DietPi:~/Airkiss# ./airkiss wlan1 80211 driver_id is 17 index is 3 NL80211_CMD_TRIGGER_SCAN sent 36 bytes to the kernel. Waiting for scan to complete... Got NL80211_CMD_NEW_SCAN_RESULTS. Scan is done. NL80211_CMD_GET_SCAN sent 28 bytes to the kernel. Mac Address:[24:69:68:0b:14:30], Channel:[ 1], SSID_CRC:[42], SSID:[jiufu] Mac Address:[14:75:90:51:ff:2e], Channel:[ 1], SSID_CRC:[38], SSID:[BBTGZ] Mac Address:[14:e6:e4:d6:a4:8e], Channel:[ 6], SSID_CRC:[d1], SSID:[TP-LINK_D6A48E] Mac Address:[d0:c7:c0:9d:12:38], Channel:[11], SSID_CRC:[ 2], SSID:[geetion-outside] Mac Address:[8c:be:be:2b:8e:31], Channel:[11], SSID_CRC:[15], SSID:[mi-geetion] Mac Address:[f4:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[15], SSID:[WXseevon] Mac Address:[06:83:cd:5b:bb:fe], Channel:[11], SSID_CRC:[a2], SSID:[Guest_FCVC] Mac Address:[], Channel:[11], SSID_CRC:[dc], SSID:[DIRECT-10-HP DeskJet 3830 series] Mac Address:[80:89:17:89:f6:7f], Channel:[ 1], SSID_CRC:[dd], SSID:[CP&P2.4G] Airkiss start open wifi interface wlan1 linux_open(iface): wlan1 do_linux_open(dev->fd_in) wlan1: do_linux_open(dev->fd_main) wlan1: do_linux_open(iwpriv) wlan1: do_linux_open(is_ndiswrapper) wlan1: do_linux_open(dev->fd_out) wlan1: do_linux_open(ls /sys/class/net/wlan1/phy80211/subsystem >/dev/null 2>/dev/null) do_linux_open(ls /sys/class/net/wlan1/device/inject >/dev/null 2>/dev/null) do_linux_open(ls /sys/class/net/wlan1/device/inject_nofcs >/dev/null 2>/dev/null) do_linux_open(wlancfg show wlan1 2>/dev/null | grep p2CnfWEPFlags >/dev/null) do_linux_open(iwpriv wlan1 2>/dev/null | grep antsel_rx >/dev/null) do_linux_open(iwpriv wlan1 2>/dev/null | grep GetAcx111Info >/dev/null) do_linux_open(( strlen( iface ) >= 4 || strlen( iface ) <= 6) do_linux_open(memcmp( iface, 'rtap', 4) == 0 && dev->main_if == NULL) do_linux_open(openraw(dev, iface, dev->fd_out, &dev->arptype_out, dev->pl_mac) != 0) o[ 301.984133] ------------[ cut here ]------------ [ 301.990510] Kernel BUG at c057e374 [verbose debug info unavailable] [ 301.993275] sunxi oops: enable sdcard JTAG interface [ 301.993275] sunxi oops: cpu frequency: 1008 MHz [ 301.993275] sunxi oops: ddr frequency: 408 MHz [ 301.993275] sunxi oops: gpu frequency: 105 MHz [ 301.993275] sunxi oops: cpu temperature: 31 [ 301.993275] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM [ 301.993275] Modules linked in: bmp085 pcf8591 g_serial dhd [last unloaded: scsi_wait_scan] [ 301.993275] CPU: 0 Not tainted (3.4.113-sun8i #2) [ 301.993275] PC is at free_netdev+0xa4/0xbc [ 301.993275] LR is at free_percpu+0xfc/0x11c

evilpan commented 7 years ago

这里打开网卡是根据不同的驱动来进行操作的, 看do_linux_open()里面的流程就可以知道. 确认一下你的网卡类型是否在已知的网卡里,如果没有的话则需要自己提供驱动.