这是加载模块以及测试过程:
# insmod /lib/modules/esp8089.ko config=crystal_26M_en=1 esp_reset_gpio=14
[ 16.991294] esp8089: unknown parameter 'config' ignored
[ 16.996948]
[ 16.996948] ***** EAGLE DRIVER VER:bdf5087c3deb*****
[ 16.996948]
[ 17.005069] ESP8089 reset via GPIO 14
[ 17.219263] esp_sdio_dummy_probe enter
[ 17.438922] esp_sdio_init power up OK
[ 17.918508] esp_host:bdf5087c3deb
[ 17.918508] esp_target: e826c2b3c9fd 57 18202
[ 17.918508]
[ 17.927814] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 17.936953] first normal exit
[ 17.940274] esp_sdio_remove enter
[ 17.944620] sif_disable_irq release irq failed
[ 18.009322] mmc1: card 0001 removed
[ 18.065966] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
# [ 18.086665] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 18.095367] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 18.103095] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 18.108646] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 18.114739] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 18.120380] mmc1: new high speed SDIO card at address 0001
[ 18.486456] esp_host:bdf5087c3deb
[ 18.486456] esp_target: e826c2b3c9fd 57 18202
[ 18.486456]
[ 18.576315] esp_op_add_interface STA
[ 18.604205] urandom_read: 3 callbacks suppressed
[ 18.604218] random: dhcpcd: uninitialized urandom read (120 bytes read)
#
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4736 (4.6 KiB) TX bytes:4736 (4.6 KiB)
wlan0 Link encap:Ethernet HWaddr AC:D0:74:C1:26:99
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# [ 38.340421] random: crng init done
ifconfig wlan0 up
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
# [ 59.941566] wlan0: authenticate with c8:e7:d8:34:27:84
[ 59.946904] wlan0: send auth to c8:e7:d8:34:27:84 (try 1/3)
[ 59.957283] wlan0: authenticated
[ 59.969346] wlan0: associate with c8:e7:d8:34:27:84 (try 1/3)
[ 59.979746] wlan0: RX AssocResp from c8:e7:d8:34:27:84 (capab=0x431 status=0 aid=4)
[ 59.987551] wlan0: associated
udhcpc -i wlan0
udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending select for 192.168.1.109
udhcpc: lease of 192.168.1.109 obtained, lease time 7200
deleting routers
adding dns 202.96.134.33
adding dns 202.96.128.68
# wpa_cli -iwlan0 status
bssid=c8:e7:d8:34:27:84
freq=2437
ssid=MERCURY_2784
id=0
mode=station
wifi_generation=4
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.1.109
p2p_device_address=ac:d0:74:c1:26:99
address=ac:d0:74:c1:26:99
uuid=29899bfe-dde5-5afd-9f9f-0797878b0d93
# ping www.baidu.com
PING www.baidu.com (14.215.177.39): 56 data bytes
64 bytes from 14.215.177.39: seq=0 ttl=56 time=12.207 ms
64 bytes from 14.215.177.39: seq=1 ttl=56 time=16.141 ms
64 bytes from 14.215.177.39: seq=2 ttl=56 time=23.015 ms
64 bytes from 14.215.177.39: seq=3 ttl=56 time=17.179 ms
64 bytes from 14.215.177.39: seq=4 ttl=56 time=32.256 ms
64 bytes from 14.215.177.39: seq=5 ttl=56 time=14.608 ms
64 bytes from 14.215.177.39: seq=6 ttl=56 time=20.701 ms
64 bytes from 14.215.177.39: seq=7 ttl=56 time=11.978 ms
64 bytes from 14.215.177.39: seq=8 ttl=56 time=15.777 ms
^C
--- www.baidu.com ping statistics ---
9 packets transmitted, 9 packets received, 0% packet loss
round-trip min/avg/max = 11.978/18.206/32.256 ms
如下,我在ping百度的时候,突然就崩溃了,请问有大佬知道怎么解决?
# ping www.baidu.com
PING www.baidu.com (14.215.177.38): 56 data bytes
64 bytes from 14.215.177.38: seq=0 ttl=56 time=10.405 ms
[ 252.489515] esp_sdio_remove enter
[ 252.494046] sif_disable_irq release irq failed
[ 252.498511] ------------[ cut here ]------------
[ 252.503258] WARNING: CPU: 0 PID: 5 at kernel/workqueue.c:3031 __flush_work+0x184/0x1ac
[ 252.511186] Modules linked in: esp8089
[ 252.514944] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.2.0-licheepi-zero #3
[ 252.522154] Hardware name: Allwinner sun8i Family
[ 252.526864] Workqueue: events_freezable mmc_rescan
[ 252.531678] [<c010ec34>] (unwind_backtrace) from [<c010b6cc>] (show_stack+0x10/0x14)
[ 252.539419] [<c010b6cc>] (show_stack) from [<c0715720>] (dump_stack+0x94/0xa8)
[ 252.546641] [<c0715720>] (dump_stack) from [<c011d984>] (__warn+0xfc/0x114)
[ 252.553598] [<c011d984>] (__warn) from [<c011dab0>] (warn_slowpath_null+0x40/0x48)
[ 252.561161] [<c011dab0>] (warn_slowpath_null) from [<c0133eec>] (__flush_work+0x184/0x1ac)
[ 252.569421] [<c0133eec>] (__flush_work) from [<c0136fc8>] (__cancel_work_timer+0x110/0x1ec)
[ 252.577800] [<c0136fc8>] (__cancel_work_timer) from [<bf004168>] (sip_detach+0xe8/0x1bc [esp8089])
[ 252.586778] [<bf004168>] (sip_detach [esp8089]) from [<bf000fe0>] (esp_sdio_remove+0x60/0x1ac [esp8089])
[ 252.596265] [<bf000fe0>] (esp_sdio_remove [esp8089]) from [<c0539780>] (sdio_bus_remove+0x30/0xf8)
[ 252.605225] [<c0539780>] (sdio_bus_remove) from [<c04330b4>] (device_release_driver_internal+0xdc/0x1a0)
[ 252.614701] [<c04330b4>] (device_release_driver_internal) from [<c0431bec>] (bus_remove_device+0xcc/0xf8)
[ 252.624260] [<c0431bec>] (bus_remove_device) from [<c042e2a0>] (device_del+0x13c/0x324)
[ 252.632250] [<c042e2a0>] (device_del) from [<c0539c08>] (sdio_remove_func+0x1c/0x28)
[ 252.639987] [<c0539c08>] (sdio_remove_func) from [<c0537a34>] (mmc_sdio_remove+0x40/0x70)
[ 252.648159] [<c0537a34>] (mmc_sdio_remove) from [<c0537c44>] (mmc_sdio_detect+0x6c/0xf8)
[ 252.656242] [<c0537c44>] (mmc_sdio_detect) from [<c052fe30>] (mmc_rescan+0x1bc/0x38c)
[ 252.664066] [<c052fe30>] (mmc_rescan) from [<c0135e64>] (process_one_work+0x150/0x358)
[ 252.671976] [<c0135e64>] (process_one_work) from [<c0136098>] (worker_thread+0x2c/0x518)
[ 252.680062] [<c0136098>] (worker_thread) from [<c013b854>] (kthread+0x120/0x150)
[ 252.687453] [<c013b854>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 252.694663] Exception stack(0xc3845fb0 to 0xc3845ff8)
[ 252.699701] 5fa0: 00000000 00000000 00000000 00000000
[ 252.707868] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 252.716034] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 252.722767] ---[ end trace c2da1efaf38c4f3d ]---
[ 252.727432] wlan0: deauthenticating from c8:e7:d8:34:27:84 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 252.831695] mmc1: card 0001 removed
[ 252.887836] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 252.908732] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 252.923924] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 252.939568] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 252.949438] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 252.962697] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 252.971128] mmc1: new high speed SDIO card at address 0001
[ 252.990913] 8<--- cut here ---
[ 252.993997] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[ 253.002247] pgd = 6ae702fa
[ 253.004956] [00000004] *pgd=00000000
[ 253.008538] Internal error: Oops: 17 [#1] SMP ARM
[ 253.013235] Modules linked in: esp8089
[ 253.016989] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G W 5.2.0-licheepi-zero #3
[ 253.025584] Hardware name: Allwinner sun8i Family
[ 253.030297] Workqueue: events_freezable mmc_rescan
[ 253.035123] PC is at esp_sdio_probe+0x48/0x3e4 [esp8089]
[ 253.040432] LR is at sdio_bus_probe+0xfc/0x114
[ 253.044868] pc : [<bf001174>] lr : [<c0539944>] psr: 20060013
[ 253.051124] sp : c3845d98 ip : 29aaaaab fp : c0b04c48
[ 253.056340] r10: 0000000e r9 : bf00a188 r8 : bf00a188
[ 253.061557] r7 : c32bf400 r6 : bf00d080 r5 : bf039784 r4 : 00000000
[ 253.068073] r3 : c32bf408 r2 : 00000003 r1 : 00000000 r0 : c32bf400
[ 253.074592] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 253.081716] Control: 10c5387d Table: 432b406a DAC: 00000051
[ 253.087455] Process kworker/0:0 (pid: 5, stack limit = 0xb741b1b1)
[ 253.093626] Stack: (0xc3845d98 to 0xc3846000)
[ 253.097979] 5d80: bf00d0e8 0000000e
[ 253.106147] 5da0: c0b04c48 c32bf408 00000000 c32bf400 bf00d0e8 bf00a188 bf00d0e8 c0539944
[ 253.114315] 5dc0: c0b838c8 c32bf408 00000000 c0b838cc 00000001 c04329b4 c32bf408 bf00d0e8
[ 253.122482] 5de0: c0432e1c c0b04c48 00000001 00000000 00000001 c0432c34 c0b41240 00000000
[ 253.130650] 5e00: 00000000 c0b87250 bf00d0e8 c3845e64 c32bf408 00000000 c3845e64 c0432e1c
[ 253.138818] 5e20: c0b04c48 00000001 00000000 00000001 c0b04c48 c0430cc8 00000001 c39a0c6c
[ 253.146986] 5e40: c31dd2b8 3e4fcf47 c32bf408 c32bf408 c0b04c48 c32bf44c c3300008 c0432764
[ 253.155153] 5e60: 00000cc0 c32bf408 00000001 3e4fcf47 c32bf408 c32bf408 c0b3b860 c3300008
[ 253.163321] 5e80: 00000000 c0431b18 c32bf408 00000000 c0b04c48 c042f5cc c32bf400 c3b91000
[ 253.171489] 5ea0: 00000001 c052f164 c3300004 3e4fcf47 c3845ec8 c32bf400 c32bf408 c3300004
[ 253.179657] 5ec0: c3b91000 c3300398 c3300000 c0539bd8 00000000 00000001 c3300004 c0538f40
[ 253.187824] 5ee0: 00000000 c3845ef7 00000000 00000000 00000000 00000000 10ffff00 3e4fcf47
[ 253.195992] 5f00: ffffff92 c3b9128c 00061a80 c3b91000 c086bfc0 c086bfcc c3b91290 00000000
[ 253.204160] 5f20: c3dee880 c052ff78 c380d680 c3b9128c c3dee880 c3df1c00 00000000 c0135e64
[ 253.212328] 5f40: c3dee898 c0b03d00 c380d680 c3dee880 c380d694 c3dee898 c0b03d00 c3844000
[ 253.220496] 5f60: 00000008 c0136098 00000000 c3816980 c38168c0 00000000 c380d680 c013606c
[ 253.228663] 5f80: c381699c c3833eac 00000000 c013b854 c38168c0 c013b734 00000000 00000000
[ 253.236830] 5fa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 00000000 00000000
[ 253.244997] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 253.253164] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 253.261360] [<bf001174>] (esp_sdio_probe [esp8089]) from [<c0539944>] (sdio_bus_probe+0xfc/0x114)
[ 253.270233] [<c0539944>] (sdio_bus_probe) from [<c04329b4>] (really_probe+0x1dc/0x2e0)
[ 253.278147] [<c04329b4>] (really_probe) from [<c0432c34>] (driver_probe_device+0x60/0x1a0)
[ 253.286406] [<c0432c34>] (driver_probe_device) from [<c0430cc8>] (bus_for_each_drv+0x74/0xb8)
[ 253.294925] [<c0430cc8>] (bus_for_each_drv) from [<c0432764>] (__device_attach+0xd0/0x13c)
[ 253.303181] [<c0432764>] (__device_attach) from [<c0431b18>] (bus_probe_device+0x84/0x8c)
[ 253.311352] [<c0431b18>] (bus_probe_device) from [<c042f5cc>] (device_add+0x444/0x5e4)
[ 253.319263] [<c042f5cc>] (device_add) from [<c0539bd8>] (sdio_add_func+0x5c/0x70)
[ 253.326741] [<c0539bd8>] (sdio_add_func) from [<c0538f40>] (mmc_attach_sdio+0x270/0x370)
[ 253.334825] [<c0538f40>] (mmc_attach_sdio) from [<c052ff78>] (mmc_rescan+0x304/0x38c)
[ 253.342652] [<c052ff78>] (mmc_rescan) from [<c0135e64>] (process_one_work+0x150/0x358)
[ 253.350566] [<c0135e64>] (process_one_work) from [<c0136098>] (worker_thread+0x2c/0x518)
[ 253.358653] [<c0136098>] (worker_thread) from [<c013b854>] (kthread+0x120/0x150)
[ 253.366044] [<c013b854>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 253.373255] Exception stack(0xc3845fb0 to 0xc3845ff8)
[ 253.378299] 5fa0: 00000000 00000000 00000000 00000000
[ 253.386466] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 253.394632] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 253.401243] Code: e5954018 e3a01000 e5851018 e2873008 (e5948004)
[ 253.407446] ---[ end trace c2da1efaf38c4f3e ]---
ping: sendto: Network is unreachable
离线
老哥这个问题后来怎么解决的
离线
老哥这个问题后来怎么解决的
没有解决啊,解决不了。主线这块无解。
离线
我也是 它工作了一段时间,然后坏了。
离线