Bug 34975 - The kernel does not build the Broadcom module correctly.
Summary: The kernel does not build the Broadcom module correctly.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 10
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-11 13:19 CET by Guillaume Royer
Modified: 2026-03-15 14:14 CET (History)
5 users (show)

See Also:
Source RPM: broadcom-wl-common 6.30.223.271-68.mga10.nonfree and dkms-broadcom-wl 6.30.223.271-68.mga10.nonfree
CVE:
Status comment:
andrewsfarm: affects_mga9+


Attachments

Description Guillaume Royer 2026-01-11 13:19:12 CET
Description of problem:

I installed Alpha Mageia 10 on my Apple Mac Mini with a GNOME desktop.

The kernel does not build the Broadcom module correctly and I don't have Wi-Fi.

My Wi-Fi card isn't recognised by system.

On MGA 9  It's work well


Version-Release number of selected component (if applicable):

broadcom-wl-common 6.30.223.271-68.mga10.nonfree  
dkms-broadcom-wl 6.30.223.271-68.mga10.nonfree

lspci |grep Broadcom
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
02:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 10)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n (rev 02)
Comment 1 Lewis Smith 2026-01-11 20:54:30 CET
Thank you for the report; on a Mac!
Please say what ISO you installed from.

Are you able to post the output of:
 $ inxi -MSn
just for a bit more system info.

CC: (none) => lewyssmith

Morgan Leijström 2026-01-12 09:22:11 CET

CC: (none) => fri

Comment 2 Guillaume Royer 2026-01-12 19:40:47 CET
I installed from Mageia-10-alpha1-Live-GNOME-x86_64.

System:
  Host: localhost Kernel: 6.18.4-desktop-2.mga10 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Mageia 10
Machine:
  Type: Laptop System: Apple product: Macmini5,1 v: 1.0 serial: C07GD9ALDJD0
  Mobo: Apple model: Mac-8ED6AF5B48C039E1 v: Macmini5,1
    serial: C071367033EDKP2A3 Firmware: UEFI vendor: Apple
    v: MM51.88Z.0080.B00.1804091930 date: 04/09/2018
Network:
  Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
  IF: enp2s0f0 state: up speed: 1000 Mbps duplex: full
    mac: 3c:07:54:15:60:22
  Device-2: Broadcom BCM4331 802.11a/b/g/n driver: N/A
Comment 3 Guillaume Royer 2026-01-12 19:44:26 CET
I tried today to install new Kernel : 

  cpupower                       6.18.4       3.mga10       x86_64  
  kernel-desktop-6.18.4-3.mga10  1            1.mga10       x86_64  
  kernel-desktop-devel-6.18.4-3> 1            1.mga10       x86_64  
  kernel-desktop-devel-latest    6.18.4       3.mga10       x86_64  
  kernel-desktop-latest          6.18.4       3.mga10       x86_64  
  kernel-userspace-headers       6.18.4       3.mga10       x86_64  
  lib64bpf1                      6.18.4       3.mga10       x86_64  
  lib64net-snmp40                5.9.4        9.mga10       x86_64  
  net-snmp-mibs                  5.9.4        9.mga10       x86_64  


This is output:

broadcom-wl (6.30.223.271-68.mga10.nonfree): Installing module.
...............(bad exit status: 10)
  Build failed.  Installation skipped.
cannot get info for device (6:0:0:1) at /usr/lib/libDrakX/detect_devices.pm line 272.
remove-boot-splash: Format of /boot/initrd-6.18.4-desktop-3.mga10.img not recognized
Morgan Leijström 2026-01-12 23:15:16 CET

Assignee: bugsquad => kernel

Comment 4 Lewis Smith 2026-01-13 20:42:48 CET
Thank you Guillaume for the extra information.
(In reply to Guillaume Royer from comment #3)
> broadcom-wl (6.30.223.271-68.mga10.nonfree): Installing module.
> ...............(bad exit status: 10)
>   Build failed.  Installation skipped.
> cannot get info for device (6:0:0:1) at /usr/lib/libDrakX/detect_devices.pm
> line 272.
> remove-boot-splash: Format of /boot/initrd-6.18.4-desktop-3.mga10.img not
> recognized
Strange errors.
CC'ing Martin in case he cn add something useful.

CC: lewyssmith => mageia

Comment 5 Morgan Leijström 2026-01-13 20:51:21 CET
Is there a build log?
-wild guess it is at /var/lib/dkms/<broadcom-wl>/<version>.mga10.nonfree/build/make.log ?
Comment 6 Giuseppe Ghibò 2026-01-14 01:48:32 CET
Try with 6.30.223.271-689.mga10.nonfree (but consider this driver unsafe for security POV, see https://svnweb.mageia.org/packages/cauldron/broadcom-wl/current/SOURCES/broadcom-wl-6.30.223.271-kernel-6.15.patch?view=markup) so to add a note somewhere.

CC: (none) => ghibomgx

Comment 7 Guillaume Royer 2026-01-14 20:26:11 CET
(In reply to Morgan Leijström from comment #5)
> Is there a build log?
> -wild guess it is at
> /var/lib/dkms/<broadcom-wl>/<version>.mga10.nonfree/build/make.log ?

cat /var/lib/dkms/broadcom-wl/6.30.223.271-68.mga10.nonfree/build/make.log 
DKMS make.log for broadcom-wl-6.30.223.271-68.mga10.nonfree for kernel 6.18.4-desktop-3.mga10 (x86_64)
mer. 14 janv. 2026 20:08:22 CET
make : on entre dans le répertoire « /usr/src/kernel-6.18.4-desktop-3.mga10 »
make[1] : on entre dans le répertoire « /var/lib/dkms/broadcom-wl/6.30.223.271-68.mga10.nonfree/build »
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  CC [M]  src/shared/linux_osl.o
  CC [M]  src/wl/sys/wl_linux.o
  CC [M]  src/wl/sys/wl_iw.o
  CC [M]  src/wl/sys/wl_cfg80211_hybrid.o
src/wl/sys/wl_linux.c:26:10: erreur fatale: typedefs.h : Aucun fichier ou dossier de ce nom
   26 | #include <typedefs.h>
      |          ^~~~~~~~~~~~
src/shared/linux_osl.c:23:10: erreur fatale: typedefs.h : Aucun fichier ou dossier de ce nom
   23 | #include <typedefs.h>
      |          ^~~~~~~~~~~~
compilation terminée.
compilation terminée.
make[3]: *** [/usr/src/kernel-6.18.4-desktop-3.mga10/scripts/Makefile.build:287: src/shared/linux_osl.o] Error 1
make[3]: *** Attente des tâches non terminées....
make[3]: *** [/usr/src/kernel-6.18.4-desktop-3.mga10/scripts/Makefile.build:287: src/wl/sys/wl_linux.o] Error 1
make[2]: *** [/usr/src/kernel-6.18.4-desktop-3.mga10/Makefile:1986: .] Error 2
make[1]: *** [/usr/src/kernel-6.18.4-desktop-3.mga10/Makefile:248: __sub-make] Error 2
make[1] : on quitte le répertoire « /var/lib/dkms/broadcom-wl/6.30.223.271-68.mga10.nonfree/build »
make: *** [Makefile:248: __sub-make] Error 2
make : on quitte le répertoire « /usr/src/kernel-6.18.4-desktop-3.mga10 »

(In reply to Giuseppe Ghibò from comment #6)
> Try with 6.30.223.271-689.mga10.nonfree (but consider this driver unsafe for
> security POV, see
> https://svnweb.mageia.org/packages/cauldron/broadcom-wl/current/SOURCES/
> broadcom-wl-6.30.223.271-kernel-6.15.patch?view=markup) so to add a note
> somewhere.

How I download and install patch tot test ?
Comment 8 Giuseppe Ghibò 2026-01-14 20:49:55 CET
urpmi dkms-broadcom-wl-6.30.223.271-69.mga10.nonfree
Comment 9 Guillaume Royer 2026-01-14 20:50:14 CET
I tried to install today:

kernel-desktop-6.18.5-1.mga10  1            1.mga10       x86_64  
kernel-desktop-devel-6.18.5-1> 1            1.mga10       x86_64  
kernel-desktop-devel-latest    6.18.5       1.mga10       x86_64  
kernel-desktop-latest          6.18.5       1.mga10       x86_64  
kernel-userspace-headers       6.18.5       1.mga10       x86_64  

broadcom-wl-common             6.30.223.271 69.mga10.non> x86_64  
dkms-broadcom-wl               6.30.223.271 69.mga10.non> x86_64

and all the other packages offered as updates.

+ /usr/sbin/dkms --rpm_safe_upgrade remove -m broadcom-wl -v 6.30.223.271-68.mga10.nonfree --all

-------- Uninstall Beginning --------
Module:  broadcom-wl
Version: 6.30.223.271-68.mga10.nonfree
Kernel:  6.12.62-desktop-5.mga10 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/6.12.62-desktop-5.mga10/dkms/3rdparty/broadcom-wl/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 6.30.223.271-68.mga10.nonfree
completely from the DKMS tree.
------------------------------

My Wi-Fi card seems to be working, but I have a conflict issue on GNOME because I cannot see any networks.
The networks appear when launching draknetcenter but I can't connect it.
Comment 10 Guillaume Royer 2026-01-14 21:01:25 CET
I have corrected the network connection with Draknetcenter if I disconnect my network cable. However, NetworkManager does not detect anything.
Comment 11 Morgan Leijström 2026-01-14 22:02:22 CET
@Giuseppe: so this package also need to be updated in mga9 for backport 6.18?
Comment 12 Giuseppe Ghibò 2026-01-14 22:14:23 CET
> @Giuseppe: so this package also need to be updated in mga9 for backport 6.18?

Yes, to get the module compiling under the newer kernels. But immediate previous version was working with previous kernels (e.g. 6.12.63-1.mga10 or 6.6.100 lts just to cite a few)?
Comment 13 Guillaume Royer 2026-01-18 09:32:15 CET
Test Wi-Fi with new Kernel:

kernel-desktop-6.18.6-1.mga10

Wi-Fi car is Ok but I always can't see any networks.
The networks appear when launching Draknetcenter but I can't connect it.
I can connect Wi-Fi with Draknetcenter when Ethernet is unplugged. 

Before with MGA9, I could connect to Ethernet and the Wi-Fi Network Manager had no issues.

I don't understand why NM isn't working properly and I can't see the networks, and why I have to open Draknetcenter and connect the Ethernet to get Wi-Fi visible with Network Manager?

Should I open a new bug report for this issue?
Comment 14 Morgan Leijström 2026-01-18 16:05:54 CET
@Guillaume, can you install kernel 6.12.63 and the corresponding devel, and see if that works better?

And if that fail, try 6.6.100.

I guess the NM problems may appear because wifi is only partially working.
Lets see if NM works when we know wifi itself works.
Comment 15 Guillaume Royer 2026-01-20 09:39:53 CET
This does not work with previous kernels:

6.12.63-1.mga10 and 6.6.100.
Comment 16 Giuseppe Ghibò 2026-01-21 13:01:51 CET
So in the end no combination of kernel and dkms-broacom-wl has ever worked in cauldron? or the previous version with previous (6.12.63) kernel did?
Comment 17 Guillaume Royer 2026-01-21 14:07:04 CET
(In reply to Giuseppe Ghibò from comment #16)
> So in the end no combination of kernel and dkms-broacom-wl has ever worked
> in cauldron? or the previous version with previous (6.12.63) kernel did?

Regarding building the driver with the kernel, it works. Even with kernel 6.12.
Another thing, to answer questions about my Bluetooth bug report, I installed Plasma.
So I installed the NM applet and the problem persists. So it's not a DE problem but a NetworkManager problem.

However, I cannot say whether it is specific to my hardware or not.
Comment 18 Morgan Leijström 2026-01-22 18:09:25 CET
Now I see we have this old bug:

Bug 33821 - Network Manager applets do not connect to a broadcom-wl device at boot. Works OK with bcma driver

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=33821

Comment 19 Thomas Andrews 2026-01-22 20:16:34 CET
(In reply to Guillaume Royer from comment #13)
> Test Wi-Fi with new Kernel:
> 
> kernel-desktop-6.18.6-1.mga10
> 
> Wi-Fi car is Ok but I always can't see any networks.
> The networks appear when launching Draknetcenter but I can't connect it.
> I can connect Wi-Fi with Draknetcenter when Ethernet is unplugged. 
> 
> Before with MGA9, I could connect to Ethernet and the Wi-Fi Network Manager
> had no issues.
> 
> I don't understand why NM isn't working properly and I can't see the
> networks, and why I have to open Draknetcenter and connect the Ethernet to
> get Wi-Fi visible with Network Manager?
> 
> Should I open a new bug report for this issue?

There might already be one, bug 33821 for Mageia 9. Same symptoms as you describe.

Try running Network Center. For me, that initializes the wifi chip in some way that Network Manager fails to do. All I have to do is run it, and when the Network Center screen pops up, Network Manager makes the connection. After that, the wifi works fine until the next session.

On my hardware, switching to the bcma driver avoids the issue, but my chip is a Broadcom BCM43224, different from yours, so I can't be certain that would work for you.

CC: (none) => andrewsfarm

Comment 20 Guillaume Royer 2026-01-22 20:26:42 CET
I hadn't seen this bug report, but it's definitely the same problem. The BCMA driver doesn't improve anything; in fact, it makes things worse. I can no longer connect with our tool.
Which report should I continue to use? 
34975 or 33821.
Comment 21 Thomas Andrews 2026-01-22 21:18:50 CET
The Network Center has its own trouble with the bcma driver. Do not try connecting with the driver identified as the Broadcom driver, use the other one. It'll be wlp-something.

There's a bug on that one, too. See bug 31473. It is believed that one is a bug in the Network Center.
Comment 22 Thomas Andrews 2026-01-22 22:02:17 CET
(In reply to Guillaume Royer from comment #20)
> I hadn't seen this bug report, but it's definitely the same problem. The
> BCMA driver doesn't improve anything; in fact, it makes things worse. I can
> no longer connect with our tool.
> Which report should I continue to use? 
> 34975 or 33821.

We've brought up several issues here, and I doubt they will all be solved at the same bug. First things first - the wl driver must build with the 6.18 series kernel. I've set the affects mga9 flag, as MGA9 has a 6.18 kernel available in backports.

I'll use comment 13 as justification for making bug 33821 into a Cauldron bug, with MGA9,also affected.

Flags: (none) => affects_mga9+

Comment 23 Morgan Leijström 2026-01-23 11:07:24 CET
Added this bug to https://wiki.mageia.org/en/Kernel_flavours#Backport_incompatibilities
- remove when solved!

Pondering doing the same for Errata10 so current testers find it easily.

Flags: (none) => in_errata10?

david Cossé 2026-02-27 05:30:41 CET

CC: (none) => saveurlinux

Comment 24 Morgan Leijström 2026-02-27 11:26:03 CET
(In reply to Morgan Leijström from comment #23)
> Pondering doing the same for Errata10 so current testers find it easily.
mga10 do since a while no more have kernel < 6.18

Flags: in_errata10? => (none)

Comment 25 Guillaume Royer 2026-03-15 12:25:50 CET
Hi,

It took me a while to get around to testing it, but I installed BETA1 using a Gnome Live ISO, which I updated today.
I was able to install the driver and reboot with Wi-Fi working right away, set up directly by Network Manager.
Comment 26 Morgan Leijström 2026-03-15 14:14:27 CET
Thank you for the test.

Marking as solved then :-)

(In reply to Morgan Leijström from comment #23)
> Added this bug to
> https://wiki.mageia.org/en/Kernel_flavours#Backport_incompatibilities
> - remove when solved!

Updated: problem valid for kernel 6.12 in backport testing, OK with released backport 6.18.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.