rtl8821ce fails to restart network when coming out of suspend

Bug #1904177 reported by Gareth Owen
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rtl8821ce (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Lenovo Laptop - Linux ichiro 5.8.0-28-generic

Kernel log coming out of suspend

Nov 13 09:02:15 ichiro kernel: [53792.011994] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
Nov 13 09:02:15 ichiro kernel: [53792.015049] Bluetooth: hci0: RTL: rom_version status=0 version=1
Nov 13 09:02:15 ichiro kernel: [53792.015052] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
Nov 13 09:02:15 ichiro kernel: [53792.015070] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
Nov 13 09:02:15 ichiro kernel: [53792.015086] Bluetooth: hci0: RTL: cfg_sz 10, total sz 31298
Nov 13 09:02:15 ichiro kernel: [53792.015352] done.
Nov 13 09:02:15 ichiro kernel: [53792.110567] PM: suspend exit
Nov 13 09:02:16 ichiro kernel: [53792.714994] Bluetooth: hci0: RTL: fw version 0x829a21e4
Nov 13 09:02:17 ichiro kernel: [53793.870381] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Nov 13 09:02:18 ichiro kernel: [53794.169246] ata1.00: configured for UDMA/100
Nov 13 09:02:18 ichiro kernel: [53794.366338] Generic FE-GE Realtek PHY r8169-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
Nov 13 09:02:18 ichiro kernel: [53794.498435] r8169 0000:02:00.0 enp2s0: Link is Down
Nov 13 09:02:18 ichiro kernel: [53794.722066] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Nov 13 09:02:18 ichiro kernel: [53794.729611] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Nov 13 09:02:20 ichiro kernel: [53796.450982] audit: type=1400 audit(1605258140.287:68): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=17122 comm="cups-browsed" capability=23 capname="sys_nice"
Nov 13 09:02:24 ichiro kernel: [53800.323524] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Nov 13 09:02:24 ichiro kernel: [53800.694538] rtl8821ce 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0007 address=0xff5b9800 flags=0x0000]
Nov 13 09:02:24 ichiro kernel: [53800.694544] rtl8821ce 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0007 address=0xff5b9880 flags=0x0000]
Nov 13 09:02:24 ichiro kernel: [53800.694549] rtl8821ce 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0007 address=0xff5b9830 flags=0x0000]

Attempting to reload kernel module "succeeds" but not network resume:
Nov 13 09:22:47 ichiro kernel: [55023.534364] WARNING: CPU: 1 PID: 18107 at /var/lib/dkms/rtl8821ce/5.5.2.1/build/hal/rtl8821c/rtl8821c_halinit.c:122 rtl8821c_power_off+0x62/0x8d [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534364] Modules linked in: rfcomm cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc edac_mce_amd snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg kvm joydev crct10dif_pclmul ghash_clmulni_intel amdgpu snd_hda_codec snd_hda_core snd_hwdep snd_pcm btusb iommu_v2 snd_seq_midi gpu_sched snd_seq_midi_event btrtl btbcm snd_rawmidi btintel ttm drm_kms_helper cec aesni_intel snd_seq rc_core bluetooth rtl8821ce(O-) ecdh_generic crypto_simd ecc cryptd i2c_algo_bit snd_seq_device snd_timer fb_sys_fops syscopyarea sysfillrect sysimgblt input_leds glue_helper rapl snd soundcore cfg80211 k10temp efi_pstore serio_raw ccp wmi_bmof mac_hid ideapad_laptop sparse_keymap elan_i2c sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 crc32_pclmul ahci i2c_piix4 libahci xhci_pci xhci_pci_renesas r8169 realtek wmi video i2c_hid hid
Nov 13 09:22:47 ichiro kernel: [55023.534417] CPU: 1 PID: 18107 Comm: rmmod Tainted: G W O 5.8.0-28-generic #30-Ubuntu
Nov 13 09:22:47 ichiro kernel: [55023.534419] Hardware name: LENOVO 81D2/LNVNB161216, BIOS 7VCN24WW 06/15/2018
Nov 13 09:22:47 ichiro kernel: [55023.534470] RIP: 0010:rtl8821c_power_off+0x62/0x8d [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534474] Code: 80 7d e7 00 75 18 48 8b 45 e8 65 48 2b 04 25 28 00 00 00 75 3b 48 83 c4 10 5b 41 5c 5d c3 4c 89 e7 e8 f2 a3 00 00 85 c0 74 04 <0f> 0b eb d8 c6 45 e7 00 48 8d 55 e7 be 37 00 00 00 48 89 df e8 b2
Nov 13 09:22:47 ichiro kernel: [55023.534476] RSP: 0018:ffffae37403efce0 EFLAGS: 00010286
Nov 13 09:22:47 ichiro kernel: [55023.534478] RAX: 00000000ffffffff RBX: ffffae37411f9000 RCX: 0000000000000001
Nov 13 09:22:47 ichiro kernel: [55023.534479] RDX: 0000000000000001 RSI: ffffffffc04efac0 RDI: ffffae37403efbe5
Nov 13 09:22:47 ichiro kernel: [55023.534480] RBP: ffffae37403efd00 R08: 0000000000000011 R09: ffffae38403efc16
Nov 13 09:22:47 ichiro kernel: [55023.534481] R10: ffffffffffffffff R11: ffffae37403efc0a R12: ffff9d609c1e7000
Nov 13 09:22:47 ichiro kernel: [55023.534482] R13: ffffffffc04f5b40 R14: ffffffffc04f5ba0 R15: 0000000000000000
Nov 13 09:22:47 ichiro kernel: [55023.534484] FS: 00007f134ea8c540(0000) GS:ffff9d60a7040000(0000) knlGS:0000000000000000
Nov 13 09:22:47 ichiro kernel: [55023.534485] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 13 09:22:47 ichiro kernel: [55023.534486] CR2: 00007f6aebcc69f1 CR3: 000000021ee92000 CR4: 00000000003406e0
Nov 13 09:22:47 ichiro kernel: [55023.534487] Call Trace:
Nov 13 09:22:47 ichiro kernel: [55023.534545] rtw_hal_power_off+0x3e/0x44 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534593] rtw_halmac_deinit_hal+0x3c/0x55 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534643] rtl8821c_hal_deinit+0x24/0x2e [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534691] rtl8821ce_hal_deinit+0xe/0x18 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534745] rtw_hal_deinit+0x19/0x31 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534795] rtw_dev_unload+0xd0/0xe4 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534846] rtw_pci_primary_adapter_deinit+0x2c/0x71 [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534897] rtw_dev_remove+0x6b/0x9c [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534904] pci_device_remove+0x3e/0xb0
Nov 13 09:22:47 ichiro kernel: [55023.534909] __device_release_driver+0x168/0x230
Nov 13 09:22:47 ichiro kernel: [55023.534911] driver_detach+0xd5/0x117
Nov 13 09:22:47 ichiro kernel: [55023.534914] bus_remove_driver+0x5c/0xd3
Nov 13 09:22:47 ichiro kernel: [55023.534916] driver_unregister+0x31/0x50
Nov 13 09:22:47 ichiro kernel: [55023.534918] pci_unregister_driver+0x40/0x90
Nov 13 09:22:47 ichiro kernel: [55023.534952] rtw_drv_halt+0x1a/0xbeb [rtl8821ce]
Nov 13 09:22:47 ichiro kernel: [55023.534959] __do_sys_delete_module.constprop.0+0x140/0x2a0
Nov 13 09:22:47 ichiro kernel: [55023.534964] ? __prepare_exit_to_usermode+0x62/0xe0
Nov 13 09:22:47 ichiro kernel: [55023.534966] __x64_sys_delete_module+0x12/0x20
Nov 13 09:22:47 ichiro kernel: [55023.534971] do_syscall_64+0x49/0xc0
Nov 13 09:22:47 ichiro kernel: [55023.534975] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Nov 13 09:22:47 ichiro kernel: [55023.534976] RIP: 0033:0x7f134ebceceb
Nov 13 09:22:47 ichiro kernel: [55023.534980] Code: 73 01 c3 48 8b 0d 7d 91 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4d 91 0c 00 f7 d8 64 89 01 48
Nov 13 09:22:47 ichiro kernel: [55023.534981] RSP: 002b:00007ffc92d764f8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
Nov 13 09:22:47 ichiro kernel: [55023.534983] RAX: ffffffffffffffda RBX: 000055ae8bebd780 RCX: 00007f134ebceceb
Nov 13 09:22:47 ichiro kernel: [55023.534984] RDX: 000000000000000a RSI: 0000000000000800 RDI: 000055ae8bebd7e8
Nov 13 09:22:47 ichiro kernel: [55023.534985] RBP: 00007ffc92d76558 R08: 0000000000000000 R09: 0000000000000000
Nov 13 09:22:47 ichiro kernel: [55023.534986] R10: 00007f134ec49ac0 R11: 0000000000000206 R12: 00007ffc92d76730
Nov 13 09:22:47 ichiro kernel: [55023.534987] R13: 00007ffc92d77897 R14: 000055ae8bebd2a0 R15: 000055ae8bebd780
Nov 13 09:22:47 ichiro kernel: [55023.534990] ---[ end trace 9119440ca0447f86 ]---
Nov 13 09:22:52 ichiro kernel: [55028.633828] Generic FE-GE Realtek PHY r8169-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)

Rebooting works correctly, until next suspend.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rtl8821ce (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.