sunzone

Members
  • Content Count

    28
  • Joined

  • Last visited

Reputation Activity

  1. Like
    sunzone got a reaction from Tido in OPi Zero: xradio_wlan driver Kernel hang   
    Just a follow up
    After changing the driver software some places and testing, without any in-depth understanding about this chip, I was not able to stop kernel hang on X-radio wifi driver.
     
    I noticed problems with xradio in 2 modes.
    1) When using xradio  in AP mode: kernel hang, reboot -f does not work
     
    2) Using xradio in concurrent mode: kernel hang
     
    In either cases AP mode had the problem.
    I decided to stop using the xradio for good after all the testing.
     
    I stopped xradio module loading from boot: commented out 'xradio_wlan' from /etc/modules file
    I blacklisted xradio driver by adding  'blacklist xradio_wlan' to /etc/modprobe.d/blacklist.conf file
     
    After that there were no kernel hangs or 'reboot -f' problems.
     
    I use an external wifi module now. I have tested about 8 wifi modules now and I will make another post with my results and experience of them.
    Cheers!
  2. Like
    sunzone reacted to Tido in OPi Zero: xradio_wlan driver Kernel hang   
    If you are familiar with IRC, I would carefully try to get some hints over here: https://linux-sunxi.org/IRC
     
  3. Like
    sunzone got a reaction from Tido in OPi Zero: xradio_wlan driver Kernel hang   
    Thanks, @Tido for the links.
     
    [20149.090066] [<bfb2d42d>] (wsm_handle_rx [xradio_wlan]) from [<bfb29e05>] (xradio_bh_exchange+0x27c/0x588 [xradio_wlan])
    In the error logs, it seems program stalled on wsm_handle_rx in xradio_wlan.
     
    I found the official xradio_wlan driver to be fifteenhex
    http://linux-sunxi.org/Wifi

     
     
    I checked the fifteenhex wlan_driver code for "wsm_handle_rx" and found this line in wsm.c

    https://github.com/fifteenhex/xradio/blob/master/wsm.c
     
    It seems like kernel hang is done on purpose.
     
    After commenting out this section, I recompiled the xradio_wlan.ko module driver and retested.
    After running 11 the OrangePi Zeros with the new xradio driver, connected to a router which changes its channel occasionally when multiple devices are connected, 5 OPis stop responding. 
    I ran the test overnight. I tested after connecting all OPis through the serial port (COM).
     

     
    @zador.blood.stained @Tido @martinayotte any idea how I can further test the driver to stop the kernel hang?
    p.s: I am ok with the dropped packets of the driver.
     
    Thank You.
     
    Sanju.
     
     
  4. Like
    sunzone reacted to martinayotte in I break my Orangepi one   
    The service is "armbian-resize-filesystem" ...