| Summary: | dkms-broadcom-wl failes to build | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Andres Kaaber <andres.kaaber> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | dmorganec, manuel.mageia, sfietkonstantin |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dkms-broadcom-wl | CVE: | |
| Status comment: | |||
| Attachments: | Diff between old and new file | ||
Same here. ( x86_64 ) CC:
(none) =>
manuel Created attachment 154 [details]
Diff between old and new file
I think that there is some solution. The broadcom code is no longer adapted for new kernels. When I tried to build it manually, I faced some problems. The solution was to replace a line in./src/wl/sys/wl_linux.c. At line 485, replace init_MUTEX(&wl->sem); with sema_init(&wl->sem , 1); I have made a diff file from the old file and the new file. (See previous post) CC:
(none) =>
sfietkonstantin
D Morgan
2011-03-20 12:57:38 CET
CC:
(none) =>
dmorganec A fixed broadcom-wl-5.100.82.38-2.mga1 is submitted. Thanks for the report Status:
NEW =>
RESOLVED |
Description of problem: dkms-broadcom-wl failes to build [root@kaaber Allalaadimised]# urpmi dkms-broadcom-wl-5.100.82.38-1.mga1.i586.rpm dkms-broadcom-wl-5.100.82.38-1.mga1.i586.rpm paigaldamine Valmistumine... ################################################################################# 1/1: dkms-broadcom-wl ################################################################################# + /usr/sbin/dkms --rpm_safe_upgrade add -m broadcom-wl -v 5.100.82.38-1.mga1 Creating symlink /var/lib/dkms/broadcom-wl/5.100.82.38-1.mga1/source -> /usr/src/broadcom-wl-5.100.82.38-1.mga1 DKMS: add Completed. + /usr/sbin/dkms --rpm_safe_upgrade build -m broadcom-wl -v 5.100.82.38-1.mga1 Preparing kernel 2.6.37.4-desktop-1.mga for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper.... using /proc/config.gz make oldconfig.... make prepare.... Building module: cleaning build area.... make KERNELRELEASE=2.6.37.4-desktop-1.mga -C /lib/modules/2.6.37.4-desktop-1.mga/build M=$(pwd)....(bad exit status: 2) Error! Bad return status for module build on kernel: 2.6.37.4-desktop-1.mga (i586) Consult the make.log in the build directory /var/lib/dkms/broadcom-wl/5.100.82.38-1.mga1/build/ for more information. + /usr/sbin/dkms --rpm_safe_upgrade install -m broadcom-wl -v 5.100.82.38-1.mga1 Error! Could not locate wl.ko.gz for module broadcom-wl in the DKMS tree. You must run a dkms build for kernel 2.6.37.4-desktop-1.mga (i586) first. warning: %post(dkms-broadcom-wl-5.100.82.38-1.mga1.i586) scriptlet failed, exit status 4 [root@kaaber Allalaadimised]# Reproducible: Steps to Reproduce: