kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel
@ 2015-02-28 12:49 Lukas Singer
  2015-02-28 15:19 ` Andrey Skvortsov
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Singer @ 2015-02-28 12:49 UTC (permalink / raw)
  To: kernelnewbies

Hi Kernelnewbies,

i am doing the eudytpula challenge, currently on task #2.
it is about building your own kernel and booting it.

i successfully build the kernel and i am able to boot it but i have issues with my wlan driver.

when i run `$ sudo make install? i get this error:
  Error! Bad return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64)
  Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information.

the make.log says:
  ...
  CFG80211 API is prefered for this kernel version
  Makefile:80: Neither CFG80211 nor Wireless Extension is enabled in kernel
  ...

but i have cfg80211 configured!
   ~/linux/linux $ cat .config | grep "CFG80211"
  CONFIG_CFG80211=y
  # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
  # CONFIG_CFG80211_REG_DEBUG is not set
  CONFIG_CFG80211_DEFAULT_PS=y
  # CONFIG_CFG80211_DEBUGFS is not set
  # CONFIG_CFG80211_INTERNAL_REGDB is not set
  CONFIG_CFG80211_WEXT=y

and i have wext configured!
   ~/linux/linux $ cat .config | grep "WEXT"
  CONFIG_WEXT_CORE=y
  CONFIG_WEXT_PROC=y
  CONFIG_WEXT_SPY=y
  CONFIG_WEXT_PRIV=y
  CONFIG_CFG80211_WEXT=y

although the kernel installs and boots, but wlan doesn't work.

i am on a debian system. lenovo edge e-135 notebook.
my current kernel comes from the official debian stable packages:
   ~/linux/linux $ uname -r
  3.2.0-4-amd64

this is my wlan device:
   ~/linux/linux $ lspci -nn | grep Network
  02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

i cannot go without wlan.
can anybody help?

thanks in advance,

lukas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel
  2015-02-28 12:49 Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel Lukas Singer
@ 2015-02-28 15:19 ` Andrey Skvortsov
       [not found]   ` <20150228180603.GA4565@E135.home>
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Skvortsov @ 2015-02-28 15:19 UTC (permalink / raw)
  To: kernelnewbies

On 28 Feb, Lukas Singer wrote:
> Hi Kernelnewbies,
> 
> i am doing the eudytpula challenge, currently on task #2.
> it is about building your own kernel and booting it.
> 
> i successfully build the kernel and i am able to boot it but i have issues with my wlan driver.
> 
> when i run `$ sudo make install? i get this error:
>   Error! Bad return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64)
>   Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information.
> 
> the make.log says:
>   ...
>   CFG80211 API is prefered for this kernel version
>   Makefile:80: Neither CFG80211 nor Wireless Extension is enabled in kernel
>   ...
> 
> but i have cfg80211 configured!
>    ~/linux/linux $ cat .config | grep "CFG80211"
>   CONFIG_CFG80211=y
>   # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
>   # CONFIG_CFG80211_REG_DEBUG is not set
>   CONFIG_CFG80211_DEFAULT_PS=y
>   # CONFIG_CFG80211_DEBUGFS is not set
>   # CONFIG_CFG80211_INTERNAL_REGDB is not set
>   CONFIG_CFG80211_WEXT=y
> 
> and i have wext configured!
>    ~/linux/linux $ cat .config | grep "WEXT"
>   CONFIG_WEXT_CORE=y
>   CONFIG_WEXT_PROC=y
>   CONFIG_WEXT_SPY=y
>   CONFIG_WEXT_PRIV=y
>   CONFIG_CFG80211_WEXT=y
> 
> although the kernel installs and boots, but wlan doesn't work.
> 
> i am on a debian system. lenovo edge e-135 notebook.
> my current kernel comes from the official debian stable packages:
>    ~/linux/linux $ uname -r
>   3.2.0-4-amd64
> 
> this is my wlan device:
>    ~/linux/linux $ lspci -nn | grep Network
>   02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
> 
> i cannot go without wlan.
> can anybody help?
> 
> thanks in advance,
> 
> lukas

Hi, Lukas.

Have you tried brcmsmac in-kernel driver?
I am not sure about support status for BCM4313, but
drivers/net/wireless/brcm80211/brcmsmac have a lot of code related t BCM4313.
I have BCM4312 and am using successfully in-kernel driver instead of Broadcom's out-of-tree driver.

-- 
Best regards,
Andrey Skvortsov

Secure e-mail with gnupg: See http://www.gnupg.org/
PGP Key ID: 0x57A3AEAD


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150228/f19ef64f/attachment.bin 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel
       [not found]   ` <20150228180603.GA4565@E135.home>
@ 2015-02-28 18:45     ` Andrey Skvortsov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Skvortsov @ 2015-02-28 18:45 UTC (permalink / raw)
  To: kernelnewbies

On 28 Feb, Lukas Singer wrote:
> On Sat, Feb 28, 2015 at 06:19:20PM +0300, Andrey Skvortsov wrote:
> > On 28 Feb, Lukas Singer wrote:
> > > Hi Kernelnewbies,
> > > 
> > > i am doing the eudytpula challenge, currently on task #2.
> > > it is about building your own kernel and booting it.
> > > 
> > > i successfully build the kernel and i am able to boot it but i have issues with my wlan driver.
> > > 
> > > when i run `$ sudo make install? i get this error:
> > >   Error! Bad return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64)
> > >   Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information.
> > > 

> > > 
> > > i am on a debian system. lenovo edge e-135 notebook.
> > > my current kernel comes from the official debian stable packages:
> > >    ~/linux/linux $ uname -r
> > >   3.2.0-4-amd64
> > > 
> > > this is my wlan device:
> > >    ~/linux/linux $ lspci -nn | grep Network
> > >   02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
> > > 
> > > i cannot go without wlan.
> > > can anybody help?
> > > 
> > > thanks in advance,
> > > 
> > > lukas
> > 
> > Hi, Lukas.
> > 
> > Have you tried brcmsmac in-kernel driver?
> > I am not sure about support status for BCM4313, but
> > drivers/net/wireless/brcm80211/brcmsmac have a lot of code related t BCM4313.
> > I have BCM4312 and am using successfully in-kernel driver instead of Broadcom's out-of-tree driver.
> > 
> 
> Hi Andrey,
> 
> i tried it again, it works perferctly! thanks.
> i also tried the brcmsmac driver from the debian repositories under my
> old 3.2 kernel and there it still was slow as hell, seems that the
> wireless guys did a very good job improving this driver!
> 

Congrats. That is another reason to run latest kernel.

-- 
Best regards,
Andrey Skvortsov

Secure e-mail with gnupg: See http://www.gnupg.org/
PGP Key ID: 0x57A3AEAD


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150228/8282fbcf/attachment.bin 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-28 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 12:49 Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel Lukas Singer
2015-02-28 15:19 ` Andrey Skvortsov
     [not found]   ` <20150228180603.GA4565@E135.home>
2015-02-28 18:45     ` Andrey Skvortsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).