← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1777858] Re: Redpine: Observed kernel panic while running wireless regressions tests

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Xenial)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1777858

Title:
  Redpine: Observed kernel panic while running wireless regressions
  tests

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  SRU Justification:
  ------------------

  Impact:
      Kernel freezes/panic when running wireless tests

  Test case:
      1. Create a wireless soft-ap/station 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,
         BUG: unable to handle kernel NULL pointer dereference at           (null)
         IP: [<ffffffff810a63df>] exit_creds+0x1f/0x50
         PGD 0
         Oops: 0002 [#1] SMP
         CPU: 0 PID: 6502 Comm: rmmod Tainted: G           OE   4.4.0-128-generic #154-Ubuntu
         Hardware name: Dell Inc. Edge Gateway 3003/      , BIOS 01.00.00 04/17/2017
         Stack:
         ffff88007392e600 ffff880075847dc0 ffffffff8108160a 0000000000000000
         ffff88007392e600 ffff880075847de8 ffffffff810a484b ffff880076127000
         ffff88003cd3a800 ffff880074f12a00 ffff880075847e28 ffffffffc09bed15
         Call Trace:
         [<ffffffff8108160a>] __put_task_struct+0x5a/0x140
         [<ffffffff810a484b>] kthread_stop+0x10b/0x110
         [<ffffffffc09bed15>] rsi_disconnect+0x2f5/0x300 [ven_rsi_sdio]
         [<ffffffff81578bcb>] ? __pm_runtime_resume+0x5b/0x80
         [<ffffffff816f0918>] sdio_bus_remove+0x38/0x100
         [<ffffffff8156cc64>] __device_release_driver+0xa4/0x150
         [<ffffffff8156d7a5>] driver_detach+0xb5/0xc0
         [<ffffffff8156c6c5>] bus_remove_driver+0x55/0xd0
         [<ffffffff8156dfbc>] driver_unregister+0x2c/0x50
         [<ffffffff816f0b8a>] sdio_unregister_driver+0x1a/0x20
         [<ffffffffc09bf0f5>] rsi_module_exit+0x15/0x30 [ven_rsi_sdio]
         [<ffffffff8110cad8>] SyS_delete_module+0x1b8/0x210
         [<ffffffff81851dc8>] entry_SYSCALL_64_fastpath+0x1c/0xbb

  Fix:
      kthread_stop() is taking care of wait_for_completion() by default.
      No need of taking care separately.
      Issue is resolved by removing wait_for_completion() from rsi_disconnect().

  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.

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