** Description changed:

+ [Impact]
+ RTL8821CE dkms driver version 5.2.5.2.1.30816.20190425-0ubuntu1 fails to 
re-associate previously associated WiFi AP when resumed from suspend, and it 
takes a reboot to recover from this situation.
+ 
+ [Fix]
+ This is fixed in a new release 
20190614_RTL8821CE_WiFi_linux_v5.5.2_34066_COEX20180712-3232.20190614.zip, 
which has issues to compile against Focal 5.4 kernel, and is then fixed in yet 
another minor release 
RTL8821CE_WiFi_linux_v5.5.2.1_35598_COEX20180712-3232.20191029.zip.
+ 
+ [Test Case]
+ 1. Install this dkms and make sure corresponding kernel module is generated.
+ 2. Reboot. Wi-Fi interface should be up and works just fine. Try get 
associated to some AP.
+ 3. Suspend the system and resume a while after.
+ 4. Check if Wi-Fi interface is automatically brought up and associated to the 
previous AP.
+ 
+ [Regression Potential]
+ Low. This is the DKMS package for specific hardware models, which is known to 
have this issue and have to be fixed with this package and this package along. 
Doesn't affect other systems/hardware.
+ 
+ ========== original bug description ==========
+ 
  RTL8821CE dkms driver version 5.2.5.2.1.30816.20190425-0ubuntu1 fails to
  re-associate previously associated WiFi AP when resumed from suspend,
  and it takes a reboot to recover from this situation.
  
  [  203.545116] PM: suspend entry (deep)
  [  203.545118] PM: Syncing filesystems ... done.
  [  204.026363] Freezing user space processes ... (elapsed 0.002 seconds) done.
  [  204.029131] OOM killer disabled.
  [  204.029132] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
  [  204.030453] Suspending console(s) (use no_console_suspend to debug)
  [  204.031766] RTW:  suspend start
  [  204.031779] RTW: rtw_cmd_thread(wlo1) stop_req:1, break
  [  204.031826] RTW: rtw_suspend_normal: ### ERROR #### driver in IPS 
####ERROR###!!!
  [  204.031834] RTW: rtw_dev_unload: driver in IPS-FWLPS
  [  204.031845] RTW: rtw suspend success in 0 ms
  [  205.107104] ACPI: Preparing to enter system sleep state S3
  [  205.443577] PM: Saving platform NVS memory
  [  205.443658] Disabling non-boot CPUs ...
  
  .... and when resumed ....
  
  [  205.796968] ACPI: Low-level resume complete
  [  205.797020] PM: Restoring platform NVS memory
  [  205.797573] Enabling non-boot CPUs ...
  [  205.797625] x86: Booting SMP configuration:
  ...
  [  205.837514] ACPI: Waking up from system sleep state S3
  [  205.880254] RTW: resume start
  [  206.381440] RTW: wlo1- hw port(0) mac_addr =40:5b:d8:79:35:1d
  [  206.381658] RTW: rtw_resume_common:0 in 500 ms
  [  206.381691] RTW: WARN Unhandled ISR = 20000000, 0, 0
  [  206.534803] OOM killer enabled.
  [  206.534804] Restarting tasks ... done.
  [  206.539698] PM: suspend exit
  [  210.158137] rtl8821ce 0000:17:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0x00000000fed7d000 flags=0x0000]
  [  210.158147] rtl8821ce 0000:17:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0x00000000fed7d030 flags=0x0000]
  [  210.646668] RTW: wlo1- hw port(0) mac_addr =40:5b:d8:79:35:1d
  [  210.646868] RTW: nolinked power save leave
  [  210.647031] RTW: set bssid:00:00:00:00:00:00
  [  210.647081] RTW: set ssid 
[\xfeC\xfb\xfa\xaa:\xfb)\xd1\xe6<|\x94uؾa\x89\xf9\\xbb\xa8\x99\x95\xb1\xeb\xf1\xb3]
 fw_state=0x00000008
  [  210.667923] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
  [  212.933864] RTW: indicate disassoc
  [  212.937336] RTW: There are some pkts to transmit
  [  212.937342] RTW: free_xmitbuf_cnt: 128, free_xmit_extbuf_cnt: 0
  [  212.990652] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  212.993334] RTW: set bssid:a4:56:30:be:51:10
  [  213.088342] RTW: start auth
  [  214.701727] RTW: indicate disassoc
  [  217.100438] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  217.100458] RTW: set bssid:2c:36:f8:fa:f5:b0
  [  217.161695] RTW: start auth
  [  218.762801] RTW: indicate disassoc
  [  221.154160] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  221.154182] RTW: set bssid:a4:56:30:be:51:10
  [  221.235930] RTW: start auth
  [  222.828269] RTW: indicate disassoc
  
  ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.9
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   canonical-oem-stella-bionic-amd64-806
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2020-01-14 (21 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20191205-16:26
  Package: rtl8821ce-dkms 5.2.5.2.1.30816.20190425-0ubuntu1~18.04.1
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 4.15.0-1067.77-oem 4.15.18
  Tags:  bionic
  Uname: Linux 4.15.0-1067-oem x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True

** Description changed:

+ [SRU Justification]
+ 
  [Impact]
  RTL8821CE dkms driver version 5.2.5.2.1.30816.20190425-0ubuntu1 fails to 
re-associate previously associated WiFi AP when resumed from suspend, and it 
takes a reboot to recover from this situation.
  
  [Fix]
  This is fixed in a new release 
20190614_RTL8821CE_WiFi_linux_v5.5.2_34066_COEX20180712-3232.20190614.zip, 
which has issues to compile against Focal 5.4 kernel, and is then fixed in yet 
another minor release 
RTL8821CE_WiFi_linux_v5.5.2.1_35598_COEX20180712-3232.20191029.zip.
  
  [Test Case]
  1. Install this dkms and make sure corresponding kernel module is generated.
  2. Reboot. Wi-Fi interface should be up and works just fine. Try get 
associated to some AP.
  3. Suspend the system and resume a while after.
  4. Check if Wi-Fi interface is automatically brought up and associated to the 
previous AP.
  
  [Regression Potential]
  Low. This is the DKMS package for specific hardware models, which is known to 
have this issue and have to be fixed with this package and this package along. 
Doesn't affect other systems/hardware.
  
  ========== original bug description ==========
  
  RTL8821CE dkms driver version 5.2.5.2.1.30816.20190425-0ubuntu1 fails to
  re-associate previously associated WiFi AP when resumed from suspend,
  and it takes a reboot to recover from this situation.
  
  [  203.545116] PM: suspend entry (deep)
  [  203.545118] PM: Syncing filesystems ... done.
  [  204.026363] Freezing user space processes ... (elapsed 0.002 seconds) done.
  [  204.029131] OOM killer disabled.
  [  204.029132] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
  [  204.030453] Suspending console(s) (use no_console_suspend to debug)
  [  204.031766] RTW:  suspend start
  [  204.031779] RTW: rtw_cmd_thread(wlo1) stop_req:1, break
  [  204.031826] RTW: rtw_suspend_normal: ### ERROR #### driver in IPS 
####ERROR###!!!
  [  204.031834] RTW: rtw_dev_unload: driver in IPS-FWLPS
  [  204.031845] RTW: rtw suspend success in 0 ms
  [  205.107104] ACPI: Preparing to enter system sleep state S3
  [  205.443577] PM: Saving platform NVS memory
  [  205.443658] Disabling non-boot CPUs ...
  
  .... and when resumed ....
  
  [  205.796968] ACPI: Low-level resume complete
  [  205.797020] PM: Restoring platform NVS memory
  [  205.797573] Enabling non-boot CPUs ...
  [  205.797625] x86: Booting SMP configuration:
  ...
  [  205.837514] ACPI: Waking up from system sleep state S3
  [  205.880254] RTW: resume start
  [  206.381440] RTW: wlo1- hw port(0) mac_addr =40:5b:d8:79:35:1d
  [  206.381658] RTW: rtw_resume_common:0 in 500 ms
  [  206.381691] RTW: WARN Unhandled ISR = 20000000, 0, 0
  [  206.534803] OOM killer enabled.
  [  206.534804] Restarting tasks ... done.
  [  206.539698] PM: suspend exit
  [  210.158137] rtl8821ce 0000:17:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0x00000000fed7d000 flags=0x0000]
  [  210.158147] rtl8821ce 0000:17:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0x00000000fed7d030 flags=0x0000]
  [  210.646668] RTW: wlo1- hw port(0) mac_addr =40:5b:d8:79:35:1d
  [  210.646868] RTW: nolinked power save leave
  [  210.647031] RTW: set bssid:00:00:00:00:00:00
  [  210.647081] RTW: set ssid 
[\xfeC\xfb\xfa\xaa:\xfb)\xd1\xe6<|\x94uؾa\x89\xf9\\xbb\xa8\x99\x95\xb1\xeb\xf1\xb3]
 fw_state=0x00000008
  [  210.667923] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
  [  212.933864] RTW: indicate disassoc
  [  212.937336] RTW: There are some pkts to transmit
  [  212.937342] RTW: free_xmitbuf_cnt: 128, free_xmit_extbuf_cnt: 0
  [  212.990652] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  212.993334] RTW: set bssid:a4:56:30:be:51:10
  [  213.088342] RTW: start auth
  [  214.701727] RTW: indicate disassoc
  [  217.100438] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  217.100458] RTW: set bssid:2c:36:f8:fa:f5:b0
  [  217.161695] RTW: start auth
  [  218.762801] RTW: indicate disassoc
  [  221.154160] RTW: set ssid [HIDDEN-SSID] fw_state=0x00000008
  [  221.154182] RTW: set bssid:a4:56:30:be:51:10
  [  221.235930] RTW: start auth
  [  222.828269] RTW: indicate disassoc
  
  ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.9
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   canonical-oem-stella-bionic-amd64-806
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2020-01-14 (21 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20191205-16:26
  Package: rtl8821ce-dkms 5.2.5.2.1.30816.20190425-0ubuntu1~18.04.1
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 4.15.0-1067.77-oem 4.15.18
  Tags:  bionic
  Uname: Linux 4.15.0-1067-oem x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True

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

Title:
  Can't connect to wireless AP after resume from S3

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1861669/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to