>On Sun, 05 Jan 2014 23:54:23 +0100 >"Armin K." <kre...@email.com> wrote:
> That's version 5, for version 6 you should use patches from > > https://aur.archlinux.org/packages/broadcom-wl This is actually my first time using Arch's package system. :) The "6" patch produces the same end result as the rediffed "5" patch (wlc_attach() fails with code 21) but I did have a problem with the new patch: $make KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory `/home/ak/hack/rad/linux-stable' CFG80211 API is prefered for this kernel version Using CFG80211 API LD /home/ak/hack/rad/arch-wl/wl/built-in.o CC [M] /home/ak/hack/rad/arch-wl/wl/src/shared/linux_osl.o CC [M] /home/ak/hack/rad/arch-wl/wl/src/wl/sys/wl_linux.o CC [M] /home/ak/hack/rad/arch-wl/wl/src/wl/sys/wl_iw.o CC [M] /home/ak/hack/rad/arch-wl/wl/src/wl/sys/wl_cfg80211_hybrid.o LD [M] /home/ak/hack/rad/arch-wl/wl/wl.o Building modules, stage 2. CFG80211 API is prefered for this kernel version Using CFG80211 API MODPOST 1 modules WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' CC /home/ak/hack/rad/arch-wl/wl/wl.mod.o LD [M] /home/ak/hack/rad/arch-wl/wl/wl.ko make[1]: Leaving directory `/home/ak/hack/rad/linux-stable' Rebuildig with 'make CONFIG_DEBUG_SECTION_MISMATCH=y' produces the following elaboration: WARNING: /home/ak/hack/rad/arch-wl/wl/wl.o(.data+0x77e10): Section mismatch in reference from the variable wl_pci_driver to the function .init.text:wl_pci_probe() The variable wl_pci_driver references the function __init wl_pci_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Looking at the 5 patch, wl_pci_driver is marked with __refdata while the 6 patch omits that. In the interest of being usefull, I have added the missing annotation and am attaching the new patch. > I did mention that I use version 5 because version 6 doesn't play > nicely with this chip. Correct. However, when I saw the patch non-applying, the thought that there may be other patches did not even cross my mind. I suppose that, as an LFS user, you are used to dealing with (so to speak) broken patches and, more generally, broken software which does not compile. :) -- Svi moji e-mailovi su kriptografski potpisani. Proverite ih. All of my e-mails are cryptographically signed. Verify them. -- You don't need an AI for a robot uprising. Humans will do just fine.
arch-hybrid-6-patch.patch.xz
Description: application/xz
signature.asc
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page