pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 85 forks source link

[PopOS 20.04 Linux 5.11] Failed to start Load/Save RF Kill Switch Status / Read event structure of invalid size. #1631

Closed tur1ngb0x closed 2 months ago

tur1ngb0x commented 3 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os

Kernel

$ uname -a
Linux REDACTED 5.11.0-7612-generic #13~1617215757~20.04~97a8d1a-Ubuntu SMP Thu Apr 1 21:15:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

$ apt policy rfkill 
rfkill:
  Installed: 2.34-0.1ubuntu9.1
  Candidate: 2.34-0.1ubuntu9.1
  Version table:
 *** 2.34-0.1ubuntu9.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.34-0.1ubuntu9 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
$ apt policy systemctl 
systemctl:
  Installed: (none)
  Candidate: 1.4.3424-2
  Version table:
     1.4.3424-2 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages
$ lspci -k | tail -n12
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
    Subsystem: Acer Incorporated [ALI] RTL8411B PCI Express Card Reader
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci
02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
    Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Kernel driver in use: r8169
    Kernel modules: r8169
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
    Subsystem: Lite-On Communications Inc Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
$ lsusb -vt
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c07e Logitech, Inc. G402 Gaming Mouse
    |__ Port 3: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c07e Logitech, Inc. G402 Gaming Mouse
    |__ Port 5: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        ID 04ca:3015 Lite-On Technology Corp. 
    |__ Port 5: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        ID 04ca:3015 Lite-On Technology Corp. 
    |__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 0408:a060 Quanta Computer, Inc. HD Webcam
    |__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 0408:a060 Quanta Computer, Inc. HD Webcam
$ rfkill list
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

Issue/Bug Description:

$ journalctl -p3 -xb
-- Logs begin at Sat 2021-04-10 19:15:26 IST, end at Sat 2021-04-10 20:37:23 IST. --
Apr 10 19:24:33 pop-os systemd-rfkill[530]: Read event structure of invalid size.
Apr 10 19:24:33 pop-os systemd[1]: Failed to start Load/Save RF Kill Switch Status.
-- Subject: A start job for unit systemd-rfkill.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit systemd-rfkill.service has finished with a failure.
-- 
-- The job identifier is 166 and the job result is failed.
Apr 10 19:24:33 pop-os systemd-rfkill[536]: Read event structure of invalid size.
Apr 10 19:24:33 pop-os systemd[1]: Failed to start Load/Save RF Kill Switch Status.
-- Subject: A start job for unit systemd-rfkill.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit systemd-rfkill.service has finished with a failure.
-- 
-- The job identifier is 174 and the job result is failed.
Apr 10 19:24:33 pop-os systemd-rfkill[548]: Read event structure of invalid size.
Apr 10 19:24:33 pop-os systemd[1]: Failed to start Load/Save RF Kill Switch Status.
-- Subject: A start job for unit systemd-rfkill.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit systemd-rfkill.service has finished with a failure.
-- 
-- The job identifier is 182 and the job result is failed.
Apr 10 19:24:34 pop-os systemd-rfkill[831]: Read event structure of invalid size.
Apr 10 19:24:34 pop-os systemd[1]: Failed to start Load/Save RF Kill Switch Status.
-- Subject: A start job for unit systemd-rfkill.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit systemd-rfkill.service has finished with a failure.
-- 
-- The job identifier is 893 and the job result is failed.
Apr 10 19:24:41 pop-os gdm-password][1298]: gkr-pam: unable to locate daemon control file
Apr 10 19:45:48 pop-os sudo[7789]: pam_unix(sudo:auth): conversation failed
Apr 10 19:45:48 pop-os sudo[7789]: pam_unix(sudo:auth): auth could not identify password for [REDACTED]

Steps to reproduce (if you know): Install latest PopOS 20.04 Nvidia ISO from the official website, boot normally.

Expected behavior: There should be no errors regarding rfkill in the journalctl

Other Notes: The issue occurred when PopOS 20.04 upgraded the Kernel 5.8 to Kernel 5.11

bflanagin commented 3 years ago

Looks to be an issue with rfkill and Kernels > 5.10. The issue doesn't happen in 21.04 so a fix is available.

clichte commented 3 years ago

I too have this issue after the kernel upgrade. I guess I can disable rfkill in the kernel boot parameters, but is there no fix for this issue?