Public bug reported:

SRU Justification:
------------------

Impact:
    Kernel freezes/panic when running wireless tests for soft-ap

Test case:
    1. Create a soft-ap upon reboot.

    2. Install Checkbox plano and :
       $ sudo snap install --devmode checkbox-plano

    3. Run below wifi-ap test case
       $ checkbox-plano.checkbox-cli run .*device 
.*wireless/caracalla-wifi_ap_.*wlan0_auto

    4. Upon 3-4 iteraions, observed kernel crash as below,
       [ 718.83244] BUG: unable to handle page request at 00000000001067e38
       [ 718.83248] IP: cfg80211_scan_done+0xb0/0xc0 [cfg80211]
       [ 718.83971]  __ieee80211_scan_completed+0xb1/0x390 [mac80211]
       [ 718.84078]  ieee80211_scan_work+0x7e/0x480 [mac80211]
       [ 718.84098]  process_one_work+0x142/0x3d0
       [ 718.84111]  worker_thread+0x229/0x440
       [ 718.84122]  kthread+0xf5/0x130
       [ 718.84132]  ? process_one_work+0x3d0/0x3d0
       [ 718.84140]  ? kthread_associate_blkcg+0x90/0x90
       [ 718.84152]  ret_from_fork+0x35/0x40

Fix:
    scan work function keeps running even after cancel_hw_scan() call.
    Issue is resolved by calling cancel_work_sync() in rsi_mac80211_stop().

Regression Petential:
    Ran Step 3 in 30-times. Didn't see any kernel panic.

This bug is for tracking purposes only, please don't triage.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777850

Title:
  Redpine: Observed kernel panic while when running soft-ap tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1777850/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to