您尚未登录。

#1 2022-06-23 10:23:29

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

网卡工作一段时间后,就停止工作,网卡RTW8822BE

网卡信息:

 - lspci |grep -i 'net'
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

驱动/模块信息:

 - lspci -knn | grep -A3 'Net'
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
        Subsystem: Lenovo ThinkPad E595 [17aa:b023]
        Kernel driver in use: rtw_8822be
        Kernel modules: rtw88_8822be
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- lsmod | head -1; lsmod |  grep -i 'rtw'
Module                  Size  Used by
rtw88_8822be           16384  0
rtw88_8822b           229376  1 rtw88_8822be
rtw88_pci              36864  1 rtw88_8822be
rtw88_core            278528  2 rtw88_pci,rtw88_8822b
mac80211             1249280  2 rtw88_pci,rtw88_core
cfg80211             1085440  2 rtw88_core,mac80211

相关报错信息:

- sudo dmesg | grep -i 'rtw'
[    2.768969] rtw_8822be 0000:07:00.0: Firmware version 27.2.0, H2C version 13
[   43.420399] WARNING: CPU: 10 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   43.420423] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   43.420899] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   43.420983]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   43.420999]  rtw_leave_lps+0x7b/0x1c0 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   43.421044]  rtw_ops_config+0xf8/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   43.421525] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   43.424640] rtw_8822be 0000:07:00.0: failed to send h2c command
[   43.556740] rtw_8822be 0000:07:00.0: firmware failed to leave lps state
[   43.559819] rtw_8822be 0000:07:00.0: failed to send h2c command
[   43.562936] rtw_8822be 0000:07:00.0: failed to send h2c command
[   43.565993] rtw_8822be 0000:07:00.0: failed to send h2c command
[   43.569038] rtw_8822be 0000:07:00.0: failed to send h2c command
[   44.096933] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   44.097028] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   44.097116] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   44.097203] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   44.097291] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   44.097378] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   44.100466] rtw_8822be 0000:07:00.0: failed to send h2c command
[   44.100893] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   44.100982] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   44.101069] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   44.101159] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   44.101246] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   44.101334] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   46.101451] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   46.101751] WARNING: CPU: 6 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.101757] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   46.101866] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.101885]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   46.101888]  rtw_enter_ips+0x3c/0x50 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   46.101898]  rtw_ops_config+0x68/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   46.102138] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   46.102307] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   46.102472] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   46.102579] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   46.102673] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   46.102804] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   46.102927] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   46.202878] WARNING: CPU: 5 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.202900] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   46.203188] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.203264]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   46.203278]  rtw_leave_ips+0x1d/0x70 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   46.203354]  rtw_ops_config+0xc0/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   46.204172] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   48.204318] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   48.204325] rtw_8822be 0000:07:00.0: mac power on failed
[   48.204326] rtw_8822be 0000:07:00.0: failed to power on mac
[   48.204327] rtw_8822be 0000:07:00.0: leave idle state failed
[   48.204458] rtw_8822be 0000:07:00.0: failed to leave ips state
[   48.204458] rtw_8822be 0000:07:00.0: failed to leave idle state
[   48.204554] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   48.204640] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   48.204724] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   48.204809] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   48.204893] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   48.204978] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   48.205068] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   48.205154] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   48.205238] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   48.205323] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   48.205408] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   48.205492] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   48.270408] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   48.270505] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   48.270592] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   48.270680] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   48.270768] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   48.270855] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   50.270963] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   50.271255] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271261] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   50.271362] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271380]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   50.271383]  rtw_enter_ips+0x3c/0x50 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   50.271392]  rtw_ops_config+0x68/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   50.271471] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   50.271870] WARNING: CPU: 11 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271874] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   50.271934] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271950]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   50.271953]  rtw_leave_ips+0x1d/0x70 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   50.271961]  rtw_ops_config+0xc0/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   50.272263] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   52.272348] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   52.272354] rtw_8822be 0000:07:00.0: mac power on failed
[   52.272356] rtw_8822be 0000:07:00.0: failed to power on mac
[   52.272357] rtw_8822be 0000:07:00.0: leave idle state failed
[   52.272488] rtw_8822be 0000:07:00.0: failed to leave ips state
[   52.272489] rtw_8822be 0000:07:00.0: failed to leave idle state
[   60.300864] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
[   60.300980] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
[   60.301090] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
[   60.301200] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
[   60.301298] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
[   60.301404] rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
[   62.301540] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   62.301832] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   62.301837] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common btmtk videodev bluetooth mc ecdh_generic crc16 bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi usbhid x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_soc_core snd_hda_codec_generic snd_compress ledtrig_audio ac97_bus snd_hda_codec_hdmi rtw88_8822be joydev kvm_intel snd_pcm_dmaengine rtw88_8822b mousedev rtw88_pci 8021q snd_hda_intel kvm irqbypass crct10dif_pclmul spi_nor rtw88_core iTCO_wdt snd_intel_dspcfg garp crc32_pclmul intel_pmc_bxt mrp
[   62.301936] RIP: 0010:rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   62.301952]  rtw_pci_link_ps.part.0+0x84/0xd0 [rtw88_pci b35fee250de57ee689d704e79f2ad6d1b5312494]
[   62.301955]  rtw_enter_ips+0x3c/0x50 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   62.301965]  rtw_ops_config+0x68/0x100 [rtw88_core 3faf24a53b1057973d2b88f5241bf06960b1bab0]
[   62.302152] rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
[   64.302468] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   66.302995] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   66.303002] rtw_8822be 0000:07:00.0: mac power on failed
[   66.303003] rtw_8822be 0000:07:00.0: failed to power on mac
[   68.817765] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   68.817772] rtw_8822be 0000:07:00.0: mac power on failed
[   68.817773] rtw_8822be 0000:07:00.0: failed to power on mac
[   70.818403] rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   70.818410] rtw_8822be 0000:07:00.0: mac power on failed
[   70.818412] rtw_8822be 0000:07:00.0: failed to power on mac

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// [color=#FF0000]每次wifi停止工作,都会出现如下警告信息[/color]
- sudo dmesg | grep -i 'warning'
[    3.484034] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20211217/nsarguments-61)
[   43.420399] WARNING: CPU: 10 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.101751] WARNING: CPU: 6 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.202878] WARNING: CPU: 5 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271255] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271870] WARNING: CPU: 11 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   62.301832] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]

wifi停止工作后,wifi状态为DOWN, 尝试UP网卡时间,会报错

- sudo ip link set wlan0 up
RTNETLINK answers: Operation already in progress

网卡信息:
经过一段时间的排错,个人认为和ASPM有关,因为我设置了pcie_aspm=off后,症状得到了缓解,只有在笔记本电池没充满时才会偶尔出现wifi不能使用的情况,但是我不能保证wifi问题是ASPM导致的!

我想永久解决这个问题,我应该怎么做?

离线

#2 2022-06-23 14:01:47

KafCoppelia
会员
所在地: Beijing, China
注册时间: 2022-06-20
帖子: 146
个人网站

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

试试重装RTL8852be驱动:https://github.com/HRex39/rtl8852be

最近编辑记录 KafCoppelia (2022-06-23 14:02:10)


二次元开发者

离线

#3 2022-06-23 17:18:17

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

KafCoppelia 说:

试试重装RTL8852be驱动:https://github.com/HRex39/rtl8852be

我按照您提供的方式重装了RTL8852BE的驱动,但似乎RTL8852BE驱动并没有进行工作!

我执行的命令:

- cd rtl8852be
- make -j8
- sudo make install 
- sudo echo rtw89_8852ae > /etc/modules-load.d/rtw89_8852ae.conf
- sudo "blacklist rtw88_8822be" > /etc/modprobe.d/blacklist.conf
- reboot

当我执行完上述步骤后,发现wifi网卡不能被检测到(我想应该是驱动的问题),而后我进行了以下命令进行相关信息的查看

- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether e8:6a:64:4f:83:f1 brd ff:ff:ff:ff:ff:ff
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 - lsmod | grep rtw
rtw89_8852ae           16384  0
rtw89_8852a           679936  1 rtw89_8852ae
rtw89_pci              65536  1 rtw89_8852ae
rtw89_core            417792  2 rtw89_pci,rtw89_8852a
mac80211             1249280  2 rtw89_core,rtw89_pci
cfg80211             1085440  3 rtw89_core,mac80211,rtw89_8852a
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- lspci -knn | grep -A3 'Net'
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
        Subsystem: Lenovo ThinkPad E595 [17aa:b023]
        Kernel modules: rtw88_8822be
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)

通过lspci命令查看到的网卡驱动模块仍然是rtw88_8822be
我不知道该如何修改,望指导,谢谢!

离线

#4 2022-06-23 23:40:37

KafCoppelia
会员
所在地: Beijing, China
注册时间: 2022-06-20
帖子: 146
个人网站

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

你好,不好意思原来是8822be,我铁锅我全责。8822be估计要上github自己找找了,但的确是驱动的问题。如果能找好,安装以后重启即可

螃蟹卡的驱动讲究一个自助

最近编辑记录 KafCoppelia (2022-06-23 23:41:35)


二次元开发者

离线

#5 2022-06-23 23:56:27

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

KafCoppelia 说:

你好,不好意思原来是8822be,我铁锅我全责。8822be估计要上github自己找找了,但的确是驱动的问题。如果能找好,安装以后重启即可

螃蟹卡的驱动讲究一个自助

谢谢您的回复,您的答复确实给了我一定的帮助,让我换了个方式尝试解决这个问题!

我在github找到了8822be的驱动,目前还没有出现之前的问题,如果明天还是没有出现之前的问题,我想我应该是把这个问题解决了!

我还想请教下,怎么删除网卡驱动??我安装了RTL8852be,但是我不知道如果从电脑上完全卸载该驱动(有点小强迫症)!

离线

#6 2022-06-24 09:13:37

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

就在刚刚,它又停止工作了!我已经更换了驱动!我想应该还是其他原因

每次WIFI停止工作,日志中都会出现如下内容:

[    3.484034] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20211217/nsarguments-61)
[   43.420399] WARNING: CPU: 10 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.101751] WARNING: CPU: 6 PID: 442 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   46.202878] WARNING: CPU: 5 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271255] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   50.271870] WARNING: CPU: 11 PID: 793 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]
[   62.301832] WARNING: CPU: 3 PID: 332 at drivers/net/wireless/realtek/rtw88/pci.c:1308 rtw_dbi_read8.constprop.0+0xa1/0xb0 [rtw88_pci]

详细的有关rtw_8822be的报错信息:

  Jun 24 08:50:40 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to send h2c command
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: firmware failed to leave lps state
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to send h2c command
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to send h2c command
Jun 24 08:50:40 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to send h2c command
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to send h2c command
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:41 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:50:43 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:43 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:43 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: mac power on failed
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to power on mac
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: leave idle state failed
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to leave ips state
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to leave idle state
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:45 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:47 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:50:47 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:47 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:50:50 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:50 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: mac power on failed
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to power on mac
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: leave idle state failed
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to leave ips state
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to leave idle state
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:52 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[0]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[1]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[2]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[3]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[5]
Jun 24 08:50:56 ArchLinux kernel: rtw_8822be 0000:07:00.0: timed out to flush pci tx ring[6]
Jun 24 08:50:58 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:50:58 ArchLinux kernel: Modules linked in: udp_diag tcp_diag inet_diag ccm rfcomm cmac algif_hash algif_skcipher af_alg nvidia_drm(POE) nvidia_modeset(POE) bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic mc usbhid crc16 nvidia(POE) bbswitch(OE) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_tcc_cooling x86_pkg_temp_thermal snd_soc_sst_dsp intel_powerclamp snd_soc_acpi_intel_match coretemp snd_hda_codec_realtek snd_soc_acpi joydev snd_hda_codec_generic mousedev kvm_intel snd_soc_core ledtrig_audio snd_compress kvm hid_multitouch 8021q rtw_8822be(OE) irqbypass ac97_bus crct10dif_pclmul garp rtw_8822b(OE) snd_pcm_dmaengine spi_nor iTCO_wdt crc32_pclmul rtw_pci(OE) mei_pxp snd_hda_codec_hdmi
Jun 24 08:50:58 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to read ASPM, ret=-5
Jun 24 08:51:00 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:51:02 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Jun 24 08:51:02 ArchLinux kernel: rtw_8822be 0000:07:00.0: mac power on failed
Jun 24 08:51:02 ArchLinux kernel: rtw_8822be 0000:07:00.0: failed to power on mac

我应该怎么做呢?或者我应该往那个方向思考?

离线

#7 2022-06-25 16:12:31

浩亮
会员
注册时间: 2017-03-07
帖子: 18

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

我的几点考虑,仅供参考:
* 贴出的日志被 grep 过滤,但会不会是由其他进程、服务导致的问题呢?比如直接用 journalctl -b -n 666
* 系统是刚装的吗?如果不是,之前能正常用吗?最近有什么软硬件变动吗?比如看下 /var/log/pacman.log 新安装的软件
* 网卡停止工作后的报错,我觉得没啥意义,起码对找网卡为啥停止工作的原因是种噪音

离线

#8 2022-06-26 09:16:40

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

浩亮 说:

我的几点考虑,仅供参考:
* 贴出的日志被 grep 过滤,但会不会是由其他进程、服务导致的问题呢?比如直接用 journalctl -b -n 666
* 系统是刚装的吗?如果不是,之前能正常用吗?最近有什么软硬件变动吗?比如看下 /var/log/pacman.log 新安装的软件
* 网卡停止工作后的报错,我觉得没啥意义,起码对找网卡为啥停止工作的原因是种噪音

谢谢您的回复,这个问题已经得到了解决,至少现在看起来是稳定的!

我的解决方案:
1、更新了WIFI驱动,驱动链接:https://github.com/lwfinger/rtw88/
2、由于我使用了tlp电源管理,所以在/etc/tlp.conf中设置WIFI_PWR_ON_AC=off、WIFI_PWR_ON_BAT=off这两条配置!

离线

#9 2022-06-28 17:59:35

ZheCi
会员
注册时间: 2022-06-22
帖子: 12

Re: 网卡工作一段时间后,就停止工作,网卡RTW8822BE

update:
关闭wifi的节能模式:

- cat /etc/NetworkManager/conf.d/default-wifi-powersave.conf

  [connection]
  wifi.powersave = 0

禁用rtw_pci模块:

- cat /etc/modprobe.d/blacklist.conf 

  blacklist ideapad_laptop
  blacklist rtw_pci

离线

页脚