** Changed in: linux-restricted-modules (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-restricted-modules in Ubuntu.
https://bugs.launchpad.net/bugs/364413
Title:
wl driver ioctl SIOCGIWSTATS fails intermittently
Status in linux-restricted-modules package in Ubuntu:
Won't Fix
Bug description:
Under Jaunty with the wl driver and Broadcom BCM4312, the output from
iwconfig intermittently omits the stats (link quality, signal
strength, noise, TX/RX errors). Based on my troubleshooting, I think
this is a failure somewhere in the driver -- see following details.
When all is well, "good" output from iwconfig looks like this:
eth1 IEEE 802.11bg ESSID:"***" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:B9:16:01
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-54 dBm Noise level=-90 dBm
Rx invalid nwid:0 Rx invalid crypt:1 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0
While "bad" looks like this:
eth1 IEEE 802.11bg ESSID:"***" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:B9:16:01
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
In other words, the "bad" output is missing the stats entirely.
I dug into the wireless-tools source, fired up gdb, and traced the
failure case down to the iw_get_stats() function in iwlib.c
This call:
iw_get_ext(skfd, ifname, SIOCGIWSTATS, &wrq)
is a wrapper around ioctl(), and when things don't work the ioctl is
returning error (-1).
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: linux-restricted-modules-2.6.28-11-generic 2.6.28-11.15
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: linux-restricted-modules
Uname: Linux 2.6.28-11-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/364413/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp