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.

WL1837MOD: IP address attribution and loss : endless loop

Part Number: WL1837MOD

Hi Champs,

The problem here appears on a system implementing a WL1837MOD connected to a custom processor based on dual cortex A7 running Linux (Yocto rev 4.19.72)

. When the WL1837MOD is powered on wlan0 port can be seen in network interfaces

. Connman works ok to configure Wifi connexion to one of our routers.

. Sometimes some issues are see when using connman to enable wifi like :

wlcore: WARNING ELP wakeup timeout!

wlcore: ERROR failed to initiate cmd role disable

ieee80211 phy0: Hardware restart was requested

Disabled wifi

. When connection is enabled the linux system gets an IP, but lose it quickly and then gets another IP and then lose it again …. This process being an endless loop

> See ifconfig_logs.txt file in attachments (this file is the result of the following command : watch -n 1 ifconfig wlan0 > ifconfig_logs.txt)

Could you help here?

Thank you

Best regards,

Guillaume

ifconfig_logs.txt
Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:39

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:125 errors:0 dropped:0 overruns:0 frame:0
          TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:23118 (22.5 KiB)  TX bytes:58684 (57.3 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:40

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24028 (23.4 KiB)  TX bytes:61380 (59.9 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:41

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:131 errors:0 dropped:0 overruns:0 frame:0
          TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24120 (23.5 KiB)  TX bytes:62810 (61.3 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:42

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:233 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24938 (24.3 KiB)  TX bytes:63704 (62.2 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:43

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:241 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:25714 (25.1 KiB)  TX bytes:66046 (64.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:44

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:26282 (25.6 KiB)  TX bytes:68034 (66.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:46

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:145 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:26758 (26.1 KiB)  TX bytes:69018 (67.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:47

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27668 (27.0 KiB)  TX bytes:71354 (69.6 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:48

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:151 errors:0 dropped:0 overruns:0 frame:0
          TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27760 (27.1 KiB)  TX bytes:73066 (71.3 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:49

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:28578 (27.9 KiB)  TX bytes:74230 (72.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:50

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:29488 (28.7 KiB)  TX bytes:76644 (74.8 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:51

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:29922 (29.2 KiB)  TX bytes:78704 (76.8 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:52

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:30398 (29.6 KiB)  TX bytes:79160 (77.3 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:53

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:31308 (30.5 KiB)  TX bytes:81766 (79.8 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:54

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:31742 (30.9 KiB)  TX bytes:83826 (81.8 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:55

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32218 (31.4 KiB)  TX bytes:84192 (82.2 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:56

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:180 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:33128 (32.3 KiB)  TX bytes:86720 (84.6 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:57

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:181 errors:0 dropped:0 overruns:0 frame:0
          TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:33220 (32.4 KiB)  TX bytes:88522 (86.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:58

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet addr:192.168.2.78  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:339 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:34038 (33.2 KiB)  TX bytes:89416 (87.3 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:47:59

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:345 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:34814 (33.9 KiB)  TX bytes:91566 (89.4 KiB)

Every 1s: ifconfig wlan0                                                                                                                                                        2019-12-06 09:48:00

wlan0     Link encap:Ethernet  HWaddr 0C:1C:57:AC:D7:2B  
          inet6 addr: fe80::e1c:57ff:feac:d72b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:353 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:35040 (34.2 KiB)  TX bytes:93374 (91.1 KiB)

  • Hi, 

    Can you please let us know the steps to reproduce the issue? Also please let us know what is the frequency of this error? 

    Regards, 

    Sudharshan K N

  • Hello,

    sorry for late response.

    I'm not sure that the problem comes from Kernel 4.19.

    Until now, we used wpa_supplicant and hostap recipes coming from TI and which point to this repository : git://git.ti.com/wilink8-wlan/hostap.git

    It used this PV in both recipes : PV = "R8.7_SP3-devel-ti+git${SRCPV}"

    This code is not compliant with new version of openssl coming with Yocto warrior.

    So we ar usning wpa_supplicant and hostap coming from Yocto, and not yours.



    So, is it possible to have an update of this repository in order to be compliant with openssl 1.1.1b ?

    It should help us and definitively exclude rootfs application/library/service.

    And push kernel/driver issue.

    Thanks and Regards

    Sylvain

  • Hi Sylvian, 

    Are you using Sitara SDK 6.0.0.7 or later versions? Pl let me know. 

    Regards, 

    Sudharshan K N

  • Hi Sudharshan,

    we are not using Sitara SDK, but Yocto SDK.

    Regards,

    Sylvain

  • patches.zipwpa_supplicant_ipk.zip

    Hi, 

    Please find the attached files that are needed for working with openssl 1.1 version. 

    Below are the instructions 

    -        Install SDK and create SD card with default binaries

    -        Apply ALL kernel patches  : from patch.zip

    -        Build kernel / kernel modules and install these on the SD card with default binaries

    -        Put firmware file in /lib/firmware/ti-connectivity/ on sd card  : firmware.zipwl18xx-fw-4.zip

    -        Put supplicant ipk files on sd card : wpa_supplicant_ipk.zip  ( location does matter , ex: create ipk folder in root and put all files there ). Please install the .ipks in the same order that they  are numbered using the command opkg install <filename>

    Please let me know if this resolves the issue 

    Regards, 

    Sudharshan K N

  • Hi, 

    One more note to the above response. The above patches and changes are tried with R8.9_SP3 release of the Wilink8 drivers. 

    Regards, 

    Sudharshan K N