You are not logged in.

#1 2023-03-02 07:14:24

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

[Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

When I have linux package 6.1.12-arch1-1 installed, i see t he following:

$ uname -r
6.1.12-arch1-1
$ sudo rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked
$ sudo lscpi -k
# ... snip ...
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
# ... snip ...

However, when I upgrade to 6.2.1, rfkill shows wlan as hard blocked and lspci -k does not show the wireless adapter at all.

Is there a kernel module I need instead?

Last edited by scott_fakename (2023-03-08 06:28:58)

Offline

#2 2023-03-02 07:53:25

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

There's probably some error message in the system journal/dmesg
Also check whether the pci id shows up at all.

Online

#3 2023-03-03 05:05:56

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

I was wrong, it does still see it in lspci:

02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

I didn't see much in dmesg:

$ sudo dmesg | grep -i -C5 wifi
[   11.445313] intel_rapl_common: Found RAPL domain core
[   11.445315] intel_rapl_common: Found RAPL domain uncore
[   11.445317] intel_rapl_common: Found RAPL domain dram
[   11.445319] intel_rapl_common: Found RAPL domain psys
[   11.494556] iTCO_vendor_support: vendor-support=0
[   11.498912] Intel(R) Wireless WiFi driver for Linux
[   11.499366] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[   11.504513] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 48:2a:e3:05:53:b4
[   11.504527] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[   11.504582] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: 1000FF-0FF
[   11.550669] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=4, TCOBASE=0x0400)
[   11.560393] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   11.567510] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
[   11.581165] iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[   11.595399] usbcore: registered new interface driver btusb
[   11.598368] Bluetooth: hci0: Firmware revision 0.1 build 19 week 44 2021
[   11.624109] intel_tcc_cooling: Programmable TCC Offset detected
[   11.636858] usb 1-5: Found UVC 1.00 device Integrated Camera (04f2:b604)
[   11.651664] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input229
--
[   12.112962] elan_i2c 0-0015: Elan Touchpad: Module ID: 0x001e, Firmware: 0x0001, Sample: 0x0000, IAP: 0x0000
[   12.113071] input: Elan Touchpad as /devices/pci0000:00/0000:00:1f.4/i2c-0/0-0015/input/input230
[   12.113175] input: Elan TrackPoint as /devices/pci0000:00/0000:00:1f.4/i2c-0/0-0015/input/input231
[   12.113883] hid-generic 001F:8087:0AC2.0004: hidraw3: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on 
[   12.118142] hid-generic 001F:8087:0AC3.0005: hidraw4: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC3] on 
[   12.167375] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[   12.167556] thermal thermal_zone8: failed to read out thermal zone (-61)
[   12.174746] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[   12.230169] iwlwifi 0000:02:00.0: base HW address: 94:b8:6d:24:c4:8f, OTP minor version: 0x0
[   12.244513] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   12.316946] 8021q: 802.1Q VLAN Support v1.8
[   12.355083] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.355088] Bluetooth: BNEP filters: protocol multicast
[   12.355093] Bluetooth: BNEP socket layer initialized

It's reporting it's off, but in 6.1.12 it's on. There's no hardware switch, but there is a fn+f8 i can press but that only changes soft block in rfkill.

Offline

#4 2023-03-03 07:15:21

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Please post your complete system journal for such boot, eg.

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

if the previous boot ("-1") was on the 6.2 kernel

Sanity check: if there'S a parallel windows, see the 3rd link below.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Online

#5 2023-03-03 10:53:35

multiverse
Member
Registered: 2023-03-03
Posts: 1

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

I have the same problem. Downgrading to linux 6.1.12 makes it working again.

Here you can find my system journal when booting with kernel 6.2.1.

Last edited by multiverse (2023-03-03 10:54:43)

Offline

#6 2023-03-03 11:58:00

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Online

#7 2023-03-04 04:50:59

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

I don't see much sadly, but then again i don't really know what i'm looking for; here's the journalctl log of the 6.2.2 kernel. http://0x0.st/HzJW.txt

Offline

#8 2023-03-04 07:34:40

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

There's no carrier providing service, but you're running dhcpcd on wlan0 - are you using iwd?
https://wiki.archlinux.org/title/Iwd#Re … after_boot

Online

#9 2023-03-04 16:56:16

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

hmm, no i'm not using iwd. Also it works on 6.1 and before, but not 6.2 and up, so I'm suspecting it's more of a kernel thing. But, i just don't know how to debug that.

Offline

#10 2023-03-04 17:07:07

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

What's supposed to provide the carrier then?
Why is the wifi nic "wlan0" but the wired nic "enp0s31f6" (installing iwd would cause this, because it doesn't work w/ systemd's "predictable" interfaces because they're not)

"Kernel thing" or not, there's not even an effort being made at using the NIC.
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Online

#11 2023-03-04 19:03:37

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

I don't know what you mean by carrier but i am using netctl for setting up network connections, if that helps.

(0) 11:00:16 [scott@eris-bot ~]$ find /etc/systemd/ -type l -exec test -f {} \; -print | awk '-F/' '{ printf("%-40s | %s\n", $NF, $(NF - 1)); }' | sort -f
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dhcpcd.service                           | multi-user.target.wants
getty@tty1.service                       | getty.target.wants
nfs-client.target                        | multi-user.target.wants
nfs-client.target                        | remote-fs.target.wants
ntpd.service                             | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
wireplumber.service                      | pipewire.service.wants

Offline

#12 2023-03-04 19:18:56

loqs
Member
Registered: 2014-03-06
Posts: 18,467

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

No netctl in the list of manually enabled services.  How do you start netctl?

Offline

#13 2023-03-04 19:41:04

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Perhaps manually, but you should™ not have dhcpcd enabled in that case either.

Though w/o userspace interference, there's no good explanation for a hard rfkill hmm
Please post a journal from a boot w/ 6.1.12 for contrast.

I don't know what you mean by carrier

"wifi-cable"

Online

#14 2023-03-04 19:45:41

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

I have a script that calls it; here's a log of netctl@Home, and then a full journalctl http://0x0.st/Hzxl.txt

Offline

#15 2023-03-04 20:15:17

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

seth wrote:

Please post a journal from a boot w/ 6.1.12 for contrast.

Online

#16 2023-03-04 21:55:46

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Offline

#17 2023-03-05 08:44:33

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

The only (mildly) related thing I see is that the good boot has iwlwifi loaded before "Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch." and the bad boot afterwards.
Could be a fluke, though.
=> For a test, add iwlwifi to the initramfs modules hmm

Online

#18 2023-03-06 02:17:06

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

That time it didn't detect the chip at all hmm http://0x0.st/Hz0R.txt

rfkill showed only bluetooth, but not wlan0 or any other wireless adapter.

Last edited by scott_fakename (2023-03-07 06:17:59)

Offline

#19 2023-03-06 08:11:36

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

So let's race the other way.
Remove iwlwifi from the initramfs, https://wiki.archlinux.org/title/Kernel … probe.d/_2 it and load it explicitly somewhen later.

(You can also just try to reload the module after the boot)

Online

#20 2023-03-07 04:07:00

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

i had to blacklist cfg80211 and iwlwifi and once i loaded them, back to the same issue with rfkill showing it hard blocked.

http://0x0.st/Hzhq.txt

Last edited by scott_fakename (2023-03-07 04:08:52)

Offline

#21 2023-03-07 07:47:35

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

At this point the only explanation I've left is an actual regression in the directly related code, https://github.com/torvalds/linux/commi … 1bec41d13f might be relevant, but obviously one would expect some more instances of the problem…

Though I think we skipped

seth wrote:

Sanity check: if there's a parallel windows, see the 3rd link below.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Online

#22 2023-03-07 16:10:08

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

No, I'm single booting just arch, I've never run Linux on this machine.

> might be relevant, but obviously one would expect some more instances of the problem…

Maybe they can't get online to report it (just kidding)

Offline

#23 2023-03-07 16:28:54

seth
Member
Registered: 2012-09-03
Posts: 65,360

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Is there a BIOS/UEFI update available for the system?

Online

#24 2023-03-08 06:28:41

scott_fakename
Member
Registered: 2012-08-15
Posts: 110

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Oh, awesome, I updated the firmware using `fwupd` and now it's working!

Thank you so much for your help tracking this down!

Offline

#25 2023-03-13 14:28:30

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: [Solved] Upgrade from linux 6.1.12 to 6.2.1 breaks wifi

Can you please elaborate a bit?

I'm unable to update my XPS as it breaks my wifi.  I was fine at 6.2.2 but 6.2.5 broke things and by reverting I'm stuck somehow at 6.1.12.

Mine is Dell XPS 15 9550, and it is still set to dual boot Windows 7 but I've pretty well left that side of it alone for a few years.

Chris

:: Synchronizing package databases...
 core is up to date
 extra                1743.1 KiB  1263 KiB/s 00:01
 community               7.3 MiB  3.41 MiB/s 00:02
 multilib is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
 -> Flagged Out Of Date AUR Packages:  woeusb-ng  zrythm
:: 12 Packages to upgrade.
12  core/linux                       6.1.12.arch1-1 -> 6.2.5.arch1-1
11  core/sudo                        1.9.13.p2-1    -> 1.9.13.p3-1
10  extra/breeze-icons               5.103.0-1      -> 5.104.0-1
 9  extra/glibmm                     2.66.5-1       -> 2.66.6-1
 8  extra/kguiaddons                 5.103.0-1      -> 5.104.0-1
 7  extra/kwayland                   5.103.0-1      -> 5.104.0-1
 6  extra/kwindowsystem              5.103.0-1      -> 5.104.0-1
 5  extra/libpulse                   16.1-4         -> 16.1-5
 4  extra/zxing-cpp                  2.0.0-1        -> 2.0.0-2
 3  community/deepin-qt5integration  5.6.5-1        -> 5.6.5-2
 2  community/easyeffects            7.0.1-1        -> 7.0.1-2
 1  multilib/lib32-libpulse          16.1-4         -> 16.1-5

Offline

Board footer

Powered by FluxBB