FS#50541 - [networkmanager] 1.4 and WL Problem

Attached to Project: Arch Linux
Opened by Cihat Ertem (fincan) - Sunday, 28 August 2016, 08:57 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 31 August 2016, 09:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:After upgrade to the NM1.4, my wireless is broken and "Error @wl_cfg80211_scan : wlc_scan error (-22)" message appears in dmesg

I am back to the nm 1.2.5 and now there is no problem.

BTW there are some other WL driver users who have the same problem too.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 31 August 2016, 09:03 GMT
Reason for closing:  Fixed
Comment by Ike Devolder (BlackEagle) - Monday, 29 August 2016, 06:50 GMT
I can confirm there is some issue with plasma-nm and networkmanager 1.4 (it seems networkmanager wants to randomize the mac address of the card)
Comment by Luka Kacil (lknix) - Monday, 29 August 2016, 06:58 GMT
I can confirm it, too. I get this message with Broadcom BCM4352 (broadcom-wl-dkms v6.30.223.271-8).

Dmesg:
kern :err : [Mon Aug 29 08:47:43 2016] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
kern :err : [Mon Aug 29 08:47:43 2016] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)

NetworkManager:
NetworkManager[519]: <error> [1472453563.1127] platform-linux: do-change-link[2]: failure changing link: failure 23 (Too many open files in system)


However, it works with Ralink USB wifi dongle.
Comment by eaut (eaut) - Monday, 29 August 2016, 07:41 GMT
Same problem and message with Broadcom BCM4360 PCIe card.
Previous version works fine.
Comment by François Guerraz (kubrick) - Monday, 29 August 2016, 10:24 GMT
Fixed with https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=a3fd48545cf186a7e33aa9df8c3dd2bc016b350d

Workarounds:
use nmcli to set 802-11-wireless.mac-address-randomization to never on a per connection basis or set

[device]
wifi.scan-rand-mac-address=no

in /etc/NetworkManager/NetworkManager.conf to disable the feature completely.

This workaround works for me.
Comment by Cihat Ertem (fincan) - Monday, 29 August 2016, 10:26 GMT
thanks François Guerraz (kubrick)

I tried and it works for me too.
Comment by Kwang Moo Yi (kmyid) - Monday, 29 August 2016, 10:54 GMT
I can confirm that the workaround from François works for me as well.

Thanks!
Comment by Philipe Reis (phireis) - Monday, 29 August 2016, 12:07 GMT
I had the same problem with r8712u usb device. The workaround worked for me too.
Comment by eaut (eaut) - Monday, 29 August 2016, 21:58 GMT
fixed for me with the lastest networkmanager package 1.4.1dev+9+ga3fd485-1
Comment by Cihat Ertem (fincan) - Tuesday, 30 August 2016, 00:34 GMT
Yea it seems fixed for me too but there is still error message at the start-up and to make dissappear the error message, networkmanager.conf entry is needed.
Comment by Pavel Razuvalov (BrainWubber) - Tuesday, 30 August 2016, 12:08 GMT
Issue with the latest version of networkmanager and plasma-nm still remains. Workaround doesn't work for me. I used to downgrade to the version 1.2.5 to solve the problem.
Comment by Jan de Groot (JGC) - Wednesday, 31 August 2016, 09:02 GMT
The error message comes from the kernel driver, which is not a bug in networkmanager. The error is harmless and handled correctly in 1.4.1dev, so this bug can be closed.

@BrainWubber: your bug is not related to this report which is about randomization of MAC address, open a new one and provide logs.

Loading...