[elrepo] problem building kmod-wl on Centos6.3 with Elrepo-kernel-ml.De

Alan Bartlett ajb at elrepo.org
Thu Jan 10 12:56:26 EST 2013


On 10 January 2013 10:57, Johan Vermeulen <jvermeulen at cawdekempen.be> wrote:
> Dear All,
>
> I've installed Centos6.3 on a Lenove B580 laptop, which has an Broadcom
> wireless card.
>
> #lspci -v
> 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
> Wireless LAN Controller (rev 01)
>     Subsystem: Broadcom Corporation Device 0608
>     Flags: bus master, fast devsel, latency 0, IRQ 17
>     Memory at f0500000 (64-bit, non-prefetchable) [size=16K]
>
> I ran
>
> #yum --enablerepo=elrepo-kernel install kernel-ml-*
>
> and rebooted.
>
> So now I have kernel :
> Linux localhost.localdomain 3.7.1-2.el6.elrepo.x86_64 #1 SMP Wed Jan 2
> 13:30:26 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> Next I'm trying to follow the instructions here :
>
> http://elrepo.org/tiki/wl-kmod
>
> in order to get the wireless card working.
>
> But when running:
> $rpmbuild --rebuild --target=`uname -m`
> wl-kmod-5_100_82_112-4.el6.elrepo.nosrc.rpm
>
> I get EM:
>
>  ERROR: Kernel configuration is invalid.
>          include/generated/autoconf.h or include/config/auto.conf are
> missing.
>          Run 'make oldconfig&&  make prepare' on kernel src to fix it.
>
>
> I googled this, en saw that this was a bug in previous kernel version, and
> fixed in this kernel:
> http://elrepo.org/bugs/view.php?id=340
> One post mentioned to make a symbolic link, but I cannot get it to work.
>
> Can anyone help me out on this?
>
> Many thanks, J.
>
>
> --
> Johan Vermeulen

Hi Johan,

It does look as if the is yet another minor bug in the specification
for the build of the kernel-ml-devel package, so I have re-opened
http://elrepo.org/bugs/view.php?id=340 on your behalf.

If you are definite that you need to build the kmod-wl package set to
use your Broadcom based wireless card (hint: check the output returned
by 'lspci -nn | grep -i net' -- i.e. the Vendor:Device ID pairing)
then I would recommend that you use the CentOS distribution kernel.
Why? Because the distro kernels are build to maintain a stable ABI,
whilst there is no such concept of a 'stable ABI' with the kernel-ml
(or kernel-lt) packages.

I hope the above gives you something to work with and perhaps someone
else may be able to offer some advice.

Alan.


More information about the elrepo mailing list