Welcome to the Linux Foundation Forum!

Unable to detect wifi hardware on an owasys microcontroller running debian 9.

Posts: 1
edited November 2019 in Hardware

Initially after SSHing into the microcontroller I was able to get the wifi on with this line.

  1. ip link set mlan0 up

Subsequent running of iwconfig would display mlan0 in the list of the devices.
Next day after the microcontroller has been switched of for the night I am unable to replicate that set up.

Output of runnng lsmod:

  1. Module Size Used by
  2. musb_dsps 20480 0
  3. musb_hdrc 98304 1 musb_dsps
  4. udc_core 28672 1 musb_hdrc
  5. usbcore 204800 1 musb_hdrc
  6. phy_am335x 16384 2
  7. phy_am335x_control 16384 1 phy_am335x
  8. phy_generic 16384 1 phy_am335x
  9. usb_common 16384 5 phy_am335x,udc_core,musb_hdrc,musb_dsps,usbcore
  10. c_can_platform 16384 0
  11. c_can 20480 1 c_can_platform
  12. mcp251x 20480 0
  13. snd_soc_tlv320aic31xx 36864 1
  14. can_dev 24576 2 mcp251x,c_can
  15. musb_am335x 16384 0
  16. omap_wdt 16384 0
  17. sd8xxx 552960 0
  18. mlan 430080 1 sd8xxx
  19. cfg80211 266240 1 sd8xxx
  20. ppp_generic 36864 0
  21. slhc 16384 1 ppp_generic
  22. owa4x_gpio 16384 0
  23. ip_tables 24576 0
  24. x_tables 32768 1 ip_tables

output of running iwconfig -a does not list mlan0, which it did first time around:

  1. eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  2. inet 192.168.8.244 netmask 255.255.255.0 broadcast 192.168.8.255
  3. inet6 fe80::eb2:b7ff:fed8:9bd6 prefixlen 64 scopeid 0x20<link>
  4. inet6 fdf4:7177:49ee:0:eb2:b7ff:fed8:9bd6 prefixlen 64 scopeid 0x0<global>
  5. ether :b2:b7:d8:9b:d6 txqueuelen 1000 (Ethernet)
  6. RX packets 456 bytes 40141 (39.2 KiB)
  7. RX errors 0 dropped 0 overruns 0 frame 0
  8. TX packets 346 bytes 59107 (57.7 KiB)
  9. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  10. device interrupt 51
  11.  
  12. eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  13. inet 192.168.10.1 netmask 255.255.255.0 broadcast 0.0.0.0
  14. ether :b2:b7:d8:9b:d6 txqueuelen 1000 (Ethernet)
  15. device interrupt 51
  16.  
  17. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  18. inet 127.0.0.1 netmask 255.0.0.0
  19. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  20. loop txqueuelen 1000 (Local Loopback)
  21. RX packets 0 bytes 0 (0.0 B)
  22. RX errors 0 dropped 0 overruns 0 frame 0
  23. TX packets 0 bytes 0 (0.0 B)
  24. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

this is what I get if I run dmesg:

  1. [ 5.939860] mlan: loading out-of-tree module taints kernel.
  2. [ 6.398869] systemd-journald[107]: Received request to flush runtime journal from PID 1
  3. [ 6.418469] wlan: Loading MWLAN driver
  4. [ 6.480709] wlan: Driver loaded successfully

I suspect "loading out-of-tree module taints kernel" may be an issue but I do not know how to proceed further.
In all other logs there is no mention of anything relating to wlan/mlan.

I have tried unloading the modules in question and restarting the whole networking:

  1. sudo rmmod sd8xxx
  2. sudo rmmod mlan
  3. modprobe sd8xx
  4. modprobe man
  5. /etc/init.d/networking restart

This still has not fixed the problem.

Besides reflashing the whole system and hoping it works just like the first time I do not really know how to proceed with trying to fix this issue or even what further debugging to undertake.

Thanks for your help.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training