You are not logged in.

#1 2024-04-13 11:27:17

laster_alex
Member
Registered: 2024-04-13
Posts: 3

Wifi + bluetooth broke after dual drive booting windows

Hello. I have Lenovo Legion pro 5, and i decided to dual boot it with pre-installed windows 11

I disconnected windows drive and proceeded to install luks encrypted drive arch on a separate m2 ssd, and it was working perfectly fine, bluetooth and wifi
Then i connected back windows ssd, and at first it was ok, but then wifi stopped working on both systems, windows tried to "scan" and "fix" some volume (probably the linux one), and half the time i opened arch it froze and rebooted even before going to the desktop.
Both systems said that the only option to connect to wifi is ethernet

I unplugged the windows m2, maybe it was the culprit, and yes, it fixed wifi... For a bit
After idling for a night it broke again.
Surprisingly, the external usb wifi adapter works just fine, and i am able to connect to a network.

lspci -k shows only ethernet:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14d8
        Subsystem: Lenovo Device 3801
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14d9
        Subsystem: Lenovo Device 3802
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:03.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:03.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 14dd
        Kernel driver in use: pcieport
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 14dd
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
        Subsystem: Lenovo Device 388a
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: Lenovo Device 3868
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e7
01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
        Subsystem: Lenovo Device 3c55
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 22bd (rev a1)
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
        Subsystem: Samsung Electronics Co Ltd SSD 980 PRO
        Kernel driver in use: nvme
        Kernel modules: nvme
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Lenovo Device 3954
        Kernel driver in use: r8169
        Kernel modules: r8169
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev da)
        Subsystem: Lenovo Device 3c55
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
        Subsystem: Lenovo Device 382b
        Kernel driver in use: ccp
        Kernel modules: ccp
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b6
        Subsystem: Lenovo Device 3828
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b7
        Subsystem: Lenovo Device 3829
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 62)
        Subsystem: Lenovo Device 3873
        Kernel driver in use: snd_rpl_pci_acp6x
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Lenovo Device 386f
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
08:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
        Subsystem: Lenovo Device 382a
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

rfkill shows only some ideapad that i dont know what does, but it certainly doesn't give internet
(without usb wifi adapter)

ID TYPE      DEVICE                 SOFT      HARD
 0 wlan      ideapad_wlan      unblocked unblocked
 1 bluetooth ideapad_bluetooth unblocked unblocked
 2 bluetooth hci0              unblocked unblocked

firmware for realtek wifi 8188 exists (?) in the folder /lib/firmware/rtlwifi:

/lib/firmware/rtlwifi/rtl8188fufw.bin.zst
/lib/firmware/rtlwifi/rtl8188eufw.bin.zst
/lib/firmware/rtlwifi/rtl8188efw.bin.zst

but it doesn't load, this is sudo dmesg | grep firmware:

[   13.930998] [drm] Loading DMUB firmware via PSP: version=0x05000F00
[   13.931350] [drm] Found VCN firmware Version ENC: 1.30 DEC: 3 VEP: 0 Revision: 4
[   13.931355] amdgpu 0000:07:00.0: amdgpu: Will use PSP to load VCN firmware
[ 1030.283940] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

sudo dmesg | grep error -A 15 -B 150 after plugging in the wifi adapter shows this:

[   14.029387] [drm] Display Core v3.2.266 initialized on DCN 3.1.5
[   14.029388] [drm] DP-HDMI FRL PCON supported
[   14.030015] [drm] DMUB hardware initialized: version=0x05000F00
[   14.148152] [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x3a su_y_granularity 4
[   14.149059] [drm] kiq ring mec 2 pipe 1 q 0
[   14.150954] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[   14.150978] [drm] JPEG decode initialized successfully.
[   14.178398] amdgpu: HMM registered 512MB device memory
[   14.179196] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[   14.179205] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[   14.179718] amdgpu: Virtual CRAT table created for GPU
[   14.179815] amdgpu: Topology: Add dGPU node [0x164e:0x1002]
[   14.179816] kfd kfd: amdgpu: added device 1002:164e
[   14.179824] amdgpu 0000:07:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 2, active_cu_number 2
[   14.179827] amdgpu 0000:07:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[   14.179828] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   14.179829] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   14.179830] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   14.179831] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   14.179832] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   14.179833] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   14.179834] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   14.179835] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   14.179836] amdgpu 0000:07:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[   14.179837] amdgpu 0000:07:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[   14.179838] amdgpu 0000:07:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[   14.179838] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[   14.179839] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[   14.179840] amdgpu 0000:07:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[   14.180998] [drm] Initialized amdgpu 3.57.0 20150101 for 0000:07:00.0 on minor 1
[   14.185502] fbcon: amdgpudrmfb (fb0) is primary device
[   14.185638] [drm] DSC precompute is not needed.
[   14.437563] ------------[ cut here ]------------
[   14.437564] WARNING: CPU: 13 PID: 668 at drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dcn20/dcn20_dsc.c:272 dsc2_disable+0x10a/0x190 [amdgpu]
[   14.437831] Modules linked in: snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir intel_rapl_msr snd_sof_amd_acp amdgpu(+) mousedev intel_rapl_common snd_sof_pci bnep snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof snd_hda_codec_generic snd_sof_utils snd_hda_codec_hdmi snd_soc_core snd_hda_intel snd_compress ac97_bus snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_pci_ps amdxcp btusb snd_hda_codec snd_rpl_pci_acp6x drm_exec btrtl gpu_sched snd_acp_pci uvcvideo btintel drm_buddy snd_hda_core snd_acp_legacy_common kvm_amd snd_pci_acp6x i2c_algo_bit snd_hwdep btbcm videobuf2_vmalloc hid_multitouch drm_suballoc_helper uvc videobuf2_memops drm_ttm_helper snd_pcm btmtk snd_pci_acp5x videobuf2_v4l2 kvm r8169 ttm snd_timer snd_rn_pci_acp3x ucsi_acpi videodev bluetooth snd_acp_config vfat realtek drm_display_helper snd snd_soc_acpi typec_ucsi ideapad_laptop videobuf2_common sp5100_tco mdio_devres fat irqbypass mc rapl wdat_wdt pcspkr platform_profile typec wmi_bmof ecdh_generic k10temp
[   14.437870]  sparse_keymap i2c_piix4 snd_pci_acp3x cec libphy soundcore roles rfkill joydev i2c_hid_acpi i2c_hid mac_hid i2c_dev crypto_user fuse loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel nvme crypto_simd cryptd nvme_core xhci_pci ccp xhci_pci_renesas nvme_auth serio_raw atkbd libps2 vivaldi_fmap i8042 serio nvidia_drm(POE) nvidia_uvm(POE) nvidia_modeset(POE) video wmi nvidia(POE)
[   14.437901] CPU: 13 PID: 668 Comm: (udev-worker) Tainted: P           OE      6.8.5-arch1-1 #1 5f12b795066ab8d27a5fe9971245067df4fb99ed
[   14.437903] Hardware name: LENOVO 82WM/LNVNB161216, BIOS LPCN44WW 06/28/2023
[   14.437904] RIP: 0010:dsc2_disable+0x10a/0x190 [amdgpu]
[   14.438082] Code: 4c 24 0c 44 8b 43 10 48 8b 40 10 48 8b 30 48 85 f6 74 04 48 8b 76 08 48 c7 c1 48 ed fe c5 ba 08 00 00 00 31 ff e8 36 fd f8 e1 <0f> 0b 48 8b 53 20 48 8b 43 28 45 31 c9 48 8b 7b 08 0f b6 8a b4 00
[   14.438083] RSP: 0018:ffffb5cd070a7168 EFLAGS: 00010246
[   14.438084] RAX: 0000000000000000 RBX: ffff8b02208d6400 RCX: ffffffffc5feed48
[   14.438085] RDX: 0000000000000008 RSI: ffff8b02027c50c0 RDI: 0000000000000000
[   14.438086] RBP: ffff8b02163802d8 R08: 0000000000000000 R09: 0000000000000000
[   14.438086] R10: 0000000000000001 R11: 0000000000000100 R12: ffff8b020b126200
[   14.438087] R13: ffff8b02095de800 R14: ffff8b020b48b800 R15: 0000000000000001
[   14.438088] FS:  00007894c940f540(0000) GS:ffff8b093d740000(0000) knlGS:0000000000000000
[   14.438089] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.438089] CR2: 00007894c774941d CR3: 0000000116c96000 CR4: 0000000000f50ef0
[   14.438090] PKRU: 55555554
[   14.438091] Call Trace:
[   14.438093]  <TASK>
[   14.438094]  ? dsc2_disable+0x10a/0x190 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.438256]  ? __warn+0x81/0x130
[   14.438262]  ? dsc2_disable+0x10a/0x190 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.438425]  ? report_bug+0x171/0x1a0
[   14.438429]  ? handle_bug+0x3c/0x80
[   14.438431]  ? exc_invalid_op+0x17/0x70
[   14.438433]  ? asm_exc_invalid_op+0x1a/0x20
[   14.438437]  ? dsc2_disable+0x10a/0x190 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.438594]  ? dsc2_disable+0x10a/0x190 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.438755]  link_set_dsc_on_stream+0x409/0x480 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.438928]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.438930]  ? dm_helpers_dp_write_dsc_enable+0x28b/0x700 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439112]  link_set_dsc_enable+0x83/0x90 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439286]  link_set_dpms_off+0x19c/0x730 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439449]  ? dmub_srv_get_fw_boot_status+0x2a/0x50 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439616]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.439618]  ? dc_dmub_srv_is_restore_required+0x40/0xa0 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439778]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.439780]  ? dm_read_reg_func+0x38/0xb0 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.439954]  dc_commit_state_no_check+0xa51/0xdd0 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.440123]  dc_commit_streams+0x250/0x3b0 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.440288]  amdgpu_dm_atomic_commit_tail+0x414/0x3e30 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.440466]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440468]  ? psi_task_switch+0xd6/0x230
[   14.440471]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440472]  ? finish_task_switch.isra.0+0x94/0x2f0
[   14.440475]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440479]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440480]  ? schedule+0x32/0xd0
[   14.440482]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440483]  ? schedule_timeout+0x151/0x160
[   14.440485]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440487]  ? dma_fence_default_wait+0x92/0x290
[   14.440490]  ? __pfx_dma_fence_default_wait_cb+0x10/0x10
[   14.440492]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440494]  commit_tail+0x91/0x130
[   14.440498]  drm_atomic_helper_commit+0x11a/0x140
[   14.440499]  drm_atomic_commit+0x97/0xd0
[   14.440502]  ? __pfx___drm_printfn_info+0x10/0x10
[   14.440505]  drm_client_modeset_commit_atomic+0x203/0x250
[   14.440509]  drm_client_modeset_commit_locked+0x5a/0x160
[   14.440511]  drm_client_modeset_commit+0x25/0x40
[   14.440512]  __drm_fb_helper_restore_fbdev_mode_unlocked+0x85/0xd0
[   14.440515]  drm_fb_helper_set_par+0x2f/0x40
[   14.440517]  fbcon_init+0x29c/0x660
[   14.440521]  visual_init+0xc9/0x120
[   14.440523]  do_bind_con_driver.isra.0+0x19d/0x3c0
[   14.440526]  do_take_over_console+0x14c/0x190
[   14.440528]  do_fbcon_takeover+0x5a/0xc0
[   14.440530]  fbcon_fb_registered+0x4d/0x70
[   14.440532]  register_framebuffer+0x1b8/0x270
[   14.440535]  __drm_fb_helper_initial_config_and_unlock+0x341/0x570
[   14.440538]  drm_fbdev_generic_client_hotplug+0x66/0xc0
[   14.440540]  drm_client_register+0x6e/0xb0
[   14.440542]  amdgpu_pci_probe+0x486/0x510 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.440672]  local_pci_probe+0x42/0xa0
[   14.440675]  pci_device_probe+0xc1/0x260
[   14.440678]  ? sysfs_do_create_link_sd+0x6e/0xe0
[   14.440681]  really_probe+0x19b/0x3e0
[   14.440684]  ? __pfx___driver_attach+0x10/0x10
[   14.440685]  __driver_probe_device+0x78/0x160
[   14.440686]  driver_probe_device+0x1f/0x90
[   14.440688]  __driver_attach+0xd2/0x1c0
[   14.440690]  bus_for_each_dev+0x85/0xd0
[   14.440691]  bus_add_driver+0x116/0x220
[   14.440693]  driver_register+0x59/0x100
[   14.440696]  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu 1f02af30b76faa43e533bdf4ba07bf7ac74a55c7]
[   14.440830]  do_one_initcall+0x58/0x320
[   14.440834]  do_init_module+0x60/0x240
[   14.440837]  init_module_from_file+0x89/0xe0
[   14.440841]  idempotent_init_module+0x120/0x2b0
[   14.440844]  __x64_sys_finit_module+0x5e/0xb0
[   14.440845]  do_syscall_64+0x83/0x170
[   14.440847]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440849]  ? do_syscall_64+0x90/0x170
[   14.440850]  ? srso_alias_return_thunk+0x5/0xfbef5
[   14.440852]  entry_SYSCALL_64_after_hwframe+0x78/0x80
[   14.440854] RIP: 0033:0x7894c8f2488d
[   14.440878] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 73 14 0d 00 f7 d8 64 89 01 48
[   14.440878] RSP: 002b:00007ffd87a26318 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   14.440880] RAX: ffffffffffffffda RBX: 00005b9231ea5d50 RCX: 00007894c8f2488d
[   14.440880] RDX: 0000000000000004 RSI: 00007894c94d6376 RDI: 0000000000000044
[   14.440881] RBP: 00007894c94d6376 R08: 0000000000000001 R09: fffffffffffffe88
[   14.440882] R10: 0000000000000050 R11: 0000000000000246 R12: 0000000000020000
[   14.440882] R13: 00005b9231ec4400 R14: 0000000000000000 R15: 00005b9231eb2af0
[   14.440885]  </TASK>
[   14.440886] ---[ end trace 0000000000000000 ]---
[   14.847282] Bluetooth: hci0: command 0xfc61 tx timeout
[   14.847293] Bluetooth: hci0: RTL: Failed to generate devcoredump
[   14.847310] Bluetooth: hci0: RTL: RTL: Read reg16 failed (-110)
[   15.220482] Console: switching to colour frame buffer device 160x50
[   15.226840] amdgpu 0000:07:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[   20.649479] systemd-journald[566]: /var/log/journal/b6252b5f2915416b968e2e8c07232d32/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[  620.768139] INFO: NMI handler (perf_event_nmi_handler) took too long to run: 23.286 msecs
[  620.827223] perf: interrupt took too long (181986 > 2500), lowering kernel.perf_event_max_sample_rate to 900
[  620.977015] nvidia 0000:01:00.0: Enabling HDA controller
[  939.256994] nvidia 0000:01:00.0: Enabling HDA controller
[  939.386931] usb 3-2.2: new full-speed USB device number 4 using xhci_hcd
[  940.336952] usb 3-2.2: device descriptor read/64, error -32
[  940.537033] usb 3-2.2: Device not responding to setup address.
[  940.747000] usb 3-2.2: Device not responding to setup address.
[  940.953597] usb 3-2.2: device not accepting address 4, error -71
[  940.953722] usb 3-2.2: WARN: invalid context state for evaluate context command.
[  979.823686] nvidia 0000:01:00.0: Enabling HDA controller
[ 1030.017247] usb 3-1: new high-speed USB device number 6 using xhci_hcd
[ 1030.159718] usb 3-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1030.159726] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1030.159727] usb 3-1: Product: 802.11ac NIC
[ 1030.159729] usb 3-1: Manufacturer: Realtek
[ 1030.159730] usb 3-1: SerialNumber: 123456
[ 1030.283384] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1030.283571] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1030.283691] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 1030.283940] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1030.283943] cfg80211: failed to load regulatory.db
[ 1030.349098] rtw_8821cu 3-1:1.0: Firmware version 24.11.0, H2C version 12
[ 1031.427168] usbcore: registered new interface driver rtw_8821cu
[ 1031.430917] rtw_8821cu 3-1:1.0 wlp7s0f4u1: renamed from wlan0
[ 1046.512640] wlp7s0f4u1: authenticate with dc:2c:6e:f8:db:54 (local address=1c:bf:ce:7f:29:71)
[ 1046.644973] wlp7s0f4u1: send auth to dc:2c:6e:f8:db:54 (try 1/3)
[ 1046.665799] wlp7s0f4u1: authenticated
[ 1046.670262] wlp7s0f4u1: associate with dc:2c:6e:f8:db:54 (try 1/3)
[ 1046.679130] wlp7s0f4u1: RX AssocResp from dc:2c:6e:f8:db:54 (capab=0x431 status=0 aid=9)
[ 1046.715726] wlp7s0f4u1: associated
[ 1582.963709] nvidia 0000:01:00.0: Enabling HDA controller
[ 1608.970640] nvidia 0000:01:00.0: Enabling HDA controller

KDE says "no adapters available" about bluetooth and bluetoothctl list returns nothing

I even tried launching back the live cd, but it, too, did not see anything related to wifi without usb adapter

What can i do? Do i have to use adapters only? Is wifi card broken?
If i need to provide more information - i will be happy to do so. Thanks in advance.

Offline

#2 2024-04-13 12:56:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: Wifi + bluetooth broke after dual drive booting windows

Boot Windows again and make sure fast boot is disabled. Hibernating HW states is the nr 1 cause for issues here https://wiki.archlinux.org/title/Dual_b … ibernation

And no, physical presence of the Windows disk doesn't matter, your hardware got configured to expect a certain state

Also because lol lenovo, while on Windows, check its lenovo vanguard software and make sure airplane mode is not enabled

Last edited by V1del (2024-04-13 12:58:08)

Offline

#3 2024-04-13 15:45:33

laster_alex
Member
Registered: 2024-04-13
Posts: 3

Re: Wifi + bluetooth broke after dual drive booting windows

Thanks a lot! I hooked up windows back and disabled fast boot, and it worked

Although i realized, that specifically restarting the system while on windows (not shutting down and powering on, but restarting) doesn't let arch start, it crashes after i enter disk passphrase
It probably makes sense, because it is rebooting the system, and it expects to reboot to the same OS

The vanguard wasn't the problem, when i hooked up windows the wifi worked immediately for some reason

Is there a setting in arch or linux i can change to fix it? I tried to add windows to grub, instead of going to boot menu every time, and made linux the default drive in bios, thinking that windows bootloader may be breaking something, but it still has the same problem.
I also tried searching, but couldn't find anything

Thanks once again for all the help, it works now (aside from restarting)!

Offline

#4 2024-04-14 10:45:18

laster_alex
Member
Registered: 2024-04-13
Posts: 3

Re: Wifi + bluetooth broke after dual drive booting windows

Ok, i was wrong
After a lot of digging i concluded that hibernation wasn't the full problem, after all of this the sleep is what made it lose connection, not only hibernation
Cold reset helped with it, but only until it went to sleep again

journalctl showed me some errors which i have not seen before:

<error> [1713088570.9559] device (wlp4s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume+0x0/0x1b0 [cfg80211] returns -110
Apr 14 12:56:10 Arch-Laster kernel: ieee80211 phy0: PM: failed to resume async: error -110
phy0: PM: failed to resume async: error -110

I stumbled upon this https://forums.debian.net/viewtopic.php?t=151625 after a lot of error googling
For anyone with the same problem, it could be that wpa_supplicant is masked, and you need to run

sudo systemctl unmask wpa_supplicant.service

I will edit this post if this breaks, but now it's working fine.

Edit: No, it didn't work fully, i thought it was irrelevant, because it worked even after i deleted it, but after a reboot it broke once again
So, it also needs this fix: https://bugs.launchpad.net/ubuntu/+sour … ug/2017277

sudo vim /usr/lib/modprobe.d/70-rtw89.conf

And you need to insert

options rtw89_pci disable_clkreq=y disable_aspm_l1=y disable_aspm_l1ss=y

Into it, then you need to cold reboot (shutdown and power on) the system (just in case)

Right now it does seem to be working fine, i tested sleep after a cold reboot, after a restart, and it all finally works

Last edited by laster_alex (2024-04-14 11:17:39)

Offline

Board footer

Powered by FluxBB