You are not logged in.

#1 2023-12-06 07:20:31

Grafcube
Member
Registered: 2021-10-18
Posts: 20

[SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

I recently updated all my packages and my kernel version went from 6.6.1 to 6.6.4. For some reason, on any kernel from 6.6.2 onwards, my laptop's internet just doesn't work. Ethernet is just not detected, WiFi doesn't connect, and there were a few other weird issues. I'm able to use it now by downgrading the linux package to 6.6.1 (yes I know partial upgrades are bad but I need to be able to use my laptop).

I'm using gnome 45 (NetworkManager) with secure boot with sbctl, systemd-boot, gdm and plymouth.

Looking at journalctl and booting without plymouth and quiet, I see NetworkManager failed with exit code and failed to start accounts service. Trying to restart the failed services just waits indefinitely.

Here's a list of everything I observed that may or may not be relevant.

  • I've had a message like "Failed to start Virtual Console Setup" show up before plymouth for a few months but now it shows the message twice. I never bothered trying to fix it before because it was just a mild annoyance but it would be helpful if anyone could tell me how to fix it.

  • Ethernet shows "Cable disconnected" and clicking the WiFi toggle does nothing.

  • There are a lot of empty pills in gnome's quick settings panel, as in the pill has no text and is just grey and unclickable.

  • Dark theme isn't respected by some applications.

  • It seems to take longer to boot

Let me know if you need any more info. Any help is greatly appreciated, I really need this laptop to work without issues. Thanks in advance.

Last edited by Grafcube (2023-12-11 09:27:36)

Offline

#2 2023-12-06 08:22:40

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Please post your complete system journal for a boot w/ a newer kernel, eg.

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

for the previous ("-1") one.

Online

#3 2023-12-06 08:36:54

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Offline

#4 2023-12-06 08:47:31

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Dec 06 13:56:54 archpad kernel: thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
…
Dec 06 13:57:00 archpad wpa_supplicant[692]: rfkill: WLAN hard blocked
Dec 06 13:57:00 archpad wpa_supplicant[692]: rfkill: WLAN hard blocked

Does "rfkill" remain in that state?
Can you alter it w/ the systems HW radio switch?
Is there a parallel windows?

Ethernet shows "Cable disconnected"

Would you expect differently? There's no hit for a carrier

ethtool enp0s31f6

Online

#5 2023-12-06 08:54:48

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

seth wrote:

Does "rfkill" remain in that state?
Can you alter it w/ the systems HW radio switch?
Is there a parallel windows?

I'm not sure what you mean. I'm not using dual boot and pressing the wifi button on my keyboard does nothing.

seth wrote:

Ethernet shows "Cable disconnected"

Would you expect differently? There's no hit for a carrier

Well my ethernet cable is plugged in right now and I've never had a problem with it before. Here's the output of `ethtool enp0s31f6` (on the older kernel).

Settings for enp0s31f6:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                     100baseT/Half 100baseT/Full
	                                     1000baseT/Full
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	MDI-X: on (auto)
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes

Last edited by Grafcube (2023-12-06 08:57:01)

Offline

#6 2023-12-06 09:00:09

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

I'm not sure what you mean.

I mean "type rfkill into a terminal and check the output state"

---
Edit: Ok, the link is clearly there.

Well my ethernet cable is plugged in right now

seth wrote:

ethtool enp0s31f6

----


And is there any NM profile for the wired connection? Resp. did you disable the NIC?

Dec 06 13:56:57 archpad NetworkManager[676]: <info>  [1701851217.3599] device (enp0s31f6): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')

https://wiki.archlinux.org/title/Networ … onnections

Post the journal for a "good" kernel for comparism…

Last edited by seth (2023-12-06 09:01:58)

Online

#7 2023-12-06 09:16:35

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Here's the journalctl for the good kernel: http://0x0.st/HxCR.txt

Here's rfkill for —

good kernel:

ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 2 wlan      phy0                unblocked   blocked
 4 bluetooth hci0                unblocked unblocked

Bad kernel —

ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 bluetooth hci0                unblocked unblocked
 2 wlan      phy0                unblocked   blocked

`nm-connection-editor` is completely empty on the bad kernel but has all my saved wifi networks on the good kernel.

Offline

#8 2023-12-06 12:35:50

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

The "good" kernel has iwlwifi crash and you connect via the wired NIC - adding "module_blacklist=iwlwifi" to the https://wiki.archlinux.org/title/Kernel_parameters will likely result in the status quote ante?
But that's oc silly:

ls -lR /etc/NetworkManager/

There should™ be some system-connections and config file(s)
Also

sudo nmcli connection

Online

#9 2023-12-06 14:13:31

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

sudo nmcli connection

This works fine on the good kernel and lists all my saved networks. On the bad kernel, it shows this after a few seconds.

Warning: nmcli (1.44.2) and NetworkManager (Unknown) versions don't match. Restarting NetworkManager is advised.
Error: NetworkManager is not running.

I've tried restarting NetworkManager before but all it does is wait indefinitely with no output.

ls -lR /etc/NetworkManager/

Here's what I get —

/etc/NetworkManager:
total 4
drwxr-xr-x 1 root root  16 May 14  2023 conf.d
drwxr-xr-x 1 root root  54 Jan  6  2023 dispatcher.d
drwxr-xr-x 1 root root   0 Dec 27  2022 dnsmasq.d
drwxr-xr-x 1 root root   0 Dec 27  2022 dnsmasq-shared.d
-rw-r--r-- 1 root root  88 Oct 15 00:23 NetworkManager.conf
drwx------ 1 root root 364 Dec  6 12:51 system-connections

/etc/NetworkManager/conf.d:
total 4
-rw-r--r-- 1 root root 16 May 14  2023 dns.conf

/etc/NetworkManager/dispatcher.d:
total 0
drwxr-xr-x 1 root root 0 Dec 27  2022 no-wait.d
drwxr-xr-x 1 root root 0 Dec 27  2022 pre-down.d
drwxr-xr-x 1 root root 0 Dec 27  2022 pre-up.d

/etc/NetworkManager/dispatcher.d/no-wait.d:
total 0

/etc/NetworkManager/dispatcher.d/pre-down.d:
total 0

/etc/NetworkManager/dispatcher.d/pre-up.d:
total 0

/etc/NetworkManager/dnsmasq.d:
total 0

/etc/NetworkManager/dnsmasq-shared.d:
total 0

Contents of NetworkManager.conf —

# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.

Contents of dns.conf

[main]
dns=none

I'm using systemd-resolved for DNS.

Offline

#10 2023-12-06 14:51:51

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Warning: nmcli (1.44.2) and NetworkManager (Unknown) versions don't match. Restarting NetworkManager is advised.
Error: NetworkManager is not running.
ps aux | grep -iE 'dbus|network' # though nothing in the journal suggest that either failed to start
echo $DBUS_SESSION_BUS_ADDRESS
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'
dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'

Online

#11 2023-12-06 15:24:24

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

ps aux | grep -iE 'dbus|network'

Bad —

dbus         600  0.6  0.0  11404  6744 ?        Ss   20:37   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root         605  0.3  0.2 213808 38784 ?        Ssl  20:37   0:00 python3 /usr/lib/python-validity/dbus-service --debug
root         625  0.1  0.1 340552 24516 ?        Dsl  20:37   0:00 /usr/bin/NetworkManager --no-daemon
username      1307  0.5  0.0  10024  6008 ?        Ss   20:37   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      1615  0.0  0.0   8988  1512 ?        S    20:37   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      1908  0.0  0.0   8552  4600 ?        S    20:37   0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0
username      1911  0.0  0.0   2748  1792 ?        S    20:37   0:00 bwrap --args 41 xdg-dbus-proxy --args=43
username      1913  0.0  0.0   2748  1920 ?        S    20:37   0:00 bwrap --args 42 xdg-dbus-proxy --args=44
username      1915  0.0  0.0   2748  1792 ?        S    20:37   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      1916  0.0  0.0 231984  7500 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=45
username      1917  0.0  0.0 231984  7504 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=44
username      1918  0.0  0.0 231984  7388 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=43
username      1941  0.0  0.0   2748  1792 ?        S    20:37   0:00 bwrap --args 48 xdg-dbus-proxy --args=50
username      1942  0.0  0.0 158120  6824 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=50
username      1946  0.0  0.0   2748  1664 ?        S    20:37   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      1950  0.0  0.0 231984  7636 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=45
username      2111  0.0  0.0   9776  2396 ?        S    20:37   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      2117  0.0  0.0   9776  2396 ?        S    20:37   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      2119  0.0  0.0   9776  2396 ?        S    20:37   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      2128  0.0  0.0      0     0 ?        Z    20:37   0:00 [dbus-daemon] <defunct>
username      2202  0.0  0.0   2748  1920 ?        S    20:37   0:00 bwrap --args 41 xdg-dbus-proxy --args=43
username      2204  0.0  0.0   2748  1664 ?        S    20:37   0:00 bwrap --args 44 xdg-dbus-proxy --args=46
username      2205  0.0  0.0 231980  7636 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=43
username      2206  0.0  0.0 231984  7508 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=46
username      2221  0.0  0.0   2748  1920 ?        S    20:37   0:00 bwrap --args 40 xdg-dbus-proxy --args=41
username      2223  0.0  0.0 158120  6872 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=41
username      2225  0.0  0.0   2748  1920 ?        S    20:37   0:00 bwrap --args 40 xdg-dbus-proxy --args=42
username      2233  0.0  0.0 158120  7244 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=42
username      2237  0.0  0.0   2748  1792 ?        S    20:37   0:00 bwrap --args 41 xdg-dbus-proxy --args=43
username      2243  0.0  0.0 231984  7504 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=43
username      2253  0.0  0.0   2748  1536 ?        S    20:37   0:00 bwrap --args 40 xdg-dbus-proxy --args=43
username      2254  0.0  0.0 231984  7508 ?        Sl   20:37   0:00 xdg-dbus-proxy --args=43
username      2929  0.0  0.0   6592  2688 pts/0    S+   20:39   0:00 grep -iE dbus|network

Good —

dbus         625  0.2  0.0  11520  7040 ?        Ss   20:42   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root         631  0.1  0.2 213808 42012 ?        Ssl  20:42   0:00 python3 /usr/lib/python-validity/dbus-service --debug
root         657  0.0  0.1 340884 25424 ?        Ssl  20:42   0:00 /usr/bin/NetworkManager --no-daemon
username      1328  0.3  0.0  10596  6392 ?        Ss   20:43   0:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
username      2037  0.0  0.0   8552  4700 ?        S    20:43   0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0
username      2042  0.0  0.0   2748  1792 ?        S    20:43   0:00 bwrap --args 49 xdg-dbus-proxy --args=51
username      2045  0.0  0.0   2748  1664 ?        S    20:43   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      2046  0.0  0.0 231984  7428 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=51
username      2047  0.0  0.0   2748  1920 ?        S    20:43   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      2048  0.0  0.0 231984  7632 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=45
username      2050  0.0  0.0 231984  7372 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=45
username      2052  0.0  0.0   2748  1664 ?        S    20:43   0:00 bwrap --args 44 xdg-dbus-proxy --args=46
username      2053  0.0  0.0   2748  1664 ?        S    20:43   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      2054  0.0  0.0 231984  7504 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=46
username      2055  0.0  0.0 231984  7504 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=45
username      2621  0.0  0.0   2748  1792 ?        S    20:43   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      2622  0.0  0.0 231984  7632 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=45
username      2632  0.0  0.0   2748  1792 ?        S    20:43   0:00 bwrap --args 40 xdg-dbus-proxy --args=43
username      2636  0.0  0.0 231984  7508 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=43
username      2646  0.0  0.0   2748  1664 ?        S    20:43   0:00 bwrap --args 41 xdg-dbus-proxy --args=43
username      2647  0.0  0.0 231984  7508 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=43
username      2818  0.6  0.7 33872280 127148 ?     Sl   20:43   0:02 /app/bin/armcord/armcord --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandbox-type=none --crashpad-handler-pid=40 --enable-crash-reporter=4083b1ff-938c-4f75-866a-55f6f561b0da,no_channel --user-data-dir=/home/username/.var/app/xyz.armcord.ArmCord/config/ArmCord --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,7141179211004075668,2389644245241533288,262144 --enable-features=UseSkiaRenderer,WebRTCPipeWireCapturer --disable-features=HardwareMediaKeyHandling,MediaSessionService,SpareRendererForSitePerProcess,WinRetrieveSuggestionsOnlyOnDemand
username      2857  0.2  0.6 33849552 109176 ?     Sl   20:43   0:00 /app/Signal/signal-desktop --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandbox-type=none --no-sandbox --enable-crash-reporter=61e4d003-8e2c-48e9-ad79-e2b03ed46df2,no_channel --user-data-dir=/home/username/.var/app/org.signal.Signal/config/Signal --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15998750198125598487,5145710960848111403,262144 --disable-features=HardwareMediaKeyHandling,SpareRendererForSitePerProcess
username      2861  0.6  0.7 33848756 123944 ?     Sl   20:43   0:02 /app/Element/element-desktop --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandbox-type=none --enable-crash-reporter=c23e701a-447c-42ac-8c3a-28dc6cd8b516,no_channel --user-data-dir=/home/username/.var/app/im.riot.Riot/config/Element --standard-schemes=vector --enable-sandbox --secure-schemes=vector --bypasscsp-schemes --cors-schemes --fetch-schemes=vector --service-worker-schemes --streaming-schemes --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5427741270104967974,9824233650706119375,262144 --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --disable-features=HardwareMediaKeyHandling,MediaSessionService,SpareRendererForSitePerProcess
username      2876  0.2  0.7 33843580 114692 ?     Sl   20:43   0:00 /app/lib/tutanota/tutanota-desktop --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandbox-type=none --enable-crash-reporter=43b37ec1-b4f8-45fd-9ee1-d8359e066a94,no_channel --user-data-dir=/home/username/.var/app/com.tutanota.Tutanota/config/tutanota-desktop --standard-schemes=asset --secure-schemes=asset --bypasscsp-schemes --cors-schemes --fetch-schemes=asset --service-worker-schemes --streaming-schemes --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,10065740433646313386,257955931155000416,262144 --disable-features=SpareRendererForSitePerProcess
username      3330  0.0  0.0   2748  1920 ?        S    20:43   0:00 bwrap --args 43 xdg-dbus-proxy --args=45
username      3331  0.0  0.0 231980  9556 ?        Sl   20:43   0:00 xdg-dbus-proxy --args=45
username      5199  0.0  0.0   6592  2560 pts/0    S+   20:49   0:00 grep -iE dbus|network

echo $DBUS_SESSION_BUS_ADDRESS

Bad —

unix:path=/run/user/1000/bus

Good —

unix:path=/run/user/1000/bus

dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'

Bad —

"org.freedesktop.DBus"
"org.freedesktop.Notifications"
"org.flameshot.Flameshot"
"org.gnome.Shell.Extensions.GSConnect.Clipboard"
"org.gnome.Mutter.DisplayConfig"
"org.freedesktop.systemd1"
"org.gnome.Mutter.IdleMonitor"
"org.gnome.SettingsDaemon.Wacom"
"org.gnome.SettingsDaemon.MediaKeys"
"org.gtk.vfs.Daemon"
"org.pulseaudio.Server"
"org.gnome.SettingsDaemon.Datetime"
"org.gnome.SettingsDaemon.PrintNotifications"
"org.gnome.SettingsDaemon.XSettings"
"org.gnome.Mutter.ScreenCast"
"org.gnome.SettingsDaemon.UsbProtection"
":1.80"
"org.gnome.SessionManager"
"org.gnome.Mutter.ServiceChannel"
":1.81"
":1.82"
":1.83"
":1.61"
":1.62"
":1.40"
"org.gnome.Lollypop.SearchProvider"
":1.85"
"org.a11y.Bus"
":1.63"
"org.gtk.vfs.UDisks2VolumeMonitor"
"org.gnome.SettingsDaemon.ScreensaverProxy"
":1.41"
":1.86"
":1.42"
"org.gnome.Mutter.RemoteDesktop"
":1.87"
"org.gnome.SettingsDaemon.Power"
":1.65"
"org.gnome.Identity"
":1.21"
"org.gnome.Shell.AudioDeviceSelection"
":1.66"
":1.44"
"org.gnome.keyring"
":1.22"
":1.89"
":1.67"
":1.45"
"org.gnome.Shell"
"org.freedesktop.Flatpak"
":1.46"
":1.24"
":1.133"
":1.47"
"org.gnome.Shell.Wacom.PadOsd"
":1.25"
":1.134"
":1.48"
":1.26"
":1.49"
"org.gnome.Shell.Screenshot"
":1.27"
":1.136"
"org.gtk.Settings"
"org.gnome.Mutter.InputCapture"
":1.28"
"ca.desrt.dconf"
"org.gtk.vfs.GPhoto2VolumeMonitor"
"org.freedesktop.portal.Documents"
":1.29"
":1.138"
"app.drey.Dialect.SearchProvider"
"org.gtk.vfs.mountpoint_2186"
"org.gnome.SettingsDaemon.Sound"
"org.freedesktop.ReserveDevice1.Audio0"
"org.gnome.SettingsDaemon.Rfkill"
"org.freedesktop.ScreenSaver"
"org.gnome.Shell.Portal"
"org.gtk.MountOperationHandler"
"org.gnome.Shell.Introspect"
"org.gnome.Mutter.InputMapping"
"org.gnome.SettingsDaemon.Smartcard"
"org.gnome.SettingsDaemon.A11ySettings"
"org.gnome.Shell.ScreenShield"
"org.gtk.vfs.GoaVolumeMonitor"
"org.gnome.SettingsDaemon.Housekeeping"
"org.gnome.SettingsDaemon.Sharing"
":1.90"
"org.gtk.Notifications"
":1.70"
"org.gnome.ScreenSaver"
"org.freedesktop.portal.IBus"
"org.freedesktop.impl.portal.desktop.gnome"
":1.72"
"org.gnome.Shell.Notifications"
":1.73"
"org.gtk.vfs.Metadata"
"org.gnome.SettingsDaemon.Color"
":1.74"
":1.30"
":1.97"
":1.53"
":1.31"
"org.gnome.SettingsDaemon.Keyboard"
":1.76"
":1.54"
"org.freedesktop.impl.portal.PermissionStore"
":1.32"
":1.55"
":1.33"
"org.gnome.keyring.SystemPrompter"
":1.78"
"org.kde.StatusNotifierWatcher"
":1.34"
":1.79"
":1.57"
":1.35"
":1.0"
"org.gnome.Shell.Extensions.GSConnect"
":1.36"
":1.14"
":1.1"
":1.37"
":1.15"
":1.2"
"org.freedesktop.secrets"
"org.gtk.vfs.MTPVolumeMonitor"
":1.38"
":1.16"
"org.freedesktop.Tracker3.Miner.Files"
"org.freedesktop.IBus.Panel.Extension.Gtk3"
":1.39"
":1.17"
":1.5"
":1.127"
"org.gnome.Software"
"org.freedesktop.IBus"
"org.gnome.Disks.NotificationMonitor"
":1.19"

Good —

"org.freedesktop.DBus"
"org.freedesktop.Notifications"
"org.flameshot.Flameshot"
"org.freedesktop.portal.Desktop"
"org.freedesktop.background.Monitor"
"org.gnome.Shell.Extensions.GSConnect.Clipboard"
"org.gnome.Mutter.DisplayConfig"
"org.freedesktop.systemd1"
"org.gnome.Mutter.IdleMonitor"
"org.gnome.evolution.dataserver.AddressBook10"
"org.gnome.SettingsDaemon.Wacom"
"org.gnome.SettingsDaemon.MediaKeys"
"org.gtk.vfs.Daemon"
"org.gnome.SettingsDaemon.Datetime"
"org.gnome.SettingsDaemon.PrintNotifications"
"org.pulseaudio.Server"
"org.gnome.SettingsDaemon.XSettings"
"org.gnome.Mutter.ScreenCast"
"org.gnome.SettingsDaemon.UsbProtection"
"org.gnome.SessionManager"
"org.gnome.Mutter.ServiceChannel"
"org.freedesktop.impl.portal.desktop.gtk"
"com.github.wwmm.easyeffects"
":1.190"
":1.60"
":1.82"
":1.61"
":1.62"
"org.gnome.evolution.dataserver.Sources5"
":1.40"
":1.170"
":1.84"
":1.63"
"org.gnome.Lollypop.SearchProvider"
"org.a11y.Bus"
":1.41"
"org.gnome.SettingsDaemon.ScreensaverProxy"
":1.85"
"org.gtk.vfs.UDisks2VolumeMonitor"
":1.64"
":1.42"
":1.172"
":1.20"
":1.86"
"org.gnome.Mutter.RemoteDesktop"
"org.gnome.Calendar"
":1.65"
"org.gnome.Shell.AudioDeviceSelection"
":1.43"
"org.gnome.SettingsDaemon.Power"
"org.gnome.Identity"
":1.21"
":1.87"
":1.66"
":1.44"
"org.gnome.keyring"
":1.174"
"org.gnome.Shell.CalendarServer"
":1.22"
":1.88"
":1.67"
":1.45"
"org.gnome.Shell"
":1.23"
":1.89"
"org.freedesktop.Flatpak"
":1.46"
":1.176"
":1.24"
":1.132"
"org.gnome.Shell.Wacom.PadOsd"
":1.133"
":1.178"
":1.26"
":1.134"
"org.gnome.Shell.Screenshot"
":1.157"
":1.27"
":1.135"
"org.gtk.Settings"
":1.28"
":1.136"
"org.gnome.Mutter.InputCapture"
":1.115"
"org.gtk.vfs.GPhoto2VolumeMonitor"
"ca.desrt.dconf"
"org.freedesktop.portal.Documents"
":1.29"
":1.137"
":1.138"
"org.gnome.SettingsDaemon.Sound"
"app.drey.Dialect.SearchProvider"
":1.139"
"org.freedesktop.ReserveDevice1.Audio0"
"org.freedesktop.ScreenSaver"
"org.gnome.SettingsDaemon.Rfkill"
"org.gnome.Shell.Portal"
"org.gtk.MountOperationHandler"
"org.gnome.Shell.Introspect"
"org.gnome.evolution.dataserver.Calendar8"
"io.gitlab.librewolf.ZGVmYXVsdC1yZWxlYXNl"
"org.gnome.Mutter.InputMapping"
"org.mpris.MediaPlayer2.GSConnect.GalaxyA145GSpotify"
"org.freedesktop.portal.Flatpak"
"org.gtk.vfs.mountpoint_2569"
"org.gnome.SettingsDaemon.Smartcard"
"org.gnome.SettingsDaemon.A11ySettings"
"org.gnome.Shell.ScreenShield"
"org.gnome.SettingsDaemon.Housekeeping"
"org.gtk.vfs.GoaVolumeMonitor"
"org.gnome.SettingsDaemon.Sharing"
"org.gtk.Notifications"
":1.90"
"org.gnome.Evolution-alarm-notify"
":1.71"
"org.gnome.ScreenSaver"
"org.gnome.OnlineAccounts"
"org.freedesktop.portal.IBus"
":1.93"
"org.freedesktop.impl.portal.desktop.gnome"
":1.72"
"org.gnome.Shell.Notifications"
":1.50"
":1.73"
":1.74"
"org.gnome.SettingsDaemon.Color"
"org.gtk.vfs.Metadata"
":1.52"
":1.160"
":1.30"
":1.183"
":1.75"
":1.53"
":1.161"
":1.31"
":1.97"
":1.76"
"org.gnome.SettingsDaemon.Keyboard"
":1.54"
":1.32"
"org.freedesktop.impl.portal.PermissionStore"
":1.98"
":1.77"
":1.55"
"org.gnome.keyring.SystemPrompter"
":1.33"
":1.141"
":1.99"
"org.kde.StatusNotifierWatcher"
":1.56"
":1.164"
":1.34"
":1.142"
":1.35"
":1.0"
":1.100"
"org.gnome.Shell.Extensions.GSConnect"
":1.58"
":1.36"
":1.14"
":1.1"
"org.freedesktop.secrets"
":1.59"
":1.37"
":1.145"
":1.15"
":1.2"
":1.38"
"org.gtk.vfs.MTPVolumeMonitor"
":1.16"
"org.freedesktop.IBus.Panel.Extension.Gtk3"
"org.freedesktop.Tracker3.Miner.Files"
":1.39"
":1.17"
":1.126"
":1.104"
":1.148"
":1.5"
":1.105"
"org.gnome.Disks.NotificationMonitor"
":1.149"
"org.freedesktop.IBus"
"org.gnome.Software"
":1.19"

dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'

Bad —

"org.freedesktop.DBus"
"org.freedesktop.timesync1"
":1.108"
":1.9"
"org.freedesktop.systemd1"
"org.freedesktop.NetworkManager"
"net.reactivated.Fprint"
"net.hadess.PowerProfiles"
"org.freedesktop.resolve1"
"org.freedesktop.Accounts"
":1.80"
":1.82"
":1.83"
":1.61"
":1.84"
":1.62"
":1.85"
":1.63"
":1.64"
"org.ude.jacklistener"
"org.freedesktop.PolicyKit1"
":1.87"
":1.65"
"org.bluez"
":1.88"
":1.89"
":1.67"
":1.110"
":1.24"
":1.69"
":1.47"
":1.48"
":1.113"
":1.28"
"org.gnome.DisplayManager"
"org.freedesktop.UDisks2"
":1.90"
"fi.w1.wpa_supplicant1"
":1.91"
":1.92"
":1.70"
"org.freedesktop.login1"
":1.93"
"org.freedesktop.ColorManager"
":1.73"
":1.74"
":1.97"
":1.98"
":1.76"
":1.54"
":1.10"
":1.77"
":1.11"
":1.78"
":1.56"
"org.freedesktop.UPower"
":1.12"
":1.0"
":1.13"
":1.1"
":1.14"
":1.2"
":1.15"
":1.3"
":1.4"
":1.5"

Good —

"org.freedesktop.DBus"
":1.128"
":1.106"
":1.129"
"org.freedesktop.timesync1"
":1.9"
":1.109"
"org.freedesktop.systemd1"
"org.freedesktop.NetworkManager"
"net.reactivated.Fprint"
"net.hadess.PowerProfiles"
"org.freedesktop.resolve1"
"org.freedesktop.RealtimeKit1"
"org.freedesktop.Accounts"
":1.80"
":1.82"
":1.83"
":1.84"
":1.85"
":1.86"
":1.64"
"org.ude.jacklistener"
"org.freedesktop.PolicyKit1"
":1.87"
":1.65"
"org.bluez"
":1.130"
":1.88"
":1.66"
":1.131"
":1.89"
":1.67"
":1.68"
":1.24"
":1.133"
":1.111"
":1.112"
":1.48"
":1.49"
"org.freedesktop.Passim"
":1.118"
"org.gnome.DisplayManager"
"org.freedesktop.Avahi"
"org.freedesktop.UDisks2"
":1.90"
"fi.w1.wpa_supplicant1"
"org.freedesktop.fwupd"
":1.92"
":1.70"
"org.freedesktop.GeoClue2"
"org.freedesktop.login1"
":1.93"
":1.94"
":1.72"
":1.50"
"org.freedesktop.ColorManager"
":1.95"
":1.73"
":1.96"
":1.30"
":1.97"
":1.75"
":1.10"
":1.99"
":1.11"
"org.freedesktop.UPower"
":1.12"
":1.143"
":1.79"
":1.57"
":1.0"
":1.13"
":1.100"
":1.1"
":1.14"
":1.123"
":1.101"
":1.59"
":1.2"
":1.15"
":1.124"
":1.3"
":1.103"
":1.4"
":1.5"
":1.127"
":1.105"

Offline

#12 2023-12-06 15:36:14

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

The big red flag is the second session bus on the "bad" boot - it doesn't show up in the jorunal though, nor any reason why you'd get a second bus.

Did you try whether simply blacklisting iwlwifi "helps" (just so we're not chasing a wild goose here)

Online

#13 2023-12-06 15:51:35

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Blacklisting iwlwifi makes the ethernet work on the "bad" kernel and it doesn't seem to take too long to boot. Unfortunately it's not 100% fixed. Now gnome settings says "No Wi-Fi adapter found" but `sudo nmcli connection` shows my saved networks correctly. It still shows "Failed to start Virtual Console Setup" on boot though.

Offline

#14 2023-12-06 19:29:47

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

systemctl status systemd-vconsole-setup.service

though w/

Dec 06 13:56:48 archlinux systemd-vconsole-setup[136]: /usr/bin/loadkeys failed with exit status 1.

I guess there's some bogus entry in /etc/vconsole.conf?

That should be unrelated to the iwlwifi/NM issue, though.
The gnome settings message would be correct and expectable (you blacklisted the wifi chip)

1. what are the contents of /etc/NetworkManager/system-connections
2. what if you remove all your wifi connection profiles (or at least move them out of sight)?

Online

#15 2023-12-07 07:31:11

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

seth wrote:

1. what are the contents of /etc/NetworkManager/system-connections

It has all my saved networks.

seth wrote:

2. what if you remove all your wifi connection profiles (or at least move them out of sight)?

I removed iwlwifi from the blacklist and tried clearing the directory but it didn't do anything differently. I selected my WiFi and entered the password but it just showed the spinner indefinitely. Connecting my ethernet after that didn't work and also completely disabled WiFi even if I disconnected the cable (the WiFi toggle did nothing).

Offline

#16 2023-12-07 08:07:45

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Did you get any kernel/iwlwifi/networkmanager errrors for trying to connect to the wifi AP?

To isolate whether the problem is the kernel or NM, install netctl, disable networkmanager, reboot and try to connect w/ wifi-menu (or a wired netctl profile or just run dhcpcd)

Online

#17 2023-12-07 09:02:33

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

These are the only NetworkManager related errors I could find

Dec 07 12:52:18 archpad systemd[1]: NetworkManager-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 12:52:18 archpad systemd[1]: NetworkManager-wait-online.service: Failed with result 'exit-code'.
Dec 07 12:52:18 archpad systemd[1]: Failed to start Network Manager Wait Online.
[...]
Dec 07 12:55:08 archpad systemd[1]: NetworkManager.service: State 'final-sigterm' timed out. Killing.
Dec 07 12:55:08 archpad systemd[1]: NetworkManager.service: Killing process 4753 (NetworkManager) with signal SIGKILL.
[...]
Dec 07 12:55:18 archpad systemd[1]: NetworkManager.service: Processes still around after final SIGKILL. Entering failed mode.
Dec 07 12:55:18 archpad systemd[1]: NetworkManager.service: Failed with result 'timeout'.
Dec 07 12:55:18 archpad systemd[1]: NetworkManager.service: Unit process 4753 (NetworkManager) remains running after unit stopped.
Dec 07 12:55:18 archpad systemd[1]: Stopped Network Manager.
Dec 07 12:55:18 archpad systemd[1]: NetworkManager.service: Found left-over process 4753 (NetworkManager) in control group while star>
Dec 07 12:55:18 archpad systemd[1]: NetworkManager.service: This usually indicates unclean termination of a previous run, or service >
Dec 07 12:55:18 archpad systemd[1]: Starting Network Manager...

Ethernet works fine with netctl without blacklist iwlwifi but I couldn't get WiFi to work. It's possible that my netctl profile config is wrong for wireless but I'm not sure. Either way, disabling NetworkManager fixes all the other issues like the slow boot and weird dark theme issues. The culprit is almost definitely NM but I don't want to switch to something else because I want to be able to configure my network through gnome settings.

Just for reference, here's my netctl wireless-wpa profile.

Description='A simple WPA encrypted wireless connection'
Interface=wlp6s0
Connection=wireless

Security=wpa
IP=dhcp

ESSID='REDACTED'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='REDACTED'
# Uncomment this if your ssid is hidden
#Hidden=yes
# Set a priority for automatic profile selection
#Priority=10

Offline

#18 2023-12-07 14:45:29

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

It's possible that my netctl profile config is wrong for wireless but I'm not sure.

Did you generate it w/ wifi-menu?
What is the profile status and do you get any journal messages when attempting to access to the AP w/ wifi-menu?

When removing all WiFi profiles from NM, do you get a wired connection (and does the system otherwise behave as expected)?

Online

#19 2023-12-08 04:26:23

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Nevermind that was my mistake. I generated the WiFi profile with wifi-menu and everything worked correctly with netctl (both ethernet and WiFi).

I also tried booting the bad kernel with NM (and netctl) disabled and manually starting the service after login. Doing that causes the command to just wait indefinitely and I didn't see anything relevant in the journal.

Offline

#20 2023-12-08 08:51:59

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

So status quo is that the "bad" kernel works w/ netctl on all NICs but NM remains broken (even after removing all profiles) unless iwlwifi is blacklisted on the "bad" kernel?

1. same w/ a fresh user profile (to get some misconfiguration out of the way)
2. try to disable https://wiki.archlinux.org/title/Networ … domization

Online

#21 2023-12-08 09:01:20

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

seth wrote:

1. same w/ a fresh user profile (to get some misconfiguration out of the way)
2. try to disable https://wiki.archlinux.org/title/Networ … domization

Neither of these did anything.

Offline

#22 2023-12-08 14:50:50

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

If you boot w/ NM disabled, what's the state of "rfkill" before and after enabling/starting NM?
Edit:

Doing that causes the command to just wait indefinitely and I didn't see anything relevant in the journal.

and certainly post the journal tail for that as well.

Last edited by seth (2023-12-08 14:51:37)

Online

#23 2023-12-09 04:31:09

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Here's rfkill with NM disabled both before and after I manually start the service on the bad kernel.

ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 wlan      phy0                unblocked   blocked
 2 bluetooth hci0                unblocked unblocked

Here's the journal: http://0x0.st/H3uM.txt

Offline

#24 2023-12-09 08:09:09

seth
Member
Registered: 2012-09-03
Posts: 51,709

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

So phy0 remains hard-blocked, are you sure you can establish a wifi connection w/ netctl and what does the rfkill state look afterwards (also "ip a")?

Do you have a hardware radio switch on the notebook?
Fn+F5?

No journal so far has shown the wifi chip to function at all.
Try to use it from some live distro (grml, ubuntu, …) to see whether the HW is maybe fused.

Online

#25 2023-12-09 08:39:32

Grafcube
Member
Registered: 2021-10-18
Posts: 20

Re: [SOLVED] Network doesn't work on ThinkPad L480 on kernel 6.6.2 and up

Ah that was my mistake. The ethernet cable was plugged in most of the time and I forgot to unplug it and test. rfkill shows evertything to be unblocked when I unplug the cable.

I tested this time with NM disabled. When I boot with ethernet unplugged and start the service, WiFi actually connects successfully and actually works. But when I plug in the ethernet cable the network immediately dies and I see this icon in the top bar. Neither ethernet nor WiFi work at this point until I restart. The settings page says NetworkManager is not running even though systemd says it's active.

GNOME top bar wifi icon

The journal actually seems to contain some relevant information this time: http://0x0.st/H3S7.txt

Offline

Board footer

Powered by FluxBB