All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrej.skvortzov@gmail.com (Andrey Skvortsov)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel
Date: Sat, 28 Feb 2015 18:19:20 +0300	[thread overview]
Message-ID: <20150228151920.GA1794@nest> (raw)
In-Reply-To: <20150228124947.GA10517@E135.home>

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 

  reply	other threads:[~2015-02-28 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [not found]   ` <20150228180603.GA4565@E135.home>
2015-02-28 18:45     ` Andrey Skvortsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150228151920.GA1794@nest \
    --to=andrej.skvortzov@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.