Activity log for bug #1836215

Date Who What changed Old value New value Message
2019-07-11 14:53:20 Ganapathi Raju Kondraju bug added bug
2019-07-11 14:53:20 Ganapathi Raju Kondraju attachment added This patch fixes the crash https://bugs.launchpad.net/bugs/1836215/+attachment/5276506/+files/0001-rsi-system-crashed-while-reboot-shutdown.patch
2019-07-11 14:55:03 Ganapathi Raju Kondraju bug added subscriber Krishna Babu Pedda
2019-07-11 14:55:22 Ganapathi Raju Kondraju bug added subscriber Siva Rebbagondla
2019-07-11 14:55:37 Ganapathi Raju Kondraju bug added subscriber Amol Hanwate
2019-07-11 14:58:51 Ganapathi Raju Kondraju description SRU Justification: ------------------ Impact: ------- Kernel crash upon inserting shutdown or rebooting the device. Test case: ---------- 1) Power up the device, Redpine modules are loaded by default. 2) Reboot or shutdown the device. 3) Observe the behavior. Result: ------- Redpine driver crashes the entire kernel and below is the crash log. ... skipping ... [ 47.002030] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 [ 47.010828] IP: rsi_shutdown+0x2c/0x100 [rsi_sdio] [ 47.016180] PGD 0 P4D 0 [ 47.019025] Oops: 0000 1 SMP PTI [ 47.136275] CPU: 1 PID: 1 Comm: systemd-shutdow Not tainted 4.15.0-1035-oem #40-Ubuntu [ 47.145131] Hardware name: Dell Inc. Edge Gateway 3001/0YMHCG, BIOS 01.00.08 10/23/2018 [ 47.154096] RIP: 0010:rsi_shutdown+0x2c/0x100 [rsi_sdio] [ 47.160039] RSP: 0018:ffffb08d0000bd78 EFLAGS: 00010246 [ 47.165887] RAX: 0000000000000000 RBX: ffffa08b77f1d000 RCX: 0000000000000000 [ 47.173869] RDX: 0000000000000002 RSI: ffffffffc07aa77f RDI: 0000000000000001 [ 47.181851] RBP: ffffb08d0000bd90 R08: 0000000000000000 R09: ffffb08d0000bc50 [ 47.189834] R10: 0000000000000000 R11: 000000000000023a R12: ffffa08b6d940000 [ 47.197816] R13: ffffa08b3cbfb408 R14: ffffffff8f556137 R15: ffffa08b3cbfb468 [ 47.205801] FS: 00007f85cd093940(0000) GS:ffffa08b70b00000(0000) knlGS:0000000000000000 [ 47.214854] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.221281] CR2: 0000000000000038 CR3: 000000006a930000 CR4: 00000000001006e0 [ 47.229262] Call Trace: [ 47.232017] device_shutdown+0x14e/0x200 [ 47.236416] kernel_power_off+0x35/0x70 [ 47.240711] SYSC_reboot+0x132/0x210 [ 47.244721] ? SYSC_rt_sigtimedwait+0x88/0xe0 [ 47.249604] ? do_writev+0x61/0xf0 [ 47.253411] ? do_writev+0x61/0xf0 [ 47.257219] ? sigprocmask+0x6f/0xa0 [ 47.261225] SyS_reboot+0xe/0x10 [ 47.264841] do_syscall_64+0x73/0x130 [ 47.268945] entry_SYSCALL_64_after_hwframe+0x3d/0xa2 Root cause analysis: -------------------- Device operating mode 8(bluetooth alone), our driver supports multiple modes like 13(WiFi + Bluetooth), WiFi related structures are not been initialized in Bluetooth alone mode(8), dereferencing them in rsi_shutdown function causes crash. In Redpine driver, this NULL check is missed. Hence, Added the fix for the same. Fix: ---- Added proper NULL check in shutdown function. Regression Petential: --------------------- This is a very direct issue Since the driver is crashing reboot. We rebooted multiples times, checked the driver stability. Every thing ran smooth. SRU Justification: ------------------ Impact: -------       Kernel crash upon shutdown or rebooting the device. Test case: ----------       1) Power up the device, Redpine modules are loaded by default.       2) Reboot or shutdown the device.       3) Observe the behavior. Result: -------        Redpine driver crashes the entire kernel and below is the crash log.        ... skipping ...        [ 47.002030] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038        [ 47.010828] IP: rsi_shutdown+0x2c/0x100 [rsi_sdio]        [ 47.016180] PGD 0 P4D 0        [ 47.019025] Oops: 0000 1 SMP PTI        [ 47.136275] CPU: 1 PID: 1 Comm: systemd-shutdow Not tainted 4.15.0-1035-oem #40-Ubuntu        [ 47.145131] Hardware name: Dell Inc. Edge Gateway 3001/0YMHCG, BIOS 01.00.08 10/23/2018        [ 47.154096] RIP: 0010:rsi_shutdown+0x2c/0x100 [rsi_sdio]        [ 47.160039] RSP: 0018:ffffb08d0000bd78 EFLAGS: 00010246        [ 47.165887] RAX: 0000000000000000 RBX: ffffa08b77f1d000 RCX: 0000000000000000        [ 47.173869] RDX: 0000000000000002 RSI: ffffffffc07aa77f RDI: 0000000000000001        [ 47.181851] RBP: ffffb08d0000bd90 R08: 0000000000000000 R09: ffffb08d0000bc50        [ 47.189834] R10: 0000000000000000 R11: 000000000000023a R12: ffffa08b6d940000        [ 47.197816] R13: ffffa08b3cbfb408 R14: ffffffff8f556137 R15: ffffa08b3cbfb468        [ 47.205801] FS: 00007f85cd093940(0000) GS:ffffa08b70b00000(0000) knlGS:0000000000000000        [ 47.214854] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033        [ 47.221281] CR2: 0000000000000038 CR3: 000000006a930000 CR4: 00000000001006e0        [ 47.229262] Call Trace:        [ 47.232017] device_shutdown+0x14e/0x200        [ 47.236416] kernel_power_off+0x35/0x70        [ 47.240711] SYSC_reboot+0x132/0x210        [ 47.244721] ? SYSC_rt_sigtimedwait+0x88/0xe0        [ 47.249604] ? do_writev+0x61/0xf0        [ 47.253411] ? do_writev+0x61/0xf0        [ 47.257219] ? sigprocmask+0x6f/0xa0        [ 47.261225] SyS_reboot+0xe/0x10        [ 47.264841] do_syscall_64+0x73/0x130        [ 47.268945] entry_SYSCALL_64_after_hwframe+0x3d/0xa2 Root cause analysis: --------------------        Device operating mode 8(bluetooth alone), our driver supports multiple modes like 13(WiFi + Bluetooth), WiFi related structures are not been initialized in Bluetooth alone mode(8), dereferencing them in rsi_shutdown function causes crash. In Redpine driver, this NULL check is missed. Hence, Added the fix for the same. Fix: ----        Added proper NULL check in rsi_shutdown function. Regression Potential: ---------------------         This is a very direct issue, since the driver is getting crashed while reboot. We rebooted multiples times, checked the driver stability. Every thing ran smooth.
2019-07-11 15:00:11 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2019-07-11 15:25:07 Ganapathi Raju Kondraju bug added subscriber Anthony Wong
2019-07-11 16:24:17 Ubuntu Foundations Team Bug Bot tags bionic verification-done-bionic bionic patch verification-done-bionic
2019-07-11 16:24:18 Ubuntu Foundations Team Bug Bot bug added subscriber Terry Rudd
2019-07-12 06:00:06 Ganapathi Raju Kondraju attachment removed This patch fixes the crash https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836215/+attachment/5276506/+files/0001-rsi-system-crashed-while-reboot-shutdown.patch
2019-07-12 06:01:42 Ganapathi Raju Kondraju attachment added 0001-UBUNTU-SAUCE-Redpine-system-crashed-while-reboot-shutdown.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836215/+attachment/5276646/+files/0001-UBUNTU-SAUCE-Redpine-system-crashed-while-reboot-shutdown.patch
2019-07-12 06:04:24 Ganapathi Raju Kondraju attachment added logs.tgz https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836215/+attachment/5276647/+files/logs.tgz
2019-07-12 06:04:57 Ganapathi Raju Kondraju summary [DELL][BIONICS][RSI] Redpine driver got crashed during shutdown/reboot [DELL][BIONICS] Redpine driver got crashed during shutdown/reboot
2019-07-12 06:52:54 Ganapathi Raju Kondraju bug added subscriber Alex Kaluzhny
2019-07-12 06:53:31 Ganapathi Raju Kondraju bug added subscriber Daren Cody
2019-07-12 06:54:02 Ganapathi Raju Kondraju bug added subscriber Jesse Sung
2019-07-12 11:39:51 Ganapathi Raju Kondraju bug added subscriber Sushant Sharma
2019-07-12 11:39:54 Ganapathi Raju Kondraju removed subscriber Sushant Sharma
2019-07-15 06:58:39 Ganapathi Raju Kondraju attachment removed 0001-UBUNTU-SAUCE-Redpine-system-crashed-while-reboot-shutdown.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836215/+attachment/5276646/+files/0001-UBUNTU-SAUCE-Redpine-system-crashed-while-reboot-shutdown.patch
2019-07-15 06:59:50 Ganapathi Raju Kondraju attachment added patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836215/+attachment/5277058/+files/0001-Xenial-PATCH-rsi-system-crashed-while-reboot-shutdow.patch
2019-07-24 14:36:14 AceLan Kao bug task added linux-oem (Ubuntu)
2019-07-24 14:36:42 AceLan Kao nominated for series Ubuntu Bionic
2019-07-24 14:36:42 AceLan Kao bug task added linux (Ubuntu Bionic)
2019-07-24 14:36:42 AceLan Kao bug task added linux-oem (Ubuntu Bionic)
2019-07-24 14:38:23 AceLan Kao linux-oem (Ubuntu Bionic): status New Fix Committed
2019-08-13 11:32:46 Launchpad Janitor linux-oem (Ubuntu Bionic): status Fix Committed Fix Released
2019-08-14 08:55:04 Launchpad Janitor linux-oem (Ubuntu): status New Fix Released
2021-04-21 05:56:41 Rex Tsai tags bionic patch verification-done-bionic bionic patch redpine verification-done-bionic