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

Johan Vermeulen jvermeulen at cawdekempen.be
Fri Jan 11 04:32:58 EST 2013



Op 10-01-13 18:56, Alan Bartlett schreef:
> 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.
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo

Hello Alan

Thanks for the reply, I really appreciate it.

And thanks for reopening the bug.

I checked the device:id pairing - it's 14e4:4727- so installing 
kmod-compat-wireless should work but it doesn't.

I am concerned about stable ABI, but I was thinking -----> it seems to 
me I have to build the kmod-wl rpm on a lot of laptops in order to get 
the Broadcom cards to work.
I want updated machines, so on a kernel update, I have to redo the 
build, unless I'm wrong.
That's not possible.
So I thougt better to have Centos laptops with ml-kernels 3.7..... than 
go to Centos6.4 in a while and still have older Centos6.3 kernels

But building the kmod-wl on the latest Centos kernel works, so for the 
moment the users have wireless.:-)

Greetings, J.||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20130111/6b2e342b/attachment.html>


More information about the elrepo mailing list