PDA

View Full Version : Broadcom Wireless and Rawhide


epate
27th July 2009, 02:42 PM
Is anybody using the Broadcom wireless driver with the current rawhide kernels? I haven't been able to use it since kernel 2.6.29.4-167.fc11.i586. Running

akmods --force --kernel 2.6.31-0.86.rc3.git5.fc12.i686.PAE

generates this:

Building and installing wl-kmod [FAILED]
Building rpms failed; see /var/cache/akmods/wl/5.10.79.10-2.9-for-2.6.31-0.86.rc3.git5.fc12.i686.PAE.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.

and the first few lines of the log show:

27 Jul 09:38:54 akmods: Building RPM using the command '/usr/bin/akmodsbuild --target i686 --kernels 2.6.31-0.86.rc3.git5.fc12.i686.PAE /usr/s
rc/akmods/wl-kmod.latest'
+ unset DISPLAY
+ for kernel_version in 2.6.31-0.86.rc3.git5.fc12.i686.PAE___/usr/src/kernels/2.6.31-0.86.rc3.git5.fc12.i686.PAE
+ pushd _kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE
/tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE /tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10
.79.10
++ pwd
+ make -C /usr/src/kernels/2.6.31-0.86.rc3.git5.fc12.i686.PAE M=/tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3
.git5.fc12.i686.PAE modules
make: Entering directory `/usr/src/kernels/2.6.31-0.86.rc3.git5.fc12.i686.PAE'
CC [M] /tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE/src/wl/sys/wl_linux.o
/tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE/src/wl/sys/wl_linux.c:60:27: error: net/ieee
80211.h: No such file or directory
/tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE/src/wl/sys/wl_linux.c: In function 'wl_if_se
tup':
/tmp/akmodsbuild.oewhup0Y/BUILD/wl-kmod-5.10.79.10/_kmod_build_2.6.31-0.86.rc3.git5.fc12.i686.PAE/src/wl/sys/wl_linux.c:311: error: 'struct ne
t_device' has no member named 'open'

Any ideas?
Emmett "Buddy" Pate

Gödel
27th July 2009, 04:08 PM
you need to install the matching kernel-PAE-devel rpm.

epate
27th July 2009, 05:44 PM

you need to install the matching kernel-PAE-devel rpm.

Yep, they're there...

yum list installed "kernel*2.6.31*"Loaded plugins: refresh-packagekit
Installed Packages
kernel-PAE.i686 2.6.31-0.86.rc3.git5.fc12 @rawhide
kernel-PAE-devel.i686 2.6.31-0.86.rc3.git5.fc12 @rawhide
kernel-firmware.noarch 2.6.31-0.86.rc3.git5.fc12 @rawhide
kernel-headers.i686 2.6.31-0.86.rc3.git5.fc12 @rawhide

Emmett "Buddy" Pate

Gödel
27th July 2009, 08:50 PM
You have an old wl-kmod, v 5.10.79.10, the latest version is 5.10.91.9, perhaps try installing that.

also, the latest kernel in rawhide is 2.6.31-0.94.rc4.fc12 so might be worth doing a general update of all required packages from rawhide.

If it still doesn't build then report it as a bugzilla

epate
28th July 2009, 01:17 PM
I just want to make sure that I understand the process for successfully building the akmod module:

- you need the akmod-wl and broadcom-wl.noarch packages
- you need the latest kmod-wl or kmod-wl-PAE metapackage (depending on your kernel type)
- akmod then builds the kernel-specific kmod-wl (i.e.: kmod-wl-2.6.29.4-167.fc11.i686.PAE.i686)

Otherwise, a kernel-specific rpm would have to built for each new kernel. Rpmfusion also contains kmod-wl-2.6.29.4-167.fc11.i586 and kmod-wl-2.6.29.4-167.fc11.i686.PAE which I assume are pre-built for the 2.6.29.4-167 kernel.

So I either need to find a pre-build rpm for the 2.6.31 kernel or figure out why the akmod metapackage doesn't compile. Am I on the right track?

Emmett "Buddy" Pate

Gödel
28th July 2009, 01:44 PM
yes, I think the problem is your version of kmod-wl was not compatible with that rawhide kernel. I use the 2.6.29.6-213.fc11.x86_64 kernel and have no problem building the kmod at boot with akmod-wl-5.10.91.9-3.fc11.x86_64.

epate
2nd September 2009, 11:14 PM
Has anybody made any progress with the Broadcom driver and kernel 2.6.31? I feel like I must be missing something since it doesn't seem I can be the only one trying to use rawhide with a broadcom device. I haven't been able to find anything newer than

akmod-wl.i686 5.10.91.9-3.fc11
broadcom-wl.noarch 5.10.91.9-1.fc11

The best I can tell, it's a matter of waiting for Broadcom to update the proprietary part of the driver code.

Emmett "Buddy" Pate

AdamW
3rd September 2009, 12:01 AM
the error's not in the proprietary bit, so it could be patched by anyone. i'd take a quick look myself if i wasn't so busy this afternoon. try googling for the error messages, you might find someone's written a patch already. how to include it in the package is left as an exercise for the reader ;)

logic
6th September 2009, 05:27 PM
I just ran into this after upgrading to rawhide. Here's a replacement for /usr/src/akmods/wl-kmod.latest that should at least get it built (haven't done much in the way of testing with it yet). The patches I used were borrowed from the Arch Linux and Gentoo repositories:

http://esm.logic.net/public/fedora/wl-kmod/wl-kmod-5.10.91.9-3.fc11.src.rpm

Gödel
6th September 2009, 10:16 PM
@logic, that src.rpm builds fine in F12 Snap 1, but the resulting kmod-wl rpm has a missing dependency on kmod-wl-common ??

Note that kmod-ndiswrapper has no problems in rawhide/F12 and the bcmwl5.inf windowsXP driver is stable in both 32bit and x86_64. I assume people have been using that. (I'm using it in F12 Snap 1 now )

Kingoftherings
8th September 2009, 04:24 AM
@logic, that src.rpm builds fine in F12 Snap 1, but the resulting kmod-wl rpm has a missing dependency on kmod-wl-common ??

Note that kmod-ndiswrapper has no problems in rawhide/F12 and the bcmwl5.inf windowsXP driver is stable in both 32bit and x86_64. I assume people have been using that. (I'm using it in F12 Snap 1 now )

Where can I get that bcmwl5.inf driver for x86_64? I'm not sure if Googling the file name is a great idea. :p
If it matters I have a bcm4312.

For the record, I'm not using Rawhide. I'm using F11, and I'd like to use the recent 2.6.30.5 update, but RPMFusion hasn't updated kmod-wl for it yet; however, most of their stuff seems to have been updated already. (~24 hours later)

I've been thinking about moving to Rawhide, but having working wifi is nice. Ndiswrapper should work better across kernel updates than kmod-wl.

Gödel
8th September 2009, 11:44 AM
bcmwl5.inf 32bit and 64bit link + instructions for Fedora 12 here

http://forums.fedoraforum.org/showpost.php?p=1262577&postcount=14

BlueC
8th September 2009, 01:26 PM
Has anybody made any progress with the Broadcom driver and kernel 2.6.31?

Sorry, I've been tardy with the updates to wl-kmod. I've just pushed an update for 2.6.30 (current F11 kernel) and I'll try getting a working 2.6.31 (rawhide) version out ASAP. I don't run rawhide so some testing by others would be useful when I do.

Keep updated by adding a CC to this bug report:

https://bugzilla.rpmfusion.org/show_bug.cgi?id=738

Chris

Kingoftherings
8th September 2009, 05:12 PM
bcmwl5.inf 32bit and 64bit link + instructions for Fedora 12 here

http://forums.fedoraforum.org/showpost.php?p=1262577&postcount=14

Thanks. :)