网络适​​配器 - CTRL 事件扫描失败(硬件不稳定)

网络适​​配器 - CTRL 事件扫描失败(硬件不稳定)

我在旧的 HP 笔记本电脑 (HP Pavilion G6 2298SE) 上使用 Manjaro Linux。此笔记本电脑具有以下 (Ralink) 网络适配器:

07:00.0 Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter

问题是我经常断网(每天 4-5 次)。发生这种情况时,NetworkManager 在其列表中显示没有无线连接。断开连接后,“lspci”、“ip”和“lshw”在其结果中显示网络适配器。

断开连接后的“lspci”结果:

[user:pc:~]lspci | grep -i wireless
    07:00.0 Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter

断开连接后的“ip”结果:

[user:pc:~]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: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 11:22:33:44:55:66 brd 11:22:33:44:55:66
3: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000

断开连接后结果为“lshw”。它显示为“已禁用”:

[user:pc:~]lshw -class network
  *-network DISABLED        
       description: Wireless interface
       product: RT5390R 802.11bgn PCIe Wireless Network Adapter
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlo1
       version: 00
       serial: 11:22:33:44:55:66
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=5.4.135-1-MANJARO firmware=0.40 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:c3500000-c350ffff

但是,“ifconfig”在其结果中不显示网络适配器:

[user:pc:~]ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 11:22:33:44:55:66  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 555  bytes 46097 (45.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 555  bytes 46097 (45.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

并且“journalctl -xe”在断开连接时显示以下消息:

Aug 07 16:18:36 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-DISCONNECTED bssid=11:22:33:44:55:66 reason=4 locally_generated=1
Aug 07 16:18:36 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Aug 07 16:18:36 pc NetworkManager[805]: <info>  [1628335116.4861] device (wlo1): supplicant interface state: completed -> disconnected
Aug 07 16:18:36 pc NetworkManager[805]: <info>  [1628335116.6025] device (wlo1): supplicant interface state: disconnected -> scanning
Aug 07 16:18:51 pc NetworkManager[805]: <warn>  [1628335131.8396] device (wlo1): link timed out.
Aug 07 16:18:51 pc NetworkManager[805]: <info>  [1628335131.8400] device (wlo1): state change: activated -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Aug 07 16:18:51 pc NetworkManager[805]: <info>  [1628335131.8404] manager: NetworkManager state is now DISCONNECTED
Aug 07 16:18:53 pc avahi-daemon[801]: Interface wlo1.IPv6 no longer relevant for mDNS.
Aug 07 16:18:53 pc avahi-daemon[801]: Leaving mDNS multicast group on interface wlo1.IPv6 with address 1111:2222:3333:4444:5555:6666.
Aug 07 16:18:53 pc avahi-daemon[801]: Interface wlo1.IPv4 no longer relevant for mDNS.
Aug 07 16:18:53 pc avahi-daemon[801]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.10.100.
Aug 07 16:18:53 pc avahi-daemon[801]: Withdrawing address record for 1111:2222:3333:4444:5555:6666 on wlo1.
Aug 07 16:18:53 pc NetworkManager[805]: <info>  [1628335133.4017] device (wlo1): set-hw-addr: set MAC address to 54:CA:64:85:34:E2 (scanning)
Aug 07 16:18:53 pc avahi-daemon[801]: Withdrawing address record for 192.168.10.100 on wlo1.
Aug 07 16:18:54 pc kernel: ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
Aug 07 16:18:54 pc NetworkManager[805]: <warn>  [1628335134.4128] platform-linux: do-change-link[2]: failure changing link: failure 16 (Device or resource busy)
Aug 07 16:18:54 pc NetworkManager[805]: <warn>  [1628335134.4131] device (wlo1): Activation: failed for connection 'Home'
Aug 07 16:18:54 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-100
Aug 07 16:18:54 pc dbus-daemon[803]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=805 comm="/usr/bin/NetworkManager --no-daemon ")
Aug 07 16:18:54 pc NetworkManager[805]: <info>  [1628335134.4144] device (wlo1): supplicant interface state: scanning -> interface_disabled
Aug 07 16:18:54 pc NetworkManager[805]: <info>  [1628335134.4147] device (wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Aug 07 16:18:54 pc systemd[1]: Starting Network Manager Script Dispatcher Service...

“ip”命令显示网络适配器处于“关闭”状态,因此如果我尝试启动它,则会出现以下错误:

[user:pc:~]sudo ip link set down wlo1 && sudo ip link set up wlo1
    RTNETLINK answers: Device or resource busy

几个月前,这种情况很少发生(每周一次或每两周一次),但现在问题更加频繁(每天 4-5 次)。为了修复它,我必须重新启动我的笔记本电脑,然后网络适配器再次开始正常工作(一段时间)。所以,问题是:我的网络适配器快要死了吗?或者是否还有其他问题(驱动程序、电源管理等)?你能在这方面帮助我吗?

相关内容