ERROR @wl_cfg80211_get_tx_power : error (-1)

Bug #1360887 reported by Hassan El Jacifi on 2014-08-24
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Description: Ubuntu 14.04.1 LTS
Release: 14.04
Ubuntu 3.13.0-34.60-generic 3.13.11.4

Packages:
linux-headers-3.13.0-34 ---- 3.13.0-34.60
linux-headers-3.13.0-34-generic ---- 3.13.0-34.60
linux-image-3.13.0-34-generic ---- 3.13.0-34.60
linux-image-extra-3.13.0-34-generic ---- 3.13.0-34.60
linux-libc-dev:amd64 ---- 3.13.0-34.60
bcmwl-kernel-source ---- 6.30.223.141+bdcom-0ubuntu2

Error flooding syslog and dmesg:

[ 849.335833] ERROR @wl_dev_intvar_get : error (-1)
[ 849.335837] ERROR @wl_cfg80211_get_tx_power : error (-1)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-34-generic 3.13.0-34.60
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: waver 3036 F.... pulseaudio
 /dev/snd/controlC0: waver 3036 F.... pulseaudio
CurrentDesktop: GNOME
Date: Sun Aug 24 21:08:12 2014
HibernationDevice: RESUME=UUID=8c728597-f27b-4e83-a813-c25f6b076b7d
InstallationDate: Installed on 2012-03-01 (906 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MachineType: Gigabyte Technology Co., Ltd. X58A-UD3R
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-34-generic root=/dev/mapper/jupiter-root ro quiet splash nomodeset ipv6.disable=1 acpi_enforce_resources=lax crashkernel=384M-:128M vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-34-generic N/A
 linux-backports-modules-3.13.0-34-generic N/A
 linux-firmware 1.127.5
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/16/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F8a
dmi.board.name: X58A-UD3R
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF8a:bd05/16/2011:svnGigabyteTechnologyCo.,Ltd.:pnX58A-UD3R:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnX58A-UD3R:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: X58A-UD3R
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Hassan El Jacifi (waver) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.17 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc1-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Hassan El Jacifi (waver) wrote :
Download full text (5.1 KiB)

Hello,

Trying to install the upstream kernel, I got this errors:

Error! Bad return status for module build on kernel: 3.17.0-031700rc1-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log for more information.

----------------
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log:
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/built-in.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/shared/linux_osl.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
                                                                ^
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
        ^
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o] Erreur 1
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build] Erreur 2
make: quittant le répertoire « /usr/src/linux-headers-3.17.0-031700rc1-generic »

------------------------------
lsmod | grep b43

b43 427679 0
bcma 56999 1 b43
mac80211 696913 1 b43
ssb 67356 1 b43
cfg80211 514757 2 b43,mac80211

------------------------------

modinfo b43

filename: /lib/modules/3.17.0-031700rc1-generic/kernel/drivers/net/wireless/b43/b43.ko
firmware: b43/ucode9.fw
firmware: b43/ucode5.fw
firmware: b43/ucode16_mimo.fw
firmware: b43/ucode15.fw
firmware: b43/ucode14.fw
firmware: b43/ucode13.fw
firmware: b43/ucode11.fw
license: GPL
author: Rafał Miłecki
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description: Broadcom B43 wireless driver
srcversion: CF7FC0483204057CC3D84EB
alias: ssb:v4243id0812rev10*
alias: ssb:v4243id0812rev0F*
alias: ssb:v4243id0812rev0D*
alias: ssb:v4243id0812rev0C*
alias: ssb:v4243id0812rev0B*
alias: ssb:v4243id0812rev0A*
alias: ssb:v4243id0812rev09*
alias: ssb:v4243id0812rev07*
alias: ssb:v4243id0812rev06*
alias: ssb:v4243id0812rev05*
alias: bcma:m04BFid0812rev2Acl*
alias: bcma:m04BFid0812rev28cl*
alias: bcma:m04BFid0812rev1Ecl*
alias: bcma:m04BFid0812rev1Dcl*
alias: bcma:m04BFid0812rev1Ccl*
alias: bcma:m04BFid0812rev18cl*
alias: bcma:m04BFid0812rev17cl*
alias: bcma:m04BFid0812rev11cl*
depends: bcma,ssb,mac80211,cfg8...

Read more...

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed

Hassan El Jacifi: If I am not mistaken , you must use an updated bwmc-kernel-source. An updated utopic package (6.30.223.248) is found here [1]. However, that package only supports linux kernel up to version 3.16. In order to use kernel 3.17, you must also install the patch suggested in [2]. See post 8 by Thomas H St.Clair on how to use the patch.

[1] http://packages.ubuntu.com/search?keywords=bcmwl-kernel-source
[2] https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1358966

I also observe the bug reported here, and I can confirm that the dmesg errors are still present in 3.17 (tested with 3.17.0-031700rc4-generic).

Every time iwconfig is invoked, a new pair of dmesg errors like this appears:
[ 1468.755300] ERROR @wl_dev_intvar_get : error (-1)
[ 1468.755304] ERROR @wl_cfg80211_get_tx_power : error (-1)

Btw, I am using Ubuntu 14.04 on a Macbook Pro 11,1 (late 2013 retina). Happy to help with additional info if that is of interest.

Hassan El Jacifi (waver) wrote :

Hi Anders,

Thx for the link [1], Since I used this package the error disappeared.

Since I upgraded to Utopic, the error is back with the new kernel 3.16.0-23-generic

Hassan El Jacifi (waver) wrote :

No more error with kernel 3.16.0-24-generic

GuyS (jstalnak) wrote :

I'll add my voice to this bug report as well. A MacBook (2nd gn white cover model) with latest Kubuntu (Linux jstalnak-MacBook 3.18.3-031803-generic #201501161810 SMP Fri Jan 16 18:12:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux). This issue exists with all current kernels (3.16.x) and with kernels 3.18.3-031803 and 3.19.0-031900 both with the latest bwmc kernel source. Without the bwmc kernel source the enet/wireless is dead. With the bwmc kernel source in 3.18.3 all works, but the log entries continue. With kernel 3.19.0 networking works, but sound is dead, and log entries continue. Using one of the commandline ttys is impossible, as the error output interferes with entering passwords at the login prompts.

The frequency is about an entry per second in the kern.log and syslog.log. They begin at dmesg time point 150+ after boot concludes, so quite quickly after start up.

<dmesg>
[ 100.532832] nouveau W[ PCE0][0000:02:00.0] disabled, PCE0=1 to enable
[ 101.180152] nouveau W[ PCE0][0000:02:00.0] disabled, PCE0=1 to enable
[ 157.623413] ERROR @wl_dev_intvar_get : error (-1)
[ 157.623432] ERROR @wl_cfg80211_get_tx_power : error (-1)
</dmesg>

My present kern.log has 113,000+ "wl_cfg80211" entries. Which also makes using these logs for any purpose pragmatically impossible; given that the wl_dev and wl_cfg occur in pairs, that's 226,000 lines of utterly useless data.

How can I help?

Yuval Langer (yuval.langer) wrote :

From dmesg:

[419544.197798] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419545.198994] ERROR @wl_dev_intvar_get : error (-1)
[419545.199010] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419546.102207] ERROR @wl_dev_intvar_get : error (-1)
[419546.102221] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419548.191874] net_ratelimit: 2 callbacks suppressed
[419548.191886] ERROR @wl_dev_intvar_get : error (-1)
[419548.191895] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419549.153325] ERROR @wl_dev_intvar_get : error (-1)
[419549.153341] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419550.107525] ERROR @wl_dev_intvar_get : error (-1)
[419550.107540] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419551.162466] ERROR @wl_dev_intvar_get : error (-1)
[419551.162481] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419552.144024] ERROR @wl_dev_intvar_get : error (-1)
[419552.144041] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419554.038432] net_ratelimit: 2 callbacks suppressed
[419554.038445] ERROR @wl_dev_intvar_get : error (-1)
[419554.038455] ERROR @wl_cfg80211_get_tx_power : error (-1)
[419555.022873] ERROR @wl_dev_intvar_get : error (-1)

Tamale (uictamale) wrote :

I'm getting a constant stream of these with kernel 4.10.0-35-generic #39~16.04.1-Ubuntu SMP on ubuntu 16.04.3

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions