Redpine: Observed kernel panic while running wireless tests in regression mode

Bug #1773410 reported by Siva Rebbagondla on 2018-05-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

SRU Justification

    Kernel freezes/panic when running wireless tests in regression

Test case:
    1. Keep a wrong access-point name in sta.conf file and run the nmcli.
    2. There will be continuous scan will be happen and do remove the module using script.
    3. When soft scan is happening in redpine driver, before connection. Some times, we have observed
       a kernel panic. like below
       [ 1171.913244] BUG: unable to handle page request at 00000000001067e38
       [ 1171.913248] IP: cfg80211_scan_done+0xb0/0xc0 [cfg80211]
       [ 1171.913971] __ieee80211_scan_completed+0xb1/0x390 [mac80211]
       [ 1171.914078] ieee80211_scan_work+0x7e/0x480 [mac80211]
       [ 1171.914098] process_one_work+0x142/0x3d0
       [ 1171.914111] worker_thread+0x229/0x440
       [ 1171.914122] kthread+0xf5/0x130
       [ 1171.914132] ? process_one_work+0x3d0/0x3d0
       [ 1171.914140] ? kthread_associate_blkcg+0x90/0x90
       [ 1171.914152] ret_from_fork+0x35/0x40

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

Regression potential:
    Ran for 100 times and didn't see the issue.

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

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1773410

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Critical
Changed in linux (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → Critical
summary: - Redpine: Observed kernel panic while when running wireless tests in
+ Redpine: Observed kernel panic while running wireless tests in
regression mode
Changed in linux (Ubuntu Xenial):
status: Confirmed → Fix Committed
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial

Verified on Dell IoT Edge 300x kernel snap (r93) based on 4.4.0-132.158

tags: added: verification-done-xenial
removed: verification-needed-xenial
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers