[solved] Please help with BCM4352 wi-fi in Mageia 8

[solved] Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 25th, '21, 06:50

Please help me set up wi-fi with a Broadcom BCM4352 802.11ac Wireless Network Adapter, on a Dell XPS 13 bought in 2015, which has had Mageia 5, 6, and 7 successfully installed. But I can't get wi-fi in Mageia 8. Does this mean the kernel no longer supports this old wi-fi adapter -- time for a new laptop? or have I missed something?

This isn't urgent since I don't use the laptop very often. I was testing the Mageia 8 install (at last, too busy with work for the last few months) before I finally install Mageia 8 on my main home system, which has permanent ethernet so wi-fi is less important. But I hope to fix this before I next need to take the laptop away from its cable connection to the home router.

Here's the information the Doktor asks for. I use KDE with net_applet.

Code: Select all
# inxi -n
Network:   Device-1: Broadcom BCM4352 802.11ac Wireless Network Adapter driver: N/A
           IF-ID-1: enp0s20u1u1i5 state: up speed: N/A duplex: N/A mac: 9c:eb:e8:1f:0e:ef


Code: Select all
lspcidrake -v | grep -i -e net -e wireless -e wifi
unknown         : Broadcom Inc. and subsidiaries|BCM4352 802.11ac Wireless Network Adapter [NETWORK_OTHER] (vendor:14e4 device:43b1 subv:1028 subd:0019) (rev: 03)


Code: Select all
# ps -ef | grep -v grep | grep -ie net -e wpa
root          36       2  0 15:16 ?        00:00:00 [netns]
moray       1937       1  0 15:16 ?        00:00:12 /usr/bin/perl /usr/bin/net_applet
root        2286    2261  0 15:17 ?        00:00:00 /usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess 4 15


Code: Select all
ifconfig -a
enp0s20u1u1i5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.14  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::9eeb:e8ff:fe1f:eef  prefixlen 64  scopeid 0x20<link>
        inet6 2407:7000:9c16:b600:9eeb:e8ff:fe1f:eef  prefixlen 64  scopeid 0x0<global>
        ether 9c:eb:e8:1f:0e:ef  txqueuelen 1000  (Ethernet)
        RX packets 91304  bytes 121467992 (115.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25020  bytes 2993690 (2.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 15330  bytes 8229744 (7.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15330  bytes 8229744 (7.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Code: Select all
# rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no


Code: Select all
# systemctl status network.service -a
● network.service - LSB: Bring up/down networking
     Loaded: loaded (/etc/rc.d/init.d/network; generated)
     Active: failed (Result: exit-code) since Mon 2021-10-25 15:16:34 NZDT; 1h 49min ago
       Docs: man:systemd-sysv-generator(8)
        CPU: 1.339s

Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/all/accept_source_route (explicit setting exi>
Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/default/accept_source_route (explicit setting>
Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exi>
Oct 25 15:16:34 Babar systemd-sysctl[1286]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting>
Oct 25 15:16:34 Babar systemd[1]: network.service: Control process exited, code=exited, status=1/FAILURE
Oct 25 15:16:34 Babar systemd[1]: network.service: Failed with result 'exit-code'.
Oct 25 15:16:34 Babar systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 25 15:16:34 Babar systemd[1]: network.service: Consumed 1.339s CPU time.


Code: Select all
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
(starts with)
Oct 25 15:16:29 Babar kernel: Spectre V2 : Enabling Restricted Speculation for firmware calls
Oct 25 15:16:30 Babar kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
Oct 25 15:16:31 Babar service_harddrake[797]: FIREWIRE_CONTROLLER took:  0:00:00
Oct 25 15:16:32 Babar kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Oct 25 15:16:32 Babar kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Oct 25 15:16:35 Babar kernel: IFWLOG: register target
Oct 25 15:16:35 Babar systemd[1]: Startup finished in 12.612s (firmware) + 11.453s (loader) + 3.917s (kernel) + 6.890s (userspace) = 34.873s.
Oct 25 15:22:49 Babar kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:08:00 SRC=10.0.0.1 DST=10.0.0.14 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=41880 DPT=137 LEN=58
Oct 25 15:25:17 Babar kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:08:00 SRC=10.0.0.1 DST=10.0.0.14 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=39820 DPT=137 LEN=58
Oct 25 15:26:39 Babar kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:86:dd SRC=2400:6180:0100:00d0:0000:0000:0741:a001 DST=2407:7000:9c16:b600:9eeb:e8ff:fe1f:0eef LEN=60 TC=0 HOPLIMIT=41 FLOWLBL=419352 PROTO=TCP SPT=443 DPT=39898 WINDOW=0 RES=0x00 RST URGP=0
Oct 25 15:26:39 Babar kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:86:dd SRC=2400:6180:0100:00d0:0000:0000:0741:a001 DST=2407:7000:9c16:b600:9eeb:e8ff:fe1f:0eef LEN=60 TC=0 HOPLIMIT=41 FLOWLBL=419352 PROTO=TCP SPT=443 DPT=39898 WINDOW=0 RES=0x00 RST URGP=0
Oct 25 15:28:17 Babar kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:08:00 SRC=10.0.0.1 DST=10.0.0.14 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=38104 DPT=137 LEN=58


and then there's a lot more about enp0s20u1u1i5, I can send the output as a text file if it's relevant.

What I've tried so far...
kernel-firmware-nonfree is installed.
Code: Select all
# rpm -qa | grep broadcom
dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree
broadcom-wl-common-6.30.223.271-61.mga8.nonfree


These software packages have worked on previous releases. The alternative is broadcom-bcma-config, which removes
broadcom-wl-common-6.30.223.271-61.mga8.nonfree.x86_64
(due to conflicts with broadcom-bcma-config)
dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree.x86_64
(due to missing broadcom-wl-common)

Hardware detection now shows BCM4352, module bcma -- so at least wi-fi is listed in 'Set up a new network interface' for wireless:
choose Broadcom...BCM4352 80211ac :
Unable to find network interface for selected device (using bcma driver).
Use a Windows driver (with ndiswrapper):
use bcmwl46 (from the Windows install -- the XPS dual-boots Windows)
Unable to find the ndiswrapper interface.

Back to dkms-broadcom-wl; remove broadcom-bcma-config.
- broadcom-wl-common-6.30.223.271-61.mga8.nonfree.x86_64 [installed in Mga7]
- dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree.x86_64

In hardware detection, back to Module unknown
In wireless setup, ndiswrapper is the only choice; same failure.

I have restarted with some modules blacklisted:
echo -e "blacklist b43\nblacklist bcma\nblacklist ssb\n" >> /etc/modprobe.d/blacklist-mga.conf

Same problems, with and without the blacklist.

Thank you for reading, and greetings from the other side of the world, in spring :)
Last edited by mgkiwi on Oct 29th, '21, 15:05, edited 1 time in total.
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby doktor5000 » Oct 25th, '21, 17:34

The only other hit for your device is viewtopic.php?f=8&t=12122 which is only about the bluetooth part ...

mgkiwi wrote:and then there's a lot more about enp0s20u1u1i5, I can send the output as a text file if it's relevant.

Yes, that's the important part, please post that (not attach as a text file, simply post it and use code tags). Although it it's the same as the last entries in that listing "kernel: net-fw DROP IN=enp0s20u1u1i5 OUT= MAC=9c:eb:e8:1f:0e:ef:e4:f4:c6:00:b8:d2:08:00" then those are not relevant.
What I'm missing is I don't see anything related to wifi or trying to load a firmware (apart from the bluetooth part of the chipset, where the firmware is also missing), basically there's nothing related to wireless at all in the log excerpt.

mgkiwi wrote:Hardware detection now shows BCM4352, module bcma -- so at least wi-fi is listed in 'Set up a new network interface' for wireless:
[...]
I have restarted with some modules blacklisted:

echo -e "blacklist b43\nblacklist bcma\nblacklist ssb\n" >> /etc/modprobe.d/blacklist-mga.conf


bmca is the free driver, which is listed as primary driver for that PCI vendor/product ID:
[doktor5000@Mageia8]─[17:24:19]─[~] sudo modprobe -c | grep -iE "14e4.*43b1"
alias pci:v000014E4d000043B1sv*sd*bc*sc*i* bcma

It's not supported by the free b43 driver according to https://wireless.wiki.kernel.org/en/use ... f_hardware and I can't find it in the lists for the other free driver for broadcom devices, brcm80211


Depending on what modules are loaded, you might need to blacklist additional modules. Best post the output as root of
Code: Select all
lsmod

after a clean reboot to see what's loaded.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 25th, '21, 19:33

thank you Doktor! I'll get onto that tonight.
I forgot to mention that wi-fi is working AOK in Windows. Otherwise I'd think there was a hardware problem, it seems to be so completely missing.
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby benmc » Oct 25th, '21, 23:43

when you installed
Code: Select all
dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree

did the kernel module get built?

have you both the current kernel and current kernel-devel packages installed?

best to install via terminal, so you can see if the broadcom kernel module is built for the kernel.

you will of course need to reboot to select the new kernel
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 26th, '21, 09:28

First a reply to Doktor.

I started the laptop without ethernet (no dongle connected), so here's a nice short version.

Code: Select all
# journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
Oct 26 20:12:53 Babar kernel: Spectre V2 : Enabling Restricted Speculation for firmware calls
Oct 26 20:12:54 Babar kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
Oct 26 20:12:55 Babar service_harddrake[800]: FIREWIRE_CONTROLLER took:  0:00:00
Oct 26 20:12:57 Babar kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Oct 26 20:12:57 Babar kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Oct 26 20:12:59 Babar kernel: IFWLOG: register target
Oct 26 20:13:00 Babar systemd[1]: Startup finished in 11.021s (firmware) + 11.478s (loader) + 3.908s (kernel) + 7.549s (userspace) = 33.958s.


Code: Select all
# lsmod
Module                  Size  Used by
rfcomm                 90112  2
ip6t_REJECT            16384  4
nf_reject_ipv6         20480  1 ip6t_REJECT
xt_comment             16384  20
ip6table_mangle        16384  1
ip6table_nat           16384  0
ip6table_raw           16384  1
nf_log_ipv6            16384  6
ip6table_filter        16384  1
ip6_tables             36864  24 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle
xt_recent              24576  2
ipt_IFWLOG             16384  1
ipt_psd                61440  1
xt_set                 16384  2
ip_set_hash_ip         45056  2
ip_set                 57344  2 ip_set_hash_ip,xt_set
ipt_REJECT             16384  4
nf_reject_ipv4         16384  1 ipt_REJECT
xt_conntrack           16384  11
xt_hashlimit           20480  12
xt_addrtype            16384  13
xt_mark                16384  2
iptable_mangle         16384  1
iptable_nat            16384  0
xt_CT                  16384  36
xt_tcpudp              20480  50
iptable_raw            16384  1
nfnetlink_log          20480  0
xt_NFLOG               16384  0
nf_log_ipv4            16384  6
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
xt_LOG                 20480  12
nf_nat_tftp            16384  0
nf_nat_snmp_basic      20480  0
nf_conntrack_snmp      16384  3 nf_nat_snmp_basic
nf_nat_sip             20480  0
nf_nat_pptp            20480  0
nf_nat_irc             20480  0
nf_nat_h323            24576  0
nf_nat_ftp             20480  0
nf_nat_amanda          16384  0
ts_kmp                 16384  6
nf_conntrack_amanda    16384  5 nf_nat_amanda
nf_nat                 45056  9 nf_nat_irc,ip6table_nat,nf_nat_ftp,nf_nat_tftp,nf_nat_amanda,nf_nat_pptp,nf_nat_h323,iptable_nat,nf_nat_sip
nf_conntrack_sane      20480  4
nf_conntrack_tftp      20480  5 nf_nat_tftp
nf_conntrack_sip       40960  5 nf_nat_sip
nf_conntrack_pptp      20480  3 nf_nat_pptp
nf_conntrack_netlink    57344  0
nfnetlink              16384  3 nf_conntrack_netlink,ip_set,nfnetlink_log
nf_conntrack_netbios_ns    16384  2
nf_conntrack_broadcast    16384  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
nf_conntrack_irc       20480  3 nf_nat_irc
nf_conntrack_h323      86016  9 nf_nat_h323
nf_conntrack_ftp       24576  5 nf_nat_ftp
nf_conntrack          163840  23 xt_conntrack,nf_nat_irc,nf_nat,nf_conntrack_tftp,nf_nat_ftp,nf_conntrack_pptp,nf_conntrack_netbios_ns,nf_conntrack_sane,nf_nat_tftp,nf_nat_amanda,nf_conntrack_sip,nf_conntrack_h323,nf_nat_pptp,nf_conntrack_broadcast,nf_conntrack_irc,nf_conntrack_amanda,nf_conntrack_netlink,nf_conntrack_ftp,xt_CT,nf_nat_h323,nf_conntrack_snmp,nf_nat_snmp_basic,nf_nat_sip
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
nfs                   417792  0
lockd                 122880  1 nfs
grace                  16384  1 lockd
iptable_filter         16384  1
sunrpc                651264  2 lockd,nfs
nfs_ssc                16384  1 nfs
fscache               413696  1 nfs
cfg80211              970752  0
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   28672  2
msr                    16384  0
nls_utf8               16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    86016  1 vfat
dm_mirror              28672  0
dm_region_hash         24576  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
dm_mod                151552  2 dm_log,dm_mirror
uvcvideo              114688  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         36864  1 uvcvideo
videobuf2_common       65536  2 videobuf2_v4l2,uvcvideo
videodev              274432  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mei_hdcp               24576  0
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
intel_rapl_msr         20480  0
btusb                  65536  0
btbcm                  20480  1 btusb
btrtl                  24576  1 btusb
btintel                32768  1 btusb
x86_pkg_temp_thermal    20480  0
bluetooth             700416  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
intel_powerclamp       20480  0
dell_laptop            28672  0
coretemp               20480  0
dell_smm_hwmon         24576  0
kvm_intel             327680  0
ecdh_generic           16384  2 bluetooth
rfkill                 28672  7 bluetooth,dell_laptop,cfg80211
kvm                   913408  1 kvm_intel
ecc                    36864  1 ecdh_generic
irqbypass              16384  1 kvm
rapl                   16384  0
intel_cstate           20480  0
intel_uncore          172032  0
dell_wmi               20480  0
dell_smbios            32768  2 dell_wmi,dell_laptop
dcdbas                 20480  1 dell_smbios
psmouse               184320  0
sparse_keymap          16384  1 dell_wmi
wmi_bmof               16384  0
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
input_leds             16384  0
intel_pch_thermal      16384  0
mei_me                 45056  1
lpc_ich                28672  0
i2c_i801               36864  0
mei                   139264  3 mei_hdcp,mei_me
thermal                20480  0
i2c_smbus              20480  1 i2c_i801
fan                    20480  0
snd_hda_codec_realtek   155648  1
snd_hda_codec_hdmi     73728  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,dell_laptop
snd_hda_intel          57344  6
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
soundwire_generic_allocation    16384  1 soundwire_intel
int3403_thermal        20480  0
snd_soc_core          323584  1 soundwire_intel
tpm_crb                20480  0
dw_dmac                16384  0
snd_compress           32768  1 snd_soc_core
dw_dmac_core           36864  1 dw_dmac
tpm_tis                16384  0
snd_pcm_dmaengine      16384  1 snd_soc_core
int3402_thermal        16384  0
soundwire_cadence      36864  1 soundwire_intel
tpm_tis_core           28672  1 tpm_tis
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_pad               24576  0
ac                     16384  0
snd_hda_codec         167936  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
ac97_bus               16384  1 snd_soc_core
snd_hwdep              16384  1 snd_hda_codec
button                 24576  0
snd_pcm               163840  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
joydev                 28672  0
snd_timer              40960  1 snd_pcm
processor_thermal_device    24576  0
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_device
snd                   114688  22 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
int340x_thermal_zone    16384  3 int3403_thermal,int3402_thermal,processor_thermal_device
intel_soc_dts_iosf     20480  1 processor_thermal_device
soundcore              16384  1 snd
sch_fq_codel           20480  1
evdev                  28672  33
fuse                  159744  5
nvram                  16384  0
configfs               57344  1
efivarfs               16384  1
ip_tables              28672  4 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
x_tables               53248  23 ipt_psd,ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,xt_LOG,xt_NFLOG,xt_tcpudp,xt_hashlimit,xt_addrtype,xt_recent,xt_comment,xt_set,ip6_tables,ipt_REJECT,ipt_IFWLOG,xt_CT,iptable_raw,ip_tables,ip6table_mangle,ip6t_REJECT,iptable_mangle,xt_mark
ipv6                  577536  56 nf_reject_ipv6,ip6table_mangle
crc_ccitt              16384  1 ipv6
autofs4                53248  2
usbhid                 65536  0
rtsx_pci_sdmmc         32768  0
crc32_pclmul           16384  0
crc32c_intel           24576  5
ghash_clmulni_intel    16384  0
aesni_intel           372736  4
ehci_pci               20480  0
ehci_hcd               98304  1 ehci_pci
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
mmc_block              53248  0
xhci_hcd              303104  1 xhci_pci
mmc_core              192512  2 rtsx_pci_sdmmc,mmc_block
serio_raw              20480  0
usbcore               323584  7 xhci_hcd,ehci_pci,usbhid,uvcvideo,ehci_hcd,btusb,xhci_pci
rtsx_pci              106496  1 rtsx_pci_sdmmc
usb_common             16384  4 xhci_hcd,usbcore,uvcvideo,ehci_hcd
hid_multitouch         32768  0
hid_generic            16384  0
i915                 2306048  31
wmi                    36864  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
battery                20480  0
i2c_algo_bit           16384  1 i915
i2c_hid                32768  0
drm_kms_helper        270336  1 i915
hid                   147456  4 i2c_hid,usbhid,hid_multitouch,hid_generic
video                  53248  3 dell_wmi,dell_laptop,i915
cec                    61440  2 drm_kms_helper,i915
drm                   606208  12 drm_kms_helper,i915


Thanks again for your help
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 26th, '21, 09:48

benmc wrote:when you installed
Code: Select all
dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree

did the kernel module get built?

have you both the current kernel and current kernel-devel packages installed?

best to install via terminal, so you can see if the broadcom kernel module is built for the kernel.

you will of course need to reboot to select the new kernel


Thank you benmc, fellow kiwi :)

I have just this minute installed a new kernel
Code: Select all
kernel-desktop-5.10.75-1.mga8-1-1.mga8.x86_64

and restarted;
Code: Select all
kernel-desktop-devel-5.13.14-1.mga8

was already installed.

Sorry, I don't understand about building the kernel module. Should I reinstall dkms- from the terminal?

Kind regards
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby benmc » Oct 26th, '21, 09:55

I did not note that you had un-installed it.

so yes, re-install the dkms-broadcom-wl and broadcom-wl-common packages via the terminal.
to complete the package install, dkms should build and then install the module into the kernel.

if you install these from the GUI, you get no feedback.

I have a BCM4311 wifi that needs these 4 packages installed (kernel, kernel-devel, dkms + broadcom)

edit: reboot will be required for the kernel module to be loaded
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby benmc » Oct 26th, '21, 10:51

some more info:

urpmi --auto-update wanted to install 1566 packages - this lappy hasnt been used for a while (Compaq Presario C700).

Packages dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree.x86_64, broadcom-wl-common-6.30.223.271-61.mga8.nonfree.x86_64
are already installed
Code: Select all
# urpmi kernel-desktop-latest kernel-desktop-devel-latest
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release (distrib1)")
  btrfs-progs                    5.10         1.mga8        x86_64 
  lib64btrfs0                    5.10         1.mga8        x86_64 
  mageia-theme                   8.0          2.mga8        noarch 
(medium "Core Updates (distrib3)")
  kernel-desktop-5.10.70-1.mga8  1            1.mga8        x86_64 
  kernel-desktop-devel-5.10.70-> 1            1.mga8        x86_64 
  kernel-desktop-devel-latest    5.10.70      1.mga8        x86_64 
  kernel-desktop-latest          5.10.70      1.mga8        x86_64 
  ldetect-lst                    0.6.26.7     1.mga8        x86_64 
(medium "Nonfree Updates (distrib13)")
  iwlwifi-firmware               20210716     1.mga8.nonfr> noarch 
  kernel-firmware-nonfree        20210716     1.mga8.nonfr> noarch 
  microcode                      0.20210608   1.mga8.nonfr> noarch 
  radeon-firmware                20210812     1.mga8.nonfr> noarch 
254MB of additional disk space will be used.
265MB of packages will be retrieved.
Proceed with the installation of the 12 packages? (Y/n) y


install and removal of packages here,
also this:

Code: Select all
dracut: Executing: /usr/bin/dracut -f
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: dracut module 'systemd' will not be installed, because it's in the list to be omitted!
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: dash ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done ***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut:  root=UUID=e062c896-7ce0-435e-a957-1aa9960a6a81 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd-5.9.0-desktop-1.mga8.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.9.0-desktop-1.mga8.img' done ***

some more packages removed then finally this bit:

Code: Select all
broadcom-wl (6.30.223.271-61.mga8.nonfree): Installing module.
.................
..........


You should restart your computer for glibc, kernel-desktop-5.10.70-1.mga8

reboot:
Code: Select all
$ uname -r
5.10.70-desktop-1.mga8


wifi up and connected

hope the above is helpful

regards
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby doktor5000 » Oct 26th, '21, 17:58

Does not look like the wl driver was tried to load during boot.

This is what it looks like here when the wl driver is loaded, surprisingly I've also got the same BCM4352 chipset with same PCI vendor/product ID:
Code: Select all
Okt 20 23:58:15 Mageia8 kernel: wl: loading out-of-tree module taints kernel.
Okt 20 23:58:15 Mageia8 kernel: wl: module license 'MIXED/Proprietary' taints kernel.
Okt 20 23:58:15 Mageia8 kernel: Disabling lock debugging due to kernel taint
Okt 20 23:58:15 Mageia8 kernel: wlan0: Broadcom BCM43b1 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
Okt 20 23:58:15 Mageia8 kernel:


Code: Select all
[doktor5000@Mageia8]─[17:53:07]─[~] lspcidrake -v | grep -i wireless
wl              : Broadcom Inc. and subsidiaries|BCM4352 802.11ac Wireless Network Adapter [NETWORK_OTHER] (vendor:14e4 device:43b1 subv:1043 subd:855c) (rev: 03)


FWIW, all the other free drivers should be blacklisted by default if you have broadcom-wl-common installed, which is installed as a dependency of the wl driver:
Code: Select all
[doktor5000@Mageia8]─[17:54:53]─[~] cat /etc/modprobe.d/broadcom-wl-blacklist.conf
blacklist b43
blacklist b43legacy
blacklist bcma
blacklist brcmfmac
blacklist brcmsmac
blacklist ssb
[doktor5000@Mageia8]─[17:55:48]─[~] rpm -qf /etc/modprobe.d/broadcom-wl-blacklist.conf
broadcom-wl-common-6.30.223.271-61.mga8.nonfree
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 27th, '21, 12:51

Thank you Doktor. So the chipset does work with Mageia 8...just not for me yet.

I get:
Code: Select all
lspcidrake -v | grep -i wireless
unknown         : Broadcom Inc. and subsidiaries|BCM4352 802.11ac Wireless Network Adapter [NETWORK_OTHER] (vendor:14e4 device:43b1 subv:1028 subd:0019) (rev: 03)


so the wl driver is not loaded.

Code: Select all
rpm -qf /etc/modprobe.d/broadcom-wl-blacklist.conf
broadcom-wl-common-6.30.223.271-61.mga8.nonfree


same result as yours, and the same values in the blacklist, so I'm still puzzled.

I didn't understand benmc's question, 'did the kernel module get built?'
I installed the current kernel from mgaapplet updates, and these packages were installed before I first asked for help:
Code: Select all
rpm -qa | grep broadcom
dkms-broadcom-wl-6.30.223.271-61.mga8.nonfree
broadcom-wl-common-6.30.223.271-61.mga8.nonfree


I hadn't uninstalled them. Should I uninstall them, and reinstall from the terminal?
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby sturmvogel » Oct 27th, '21, 13:41

mgkiwi wrote:I have just this minute installed a new kernel
Code: Select all
kernel-desktop-5.10.75-1.mga8-1-1.mga8.x86_64

and restarted;
Code: Select all
kernel-desktop-devel-5.13.14-1.mga8

was already installed.

These packages are not matching. Make sure that you have the right devel package installed. E.g. kernel-desktop-devel-5.10.75-1.mga8-1-1 is needed for the kernel-desktop-5.10.75-1.mga8-1-1.

If you have confirmed this you could try to uninstall/reinstall the broadcom packages via console.
sturmvogel
 
Posts: 678
Joined: Jul 30th, '12, 00:39

Re: Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 28th, '21, 17:42

Thank you! I'll try this in the weekend.
Really appreciate all the help
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: [solved] Please help with BCM4352 wi-fi in Mageia 8

Postby mgkiwi » Oct 29th, '21, 15:07

Writing from the laptop, ethernet cable disconnected...resolved!

In case this helps anyone else, in MCC I uninstalled kernel-desktop-devel-5.13.14-1, kernel-desktop-devel-latest, and dkms-broadcom-wl.
I wondered why updates had given me non-matching versions of desktop and desktop-devel; checking media sources, I found Tainted updates had Update ticked but not enabled, maybe that was the problem?
Ticked it, then ran
Code: Select all
# urpmi kernel-desktop-latest kernel-desktop-devel-latest

restarted, and ran
Code: Select all
# urpmi dkms-broadcom-wl

which built modules. lsmod now includes
Code: Select all
cfg80211              970752  2 wl,mac80211

Restarted again (just in case), and
Code: Select all
$ lspcidrake -v | grep -i wireless
wl              : Broadcom Inc. and subsidiaries|BCM4352 802.11ac Wireless Network Adapter [NETWORK_OTHER] (vendor:14e4 device:43b1 subv:1028 subd:0019) (rev: 03)


So now I could set up the wireless network interface, the laptop is connected, link level 100%.
(No excuse to buy a new laptop...)
Many thanks Doktor, benmc, and sturmvogel for your patience and replies. Long live Mageia
Mageia 8 for x86_64, Asus ROG Strix X570-E, Ryzen 7 Octa-core 3700X, Sapphire Radeon Pulse RX 5700, 32 GB RAM
mgkiwi
 
Posts: 25
Joined: Jan 19th, '13, 14:48

Re: [solved] Please help with BCM4352 wi-fi in Mageia 8

Postby doktor5000 » Oct 29th, '21, 16:21

mgkiwi wrote:I found Tainted updates had Update ticked but not enabled, maybe that was the problem?

Not really, no. The various broadcom-w packages, which often need to be updated too for newer kernel versions, come from Nonfree Updates. But still good that you fixed that :D

The part about installing kernel-desktop-latest kernel-desktop-devel-latest is what fixed your issue, as that ensures you always get (matching) updates for both kernel-desktop and the according -devel package which is required to build kernel modules.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron