This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WL1835MOD: WL8 Mesh Driver Crash issue

Part Number: WL1835MOD


Tool/software: Linux

Hi Champs:

Please see the attached.

The Mesh driver dies here:

-->PC is at mesh_get_low_signal_link+0x24/0x6c [mac80211]

Please help to solve.

THanks.

BR Rio

SRV�o�R�b�jg{�c?��n�o��c��g�w�^g�Cg���fG#�K�������������������������������������                                ��������������������������������������������������������������������������������                                ��������������������������������������������������������������������������������                                ��������������������������������������������������������������������������������                                �����������cGK?�c�K?��foS�cs�[?jRR��?N���{��fw�k'Rnk3f{s�f�S:�K?D�����u%TE?                                k4DE���D�D5��D%�F
�e�E5%?�Ĵ�?E�l��DT??��D�T?D�L��B��LF��
                                         ��
��EE%�ŵĴ�E                               �DE?
?D��Ĵ??�D��m���M<�@�Mh�D��?
  OD�]���dd?

��d�ݴ�Ĵd]=�ĥ�D���]����D�D
��5L�T]����T����]B��E�E�E��%D�MM�DMBD�EE?M��EUD?��=?�ť�D��L
                    T�����M?
���I��?�@���DMD�EM��g�D��?Y����K?U?�T����]��]���d�L]d]�D?�QD�L����?
                                          t?��?################ mesh start ###                                ##############
netid=0
=========================
OK
OK
OK
OK
OK
OK

Using interface mesh0 with hwaddr 40:bd:32:89:39[   17.692718] wlcore: down
:17 and ssid ""
mesh0: interface state UNINITIALIZED->ENABLED
AP-ENABLED
[   18.090032] wlcore: PHY firmware version: Rev 8.2.0.0.240
[   18.269495] wlcore: firmware booted (Rev 8.9.0.0.76)
[   18.283579] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
random: Only 7/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when t
mesh0: joining mesh ATOP_Mesh
[   18.345128] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
mesh0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
mesh0: MESH-GROUP-STARTED ssid="ATOP_Mesh" id=0
mesh0: mesh plink with 40:bd:32:89:33:6b established
mesh0: ===> PLINKS NUMBER: 1
mesh0: MESH-PEER-CONNECTED 40:bd:32:89:33:6b
mesh0: mesh plink with 40:bd:32:89:39:41 established
mesh0: ===> PLINKS NUMBER: 2
mesh0: MESH-PEER-CONNECTED 40:bd:32:89:39:41
################# mesh join done #################
adding wlan1 interface
Configuration file: /jffs2/hostapd.conf
[   22.811822] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Using interface wlan1 with hwaddr 42:bd:32:89:39:16 and ssid "ATOP_AP"
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 0/20 bytes of strong random data available from /dev/random
random: Not enough entropy poo[   24.039375] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link
l available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when t
wlan1: interface state HT_SCAN->ENABLED
wlan1: AP-ENABLED
################# AP Start #################
################# wlan0 down #################
[   27.841350] device mesh0 entered promiscuous mode
[   27.853137] device wlan1 entered promiscuous mode
################# PrimaryAP bridge eth1 mesh0 wlan1 #################
################# udhcp done #################
[   32.930674] net eth0: initializing cpsw version 1.12 (0)
[   32.989125] net eth0: phy found : id is : 0x221513
[   32.994559] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   33.000730] 8021q: adding VLAN 0 to HW filter on device eth0
################# Set up WAN IP address done #################
################# NAT done #################

Welcome to ATOP system
ATOP login:
Welcome to ATOP system
ATOP login: wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 12/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake















































































































































































































































































wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 12/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake



















































































wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: deauthenticated due to local deauth request

Welcome to ATOP system
ATOP login: root
Password:
# ifconfigmesh0: MESH-SAE-AUTH-FAILURE addr=40:bd:32:89:39:3b

br0       Link encap:Ethernet  HWaddr 40:BD:32:89:39:17
          inet addr:10.0.51.100  Bcast:10.0.51.255  Mask:255.255.255.0
          inet6 addr: fe80::42bd:32ff:fe89:3917/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1275 errors:0 dropped:0 overruns:0 frame:0
          TX packets:792 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:202021 (197.2 KiB)  TX bytes:59046 (57.6 KiB)

eth0      Link encap:Ethernet  HWaddr 00:60:E9:15:18:13
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST PROMISC 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)
          Interrupt:56

eth1      Link encap:Ethernet  HWaddr 00:60:E9:15:18:14
          inet6 addr: fe80::260:e9ff:fe15:1814/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1941 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1905 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:319244 (311.7 KiB)  TX bytes:202340 (197.5 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:196 (196.0 B)  TX bytes:196 (196.0 B)

mesh0     Link encap:Ethernet  HWaddr 40:BD:32:89:39:17
          inet6 addr: fe80::42bd:32ff:fe89:3917/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1906 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1778 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:224016 (218.7 KiB)  TX bytes:341342 (333.3 KiB)

wlan1     Link encap:Ethernet  HWaddr 42:BD:32:89:39:16
          inet6 addr: fe80::40bd:32ff:fe89:3916/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:524 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:270 (270.0 B)  TX bytes:123358 (120.4 KiB)

# [   82.570574] ------------[ cut here ]------------
[   82.575630] WARNING: CPU: 0 PID: 726 at /home/jove/project/aw59xx/build-utilites/src                         /compat_wireless/drivers/net/wireless/ti/wlcore/main.c:5122 wlcore_pending_auth_complet                         e_work+0x74/0x88 [wlcore]()
[   82.594217] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg802                         11(O) compat(O) tun GobiNet(O) atop_8250 xr(O)
[   82.606706] CPU: 0 PID: 726 Comm: kworker/u2:2 Tainted: G           O 3.14.26-svn180                         1 #14
[   82.615343] Workqueue: phy0 wlcore_pending_auth_complete_work [wlcore]
[   82.622256] [<c0012dac>] (unwind_backtrace) from [<c0011204>] (show_stack+0x10/0x14)
[   82.630415] [<c0011204>] (show_stack) from [<c0033b00>] (warn_slowpath_common+0x6c/0                         x8c)
[   82.638929] [<c0033b00>] (warn_slowpath_common) from [<c0033b3c>] (warn_slowpath_nul                         l+0x1c/0x24)
[   82.648202] [<c0033b3c>] (warn_slowpath_null) from [<bf1b8338>] (wlcore_pending_auth                         _complete_work+0x74/0x88 [wlcore])
[   82.659509] [<bf1b8338>] (wlcore_pending_auth_complete_work [wlcore]) from [<c0048ac                         c>] (process_one_work+0x128/0x3b4)
[   82.670781] [<c0048acc>] (process_one_work) from [<c0048ea0>] (worker_thread+0x114/0                         x35c)
[   82.679402] [<c0048ea0>] (worker_thread) from [<c004e3ec>] (kthread+0xbc/0xd8)
[   82.687010] [<c004e3ec>] (kthread) from [<c000e438>] (ret_from_fork+0x14/0x3c)
[   82.694604] ---[ end trace 94e92e9d2857e642 ]---









































































































































































































mesh0: MESH-SAE-AUTH-FAILURE addr=40:bd:32:89:39:3b

#
#
#
# iw mesh0 info
Interface mesh0
        ifindex 10
        wdev 0x2
        addr 40:bd:32:89:39:17
        type mesh point
        wiphy 0
        channel 36 (5180 MHz), width: 40 MHz, center1: 5190 MHz
# iw mesh0 station dump
Station 40:bd:32:89:39:41 (on mesh0)
        inactive time:  292 ms
        rx bytes:       512902
        rx packets:     3741
        tx bytes:       834652
        tx packets:     2763
        tx retries:     0
        tx failed:      13
        signal:         0 dBm
        signal avg:     -71 dBm
        tx bitrate:     108.0 MBit/s MCS 5 40MHz
        rx bitrate:     65.0 MBit/s MCS 7
        mesh llid:      0
        mesh plid:      0
        mesh plink:     ESTAB
        mesh local PS mode:     ACTIVE
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            yes
        TDLS peer:      no
Station 40:bd:32:89:33:6b (on mesh0)
        inactive time:  715 ms
        rx bytes:       220760
        rx packets:     1839
        tx bytes:       152432
        tx packets:     783
        tx retries:     0
        tx failed:      0
        signal:         0 dBm
        signal avg:     -75 dBm
        tx bitrate:     108.0 MBit/s MCS 5 40MHz
        rx bitrate:     58.5 MBit/s MCS 6
        mesh llid:      0
        mesh plid:      0
        mesh plink:     ESTAB
        mesh local PS mode:     ACTIVE
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            yes
        TDLS peer:      no
#
#
# ping 10.0.51.23
PING 10.0.51.23 (10.0.51.23): 56 data bytes
64 bytes from 10.0.51.23: seq=0 ttl=64 time=8.385 ms
64 bytes from 10.0.51.23: seq=1 ttl=64 time=4.109 ms
64 bytes from 10.0.51.23: seq=2 ttl=64 time=5.530 ms
^C
--- 10.0.51.23 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 4.109/6.008/8.385 ms
# wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
wlan1: AP-STA-CONNECTED 28:3f:69:25:df:c4
wlan1: STA 28:3f:69:25:df:c4 WPA: pairwise key handshake completed (RSN)
[  617.658346] Unable to handle kernel NULL pointer dereference at virtual address 0000                         005d
[  617.666919] pgd = dcbf4000
[  617.669936] [0000005d] *pgd=99ca0831, *pte=00000000, *ppte=00000000
[  617.676575] Internal error: Oops: 17 [#1] ARM
[  617.681152] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg802                         11(O) compat(O) tun GobiNet(O) atop_8250 xr(O)
[  617.693530] CPU: 0 PID: 1103 Comm: wpa_supplicant Tainted: G        W  O 3.14.26-svn                         1801 #14
[  617.702392] task: d9d075c0 ti: d7092000 task.ti: d7092000
[  617.708610] PC is at mesh_get_low_signal_link+0x24/0x6c [mac80211]
[  617.715253] LR is at ieee80211_get_low_signal_mesh+0x10/0x34 [mac80211]
[  617.722202] pc : [<bf133f90>]    lr : [<bf0fa220>]    psr: 800f0013
[  617.722202] sp : d7093ca8  ip : dcb44fb0  fp : 00000000
[  617.734246] r10: dcb44000  r9 : d70a0890  r8 : d71844e8
[  617.739731] r7 : d7093cf4  r6 : dcb44160  r5 : d7184000  r4 : d7093cc2
[  617.746578] r3 : d9db9000  r2 : 00000000  r1 : 00000003  r0 : d9db4800
[  617.753433] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  617.760923] Control: 10c5387d  Table: 9cbf4019  DAC: 00000015
[  617.766951] Process wpa_supplicant (pid: 1103, stack limit = 0xd7092238)
[  617.773984] Stack: (0xd7093ca8 to 0xd7094000)
[  617.778562] 3ca0:                   d9ea8840 d9db9000 bf084724 bf0440cc bf072f40 d70                         93cf4
[  617.787155] 3cc0: 00000001 d9dd2740 d70a0880 bf084724 dcb5b800 bf072f40 d9dd2740 d70                         a0880
[  617.795743] 3ce0: 00000000 c041a724 bf072918 c0417354 00000002 5baafb12 c180044f d70                         a0880
[  617.804333] 3d00: d70a0890 d70a0894 dcb5b800 dcb44000 d7184000 de129800 d70a0880 d9d                         d2740
[  617.812928] 3d20: c041a518 d9dd2740 d7093d5c 00000000 00000000 c0419c18 c07b303c d9d                         d2740
[  617.821518] 3d40: d9ca1c00 c0419da8 c0419d88 de129800 0000001c c04195e0 0000001c 7ff                         fffff
[  617.830096] 3d60: d7093e90 d7093f7c d7093e10 d9ca1c00 0000001c 00000000 00000000 c04                         19994
[  617.838675] 3d80: 00000000 c03f5998 d9ca1400 d9dd2740 00000008 d7065dac 00000000 de0                         69880
[  617.847261] 3da0: 00000000 0000044f 00000000 00000000 00000000 c04196ec d9d075c0 d70                         93e88
[  617.855843] 3dc0: 00000000 dda2b6c0 00000000 00000000 d7093e88 c03e8144 00000000 000                         00000
[  617.864428] 3de0: 00000000 d7093e10 d9d075c0 00000000 00000000 00000000 00000000 000                         00000
[  617.873013] 3e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000                         0001c
[  617.881601] 3e20: dda2b6c0 d7093ec8 d7093d9c d7093f7c d7093e88 d7093e88 00000008 000                         00000
[  617.890189] 3e40: d7093f7c c03f4998 00000000 bedb71f4 d7093e88 d7093f7c 0000001c c03                         e8d54
[  617.898777] 3e60: d7093e68 d7093e68 00000040 d7093e80 bedb7b24 c03e8a68 c078f890 000                         00000
[  617.907362] 3e80: 001c3928 00003f08 001cda6c 00000000 00000000 00000000 c078da20 c00                         74730
[  617.915944] 3ea0: c35da2b4 d7092000 bedb71a8 bedb71ac ddaf7ac0 bedb71a8 00000004 000                         00000
[  617.924527] 3ec0: 00000004 c03ed7e8 00000010 00000000 00000000 00000000 c36ca2c0 000                         0008f
[  617.933118] 3ee0: c07c0a80 c07c0904 00000002 c003dda8 c35d7092 0000008f 00005411 c03                         e9278
[  617.941714] 3f00: 00005452 0000000d 00000000 c00ef91c 7390c1b3 00000003 ffffffff 000                         00000
[  617.950291] 3f20: 00000004 d7093f78 d7092000 bedb7c40 00000001 bedb7c40 00000008 bed                         b7b24
[  617.958871] 3f40: 00000000 bedb71f4 00000000 dda2b6c0 bedb71f4 00000000 00000128 c00                         0e524
[  617.967464] 3f60: d7092000 00000000 00000032 c03ea1a4 bedb71a4 00000000 fffffff7 d70                         93ec8
[  617.976048] 3f80: 0000000c d7093e88 00000001 00000000 00000000 00000000 001b2398 001                         b2320
[  617.984633] 3fa0: 001c82b0 c000e3a0 001b2398 001b2320 00000005 bedb71f4 00000000 000                         00000
[  617.993221] 3fc0: 001b2398 001b2320 001c82b0 00000128 bedb71f4 00000033 00000089 000                         00032
[  618.001808] 3fe0: 00000000 bedb71b4 b6d8dd5d b6db69fc 600f0010 00000005 9fef6821 9fe                         f6c21
[  618.010756] [<bf133f90>] (mesh_get_low_signal_link [mac80211]) from [<bf0fa220>] (ie                         ee80211_get_low_signal_mesh+0x10/0x34 [mac80211])
[  618.023796] [<bf0fa220>] (ieee80211_get_low_signal_mesh [mac80211]) from [<bf0440cc>                         ] (nl80211_get_low_signal_mesh+0x6c/0x1d0 [cfg80211])
[  618.036941] [<bf0440cc>] (nl80211_get_low_signal_mesh [cfg80211]) from [<c041a724>]                          (genl_rcv_msg+0x20c/0x368)
[  618.047444] [<c041a724>] (genl_rcv_msg) from [<c0419c18>] (netlink_rcv_skb+0xac/0xc0                         )
[  618.055670] [<c0419c18>] (netlink_rcv_skb) from [<c0419da8>] (genl_rcv+0x20/0x34)
[  618.063535] [<c0419da8>] (genl_rcv) from [<c04195e0>] (netlink_unicast+0x178/0x1e0)
[  618.071576] [<c04195e0>] (netlink_unicast) from [<c0419994>] (netlink_sendmsg+0x2a8/                         0x388)
[  618.080276] [<c0419994>] (netlink_sendmsg) from [<c03e8144>] (sock_sendmsg+0x84/0xa4                         )
[  618.088508] [<c03e8144>] (sock_sendmsg) from [<c03e8d54>] (___sys_sendmsg.part.25+0x                         268/0x278)
[  618.097555] [<c03e8d54>] (___sys_sendmsg.part.25) from [<c03ea1a4>] (__sys_sendmsg+0                         x4c/0x78)
[  618.106509] [<c03ea1a4>] (__sys_sendmsg) from [<c000e3a0>] (ret_fast_syscall+0x0/0x3                         0)
[  618.114828] Code: e59d3004 e153000c 0a000010 e5932064 (e5d2105d)
[  618.121427] ---[ end trace 94e92e9d2857e643 ]---

wlan1: AP-STA-DISCONNECTED 28:3f:69:25:df:c4









































Action frame: SA=40:bd:32:89:33:6b Category=15 [ 413.263269] Internal error: Oops: 17 [#1] ARM
[ 413.271992] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O) tun GobiNet(O) atop_8250 xr(O)
[ 413.284358] CPU: 0 PID: 1103 Comm: wpa_supplicant Tainted: G O 3.14.26-svn1801 #14
[ 413.293220] task: d9c0cac0 ti: d709e000 task.ti: d709e000
[ 413.299428] PC is at mesh_get_low_signal_link+0x24/0x6c [mac80211]
[ 413.306067] LR is at ieee80211_get_low_signal_mesh+0x10/0x34 [mac80211]
[ 413.313011] pc : [<bf133f90>] lr : [<bf0fa220>] psr: 200f0013
[ 413.313011] sp : d709fca8 ip : dcb44fb0 fp : 00000000
[ 413.325053] r10: dcb44000 r9 : d71c9050 r8 : d716e4e8
[ 413.330526] r7 : d709fcf4 r6 : dcb44160 r5 : d716e000 r4 : d709fcc2
[ 413.337359] r3 : de0c4800 r2 : 00000000 r1 : 00000003 r0 : dcb57800
[ 413.344194] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user

  • Can, you please provide the Linux and wilink firmware, build tools version being used..

    Thanks
  • Linux Version : 3.14.26-g07d13c6

    Wifi Firmware : FW ver: Rev 8.9.0.0.75

    For the NULL pointer issue, we found it also happened in am335x EVM board. please see the attached file for more information.

    aw5900_evm_err2-1.txt

  • Since the wifi firmware in am335x EVM is old version, We try to update it to 8.9.0.0.79 and do the test again.

    Linux Version : 3.14.26-g07d13c6

    Wifi Firmware : FW ver: Rev 8.9.0.0.79

    For FW 8.9.0.0.79, the NULL pointer issue still exist.

    Attached file is the full log message.

    7245.aw5900_evm_err3.txt

  • Hi,
    can you confirm you are using wpa supplicant from ti git ? can you pls let us know the version number ?
    pls upgrade to latest R8.7_SP3

    Thanks
    Saurabh
  • Hi,

    The EVM software is got from this web site which linux kernel version is close to our version.

    software-dl.ti.com/.../index_FDS.html

    We don't modify anything utility and firmwares for the software, except for the wifi firmware(Update from Rev 8.9.0.0.75 to Rev 8.9.0.0.79).

    And for this NULL pointer issue, it is found in our board at the beginning.

    And our board's version already updated to R8.7_SP3.

    You can see the wpa_supplicant version as below.

    ----------------------------------------------------------------------------------------------------------------

    # wpa_supplicant --version
    wpa_supplicant: invalid option -- '-'
    wpa_supplicant v2.6-devel-R8.7_SP3

    Copyright (c) 2003-2016, Jouni Malinen <j@w1.fi> and contributors

    This software may be distributed under the terms of the BSD license.
    See README for more details.

    ----------------------------------------------------------------------------------------------------------------

    The log message is the attached file which attached by Rio.

    You can find our board's log message(File : 20180925_2.txt) from above.

  • Hi Champs:

    This issue also can be reproduced on Sitara+WL8 EVM.

    Log as the attached and below.

    [ 3488.221789] Unable to handle kernel NULL pointer dereference at virtual address 00000045

    [ 3488.230340] pgd = dc1d4000

    [ 3488.233168] [00000045] *pgd=9dbbc831, *pte=00000000, *ppte=00000000

    [ 3488.239750] Internal error: Oops: 17 [#1] ARM

    [ 3488.244298] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) wlcore_sdio(O) co                                                                                    mpat(O)

    [ 3488.253794] CPU: 0 PID: 1657 Comm: wpa_supplicant Tainted: G           O 3.14.26-g07d13c6-di                                                                                    rty #2

    [ 3488.263150] task: dc26e000 ti: dc240000 task.ti: dc240000

    [ 3488.269243] PC is at mesh_get_low_signal_link+0x30/0x78 [mac80211]

    [ 3488.275866] LR is at ieee80211_get_low_signal_mesh+0x18/0x3c [mac80211]

    [ 3488.282777] pc : [<bf0a3010>]    lr : [<bf079550>]    psr: 200f0013

    [ 3488.282777] sp : dc241c10  ip : dc1c4f90  fp : dc241c24

    [ 3488.294762] r10: 00000000  r9 : ddd2a550  r8 : bf03dd90

    [ 3488.300216] r7 : dc30e488  r6 : dc1c4000  r5 : dc30e000  r4 : dc241c4a

    [ 3488.307029] r3 : dc2f1000  r2 : 00000000  r1 : 00000003  r0 : dc22e800

    [ 3488.313847] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

    [ 3488.321296] Control: 10c5387d  Table: 9c1d4019  DAC: 00000015

    [ 3488.327295] Process wpa_supplicant (pid: 1657, stack limit = 0xdc240238)

    [ 3488.334291] Stack: (0xdc241c10 to 0xdc242000)7043.aw5900_evm_err3.txt

    BR Rio

  • Hi,
    You stated that you are running R8.7_SP3 version , but as per logs it's SP2

    " 11.587913] wlcore: driver version: R8.7_SP2"

    Can you please confirm the version ? Just want to make sure we are on the same page.

    Thanks
    Saurabh
  • Hi,

    The NULL pointer issue was happend on 2 platforms, one is on AM335x EVM which version is R8.7_SP2.

    And the other one is on our development board which version already updated to R8.7_SP3.

    The following attacheds are all our board's log message. One is bootup message and the other is NULL pointer error message.

    U-Boot SPL 2014.07 (Sep 07 2018 - 15:33:59)
    [enable_pin_mux]
    Using default environment
    
    
    
    U-Boot 2014.07 (Sep 07 2018 - 15:33:59)
    
    I2C:   ready
    DRAM:  512 MiB
    [board_init ] enable watchdog
    [board_init] gpio init
    BUZZER setbuzzer set111
    [board_init]GPMC init done
    [board_init] cs eth init
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Using default environment
    
    Net:   [board_eth_init] start
    [board_eth_init] atop init phy
    [board_eth_init] cpsw_register
    [board_eth_init] FIBER CONFIG
    [board_eth_init] Select RMII2_CRS_DV on GPMC_A9 pin.
    [board_eth_init] Set eth1 Isolate.
    [board_eth_init] ***Set eth0 basic control reg.
    cpsw
    [main_loop] boot
    Hit ESC to execute ATOP menu:
    switch to partitions #0, OK
    mmc1(part 0) is current device
    
    MMC read: dev # 1, block # 2816, count 1280 ... 1280 blocks read: OK
    Wait ... 0
    
    MMC read: dev # 1, block # 4096, count 20480 ... 20480 blocks read: OK
    
    MMC read: dev # 1, block # 24576, count 40960 ... 40960 blocks read: OK
    Booting from ramdisk ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x3d2540 ]
    ## Loading init Ramdisk from Legacy Image at 84080000 ...
       Image Name:   RootFS
       Created:      2018-09-28   7:03:24 UTC
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    15801244 Bytes = 15.1 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 84000000
       Booting using the fdt blob at 0x84000000
       Loading Ramdisk to 870ee000, end 87fffb9c ... OK
       Loading Device Tree to 870e2000, end 870ed0b4 ... OK
    
    [ARM announce]Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.14.26-svn1801 (jove@jove-VirtualBox) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #17 Fri Sep 28 14:58:46 CST 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x EVM
    [    0.000000] cma: CMA: reserved 16 MiB at 9e800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
    [    0.000000] Kernel command line: console=ttyO0,115200n8 ramdisk_size=800000 root=/dev/ram0 rw bootloader_ver=1.3 rootfstype=ext2
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 478444K/523264K available (5367K kernel code, 293K rwdata, 1940K rodata, 292K init, 401K bss, 44820K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc072b1c0   (7309 kB)
    [    0.000000]       .init : 0xc072c000 - 0xc077527c   ( 293 kB)
    [    0.000000]       .data : 0xc0776000 - 0xc07bf778   ( 294 kB)
    [    0.000000]        .bss : 0xc07bf778 - 0xc0823dc0   ( 402 kB)
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [    0.000031] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000299] Console: colour dummy device 80x30
    [    0.000324] Calibrating delay loop... 794.62 BogoMIPS (lpj=397312)
    [    0.006481] pid_max: default: 32768 minimum: 301
    [    0.006578] Security Framework initialized
    [    0.006631] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.006642] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.013265] CPU: Testing write buffer coherency: ok
    [    0.013703] Setting up static identity map for 0x805148b0 - 0x80514920
    [    0.014895] devtmpfs: initialized
    [    0.016673] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.022870] omap_hwmod: tptc0 using broken dt data from edma
    [    0.022942] omap_hwmod: tptc1 using broken dt data from edma
    [    0.023005] omap_hwmod: tptc2 using broken dt data from edma
    [    0.026966] omap_hwmod: debugss: _wait_target_disable failed
    [    0.080892] pinctrl core: initialized pinctrl subsystem
    [    0.081995] regulator-dummy: no parameters
    [    0.083810] NET: Registered protocol family 16
    [    0.085787] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.087356] cpuidle: using governor ladder
    [    0.087369] cpuidle: using governor menu
    [    0.095900] platform 49000000.edma: alias fck already exists
    [    0.095926] platform 49000000.edma: alias fck already exists
    [    0.095938] platform 49000000.edma: alias fck already exists
    [    0.097058] OMAP GPIO hardware version 0.1
    [    0.110178] No ATAGs?
    [    0.110198] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.129256] bio: create slab <bio-0> at 0
    [    0.142707] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.143679] vmmcsd_fixed: 3300 mV
    [    0.144189] wlan-en-regulator: 3300 mV
    [    0.145587] usbcore: registered new interface driver usbfs
    [    0.145762] usbcore: registered new interface driver hub
    [    0.145982] usbcore: registered new device driver usb
    [    0.146865] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins_default, deferring probe
    [    0.146891] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.148820] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.150991] Switched to clocksource timer1
    [    0.186744] NET: Registered protocol family 2
    [    0.187588] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.187647] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.187693] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.187763] TCP: reno registered
    [    0.187774] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.187791] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.187975] NET: Registered protocol family 1
    [    0.188354] RPC: Registered named UNIX socket transport module.
    [    0.188368] RPC: Registered udp transport module.
    [    0.188373] RPC: Registered tcp transport module.
    [    0.188379] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.189272] Trying to unpack rootfs image as initramfs...
    [    0.190541] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.274996] Freeing initrd memory: 15428K (c70ee000 - c7fff000)
    [    0.275352] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    0.278484] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.432645] NFS: Registering the id_resolver key type
    [    0.432741] Key type id_resolver registered
    [    0.432750] Key type id_legacy registered
    [    0.432793] jffs2: version 2.2. (NAND) (SUMMARY)  c 2001-2006 Red Hat, Inc.
    [    0.432976] msgmni has been set to 996
    [    0.434542] io scheduler noop registered
    [    0.434556] io scheduler deadline registered
    [    0.434577] io scheduler cfq registered (default)
    [    0.436294] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.437671] Serial: 8250/16550 driver, 48 ports, IRQ sharing enabled
    [    0.454828] omap_uart 44e09000.serial: no wakeirq for uart0
    [    0.454979] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.052071] console [ttyO0] enabled
    [    1.056557] omap_uart 48022000.serial: no wakeirq for uart0
    [    1.062565] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
    [    1.073167] omap_uart 48024000.serial: no wakeirq for uart0
    [    1.079132] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    1.090468] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.107927] brd: module loaded
    [    1.116646] loop: module loaded
    [    1.120343] (hci_tty): inside hci_tty_init
    [    1.125121] (hci_tty): allocated 251, 0
    [    1.130767] Atop update device initialize success.
    [    1.136541] atop_relay.8:
    [    1.139232] Register atop_relay0 success.
    [    1.145564] ATOP Do Driver Install
    [    1.150680] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.157942] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [    1.171508] PPP generic driver version 2.4.2
    [    1.176495] PPP MPPE Compression module registered
    [    1.181557] NET: Registered protocol family 24
    [    1.186266] PPTP driver version 0.8.5
    [    1.190644] usbcore: registered new interface driver cdc_ether
    [    1.197018] usbcore: registered new interface driver smsc95xx
    [    1.203212] usbcore: registered new interface driver rndis_host
    [    1.209667] usbcore: registered new interface driver cdc_ncm
    [    1.215628] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.222495] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.228267] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.234794] ohci-platform: OHCI generic platform driver
    [    1.240837] usbcore: registered new interface driver usbserial
    [    1.247140] usbcore: registered new interface driver option
    [    1.253154] usbserial: USB Serial support registered for GSM modem (1-port)
    [    1.262506] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.272099] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
    [    1.278297] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
    [    1.286469] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
    [    1.294831] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.304266] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
    [    1.310464] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
    [    1.318631] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
    [    1.340560] input: beeper.9 as /devices/beeper.9/input/input0
    [    1.348355] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.355827] 44e3e000.rtc: already running
    [    1.360506] i2c /dev entries driver
    [    1.469674] omap_hsmmc 48060000.mmc: card claims to support voltages below defined range
    [    1.488628] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.496975] oprofile: using arm/armv7
    [    1.500962] Netfilter messages via NETLINK v0.30.
    [    1.505928] nf_conntrack version 0.5.0 (7972 buckets, 31888 max)
    [    1.512503] ctnetlink v0.93: registering with nfnetlink.
    [    1.518288] gre: GRE over IPv4 demultiplexor driver
    [    1.523428] ip_gre: GRE over IPv4 tunneling driver
    [    1.530779] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.536509] TCP: cubic registered
    [    1.540004] Initializing XFRM netlink socket
    [    1.544560] NET: Registered protocol family 10
    [    1.550588] sit: IPv6 over IPv4 tunneling driver
    [    1.557888] NET: Registered protocol family 17
    [    1.562647] NET: Registered protocol family 15
    [    1.567390] Bridge firewalling registered
    [    1.571672] 8021q: 802.1Q VLAN Support v1.8
    [    1.576150] Key type dns_resolver registered
    [    1.581649] ondemand governor failed, too long transition latency of HW, fallback to performance governor
    [    1.592533] PM: bootloader does not support rtc-only!
    [    1.597903] ThumbEE CPU extension supported.
    [    1.602437] Registering SWP/SWPB emulation handler
    [    1.609300] regulator-dummy: disabling
    [    1.614519] mmc0: new high speed SDIO card at address 0001
    [    1.622269] at24 0-0057: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
    [    1.678809] mmc1: BKOPS_EN bit is not set
    [    1.685381] mmc1: new high speed MMC card at address 0001
    [    1.691719] mmcblk0: mmc1:0001 SEM08G 7.28 GiB
    [    1.696665] mmcblk0boot0: mmc1:0001 SEM08G partition 1 2.00 MiB
    [    1.703069] mmcblk0boot1: mmc1:0001 SEM08G partition 2 2.00 MiB
    [    1.713851]  mmcblk0: p1
    [    1.718670]  mmcblk0boot1: unknown partition table
    [    1.725418]  mmcblk0boot0: unknown partition table
    [    1.860935] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
    [    1.867721] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
    [    1.875903] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc1
    [    1.883002] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.892390] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [    1.898465] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [    1.906937] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.914092] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.921679] usb usb1: Product: MUSB HDRC host driver
    [    1.926885] usb usb1: Manufacturer: Linux 3.14.26-svn1801 musb-hcd
    [    1.933372] usb usb1: SerialNumber: musb-hdrc.0.auto
    [    1.939689] hub 1-0:1.0: USB hub found
    [    1.943711] hub 1-0:1.0: 1 port detected
    [    1.951628] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.957706] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [    1.966144] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.973292] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.980877] usb usb2: Product: MUSB HDRC host driver
    [    1.986094] usb usb2: Manufacturer: Linux 3.14.26-svn1801 musb-hcd
    [    1.992583] usb usb2: SerialNumber: musb-hdrc.1.auto
    [    1.998885] hub 2-0:1.0: USB hub found
    [    2.002927] hub 2-0:1.0: 1 port detected
    [    2.056032] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.062467] davinci_mdio 4a101000.mdio: detected phy mask fffffff4
    [    2.070857] libphy: 4a101000.mdio: probed
    [    2.075113] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    2.083519] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver unknown
    [    2.091935] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver unknown
    [    2.101137] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.107928] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [    2.115011] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.121788] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    2.128829] cpsw 4a100000.ethernet: Detected MACID = fc:69:47:bd:e8:94
    [    2.137416] cpsw 4a100000.ethernet: cpsw: Detected MACID = fc:69:47:bd:e8:96
    [    2.147313] input: gpio_keys.10 as /devices/gpio_keys.10/input/input1
    [    2.155310] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
    [    2.163169] rtc-pcf8563 0-0051: setting system clock to 2000-08-25 06:26:21 UTC (967184781)
    [    2.175642] RAMDISK: gzip image found at block 0
    [    2.557751] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    [    2.616958] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    [    3.861779] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    3.868208] devtmpfs: mounted
    [    3.871754] Freeing unused kernel memory: 292K (c072c000 - c0775000)
    Starting logging: OK
    Initializing random number generator... [    4.053427] random: dd urandom read with 57 bits of entropy available
    done.
    [    4.087880] EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
    [    7.341549] bonding: bond0: Setting MII monitoring interval to 100.
    [    7.348410] bonding: bond0: Setting fail_over_mac to active (1).
    [    7.423498] net eth0: initializing cpsw version 1.12 (0)
    [    7.484397] net eth0: phy found : id is : 0x221513
    [    7.496619] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.502762] 8021q: adding VLAN 0 to HW filter on device eth0
    [    7.521197] Unhandled fault: external abort on non-linefetch (0x1818) at 0xb6c9c050
    Bus error
    [    7.542741] net eth1: initializing cpsw version 1.12 (0)
    [    7.604387] net eth1: phy found : id is : 0x221513
    [    7.616585] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.622716] 8021q: adding VLAN 0 to HW filter on device eth1
    [    7.640942] Unhandled fault: external abort on non-linefetch (0x1818) at 0xb6cd0050
    Bus error
    nameif: /etc/mactab: No such file or directory
    [    7.687462] net eth0: initializing cpsw version 1.12 (0)
    [    7.748365] net eth0: phy found : id is : 0x221513
    [    7.758068] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.764198] 8021q: adding VLAN 0 to HW filter on device eth0
    [    7.815161] net eth1: initializing cpsw version 1.12 (0)
    [    7.876347] net eth1: phy found : id is : 0x221513
    [    7.886043] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.892209] 8021q: adding VLAN 0 to HW filter on device eth1
     New Monit id: 072215d67031f4bba23fab5217b1e9b2
     Stored in '//.monit.id'
    Starting Monit 5.18 daemon
    Monit start delay set -- pause for 10s
    Starting network...
    [    8.372992] device eth0 entered promiscuous mode
    [    8.405299] net eth0: initializing cpsw version 1.12 (0)
    [    8.466352] net eth0: phy found : id is : 0x221513
    [    8.473681] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    8.479826] 8021q: adding VLAN 0 to HW filter on device eth0
    net.ipv6.conf.eth0.accept_ra = 1
    [    8.531549] device eth1 entered promiscuous mode
    [    8.563823] net eth1: initializing cpsw version 1.12 (0)
    [    8.624373] net eth1: phy found : id is : 0x221513
    [    8.629713] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    8.635870] 8021q: adding VLAN 0 to HW filter on device eth1
    net.ipv6.conf.eth1.accept_ra = 1
    Starting WIFI ...
    lrwxrwxrwx    1 root     root            10 Aug 25 06:26 /jffs2 -> /mnt/jffs2
    <main> MESHssid=ATOP_Mesh99,MESHpsk=atop1234,dhcp_server=0,dhcpd_start=10,dhcpd_end=60
    
    <ChannelToFreq> channel=157
    
    <main> wifi cmd=/jffs2/WifiMesh.sh 3 ATOP_AP atop5678 ATOP_Mesh99 5785 atop1234 0 10.0.51.100 255.255.255.0 192.168.1.1 255.255.255.0 192.168.1.254 1 &
    
    [Mode] = 3
    [AP SSID] = ATOP_AP
    [AP PSK]= atop5678
    [Mesh SSID] = ATOP_Mesh99
    [Mesh Freq] = 5785
    [Mesh PSK] = atop1234
    [Dhcpd] = 0
    [IP] = 10.0.51.100
    [Mask] = 255.255.255.0
    Starting ntpd: [WAN IP] = 192.168.1.1
    [WAN MASK] = 255.255.255.0
    [WAN GATEWAY] = 192.168.1.254
    [DHCPC] = 1
    OK
    Starting dropbear sshd: OK
    Starting ProFTPD: [    8.903257] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
    done
    Starting stunnel: [.] stunnel 5.09 on arm-buildroot-linux-gnueabihf platform
    [.] Compiled/running with OpenSSL 1.0.2 22 Jan 2015
    [.] Threading:FORK Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI
    [ ] errno: (*__errno_location ())
    [.] Reading configuration from file /etc/stunnel/stunnel.conf
    [.] UTF-8 byte order mark detected
    [ ] Enabling support for engine "capi"
    [!] error queue: 2606A074: error:2606A074:engine routines:ENGI[    9.002570] random: nonblocking pool is initialized
    NE_by_id:no such engine
    [!] ENGINE_by_id: 260B606D: error:260B606D:engine routines:DYNAMIC_LOAD:init failed
    [!] Line 18: "engine = capi": Failed to open the engine
    FAIL
    Starting IPsec...
    Mount debugfs
    [    9.911664] Loading modules backported from Linux version R8.7_SP3-0-gf96b0d0695a7
    [    9.919678] Backport generated by backports.git R8.7_SP3-0-gd4777ef8
    [    9.975066] cfg80211: World regulatory domain updated:
    [    9.980503] cfg80211:  DFS Master region: unset
    [    9.985086] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [    9.995324] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   10.003740] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   10.013617] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   10.022020] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   10.031994] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   10.041955] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   10.050445] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   10.058851] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   10.264665] libphy: 4a101000.mdio:01 - Link is Up - 100/Half
    [   10.271156] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   10.619668] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [   10.661756] wlcore: loaded
    [   10.664694] wlcore: driver version: R8.7_SP3-dirty
    ################# driver done #################
    adding mesh0 interface
    Successfully initialized wpa_supplicant
    [   11.792733] wlcore: PHY firmware version: Rev 8.2.0.0.242
    [   11.891710] wlcore: firmware booted (Rev 8.9.0.0.79)
    [   11.904974] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
    [   12.020388] cfg80211: Regulatory domain changed to country: US
    [   12.026567] cfg80211:  DFS Master region: FCC
    [   12.030968] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   12.041212] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [   12.049623] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
    [   12.059586] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [   12.069550] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
    [   12.078059] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [   12.086475] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    mesh0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
    Starting udhcpd: OK
    Starting PPTP...
    Starting iptables: OK
    
    Welcome to ATOP system
    ATOP login: Interface 1 is down
    ################# mesh start #################
    netid=0
    =========================
    OK
    OK
    OK
    OK
    OK
    OK
    root
    Password:
    # Using interface mesh0 with hwaddr 40:bd:32:89:33[   17.721685] wlcore: down
    :20 and ssid ""
    mesh0: interface state UNINITIALIZED->ENABLED
    AP-ENABLED
    [   18.119013] wlcore: PHY firmware version: Rev 8.2.0.0.242
    [   18.308688] wlcore: firmware booted (Rev 8.9.0.0.79)
    [   18.329831] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
    random: Only 7/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
    mesh0: joining mesh ATOP_Mesh99
    [   18.439585] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
    mesh0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
    mesh0: MESH-GROUP-STARTED ssid="ATOP_Mesh99" id=0
    mesh0: mesh plink with 40:bd:32:89:33:77 established
    mesh0: ===> PLINKS NUMBER: 1
    mesh0: MESH-PEER-CONNECTED 40:bd:32:89:33:77
    ################# mesh join done #################
    [   22.607323] device mesh0 entered promiscuous mode
    ################# MeshOnly bridge done #################
    udhcpc (v1.23.1) started
    Sending discover...
    Sending select for 10.0.51.14...
    Lease of 10.0.51.14 obtained, lease time 864000
    deleting routers
    cat: can't open '/sys/class/net/br0/device/uevent': No such file or directory
    adding dns 8.8.8.8
    adding dns 8.8.4.4
    ################# udhcp done #################
    mesh0: mesh plink with 40:bd:32:89:3a:e5 established
    mesh0: ===> PLINKS NUMBER: 2
    mesh0: MESH-PEER-CONNECTED 40:bd:32:89:3a:e5
    
    

    SRV�o�R�b�jg{�c?��n�o��c��g�w�^g�Cg���fG#�K�������������������������������������                                ��������������������������������������������������������������������������������                                ��������������������������������������������������������������������������������                                ��������������������������������������������������������������������������������                                �����������cGK?�c�K?��foS�cs�[?jRR��?N���{��fw�k'Rnk3f{s�f�S:�K?D�����u%TE?                                k4DE���D�D5��D%�F
    �e�E5%?�Ĵ�?E�l��DT??��D�T?D�L��B��LF��
                                             ��
    ��EE%�ŵĴ�E                               �DE?
    ?D��Ĵ??�D��m���M<�@�Mh�D��?
      OD�]���dd?
    
    ��d�ݴ�Ĵd]=�ĥ�D���]����D�D
    ��5L�T]����T����]B��E�E�E��%D�MM�DMBD�EE?M��EUD?��=?�ť�D��L
                        T�����M?
    ���I��?�@���DMD�EM��g�D��?Y����K?U?�T����]��]���d�L]d]�D?�QD�L����?
                                              t?��?################ mesh start ###                                ##############
    netid=0
    =========================
    OK
    OK
    OK
    OK
    OK
    OK
    
    Using interface mesh0 with hwaddr 40:bd:32:89:39[   17.692718] wlcore: down
    :17 and ssid ""
    mesh0: interface state UNINITIALIZED->ENABLED
    AP-ENABLED
    [   18.090032] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   18.269495] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   18.283579] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
    random: Only 7/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool for secure operations - update keys later when t
    mesh0: joining mesh ATOP_Mesh
    [   18.345128] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
    mesh0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
    mesh0: MESH-GROUP-STARTED ssid="ATOP_Mesh" id=0
    mesh0: mesh plink with 40:bd:32:89:33:6b established
    mesh0: ===> PLINKS NUMBER: 1
    mesh0: MESH-PEER-CONNECTED 40:bd:32:89:33:6b
    mesh0: mesh plink with 40:bd:32:89:39:41 established
    mesh0: ===> PLINKS NUMBER: 2
    mesh0: MESH-PEER-CONNECTED 40:bd:32:89:39:41
    ################# mesh join done #################
    adding wlan1 interface
    Configuration file: /jffs2/hostapd.conf
    [   22.811822] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
    wlan1: interface state COUNTRY_UPDATE->HT_SCAN
    Using interface wlan1 with hwaddr 42:bd:32:89:39:16 and ssid "ATOP_AP"
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 0/20 bytes of strong random data available from /dev/random
    random: Not enough entropy poo[   24.039375] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link
    l available for secure operations
    WPA: Not enough entropy in random pool for secure operations - update keys later when t
    wlan1: interface state HT_SCAN->ENABLED
    wlan1: AP-ENABLED
    ################# AP Start #################
    ################# wlan0 down #################
    [   27.841350] device mesh0 entered promiscuous mode
    [   27.853137] device wlan1 entered promiscuous mode
    ################# PrimaryAP bridge eth1 mesh0 wlan1 #################
    ################# udhcp done #################
    [   32.930674] net eth0: initializing cpsw version 1.12 (0)
    [   32.989125] net eth0: phy found : id is : 0x221513
    [   32.994559] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   33.000730] 8021q: adding VLAN 0 to HW filter on device eth0
    ################# Set up WAN IP address done #################
    ################# NAT done #################
    
    Welcome to ATOP system
    ATOP login:
    Welcome to ATOP system
    ATOP login: wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
    wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 12/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
    wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 12/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: deauthenticated due to local deauth request
    
    Welcome to ATOP system
    ATOP login: root
    Password:
    # ifconfigmesh0: MESH-SAE-AUTH-FAILURE addr=40:bd:32:89:39:3b
    
    br0       Link encap:Ethernet  HWaddr 40:BD:32:89:39:17
              inet addr:10.0.51.100  Bcast:10.0.51.255  Mask:255.255.255.0
              inet6 addr: fe80::42bd:32ff:fe89:3917/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1275 errors:0 dropped:0 overruns:0 frame:0
              TX packets:792 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:202021 (197.2 KiB)  TX bytes:59046 (57.6 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 00:60:E9:15:18:13
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST PROMISC 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)
              Interrupt:56
    
    eth1      Link encap:Ethernet  HWaddr 00:60:E9:15:18:14
              inet6 addr: fe80::260:e9ff:fe15:1814/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:1941 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1905 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:319244 (311.7 KiB)  TX bytes:202340 (197.5 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:196 (196.0 B)  TX bytes:196 (196.0 B)
    
    mesh0     Link encap:Ethernet  HWaddr 40:BD:32:89:39:17
              inet6 addr: fe80::42bd:32ff:fe89:3917/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1906 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1778 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:224016 (218.7 KiB)  TX bytes:341342 (333.3 KiB)
    
    wlan1     Link encap:Ethernet  HWaddr 42:BD:32:89:39:16
              inet6 addr: fe80::40bd:32ff:fe89:3916/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:524 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:270 (270.0 B)  TX bytes:123358 (120.4 KiB)
    
    # [   82.570574] ------------[ cut here ]------------
    [   82.575630] WARNING: CPU: 0 PID: 726 at /home/jove/project/aw59xx/build-utilites/src                         /compat_wireless/drivers/net/wireless/ti/wlcore/main.c:5122 wlcore_pending_auth_complet                         e_work+0x74/0x88 [wlcore]()
    [   82.594217] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg802                         11(O) compat(O) tun GobiNet(O) atop_8250 xr(O)
    [   82.606706] CPU: 0 PID: 726 Comm: kworker/u2:2 Tainted: G           O 3.14.26-svn180                         1 #14
    [   82.615343] Workqueue: phy0 wlcore_pending_auth_complete_work [wlcore]
    [   82.622256] [<c0012dac>] (unwind_backtrace) from [<c0011204>] (show_stack+0x10/0x14)
    [   82.630415] [<c0011204>] (show_stack) from [<c0033b00>] (warn_slowpath_common+0x6c/0                         x8c)
    [   82.638929] [<c0033b00>] (warn_slowpath_common) from [<c0033b3c>] (warn_slowpath_nul                         l+0x1c/0x24)
    [   82.648202] [<c0033b3c>] (warn_slowpath_null) from [<bf1b8338>] (wlcore_pending_auth                         _complete_work+0x74/0x88 [wlcore])
    [   82.659509] [<bf1b8338>] (wlcore_pending_auth_complete_work [wlcore]) from [<c0048ac                         c>] (process_one_work+0x128/0x3b4)
    [   82.670781] [<c0048acc>] (process_one_work) from [<c0048ea0>] (worker_thread+0x114/0                         x35c)
    [   82.679402] [<c0048ea0>] (worker_thread) from [<c004e3ec>] (kthread+0xbc/0xd8)
    [   82.687010] [<c004e3ec>] (kthread) from [<c000e438>] (ret_from_fork+0x14/0x3c)
    [   82.694604] ---[ end trace 94e92e9d2857e642 ]---
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    mesh0: MESH-SAE-AUTH-FAILURE addr=40:bd:32:89:39:3b
    
    #
    #
    #
    # iw mesh0 info
    Interface mesh0
            ifindex 10
            wdev 0x2
            addr 40:bd:32:89:39:17
            type mesh point
            wiphy 0
            channel 36 (5180 MHz), width: 40 MHz, center1: 5190 MHz
    # iw mesh0 station dump
    Station 40:bd:32:89:39:41 (on mesh0)
            inactive time:  292 ms
            rx bytes:       512902
            rx packets:     3741
            tx bytes:       834652
            tx packets:     2763
            tx retries:     0
            tx failed:      13
            signal:         0 dBm
            signal avg:     -71 dBm
            tx bitrate:     108.0 MBit/s MCS 5 40MHz
            rx bitrate:     65.0 MBit/s MCS 7
            mesh llid:      0
            mesh plid:      0
            mesh plink:     ESTAB
            mesh local PS mode:     ACTIVE
            mesh peer PS mode:      ACTIVE
            mesh non-peer PS mode:  ACTIVE
            authorized:     yes
            authenticated:  yes
            preamble:       long
            WMM/WME:        yes
            MFP:            yes
            TDLS peer:      no
    Station 40:bd:32:89:33:6b (on mesh0)
            inactive time:  715 ms
            rx bytes:       220760
            rx packets:     1839
            tx bytes:       152432
            tx packets:     783
            tx retries:     0
            tx failed:      0
            signal:         0 dBm
            signal avg:     -75 dBm
            tx bitrate:     108.0 MBit/s MCS 5 40MHz
            rx bitrate:     58.5 MBit/s MCS 6
            mesh llid:      0
            mesh plid:      0
            mesh plink:     ESTAB
            mesh local PS mode:     ACTIVE
            mesh peer PS mode:      ACTIVE
            mesh non-peer PS mode:  ACTIVE
            authorized:     yes
            authenticated:  yes
            preamble:       long
            WMM/WME:        yes
            MFP:            yes
            TDLS peer:      no
    #
    #
    # ping 10.0.51.23
    PING 10.0.51.23 (10.0.51.23): 56 data bytes
    64 bytes from 10.0.51.23: seq=0 ttl=64 time=8.385 ms
    64 bytes from 10.0.51.23: seq=1 ttl=64 time=4.109 ms
    64 bytes from 10.0.51.23: seq=2 ttl=64 time=5.530 ms
    ^C
    --- 10.0.51.23 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 4.109/6.008/8.385 ms
    # wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: authenticated
    wlan1: STA 28:3f:69:25:df:c4 IEEE 802.11: associated (aid 1)
    wlan1: AP-STA-CONNECTED 28:3f:69:25:df:c4
    wlan1: STA 28:3f:69:25:df:c4 WPA: pairwise key handshake completed (RSN)
    [  617.658346] Unable to handle kernel NULL pointer dereference at virtual address 0000                         005d
    [  617.666919] pgd = dcbf4000
    [  617.669936] [0000005d] *pgd=99ca0831, *pte=00000000, *ppte=00000000
    [  617.676575] Internal error: Oops: 17 [#1] ARM
    [  617.681152] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg802                         11(O) compat(O) tun GobiNet(O) atop_8250 xr(O)
    [  617.693530] CPU: 0 PID: 1103 Comm: wpa_supplicant Tainted: G        W  O 3.14.26-svn                         1801 #14
    [  617.702392] task: d9d075c0 ti: d7092000 task.ti: d7092000
    [  617.708610] PC is at mesh_get_low_signal_link+0x24/0x6c [mac80211]
    [  617.715253] LR is at ieee80211_get_low_signal_mesh+0x10/0x34 [mac80211]
    [  617.722202] pc : [<bf133f90>]    lr : [<bf0fa220>]    psr: 800f0013
    [  617.722202] sp : d7093ca8  ip : dcb44fb0  fp : 00000000
    [  617.734246] r10: dcb44000  r9 : d70a0890  r8 : d71844e8
    [  617.739731] r7 : d7093cf4  r6 : dcb44160  r5 : d7184000  r4 : d7093cc2
    [  617.746578] r3 : d9db9000  r2 : 00000000  r1 : 00000003  r0 : d9db4800
    [  617.753433] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  617.760923] Control: 10c5387d  Table: 9cbf4019  DAC: 00000015
    [  617.766951] Process wpa_supplicant (pid: 1103, stack limit = 0xd7092238)
    [  617.773984] Stack: (0xd7093ca8 to 0xd7094000)
    [  617.778562] 3ca0:                   d9ea8840 d9db9000 bf084724 bf0440cc bf072f40 d70                         93cf4
    [  617.787155] 3cc0: 00000001 d9dd2740 d70a0880 bf084724 dcb5b800 bf072f40 d9dd2740 d70                         a0880
    [  617.795743] 3ce0: 00000000 c041a724 bf072918 c0417354 00000002 5baafb12 c180044f d70                         a0880
    [  617.804333] 3d00: d70a0890 d70a0894 dcb5b800 dcb44000 d7184000 de129800 d70a0880 d9d                         d2740
    [  617.812928] 3d20: c041a518 d9dd2740 d7093d5c 00000000 00000000 c0419c18 c07b303c d9d                         d2740
    [  617.821518] 3d40: d9ca1c00 c0419da8 c0419d88 de129800 0000001c c04195e0 0000001c 7ff                         fffff
    [  617.830096] 3d60: d7093e90 d7093f7c d7093e10 d9ca1c00 0000001c 00000000 00000000 c04                         19994
    [  617.838675] 3d80: 00000000 c03f5998 d9ca1400 d9dd2740 00000008 d7065dac 00000000 de0                         69880
    [  617.847261] 3da0: 00000000 0000044f 00000000 00000000 00000000 c04196ec d9d075c0 d70                         93e88
    [  617.855843] 3dc0: 00000000 dda2b6c0 00000000 00000000 d7093e88 c03e8144 00000000 000                         00000
    [  617.864428] 3de0: 00000000 d7093e10 d9d075c0 00000000 00000000 00000000 00000000 000                         00000
    [  617.873013] 3e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000                         0001c
    [  617.881601] 3e20: dda2b6c0 d7093ec8 d7093d9c d7093f7c d7093e88 d7093e88 00000008 000                         00000
    [  617.890189] 3e40: d7093f7c c03f4998 00000000 bedb71f4 d7093e88 d7093f7c 0000001c c03                         e8d54
    [  617.898777] 3e60: d7093e68 d7093e68 00000040 d7093e80 bedb7b24 c03e8a68 c078f890 000                         00000
    [  617.907362] 3e80: 001c3928 00003f08 001cda6c 00000000 00000000 00000000 c078da20 c00                         74730
    [  617.915944] 3ea0: c35da2b4 d7092000 bedb71a8 bedb71ac ddaf7ac0 bedb71a8 00000004 000                         00000
    [  617.924527] 3ec0: 00000004 c03ed7e8 00000010 00000000 00000000 00000000 c36ca2c0 000                         0008f
    [  617.933118] 3ee0: c07c0a80 c07c0904 00000002 c003dda8 c35d7092 0000008f 00005411 c03                         e9278
    [  617.941714] 3f00: 00005452 0000000d 00000000 c00ef91c 7390c1b3 00000003 ffffffff 000                         00000
    [  617.950291] 3f20: 00000004 d7093f78 d7092000 bedb7c40 00000001 bedb7c40 00000008 bed                         b7b24
    [  617.958871] 3f40: 00000000 bedb71f4 00000000 dda2b6c0 bedb71f4 00000000 00000128 c00                         0e524
    [  617.967464] 3f60: d7092000 00000000 00000032 c03ea1a4 bedb71a4 00000000 fffffff7 d70                         93ec8
    [  617.976048] 3f80: 0000000c d7093e88 00000001 00000000 00000000 00000000 001b2398 001                         b2320
    [  617.984633] 3fa0: 001c82b0 c000e3a0 001b2398 001b2320 00000005 bedb71f4 00000000 000                         00000
    [  617.993221] 3fc0: 001b2398 001b2320 001c82b0 00000128 bedb71f4 00000033 00000089 000                         00032
    [  618.001808] 3fe0: 00000000 bedb71b4 b6d8dd5d b6db69fc 600f0010 00000005 9fef6821 9fe                         f6c21
    [  618.010756] [<bf133f90>] (mesh_get_low_signal_link [mac80211]) from [<bf0fa220>] (ie                         ee80211_get_low_signal_mesh+0x10/0x34 [mac80211])
    [  618.023796] [<bf0fa220>] (ieee80211_get_low_signal_mesh [mac80211]) from [<bf0440cc>                         ] (nl80211_get_low_signal_mesh+0x6c/0x1d0 [cfg80211])
    [  618.036941] [<bf0440cc>] (nl80211_get_low_signal_mesh [cfg80211]) from [<c041a724>]                          (genl_rcv_msg+0x20c/0x368)
    [  618.047444] [<c041a724>] (genl_rcv_msg) from [<c0419c18>] (netlink_rcv_skb+0xac/0xc0                         )
    [  618.055670] [<c0419c18>] (netlink_rcv_skb) from [<c0419da8>] (genl_rcv+0x20/0x34)
    [  618.063535] [<c0419da8>] (genl_rcv) from [<c04195e0>] (netlink_unicast+0x178/0x1e0)
    [  618.071576] [<c04195e0>] (netlink_unicast) from [<c0419994>] (netlink_sendmsg+0x2a8/                         0x388)
    [  618.080276] [<c0419994>] (netlink_sendmsg) from [<c03e8144>] (sock_sendmsg+0x84/0xa4                         )
    [  618.088508] [<c03e8144>] (sock_sendmsg) from [<c03e8d54>] (___sys_sendmsg.part.25+0x                         268/0x278)
    [  618.097555] [<c03e8d54>] (___sys_sendmsg.part.25) from [<c03ea1a4>] (__sys_sendmsg+0                         x4c/0x78)
    [  618.106509] [<c03ea1a4>] (__sys_sendmsg) from [<c000e3a0>] (ret_fast_syscall+0x0/0x3                         0)
    [  618.114828] Code: e59d3004 e153000c 0a000010 e5932064 (e5d2105d)
    [  618.121427] ---[ end trace 94e92e9d2857e643 ]---
    
    wlan1: AP-STA-DISCONNECTED 28:3f:69:25:df:c4
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • Hi Jove,
    Did you modify the driver ? I see 'dirty' tag appended to the version

    "lcore: driver version: R8.7_SP3-dirty"

    Thanks
    Saurabh
  • Hi Saurabh,

    We didn't modify the driver.

    If the driver is wrong, could you please send the website of the correct patch to us?

    And have you found this NULL pointer issue before?

    BR,

    Jove

  • Jove,
    I am not aware of this NULL pointer issue. WiLink8 driver can be updated using build utilties : processors.wiki.ti.com/.../WL18xx_System_Build_Scripts tag R8.7_SP3


    Saurabh
  • Saurabh,

    OK, We will update the build-utilities and test it for the issue.

    Thanks.

    Jove

  • Saurabh,

    After update the build-utilities, there's no dirty string after R8.7_SP3.
    And after test ing it for a while, we also found the NULL pointer issue.

    The following is the full log message.

    # 
    # reboot
    # Stopping iptables: /etc/init.d/S99NAT: line 110: arithmetic syntax error
    Stopping udhcpd: OK
    Stopping IPsec...
    Stopping stunnel: FAIL
    Stopping ProFTPD: done
    Stopping dropbear sshd: OK
    Stopping ntpd: FAIL
    Stopping network...Saving random seed... done.
    Stopping logging: OK
    umount: /dev/mmcblk0p1 busy - remounted read-only
    umount: sysfs busy - remounted read-only
    umount: tmpfs busy - remounted read-only
    umount: can't remount tmpfs read-only
    umount: devtmpfs busy - remounted read-only
    umount: can't remount /dev/root read-only
    umount: can't remount rootfs read-only
    The system is going down NOW!
    wlan1: interface state ENABLED->DISABLED
    wlan1: AP-DISABLED 
    rmdir[ctrl_interface=/var/run/hostapd]: Read-only file system
    nl80211: deinit ifname=wlan1 disabled_11b_rates=0
    Sent SIGTERM to all processes
    nl80211: Failed to open /proc/sys/net/ipv4/conf/[  379.770515] wlcore: down
    mesh0/drop_unicast_in_l2_multicast: No such file or directory
    nl80211: Failed to set IPv4 unica[  379.781667] wlcore: down
    st in multicast filter
    nl80211: deinit ifname=mesh0 disabled_11b_rates=0
    Sent SIGKILL to all processes
    Requesting system reboot
    [  381.757301] musb-hdrc musb-hdrc.1.auto: remove, state 4
    [  381.762868] usb usb2: USB disconnect, device number 1
    [  381.768780] musb-hdrc musb-hdrc.1.auto: USB bus 2 deregistered
    [  381.775025] musb-hdrc musb-hdrc.0.auto: remove, state 4
    [  381.780541] usb usb1: USB disconnect, device number 1
    [  381.786307] musb-hdrc musb-hdrc.0.auto: USB bus 1 deregistered
    [  381.792935] reboot: Restarting system
    
    U-Boot SPL 2014.07 (Sep 12 2018 - 13:21:36)
    [enable_pin_mux] 
    Using default environment
    
    
    
    U-Boot 2014.07 (Sep 12 2018 - 13:21:36)
    
    I2C:   ready
    DRAM:  512 MiB
    [board_init ] enable watchdog 
    [board_init] gpio init 
    BUZZER setbuzzer set111 
    [board_init]GPMC init done 
    [board_init] cs eth init 
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Using default environment
    
    Net:   [board_eth_init] start 
    [board_eth_init] atop init phy
    [board_eth_init] cpsw_register 
    [board_eth_init] FIBER CONFIG 
    [board_eth_init] Select RMII2_CRS_DV on GPMC_A9 pin.
    [board_eth_init] Set eth1 Isolate.
    [board_eth_init] ***Set eth0 basic control reg.
    cpsw
    [main_loop] boot 
    Hit ESC to execute ATOP menu:
    switch to partitions #0, OK
    mmc1(part 0) is current device
    
    MMC read: dev # 1, block # 2816, count 1280 ... 1280 blocks read: OK
    Wait ... 0
    
    MMC read: dev # 1, block # 4096, count 20480 ... 20480 blocks read: OK
    
    MMC read: dev # 1, block # 24576, count 40960 ... 40960 blocks read: OK
    Booting from ramdisk ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x3d2540 ]
    ## Loading init Ramdisk from Legacy Image at 84080000 ...
       Image Name:   RootFS
       Created:      2018-09-28   2:58:46 UTC
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    15801599 Bytes = 15.1 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 84000000
       Booting using the fdt blob at 0x84000000
       Loading Ramdisk to 870ee000, end 87fffcff ... OK
       Loading Device Tree to 870e2000, end 870ed0b4 ... OK
    
    [ARM announce]Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.14.26-svn1801 (jove@jove-VirtualBox) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #15 Fri Sep 28 10:54:35 CST 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x EVM
    [    0.000000] cma: CMA: reserved 16 MiB at 9e800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
    [    0.000000] Kernel command line: console=ttyO0,115200n8 ramdisk_size=800000 root=/dev/ram0 rw bootloader_ver=1.3 rootfstype=ext2
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 478444K/523264K available (5367K kernel code, 293K rwdata, 1940K rodata, 292K init, 401K bss, 44820K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc072b1c0   (7309 kB)
    [    0.000000]       .init : 0xc072c000 - 0xc077527c   ( 293 kB)
    [    0.000000]       .data : 0xc0776000 - 0xc07bf778   ( 294 kB)
    [    0.000000]        .bss : 0xc07bf778 - 0xc0823dc0   ( 402 kB)
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [    0.000031] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000303] Console: colour dummy device 80x30
    [    0.000329] Calibrating delay loop... 794.62 BogoMIPS (lpj=397312)
    [    0.006481] pid_max: default: 32768 minimum: 301
    [    0.006576] Security Framework initialized
    [    0.006630] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.006640] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.013275] CPU: Testing write buffer coherency: ok
    [    0.013709] Setting up static identity map for 0x805148b0 - 0x80514920
    [    0.014904] devtmpfs: initialized
    [    0.016679] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.022872] omap_hwmod: tptc0 using broken dt data from edma
    [    0.022944] omap_hwmod: tptc1 using broken dt data from edma
    [    0.023008] omap_hwmod: tptc2 using broken dt data from edma
    [    0.026970] omap_hwmod: debugss: _wait_target_disable failed
    [    0.080747] pinctrl core: initialized pinctrl subsystem
    [    0.081851] regulator-dummy: no parameters
    [    0.083661] NET: Registered protocol family 16
    [    0.085616] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.087190] cpuidle: using governor ladder
    [    0.087203] cpuidle: using governor menu
    [    0.095732] platform 49000000.edma: alias fck already exists
    [    0.095759] platform 49000000.edma: alias fck already exists
    [    0.095772] platform 49000000.edma: alias fck already exists
    [    0.096903] OMAP GPIO hardware version 0.1
    [    0.110028] No ATAGs?
    [    0.110049] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.129045] bio: create slab <bio-0> at 0
    [    0.142446] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.143419] vmmcsd_fixed: 3300 mV 
    [    0.143969] wlan-en-regulator: 3300 mV 
    [    0.145330] usbcore: registered new interface driver usbfs
    [    0.145521] usbcore: registered new interface driver hub
    [    0.145745] usbcore: registered new device driver usb
    [    0.146609] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins_default, deferring probe
    [    0.146634] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.148582] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.150768] Switched to clocksource timer1
    [    0.186522] NET: Registered protocol family 2
    [    0.187373] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.187430] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.187476] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.187545] TCP: reno registered
    [    0.187556] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.187573] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.187755] NET: Registered protocol family 1
    [    0.188127] RPC: Registered named UNIX socket transport module.
    [    0.188140] RPC: Registered udp transport module.
    [    0.188146] RPC: Registered tcp transport module.
    [    0.188152] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.189043] Trying to unpack rootfs image as initramfs...
    [    0.190333] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.274683] Freeing initrd memory: 15428K (c70ee000 - c7fff000)
    [    0.275040] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    0.278143] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.432247] NFS: Registering the id_resolver key type
    [    0.432340] Key type id_resolver registered
    [    0.432348] Key type id_legacy registered
    [    0.432389] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.432573] msgmni has been set to 996
    [    0.434142] io scheduler noop registered
    [    0.434156] io scheduler deadline registered
    [    0.434179] io scheduler cfq registered (default)
    [    0.435884] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.437237] Serial: 8250/16550 driver, 48 ports, IRQ sharing enabled
    [    0.454447] omap_uart 44e09000.serial: no wakeirq for uart0
    [    0.454604] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.051896] console [ttyO0] enabled
    [    1.056399] omap_uart 48022000.serial: no wakeirq for uart0
    [    1.062411] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
    [    1.073039] omap_uart 48024000.serial: no wakeirq for uart0
    [    1.079017] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    1.090357] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.107891] brd: module loaded
    [    1.116588] loop: module loaded
    [    1.120276] (hci_tty): inside hci_tty_init
    [    1.125058] (hci_tty): allocated 251, 0
    [    1.130721] Atop update device initialize success.
    [    1.136487] atop_relay.8: 
    [    1.139187] Register atop_relay0 success.
    [    1.145491] ATOP Do Driver Install
    [    1.150603] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.157895] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [    1.171439] PPP generic driver version 2.4.2
    [    1.176446] PPP MPPE Compression module registered
    [    1.181508] NET: Registered protocol family 24
    [    1.186218] PPTP driver version 0.8.5
    [    1.190607] usbcore: registered new interface driver cdc_ether
    [    1.196957] usbcore: registered new interface driver smsc95xx
    [    1.203170] usbcore: registered new interface driver rndis_host
    [    1.209616] usbcore: registered new interface driver cdc_ncm
    [    1.215579] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.222446] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.228218] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.234748] ohci-platform: OHCI generic platform driver
    [    1.240818] usbcore: registered new interface driver usbserial
    [    1.247100] usbcore: registered new interface driver option
    [    1.253113] usbserial: USB Serial support registered for GSM modem (1-port)
    [    1.262469] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.272037] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
    [    1.278255] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
    [    1.286438] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
    [    1.294856] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.304290] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
    [    1.310481] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
    [    1.318657] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
    [    1.340557] input: beeper.9 as /devices/beeper.9/input/input0
    [    1.348334] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.355817] 44e3e000.rtc: already running
    [    1.360505] i2c /dev entries driver
    [    1.470452] omap_hsmmc 48060000.mmc: card claims to support voltages below defined range
    [    1.489413] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.497832] oprofile: using arm/armv7
    [    1.501805] Netfilter messages via NETLINK v0.30.
    [    1.506781] nf_conntrack version 0.5.0 (7972 buckets, 31888 max)
    [    1.513354] ctnetlink v0.93: registering with nfnetlink.
    [    1.519153] gre: GRE over IPv4 demultiplexor driver
    [    1.524288] ip_gre: GRE over IPv4 tunneling driver
    [    1.531648] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.537377] TCP: cubic registered
    [    1.540875] Initializing XFRM netlink socket
    [    1.545440] NET: Registered protocol family 10
    [    1.551467] sit: IPv6 over IPv4 tunneling driver
    [    1.558757] NET: Registered protocol family 17
    [    1.563519] NET: Registered protocol family 15
    [    1.568252] Bridge firewalling registered
    [    1.572539] 8021q: 802.1Q VLAN Support v1.8
    [    1.576995] Key type dns_resolver registered
    [    1.582492] ondemand governor failed, too long transition latency of HW, fallback to performance governor
    [    1.593352] PM: bootloader does not support rtc-only!
    [    1.598737] ThumbEE CPU extension supported.
    [    1.603276] Registering SWP/SWPB emulation handler
    [    1.610139] regulator-dummy: disabling
    [    1.614882] mmc0: new high speed SDIO card at address 0001
    [    1.623071] at24 0-0057: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
    [    1.679583] mmc1: BKOPS_EN bit is not set
    [    1.686168] mmc1: new high speed MMC card at address 0001
    [    1.692533] mmcblk0: mmc1:0001 SEM08G 7.28 GiB 
    [    1.697479] mmcblk0boot0: mmc1:0001 SEM08G partition 1 2.00 MiB
    [    1.704065] mmcblk0boot1: mmc1:0001 SEM08G partition 2 2.00 MiB
    [    1.714760]  mmcblk0: p1
    [    1.719561]  mmcblk0boot1: unknown partition table
    [    1.726337]  mmcblk0boot0: unknown partition table
    [    1.861918] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
    [    1.869143] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc1
    [    1.876247] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.885608] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [    1.891689] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [    1.900163] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.907320] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.914921] usb usb1: Product: MUSB HDRC host driver
    [    1.920144] usb usb1: Manufacturer: Linux 3.14.26-svn1801 musb-hcd
    [    1.926646] usb usb1: SerialNumber: musb-hdrc.0.auto
    [    1.933004] hub 1-0:1.0: USB hub found
    [    1.937004] hub 1-0:1.0: 1 port detected
    [    1.944919] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.950998] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [    1.959410] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.966568] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.974166] usb usb2: Product: MUSB HDRC host driver
    [    1.979393] usb usb2: Manufacturer: Linux 3.14.26-svn1801 musb-hcd
    [    1.985890] usb usb2: SerialNumber: musb-hdrc.1.auto
    [    1.992216] hub 2-0:1.0: USB hub found
    [    1.996239] hub 2-0:1.0: 1 port detected
    [    2.048808] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.055253] davinci_mdio 4a101000.mdio: detected phy mask fffffff4
    [    2.063630] libphy: 4a101000.mdio: probed
    [    2.067876] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    2.076299] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver unknown
    [    2.084717] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver unknown
    [    2.093914] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.100703] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [    2.107779] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.114552] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    2.121601] cpsw 4a100000.ethernet: Detected MACID = fc:69:47:bd:ef:06
    [    2.130193] cpsw 4a100000.ethernet: cpsw: Detected MACID = fc:69:47:bd:ef:08
    [    2.140062] input: gpio_keys.10 as /devices/gpio_keys.10/input/input1
    [    2.148108] rtc-pcf8563 0-0051: setting system clock to 2018-10-05 01:28:15 UTC (1538702895)
    [    2.160714] RAMDISK: gzip image found at block 0
    [    2.551047] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    [    2.610297] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    [    3.845705] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    3.852126] devtmpfs: mounted
    [    3.855677] Freeing unused kernel memory: 292K (c072c000 - c0775000)
    Starting logging: OK
    Initializing random number generator... [    4.037262] random: dd urandom read with 59 bits of entropy available
    done.
    [    4.071481] EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
    [    4.398254] usbcore: registered new interface driver cdc_xr_usb_serial
    [    4.405175] xr: Exar USB UART (serial port) driver
    [    4.450277] GobiNet: Quectel_Linux_GobiNet_SR01A02V16
    [    4.462927] usbcore: registered new interface driver GobiNet
    [    4.483179] tun: Universal TUN/TAP device driver, 1.6
    [    4.488557] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    7.564648] bonding: bond0: Setting MII monitoring interval to 100.
    [    7.571499] bonding: bond0: Setting fail_over_mac to active (1).
    [    7.646715] net eth0: initializing cpsw version 1.12 (0)
    [    7.708121] net eth0: phy found : id is : 0x221513
    [    7.720363] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.726505] 8021q: adding VLAN 0 to HW filter on device eth0
    [    7.744952] Unhandled fault: external abort on non-linefetch (0x1818) at 0xb6cf5050
    Bus error
    [    7.766487] net eth1: initializing cpsw version 1.12 (0)
    [    7.828178] net eth1: phy found : id is : 0x221513
    [    7.840365] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.846507] 8021q: adding VLAN 0 to HW filter on device eth1
    [    7.864727] Unhandled fault: external abort on non-linefetch (0x1818) at 0xb6c31050
    Bus error
    nameif: /etc/mactab: No such file or directory
    [    7.911274] net eth0: initializing cpsw version 1.12 (0)
    [    7.972153] net eth0: phy found : id is : 0x221513
    [    7.981857] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.988000] 8021q: adding VLAN 0 to HW filter on device eth0
    [    8.038538] net eth1: initializing cpsw version 1.12 (0)
    [    8.100138] net eth1: phy found : id is : 0x221513
    [    8.109820] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    8.115978] 8021q: adding VLAN 0 to HW filter on device eth1
     New Monit id: b262b200f3404dc112424aa8b5067e42
     Stored in '//.monit.id'
    Starting Monit 5.18 daemon
    Monit start delay set -- pause for 10s
    Starting network...
    [    8.597728] device eth0 entered promiscuous mode
    [    8.630808] net eth0: initializing cpsw version 1.12 (0)
    [    8.692158] net eth0: phy found : id is : 0x221513
    [    8.699483] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    8.705637] 8021q: adding VLAN 0 to HW filter on device eth0
    net.ipv6.conf.eth0.accept_ra = 1
    [    8.757649] device eth1 entered promiscuous mode
    [    8.789914] net eth1: initializing cpsw version 1.12 (0)
    [    8.850172] net eth1: phy found : id is : 0x221513
    [    8.855511] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    8.861659] 8021q: adding VLAN 0 to HW filter on device eth1
    net.ipv6.conf.eth1.accept_ra = 1
    Starting WIFI ...
    lrwxrwxrwx    1 root     root            10 Oct [    8.909500] random: nonblocking pool is initialized
     5 01:28 /jffs2 -> /mnt/jffs2
    <main> MESHssid=ATOP_Mesh3,MESHpsk=atop1234,dhcp_server=1,dhcpd_start=10,dhcpd_end=60
    
    <ChannelToFreq> channel=1
    
    <main> wifi cmd=/jffs2/WifiMesh.sh 1 ATOP_AP1 atop5678 ATOP_Mesh3 2412 atop1234 1 192.168.3.100 255.255.255.0 192.168.4.200 255.255.255.0 192.168.4.254 1 &
    
    Segmentation fault
    [Mode] = 1
    Starting ntpd: [AP SSID] = ATOP_AP1
    [AP PSK]= atop5678
    [Mesh SSID] = ATOP_Mesh3
    [Mesh Freq] = 2412
    [Mesh PSK] = atop1234
    [Dhcpd] = 1
    [IP] = 192.168.3.100
    [Mask] = 255.255.255.0
    [WAN IP] = 192.168.4.200
    [WAN MASK] = 255.255.255.0
    [WAN GATEWAY] = 192.168.4.254
    [DHCPC] = 1
    OK
    Starting dropbear sshd: OK
    Starting ProFTPD: [    9.164275] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
    done
    Starting stunnel: [.] stunnel 5.09 on arm-buildroot-linux-gnueabihf platform
    [.] Compiled/running with OpenSSL 1.0.2 22 Jan 2015
    [.] Threading:FORK Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI
    [ ] errno: (*__errno_location ())
    [.] Reading configuration from file /etc/stunnel/stunnel.conf
    [.] UTF-8 byte order mark detected
    [ ] Enabling support for engine "capi"
    [!] error queue: 2606A074: error:2606A074:engine routines:ENGINE_by_id:no such engine
    [!] ENGINE_by_id: 260B606D: error:260B606D:engine routines:DYNAMIC_LOAD:init failed
    [!] Line 18: "engine = capi": Failed to open the engine
    FAIL
    Starting IPsec...
    Mount debugfs
    [   10.164861] Loading modules backported from Linux version R8.7_SP3-0-g8cbba96
    [   10.172398] Backport generated by backports.git R8.7_SP3-0-gd4777ef
    [   10.703282] libphy: 4a101000.mdio:01 - Link is Up - 100/Full
    [   10.709302] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   10.755347] libphy: 4a101000.mdio:03 - Link is Up - 100/Full
    [   10.762052] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [   10.769064] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [   10.810560] wlcore: loaded
    [   10.813496] wlcore: driver version: R8.7_SP3
    ################# driver done #################
    adding mesh0 interface
    Successfully initialized wpa_supplicant
    [   11.934039] wlcore: PHY firmware version: Rev 8.2.0.0.242
    [   12.025500] wlcore: firmware booted (Rev 8.9.0.0.79)
    [   12.038790] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
    Starting udhcpd: OK
    Starting PPTP...
    [   12.497713] usbcore: deregistering interface driver GobiNet
    [   12.542307] usbcore: deregistering interface driver cdc_xr_usb_serial
    Starting iptables: OK
    
    Welcome to ATOP system
    ATOP login: ################# mesh start #################
    netid=0
    =========================
    OK
    OK
    OK
    OK
    OK
    OK
    mesh0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
    Using interface mesh0 with hwaddr 40:bd:32:89:3d[   18.954593] wlcore: down
    :02 and ssid ""
    mesh0: interface state UNINITIALIZED->ENABLED
    AP-ENABLED 
    [   19.352209] wlcore: PHY firmware version: Rev 8.2.0.0.242
    [   19.490509] wlcore: firmware booted (Rev 8.9.0.0.79)
    [   19.504670] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
    random: Only 12/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
    mesh0: joining mesh ATOP_Mesh3
    [   19.583861] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
    mesh0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
    mesh0: MESH-GROUP-STARTED ssid="ATOP_Mesh3" id=0
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    ################# mesh join done #################
    adding wlan1 interface
    Configuration file: /jffs2/hostapd.conf
    [   22.897828] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    ################# AP Start #################
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    ################# wlan0 down #################
    Using interface wlan1 with hwaddr 42:bd:32:89:3d:01 and ssid "ATOP_AP1"
    [   27.949683] device mesh0 entered promiscuous mode
    [   27.983591] device wlan1 entered promiscuous mode
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 0/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool for secure operations - update[   28.100750] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
     keys later when the first station connects
    wlan1: interface state COUNTRY_UPDATE->ENABLED
    wlan1: AP-ENABLED 
    mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
    mesh0: mesh plink with 40:bd:32:89:33:35 established
    mesh0: ===> PLINKS NUMBER: 1
    mesh0: MESH-PEER-CONNECTED 40:bd:32:89:33:35
    ################# PrimaryAP bridge eth1 mesh0 wlan1 #################
    ################# udhcp done #################
    mesh0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
    [   33.079428] net eth0: initializing cpsw version 1.12 (0)
    [   33.138139] net eth0: phy found : id is : 0x221513
    [   33.143544] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   33.149716] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.23.1) started
    Sending discover...
    [   35.038302] libphy: 4a101000.mdio:01 - Link is Up - 100/Full
    [   35.044323] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Sending discover...
    Sending select for 192.168.4.231...
    Lease of 192.168.4.231 obtained, lease time 86400
    deleting routers
    adding dns 168.95.1.1
    adding dns 8.8.8.8
    ################# Set up WAN IP address done #################
    ################# NAT done #################
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: authenticated
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: associated (aid 1)
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 0/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: authenticated
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: associated (aid 1)
    random: Cannot read from /dev/random: Resource temporarily unavailable
    random: Only 0/20 bytes of strong random data available from /dev/random
    random: Not enough entropy pool available for secure operations
    WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: authenticated
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: associated (aid 1)
    random: Only 4/20 bytes of strong random data available from /dev/random
    random: Allow operation to proceed based on internal entropy
    wlan1: AP-STA-CONNECTED ac:fd:ce:89:e4:dc
    wlan1: STA ac:fd:ce:89:e4:dc WPA: pairwise key handshake completed (RSN)
    
    Welcome to ATOP system
    ATOP login: root
    Password: 
    # ifconfig
    br0       Link encap:Ethernet  HWaddr 40:BD:32:89:3D:02  
              inet addr:192.168.3.100  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42bd:32ff:fe89:3d02/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1157 errors:0 dropped:0 overruns:0 frame:0
              TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:158226 (154.5 KiB)  TX bytes:20910 (20.4 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 00:60:E9:15:18:17  
              inet addr:192.168.4.231  Bcast:192.168.4.255  Mask:255.255.255.0
              inet6 addr: fe80::260:e9ff:fe15:1817/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:5937 errors:0 dropped:6 overruns:0 frame:0
              TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:898058 (877.0 KiB)  TX bytes:19987 (19.5 KiB)
              Interrupt:56 
    
    eth1      Link encap:Ethernet  HWaddr 00:60:E9:15:18:18  
              inet6 addr: fe80::260:e9ff:fe15:1818/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:863 errors:0 dropped:0 overruns:0 frame:0
              TX packets:705 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:93128 (90.9 KiB)  TX bytes:149606 (146.0 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:196 (196.0 B)  TX bytes:196 (196.0 B)
    
    mesh0     Link encap:Ethernet  HWaddr 40:BD:32:89:3D:02  
              inet6 addr: fe80::42bd:32ff:fe89:3d02/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:5 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1132 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:732 (732.0 B)  TX bytes:213999 (208.9 KiB)
    
    wlan1     Link encap:Ethernet  HWaddr 42:BD:32:89:3D:01  
              inet6 addr: fe80::40bd:32ff:fe89:3d01/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:549 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1162 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:126624 (123.6 KiB)  TX bytes:203562 (198.7 KiB)
    
    # wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: authenticated
    wlan1: STA ac:fd:ce:89:e4:dc IEEE 802.11: associated (aid 1)
    wlan1: STA ac:fd:ce:89:e4:dc WPA: pairwise key handshake completed (RSN)
    
    # cat /jffs2/user_pre.sh 
    #!/bin/sh
    
    cp -f /jffs2/wlcore_sdio.ko /lib/modules/3.14.26-svn1801/updates/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    cp -f /jffs2/wl18xx.ko /lib/modules/3.14.26-svn1801/updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko
    cp -f /jffs2/wlcore.ko /lib/modules/3.14.26-svn1801/updates/drivers/net/wireless/ti/wlcore/wlcore.ko
    cp -f /jffs2/mac80211.ko /lib/modules/3.14.26-svn1801/updates/net/mac80211/mac80211.ko
    cp -f /jffs2/cfg80211.ko /lib/modules/3.14.26-svn1801/updates/net/wireless/cfg80211.ko
    cp -f /jffs2/compat.ko /lib/modules/3.14.26-svn1801/updates/compat/compat.ko
    # mesh0: mesh plink with 40:bd:32:89:33:35 closed with reason 55
    mesh0: MESH-PEER-DISCONNECTED 40:bd:32:89:33:35
    [  820.554845] Unable to handle kernel NULL pointer dereference at virtual address 0000005d
    [  820.563373] pgd = dcb6c000
    [  820.566217] [0000005d] *pgd=9717d831, *pte=00000000, *ppte=00000000
    [  820.572867] Internal error: Oops: 17 [#1] ARM
    [  820.577439] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O) [last unloaded: xr]
    [  820.588794] CPU: 0 PID: 1111 Comm: wpa_supplicant Tainted: G           O 3.14.26-svn1801 #15
    [  820.597650] task: d715c080 ti: d9c1c000 task.ti: d9c1c000
    [  820.603867] PC is at mesh_get_low_signal_link+0x24/0x6c [mac80211]
    [  820.610516] LR is at ieee80211_get_low_signal_mesh+0x10/0x34 [mac80211]
    [  820.617457] pc : [<bf129f90>]    lr : [<bf0f0220>]    psr: 800f0013
    [  820.617457] sp : d9c1dca8  ip : dcb44fb0  fp : 00000000
    [  820.629496] r10: dcb44000  r9 : de1dab90  r8 : d71894e8
    [  820.634980] r7 : d9c1dcf4  r6 : dcb44160  r5 : d7189000  r4 : d9c1dcc2
    [  820.641826] r3 : d7098000  r2 : 00000000  r1 : d7189000  r0 : 00000000
    [  820.648679] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  820.656160] Control: 10c5387d  Table: 9cb6c019  DAC: 00000015
    [  820.662193] Process wpa_supplicant (pid: 1111, stack limit = 0xd9c1c238)
    [  820.669222] Stack: (0xd9c1dca8 to 0xd9c1e000)
    [  820.673785] dca0:                   bf0727a4 d7098000 bf07e2f4 bf043f58 bf072dcc d9c1dcf4
    [  820.682365] dcc0: 00000001 d7317680 de1dab80 bf07e2f4 dcb60800 bf072dcc d7317680 de1dab80
    [  820.690950] dce0: 00000000 c041a724 bf0727a4 c0417354 00000002 5bb6bec3 65800457 de1dab80
    [  820.699529] dd00: de1dab90 de1dab94 dcb60800 dcb44000 d7189000 de129800 de1dab80 d7317680
    [  820.708107] dd20: c041a518 d7317680 d9c1dd5c 00000000 00000000 c0419c18 c07b303c d7317680
    [  820.716702] dd40: d718ac00 c0419da8 c0419d88 de129800 0000001c c04195e0 0000001c 7fffffff
    [  820.725290] dd60: d9c1de90 d9c1df7c d9c1de10 d718ac00 0000001c 00000000 00000000 c0419994
    [  820.733857] dd80: 00000000 c03f5998 d718a400 d7317680 00000008 00000000 00000001 de0696c0
    [  820.742444] dda0: 00000000 00000457 00000000 00000000 00000000 c04196ec d715c080 d9c1de88
    [  820.751032] ddc0: 00000000 dd9f16c0 00000000 00000000 d9c1de88 c03e8144 00000000 00000000
    [  820.759614] dde0: 00000000 d9c1de10 d715c080 00000000 00000000 00000000 00000000 00000000
    [  820.768197] de00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001c
    [  820.776785] de20: dd9f16c0 d9c1dec8 d9c1dd9c d9c1df7c d9c1de88 d9c1de88 00000008 00000000
    [  820.785362] de40: d9c1df7c c03f4998 00000000 bef0b1f4 d9c1de88 d9c1df7c 0000001c c03e8d54
    [  820.793943] de60: d9c1de68 d9c1de68 00000040 d9c1de80 bef0bb24 c03e8a68 c078f890 00000000
    [  820.802531] de80: 001c398c 00003ea4 001cabc4 00000000 00000000 00000000 c078da20 c0074730
    [  820.811112] dea0: 00000000 d9c1c000 bef0b1a8 bef0b1ac ddb1aac0 bef0b1a8 00000004 00000000
    [  820.819692] dec0: 00000004 c03ed7e8 00000010 00000000 00000000 00000000 0ca69fc0 000000bf
    [  820.828270] dee0: c07c0a80 c07c0904 00000002 c003dda8 c07a6a20 00015200 00005411 c03e9278
    [  820.836842] df00: 00005452 0000000d 00000000 c00ef91c 95cfe133 00000004 ffffffff 00000000
    [  820.845430] df20: 00000001 d9c1df78 d9c1c000 bef0bc40 00000001 bef0bc40 00000008 bef0bb24
    [  820.854019] df40: 00000000 bef0b1f4 00000000 dd9f16c0 bef0b1f4 00000000 00000128 c000e524
    [  820.862602] df60: d9c1c000 00000000 00000032 c03ea1a4 bef0b1a4 00000000 fffffff7 d9c1dec8
    [  820.871196] df80: 0000000c d9c1de88 00000001 00000000 00000000 00000000 001b2398 001b2320
    [  820.879785] dfa0: 001b83c0 c000e3a0 001b2398 001b2320 00000005 bef0b1f4 00000000 00000000
    [  820.888365] dfc0: 001b2398 001b2320 001b83c0 00000128 bef0b1f4 00000033 00000089 00000032
    [  820.896937] dfe0: 00000000 bef0b1b4 b6db6d5d b6ddf9fc 600f0010 00000005 5f767264 5f746573
    [  820.905880] [<bf129f90>] (mesh_get_low_signal_link [mac80211]) from [<bf0f0220>] (ieee80211_get_low_signal_mesh+0x10/0x34 [mac80211])
    [  820.918889] [<bf0f0220>] (ieee80211_get_low_signal_mesh [mac80211]) from [<bf043f58>] (nl80211_get_low_signal_mesh+0x6c/0x1d0 [cfg80211])
    [  820.931983] [<bf043f58>] (nl80211_get_low_signal_mesh [cfg80211]) from [<c041a724>] (genl_rcv_msg+0x20c/0x368)
    [  820.942492] [<c041a724>] (genl_rcv_msg) from [<c0419c18>] (netlink_rcv_skb+0xac/0xc0)
    [  820.950723] [<c0419c18>] (netlink_rcv_skb) from [<c0419da8>] (genl_rcv+0x20/0x34)
    [  820.958582] [<c0419da8>] (genl_rcv) from [<c04195e0>] (netlink_unicast+0x178/0x1e0)
    [  820.966616] [<c04195e0>] (netlink_unicast) from [<c0419994>] (netlink_sendmsg+0x2a8/0x388)
    [  820.975306] [<c0419994>] (netlink_sendmsg) from [<c03e8144>] (sock_sendmsg+0x84/0xa4)
    [  820.983539] [<c03e8144>] (sock_sendmsg) from [<c03e8d54>] (___sys_sendmsg.part.25+0x268/0x278)
    [  820.992567] [<c03e8d54>] (___sys_sendmsg.part.25) from [<c03ea1a4>] (__sys_sendmsg+0x4c/0x78)
    [  821.001523] [<c03ea1a4>] (__sys_sendmsg) from [<c000e3a0>] (ret_fast_syscall+0x0/0x30)
    [  821.009838] Code: e59d3004 e153000c 0a000010 e5932064 (e5d2105d) 
    [  821.016473] ---[ end trace df2f0bd9b9957bcc ]---


    Jove

  • Jove,
    Can you please explain your use case - I see r roles running on the device AP and mesh. Are they on the same channel ? How do you reproduce this issue and how long does it take ?

    Saurabh
  • Saurabh,

    Yes, it is on the device AP and mesh. And they are on the same channel.

    The following(Attched file) is our test scenario, AW5900 is our development device which has wl18xx module on it.

    For this test scenario, we need 4 AW5900 devices(1 Primary AP Mode and 3 Mesh Only Mode) and 2 PC as below.
    And the 4 circle means the wifi range of each AW5900. Hence, AW5900_1 can not connect to AW5900_4 directly, they need to connect each other through AW5900_2 or AW5900_3.

    For this scenario, the following is the initial status of AW5900 devices.

    AW5900_1 : Do not connect antenna. Open device AP and Mesh(Primary AP Mode).

    AW5900_2 : Connect antenna. Open Mesh only(Mesh Only Mode).

    AW5900_3 : Connect antenna. Open Mesh only(Mesh Only Mode).

    AW5900_4 : Do not connect antenna. Open Mesh only(Mesh Only Mode).

    First, power on AW5900_1. Then, power on AW5900_2, AW5900_3 and AW5900_4.

    At this time, since AW5900_1 has DHCP server, hence AW5900_2, AW5900_3 and AW5900_4 and 2 PCs will get their IP address from AW5900_1's DHCP server.

    Then, continuously sending large data from PC1 to PC2.

    At this time, use wifi command "iw mesh0 mpath dump" to check current sending path on AW5900_1.

    If current sending path is through AW5900_2, remove AW5900_2's antenna and since AW5900_2's power signal is low, the sending path will be changed to  AW5900_3, vice versa.

    Changing the sending path repeatly for about 20 times.  Sometimes maybe you can see the NULL pointer issue on AW5900_1.

    But sometimes even you do above reproduce flow to very long time, the issue still not happend.


     
    Jove

  • Hi Saurabh:

    I found the Mainline Linux has some new Mesh patches:

    For example:
    git.kernel.org/.../nl80211.c


    Maybe TI needs to have R8.7SP4 for basing newer kernel? (R8.7SP3 is based on Kernel 4.4 - 2017Q4)

    BR Rio
  • Please note, this is Driver Crash (NULL Pointer).

    The mesh won't come back after Driver Crash.

    BR Rio