Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399747 - net-wireless/broadcom-sta floods logs with "could not get rate/rssi"
Summary: net-wireless/broadcom-sta floods logs with "could not get rate/rssi"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: M. B.
Keywords: PATCH
: 430134 (view as bug list)
Depends on:
Blocks: 468388
  Show dependency tree
Reported: 2012-01-22 16:27 UTC by Ole Christensen
Modified: 2013-05-03 09:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

Fix to remove the error output from driver source (bug-attachment.tgz,1.41 KB, patch)
2012-01-22 16:33 UTC, Ole Christensen
Details | Diff
RSSI Log flood removal (broadcom-sta-,1.25 KB, patch)
2012-07-24 20:32 UTC, Federico Pires
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Christensen 2012-01-22 16:27:31 UTC
After updating to kernel 3.1.6 I get these two errors every few seconds:

Jan 22 17:16:48 dctn007 kernel: ERROR @wl_cfg80211_get_station : Could not get rate (-1)
Jan 22 17:16:48 dctn007 kernel: ERROR @wl_cfg80211_get_station : Could not get rssi (-1)

version is broadcom-sta-

Reproducible: Always

Steps to Reproduce:
1. modprobe wl
2. /etc/init.d/net.ethX start
Actual Results:  
Many errors in syslog

Expected Results:  
No errors :-)

Patch for ebuild gets attached
Comment 1 Ole Christensen 2012-01-22 16:33:20 UTC
Created attachment 299551 [details, diff]
Fix to remove the error output from driver source

This is NOT an actual fix to the source of the problem. It just removes the error output in the driver. If someone could figure out as of which kernel version this problem occurs, the patch could be applied conditionally. In 2.6.36 the problem did not happen, in 3.1.6 it does.
Comment 2 Federico Pires 2012-07-24 20:31:17 UTC

I noticed the same thing with hardened and gentoo sources 3.4.2 and 3.5.0, and I think it *might* have something to do with the fact that iwconfig does not always report the "Quality link" and "Bit rate" information.

I used a patch (attached) to remove the flood in syslog from this debian bug report:

I removed the first part, which is already present for the current ebuild in the other patches. 

I'm currently using the module, and the flood in the log is gone, and no issues so far with my wi fi. For what I understand, as Ole said, this does not look as an actual fix, but rather getting rid of the logging flood.

emerge --info

Portage (hardened/linux/amd64, gcc-4.5.3, glibc-2.14.1-r3, 3.5.0-gentoo-glentoo-nohardened x86_64)
System uname: Linux-3.5.0-gentoo-glentoo-nohardened-x86_64-Intel-R-_Core-TM-_i3_CPU_M_370_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 24 Jul 2012 14:00:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo glentoo
CFLAGS="-O2 -march=core2 -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -fomit-frame-pointer"
EMERGE_DEFAULT_OPTS="--autounmask-write --jobs=3 --load-average=8.1 --keep-going --with-bdeps=y --complete-graph=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks fail-clean fixlafiles news nodoc noinfo parallel-fetch parallel-install parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dhcpcd dri dvd dvdr ffmpeg flac gdbm gnome gnome-keyring gpm gstreamer gtk hardened iconv jack jpeg jpeg2k justify libnotify libv4l mms mmx modules mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pax_kernel pcre png policykit pppd pulseaudio readline session sse sse2 sse4a ssl ssse3 syslog tcpd threads udev unicode urandom v4l xinerama xorg xvmc zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

(In reply to comment #1)
> Created attachment 299551 [details, diff] [details, diff]
> Fix to remove the error output from driver source
> This is NOT an actual fix to the source of the problem. It just removes the
> error output in the driver. If someone could figure out as of which kernel
> version this problem occurs, the patch could be applied conditionally. In
> 2.6.36 the problem did not happen, in 3.1.6 it does.
Comment 3 Federico Pires 2012-07-24 20:32:49 UTC
Created attachment 319132 [details, diff]
RSSI Log flood removal

written based on debian bug:
Comment 4 Evan Teran 2012-09-03 14:08:36 UTC
*** Bug 430134 has been marked as a duplicate of this bug. ***
Comment 5 Peter Leugner 2012-09-27 19:40:48 UTC
Could the ebuild please call epatch_user, so we could use attached patches without hassle? That would be great....
Comment 6 M. B. 2013-04-26 04:45:01 UTC
This seems to be fixed by version - see the latest ebuild in bug #438622

i'm afraid in version 5 of the driver this will be a WONTFIX.
Comment 7 M. B. 2013-05-03 00:04:36 UTC
Included the patch. It should hit upstream as soon as a dev commits it. Please refer to #438622 for further details.

Until then, get them from my overlay; tbc in layman.