Skip to contentSkip to conversation

Broadcom-sta (aka wl) --> Error! Bad return status for module build on kernel

DISCUSSION Lukas Singer 2 participants 3 messages Feb 28, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 46 lines · Lukas Singer

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)

Quoted 6 lines

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.

Signature · 14 lines
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 

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 39 lines · Lukas Singer
Quoted 28 lines · Andrey Skvortsov
Quoted 27 lines · Lukas Singer

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,

Quoted 9 lines
Quoted 1 line

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.

Quoted 7 lines

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.

Signature · 14 lines
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