You are not logged in.

#1 2023-03-12 23:21:14

Gabachin
Member
Registered: 2022-05-06
Posts: 92

NetworkManager broken after Update

After the last Arch update, I have a problem with wifi. NetworkManager keeps asking for the passid, over and over again. The lts and zen kernel were updated, so I downgraded them one by one as well as downgrading NetworkManager, but the problem persists. I reinstalled the gnome-keyring, thinking it might by an authetication issue. No luck.

I checked the kernel driver:

Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)
	Subsystem: Dell Device 0019
	Kernel driver in use: wl
	Kernel modules: bcma, wl

I timeshifted back to the day before the update. The packages that were updated were

ca-certificates-mozilla 3.88.1-1 -> 3.89-1
dunst 1.9.0-1 -> 1.9.1-1
girara 0.3.7-1 -> 0.3.9-1
glib2 2.74.6-1 -> 2.76.0-1
haskell-aeson 2.1.2.0-1 -> 2.1.2.0-2
haskell-aeson-pretty 0.8.9-119 -> 0.8.9-120
haskell-bitvec 1.1.3.0-38 -> 1.1.3.0-39
haskell-casa-client 0.0.1-556 -> 0.0.1-558
haskell-casa-types 0.0.2-335 -> 0.0.2-337
haskell-citeproc 0.8.1-13 -> 0.8.1-15
haskell-commonmark-extensions 0.2.3.3-18 -> 0.2.3.4-1
haskell-commonmark-pandoc 0.2.1.3-10 -> 0.2.1.3-12
haskell-conduit 1.3.4.3-30 -> 1.3.4.3-32
haskell-conduit-extra 1.3.6-62 -> 1.3.6-64
haskell-cryptonite-conduit 0.2.2-557 -> 0.2.2-559
haskell-dbus 1.2.22-139 -> 1.2.22-141
haskell-digest 0.0.1.5-1 -> 0.0.1.6-1
haskell-doctemplates 0.11-9 -> 0.11-10
haskell-generically 0.1-1 -> 0.1.1-1
haskell-githash 0.1.6.3-34 -> 0.1.6.3-36
haskell-hackage-security 0.6.2.3-20 -> 0.6.2.3-21
haskell-haddock-library 1.10.0-205 -> 1.10.0-206
haskell-hi-file-parser 0.1.3.0-38 -> 0.1.3.0-39
haskell-hpack 0.35.2-12 -> 0.35.2-14
haskell-hslua 2.2.1-34 -> 2.2.1-35
haskell-hslua-aeson 2.2.1-35 -> 2.2.1-36
haskell-hslua-module-doclayout 1.0.4-84 -> 1.0.4-85
haskell-hslua-module-path 1.0.3-43 -> 1.0.3-44
haskell-hslua-module-version 1.0.3-40 -> 1.0.3-41
haskell-hslua-module-zip 1.0.0-10 -> 1.0.0-11
haskell-http 4000.4.1-85 -> 4000.4.1-87
haskell-http-conduit 2.3.8-281 -> 2.3.8-283
haskell-http-download 0.2.0.0-551 -> 0.2.0.0-553
haskell-http2 3.0.3-28 -> 3.0.3-29
haskell-ipynb 0.2-81 -> 0.2-82
haskell-libyaml 0.1.2-284 -> 0.1.2-286
haskell-monad-logger 0.3.39-10 -> 0.3.39-12
haskell-mono-traversable 1.0.15.3-115 -> 1.0.15.3-116
haskell-mustache 2.4.1-127 -> 2.4.1-129
haskell-optparse-simple 0.1.1.4-225 -> 0.1.1.4-227
haskell-pandoc 3.0.1-14 -> 3.0.1-18
haskell-pandoc-lua-engine 0.1-19 -> 0.1-23
haskell-pandoc-lua-marshal 0.2.0-9 -> 0.2.0-10
haskell-pandoc-server 0.1-20 -> 0.1-24
haskell-pandoc-types 1.23-9 -> 1.23-10
haskell-pantry 0.5.7-73 -> 0.5.7-76
haskell-path 0.9.2-106 -> 0.9.2-107
haskell-path-io 1.8.0-11 -> 1.8.0-12
haskell-persistent 2.13.3.5-34 -> 2.13.3.5-36
haskell-persistent-sqlite 2.13.1.0-43 -> 2.13.1.0-45
haskell-project-template 0.2.1.0-277 -> 0.2.1.0-279
haskell-rio 0.1.22.0-65 -> 0.1.22.0-66
haskell-rio-orphans 0.1.2.0-219 -> 0.1.2.0-221
haskell-rio-prettyprint 0.1.4.0-21 -> 0.1.4.0-23
haskell-servant 0.19.1-24 -> 0.19.1-25
haskell-servant-server 0.19.2-29 -> 0.19.2-31
haskell-simple-sendfile 0.2.30-345 -> 0.2.30-347
haskell-skylighting 0.13.2.1-8 -> 0.13.2.1-10
haskell-skylighting-core 0.13.2.1-7 -> 0.13.2.1-9
haskell-skylighting-format-ansi 0.1-42 -> 0.1-44
haskell-skylighting-format-blaze-html 0.1.1-38 -> 0.1.1-40
haskell-skylighting-format-context 0.1.0.2-7 -> 0.1.0.2-9
haskell-skylighting-format-latex 0.1-42 -> 0.1-44
haskell-tar-conduit 0.3.2-367 -> 0.3.2-369
haskell-texmath 0.12.6-7 -> 0.12.6-8
haskell-unliftio 0.2.23.0-13 -> 0.2.24.0-1
haskell-vector-algorithms 0.9.0.1-38 -> 0.9.0.1-39
haskell-wai-app-static 3.1.7.4-119 -> 3.1.7.4-121
haskell-wai-extra 3.1.13.0-56 -> 3.1.13.0-60
haskell-wai-logger 2.4.0-207 -> 2.4.0-211
haskell-warp 3.3.24-7 -> 3.3.24-9
haskell-xml-conduit 1.9.1.1-176 -> 1.9.1.1-178
haskell-yaml 0.11.11.0-2 -> 0.11.11.0-4
haskell-zip-archive 0.4.3-1 -> 0.4.3-2
hidapi 0.13.1-1 -> 0.13.1-2
iana-etc 20230105-1 -> 20230306-1
imagemagick 7.1.1.2-1 -> 7.1.1.3-1
libmanette 0.2.6-3 -> 0.2.6-4
libmfx 23.1.0-1 -> 23.1.3-2
libnm 1.42.2-1 -> 1.42.4-1
libpipewire 1:0.3.66-2 -> 1:0.3.67-1
libpulse 16.1-3 -> 16.1-4
linux 6.2.2.arch1-1 -> 6.2.5.arch1-1
linux-lts 6.1.15-1 -> 6.1.18-1
linux-zen 6.2.2.zen1-1 -> 6.2.5.zen1-1
menu-cache 1.1.0-3 -> 1.1.0-4
midori 9.0-4 -> 9.0-5
networkmanager 1.42.2-1 -> 1.42.4-1
nss 3.88.1-1 -> 3.89-1
pandoc-cli 0.1-21 -> 0.1-25
pipewire 1:0.3.66-2 -> 1:0.3.67-1
polkit-gnome 0.105-9 -> 0.105-10
pulseaudio 16.1-3 -> 16.1-4
pulseaudio-bluetooth 16.1-3 -> 16.1-4
python-trove-classifiers 2023.2.20-1 -> 2023.3.9-1
qt5-wayland 5.15.8+kde+r61-1 -> 5.15.8+kde+r63-1
shellcheck 0.9.0-28 -> 0.9.0-29
spice 0.15.1-1 -> 0.15.1-2
sqlite 3.41.0-1 -> 3.41.1-1
stack 2.7.5-251 -> 2.7.5-254
sudo 1.9.13.p2-1 -> 1.9.13.p3-1
xmobar 0.46-10 -> 0.46-12
zathura 0.5.2-1 -> 0.5.2-2

These

linux 6.2.2.arch1-1 -> 6.2.5.arch1-1
linux-lts 6.1.15-1 -> 6.1.18-1
linux-zen 6.2.2.zen1-1 -> 6.2.5.zen1-1
networkmanager 1.42.2-1 -> 1.42.4-1

seem to be the packages that are causing the problem.

On the other hand, since downgrading the kernels and networkmanager did not resolve the issue perhaps these

libmanette 0.2.6-3 -> 0.2.6-4
libmfx 23.1.0-1 -> 23.1.3-2
libnm 1.42.2-1 -> 1.42.4-1

libraries are the problem?

My laptop is an XPS 13 9343 vanilla Arch i3 WM, Kernel: 6.1.18-1-lts. But I have the same problem on my other laptop which is an XPS 13 9560 with the same setup. I can't find any information on this in the wiki, but obviously, the update broke something.

Can someone point me to a fix? I guess I could wait for the issue to be resolved downstream but I like to update weekly.

Last edited by Gabachin (2023-03-13 00:10:42)

Offline

#2 2023-03-13 00:03:07

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

Re: NetworkManager broken after Update

Yeah, ouch, I just got hit by this very same thing.

What got me back online was reverting, which resulted in 6.1.something.

best of luck.

EDIT:  Also Vanilla Arch / i3

I don't know kernel level stuff.  Would like to learn how the driver got broke in the latest kernel.

Last edited by chrisco23 (2023-03-13 00:09:35)

Offline

#3 2023-03-13 00:13:23

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

Offline

#4 2023-03-13 00:18:54

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

So it is a kernel problem? That is strange since I downgraded both the lts and zen kernels with no luck. I looked at the Arch news page and there was no information on this. But I guess it's an issue "they" are aware of. I just timeshifted my rig back a few days after the downgrading did not work. Unfortunately, I did not install timeshift on my other laptop, so I had to dd an old .img file I have on a HDD. I may just wind up wiping it and starting over. Ugh. BTW.

Offline

#5 2023-03-13 00:26:36

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

What versions did you downgrade the kernels to?  The backport of 015b8cc5e7c4d7bb671f1984d7b7338c310b185b first appeared in 6.2.3 and 6.1.16.

Offline

#6 2023-03-13 01:58:03

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

I downgraded to the last kernel I had in the pacman cache. I believe they were  linux-lts-6.1.18-1 and linux-zen-6.2.2.zen2-1. The links I saw above contain patches to the kernels? It's above my pay grade but I am willing to learn. I really don't want to hold back packages in subsequent upgrades.

Last edited by Gabachin (2023-03-13 02:02:08)

Offline

#7 2023-03-13 03:06:56

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

https://git.kernel.org/pub/scm/linux/ke … 6b0947944a is the fix for https://git.kernel.org/pub/scm/linux/ke … 8c310b185b which may be the cause of the issue affecting your system.
https://drive.google.com/file/d/1iRfoM2 … share_link linux-6.2.5.arch1-1.1-x86_64.pkg.tar.zst is the latest arch kernel with the fix already applied
https://drive.google.com/file/d/1i6urWu … share_link linux-headers-6.2.5.arch1-1.1-x86_64.pkg.tar.zst matching headers for the above if you need them.

Last edited by loqs (2023-03-13 03:07:18)

Offline

#8 2023-03-13 04:02:03

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

I suppose these fixes will be included in the next update but just for pedagogical reasons, from what I understand from the wiki, I cd into

/var/cache/pacman/pkg

and do a

sudo pacman -U --noconfirm my-package.pkg.tar.zst

. This will then be the selection

linux

in the grub menu. I have

linux-zen

and

linux-lts

installed also so I need to wait for a fix in a subsequent update to use these. Is this correct?

Last edited by Gabachin (2023-03-13 04:03:10)

Offline

#9 2023-03-13 04:09:31

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

Assuming you have all the packages required in the cache then the following would downgrade the three kernels you have installed to the last version before the issue may have been introduced

pacman -U linux-6.2.2.arch2-1-x86_64.pkg.tar.zst linux-zen-6.2.2.zen2-1-x86_64.pkg.tar.zst linux-lts-6.1.15-1-x86_64.pkg.tar.zst

Then yes after that wait for a fix or apply the fix yourself or test my kernel.

Offline

#10 2023-03-13 05:03:54

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

Using the downgrade program I was able to go back to the exact same kernels in your post. I tested your kernel and yes it works! The headers also work as far as I can tell, because the Broadcom (PITA) chip/driver requires it, so I guess if  there was a problem with it I would have wifi issues, which I do not.

Last edited by Gabachin (2023-03-13 05:32:36)

Offline

#11 2023-03-13 05:23:43

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

Gabachin wrote:

if it does not, then I can just do a pacman -U again to go back to the downgraded one?

Yes

Gabachin wrote:

I have my pacman cache set to keep 2 previous updates so the old one will still be there. Is this correct?

As you went linux-zen 6.2.2.zen1-1 -> 6.2.5.zen1-1 you skipped

linux-zen-6.2.2.zen2-1-x86_64.pkg.tar.zst
linux-zen-6.2.3.zen1-1-x86_64.pkg.tar.zst
linux-zen-6.2.3.zen2-1-x86_64.pkg.tar.zst

Having in your cache

linux-zen-6.2.2.zen1-1-x86_64.pkg.tar.zst
linux-zen-6.2.5.zen1-1-x86_64.pkg.tar.zst

Adding in linux-zen-6.2.2.zen2-1-x86_64.pkg.tar.zst gives

linux-zen-6.2.2.zen1-1-x86_64.pkg.tar.zst
linux-zen-6.2.2.zen2-1-x86_64.pkg.tar.zst
linux-zen-6.2.5.zen1-1-x86_64.pkg.tar.zst

So keeping the two most recent would include linux-zen-6.2.2.zen2-1-x86_64.pkg.tar.zst which you just downgraded to.
pacman -U does not add files to the cache unless you specify a protocol so the ones I provide will not change what is in the cache.

Offline

#12 2023-03-13 05:35:15

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

Got it. I edited my original question before I read your reply. Your kernel and headers do indeed work. Thanks for the help.

Offline

#13 2023-03-13 15:03:13

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: NetworkManager broken after Update

The fix has landed in 6.2.6 and 6.1.19.

Offline

#14 2023-03-14 02:29:34

Gabachin
Member
Registered: 2022-05-06
Posts: 92

Re: NetworkManager broken after Update

Confirm that wifi is now working with 6.1.19-1-lts. The latest update did not include version 6.2.6 for either linux or linux-zen.

Offline

Board footer

Powered by FluxBB