我的联发科 MT7922 802.11ax 网卡在从 6.2.0-21 升级到 6.3.0-7 官方 ubuntu 内核版本后断开连接。选择旧内核后,一切正常,但选择 6.3.0-7 后,我的plymounth
磁盘解密屏幕显示在左上角而不是中间,启动后我的无线网卡工作了一段时间,然后突然停止 5 秒,然后再次工作。
dmesg
除了控制台中的 ping 统计信息外,或中不显示任何信息/var/log/syslog
。
我的笔记本电脑是联想 Thinkpad L14
串行通信
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5013 E13 NVMe Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
04:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
06:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev d1)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
相关 dmesg
[ 102.941974] mt7921e 0000:06:00.0 wlp6s0: renamed from wlan0
[ 112.526313] wlp6s0: authenticate with 6c:5a:b0:22:09:bf
[ 113.032807] wlp6s0: send auth to 6c:5a:b0:22:09:bf (try 1/3)
[ 113.147203] wlp6s0: authenticate with 6c:5a:b0:22:09:bf
[ 113.156166] wlp6s0: send auth to 6c:5a:b0:22:09:bf (try 1/3)
[ 113.318429] wlp6s0: authenticated
[ 113.322871] wlp6s0: associate with 6c:5a:b0:22:09:bf (try 1/3)
[ 113.332482] wlp6s0: RX AssocResp from 6c:5a:b0:22:09:bf (capab=0x1811 status=0 aid=5)
[ 113.356952] wlp6s0: associated
[ 113.593916] IPv6: ADDRCONF(NETDEV_CHANGE): wlp6s0: link becomes ready
如您所见,没有显示有关断开连接的信息。
我尝试禁用省电功能iw dev wlp6s0 set power_save off
,但没有帮助。
如果有必要的话,我可以对内核版本进行二分法分析以找到问题的根源,但这样做需要一点帮助。
此外,我还看到Reddit用户发现卡的一个版本中存在漫游问题,但我不确定如何使用来禁用漫游iw
。
编辑1:我的操作系统是 Ubuntu 23.10 (Mantic Minotaur)
uname -a
Linux mkarol-ThinkPad-L14-Gen-3 6.3.0-7-generic #21-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 14 12:34:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
/etc/os-发布
PRETTY_NAME="Ubuntu Mantic Minotaur (development branch)"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo