[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789952: linux-image-4.0.0-2-amd64: kernel 4.0.0-2 with iwlwifi 7260 reports incorrect wifi bit rate



Package: src:linux
Version: 4.0.5-1
Severity: normal

When using the kernel provided by linux-image-4.0.0-2-amd64, the WiFi bit rate
is misreported. The exact (incorrect) bit rate changes on each boot (possibly
on the first WiFi connection), but is constant until the computer is rebooted,
regardless of WiFi disconnects or reconnects. The issue does not occur when
using linux-image-3.16.0-4-amd64.

-----

$ uname -a
Linux iset 4.0.0-2-amd64 #1 SMP Debian 4.0.5-1 (2015-06-16) x86_64 GNU/Linux

$ dpkg -l | grep firmware-iwl
ii      firmware-iwlwifi        0.44

$ dmesg | grep -i iwl
[    2.332168] iwlwifi 0000:03:00.0: firmware: failed to load
iwlwifi-7260-12.ucode (-2)
[    2.332212] iwlwifi 0000:03:00.0: Direct firmware load for
iwlwifi-7260-12.ucode failed with error -2
[    2.332703] iwlwifi 0000:03:00.0: firmware: failed to load
iwlwifi-7260-11.ucode (-2)
[    2.332744] iwlwifi 0000:03:00.0: Direct firmware load for
iwlwifi-7260-11.ucode failed with error -2
[    2.343878] iwlwifi 0000:03:00.0: firmware: direct-loading firmware
iwlwifi-7260-10.ucode
[    2.344037] iwlwifi 0000:03:00.0: loaded firmware version 23.15.10.0 op_mode
iwlmvm
[    2.389263] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC
7260, REV=0x144
[    2.389337] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    2.389597] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    2.590343] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.734368] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.734629] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled

$ /sbin/iwconfig
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"MYWIFI"
          Mode:Managed  Frequency:5.745 GHz  Access Point: 40:16:7E:XX:XX:XX
          Bit Rate=6 Mb/s   Tx-Power=22 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=60/70  Signal level=-50 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:32   Missed beacon:0

docker0   no wireless extensions.

lo        no wireless extensions.



-----

I copied a 3GB file to/from my network share and repeatedly  ran `iwconfig` to
sample the reported bit rate. While my download was proceeding at 37 MBps, the
reported bit rate was constant at 6 Mbps.

I obtained iwlwifi-7260-12.ucode from the linux-firmware git repo master
branch, copied it to /lib/firmware, rebooted, and reran the test. The results
were the same.

I rebooted into kernel 3.16 (which loads iwlwifi-7260-9.ucode despite the fact
that iwlwifi-7260-10.ucode and iwlwifi-7260-12.ucode were available in
/lib/firmware), the bit rate is correctly reported and fluctuated between about
500 to 700 Mbps.

It is important to note that the actual download performance was not affected
and was more or less constant throughout my tests. Only the reported bit rate
was incorrect. Nevertheless, an incorrect bit rate will confuse people and may
cause them to mistakenly believe that their WiFi routers are not working or
configured properly.



-- Package-specific info:
** Version:
Linux version 4.0.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-21) ) #1 SMP Debian 4.0.5-1 (2015-06-16)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.0.0-2-amd64 root=UUID=1fe17317-4e03-4bc1-8463-015ed156427e ro quiet splash acpi_osi=Linux

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log:
[    2.380064] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    2.382153] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    2.389263] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[    2.389337] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    2.389597] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    2.399262] Adding 2103996k swap on /dev/sda2.  Priority:-1 extents:1 across:2103996k SSFS
[    2.399658] intel_rapl: Found RAPL domain package
[    2.399661] intel_rapl: Found RAPL domain core
[    2.399663] intel_rapl: Found RAPL domain uncore
[    2.399664] intel_rapl: Found RAPL domain dram
[    2.415702] cfg80211: World regulatory domain updated:
[    2.415705] cfg80211:  DFS Master region: unset
[    2.415706] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    2.415707] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    2.415708] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    2.415709] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    2.415710] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    2.415711] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    2.415712] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    2.415713] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    2.415714] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    2.424281] Bluetooth: Core ver 2.20
[    2.424293] NET: Registered protocol family 31
[    2.424294] Bluetooth: HCI device and connection manager initialized
[    2.424300] Bluetooth: HCI socket layer initialized
[    2.424303] Bluetooth: L2CAP socket layer initialized
[    2.424307] Bluetooth: SCO socket layer initialized
[    2.429119] usbcore: registered new interface driver btusb
[    2.434588] media: Linux media interface: v0.10
[    2.437622] Linux video capture interface: v2.00
[    2.442452] Bluetooth: hci0: read Intel version: 370710018002030d48
[    2.442454] Bluetooth: hci0: Intel device is already patched. patch num: 48
[    2.446023] uvcvideo: Found UVC 1.00 device Integrated Camera (04ca:7035)
[    2.454730] input: Integrated Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input11
[    2.454817] usbcore: registered new interface driver uvcvideo
[    2.454819] USB Video Class driver (1.1.1)
[    2.495238] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    2.495502] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[    2.495662] ACPI: Video Device [VID1] (multi-head: yes  rom: yes  post: no)
[    2.495811] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input13
[    2.495932] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.495935] [drm] Initialized i915 1.6.0 20150130 for 0000:00:02.0 on minor 0
[    2.570623] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
[    2.590343] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.596410] fbcon: inteldrmfb (fb0) is primary device
[    2.596580] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
[    2.596661] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
[    2.596956] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16
[    2.638830] Switched to clocksource tsc
[    2.804823] psmouse serio1: synaptics: queried max coordinates: x [..5112], y [..3834]
[    2.837010] psmouse serio1: synaptics: queried min coordinates: x [1024..], y [1024..]
[    2.837012] psmouse serio1: synaptics: quirked min/max coordinates: x [1024..5112], y [2024..4832]
[    2.899656] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x127c00, board id: 2722, fw id: 1484859
[    2.899663] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[    2.939518] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[    3.715943] Console: switching to colour frame buffer device 360x101
[    3.722447] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.722448] i915 0000:00:02.0: registered panic notifier
[    3.788954] systemd-journald[255]: Received request to flush runtime journal from PID 1
[    3.911976] Process accounting resumed
[    3.934096] random: nonblocking pool is initialized
[    3.942565] bbswitch: version 0.8
[    3.942571] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.VID_
[    3.942576] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG_.VID_
[    3.942585] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
[    3.942861] bbswitch: detected an Optimus _DSM function
[    3.942872] pci 0000:01:00.0: enabling device (0004 -> 0007)
[    3.942900] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[    3.944276] bbswitch: disabling discrete graphics
[    3.944283] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
[    3.960323] thinkpad_acpi: EC reports that Thermal Table has changed
[    4.276643] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.294561] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[    4.301937] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    4.339801] Ebtables v2.0 registered
[    4.345717] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    4.734368] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.734629] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.745261] loop: module loaded
[    5.558846] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.558849] Bluetooth: BNEP filters: protocol multicast
[    5.558853] Bluetooth: BNEP socket layer initialized
[    5.570932] Bluetooth: RFCOMM TTY layer initialized
[    5.570937] Bluetooth: RFCOMM socket layer initialized
[    5.570941] Bluetooth: RFCOMM ver 1.11
[    7.064923] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[    7.263667] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input17
[    8.640755] wlan0: authenticate with 40:16:7e:f4:a5:94
[    8.644118] wlan0: send auth to 40:16:7e:f4:a5:94 (try 1/3)
[    8.644607] wlan0: authenticated
[    8.647537] wlan0: associate with 40:16:7e:f4:a5:94 (try 1/3)
[    8.648328] wlan0: RX AssocResp from 40:16:7e:f4:a5:94 (capab=0x1011 status=0 aid=3)
[    8.649664] wlan0: associated
[   13.719948] usb 1-7: reset full-speed USB device number 3 using xhci_hcd
[   21.376447] hidraw: raw HID events driver (C) Jiri Kosina
[   21.377104] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   21.377109] Bluetooth: HIDP socket layer initialized
[   21.378944] hid-generic 0005:046D:B009.0001: unknown main item tag 0x0
[   21.379003] input: Logitech Bluetooth Mouse M555b as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/bluetooth/hci0/hci0:256/0005:046D:B009.0001/input/input18
[   21.379104] hid-generic 0005:046D:B009.0001: input,hidraw0: BLUETOOTH HID v4.16 Mouse [Logitech Bluetooth Mouse M555b] on e8:2a:ea:15:7d:26

** Model information
sys_vendor: LENOVO
product_name: 20BGCTO1WW
product_version: ThinkPad W540
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: GNET73WW (2.21 )
board_vendor: LENOVO
board_name: 20BGCTO1WW
board_version: SDK0E50512 Std

** Loaded modules:
hid_generic
hidp
hid
ctr
ccm
xt_tcpudp
ip6t_rpfilter
rfcomm
bnep
xt_multiport
xt_addrtype
ipt_MASQUERADE
nf_nat_masquerade_ipv4
ip6t_REJECT
nf_reject_ipv6
dm_thin_pool
dm_persistent_data
dm_bio_prison
dm_bufio
libcrc32c
loop
ipt_REJECT
nf_reject_ipv4
xt_conntrack
ebtable_nat
ebtable_broute
bridge
stp
llc
ebtable_filter
ebtables
ip6table_nat
nf_conntrack_ipv6
nf_defrag_ipv6
nf_nat_ipv6
ip6table_mangle
ip6table_security
ip6table_raw
ip6table_filter
ip6_tables
iptable_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_nat_ipv4
nf_nat
nf_conntrack
iptable_mangle
iptable_security
iptable_raw
iptable_filter
ip_tables
x_tables
binfmt_misc
cpufreq_userspace
cpufreq_powersave
cpufreq_conservative
cpufreq_stats
bbswitch(O)
joydev
snd_hda_codec_hdmi
arc4
uvcvideo
videobuf2_vmalloc
videobuf2_memops
videobuf2_core
v4l2_common
videodev
media
btusb
bluetooth
x86_pkg_temp_thermal
intel_powerclamp
intel_rapl
nls_utf8
iosf_mbi
nls_cp437
iwlmvm
coretemp
kvm_intel
vfat
iTCO_wdt
fat
mac80211
kvm
iTCO_vendor_support
crct10dif_pclmul
snd_hda_codec_realtek
crc32_pclmul
snd_hda_codec_generic
i915
ghash_clmulni_intel
aesni_intel
iwlwifi
aes_x86_64
psmouse
evdev
snd_hda_intel
lrw
efi_pstore
snd_hda_controller
gf128mul
pcspkr
serio_raw
glue_helper
snd_hda_codec
ablk_helper
snd_hwdep
cfg80211
lpc_ich
efivars
drm_kms_helper
mei_me
cryptd
i2c_i801
snd_pcm_oss
mfd_core
snd_mixer_oss
mei
drm
snd_pcm
thinkpad_acpi
snd_timer
nvram
i2c_algo_bit
snd
soundcore
wmi
rfkill
ie31200_edac
tpm_tis
ac
battery
tpm
edac_core
shpchp
video
intel_smartconnect
button
processor
fuse
ecryptfs
parport_pc
ppdev
lp
parport
autofs4
ext4
crc16
mbcache
jbd2
btrfs
xor
raid6_pq
dm_mod
uvesafb
sg
sr_mod
cdrom
sd_mod
ahci
libahci
crc32c_intel
libata
sdhci_pci
xhci_pci
ehci_pci
sdhci
xhci_hcd
ehci_hcd
scsi_mod
e1000e
mmc_core
ptp
usbcore
pps_core
thermal
usb_common
thermal_sys


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DK.UTF-8@corusa, LC_CTYPE=en_DK.UTF-8@corusa (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.0.0-2-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.56
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kmod                                    20-1
ii  linux-base                              3.5

Versions of packages linux-image-4.0.0-2-amd64 recommends:
ii  firmware-linux-free  3.3
ii  irqbalance           1.0.6-3

Versions of packages linux-image-4.0.0-2-amd64 suggests:
ii  debian-kernel-handbook  1.0.15
ii  grub-efi                2.02~beta2-26
ic  grub-pc                 1.99-27+deb7u2
ii  linux-doc-4.0           4.0.5-1

Versions of packages linux-image-4.0.0-2-amd64 is related to:
ii  firmware-atheros        0.44
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
ii  firmware-intelwimax     0.44
ii  firmware-ipw2x00        0.44
ii  firmware-ivtv           0.44
ii  firmware-iwlwifi        0.44
ii  firmware-libertas       0.44
ii  firmware-linux          0.44
ii  firmware-linux-nonfree  0.44
ii  firmware-myricom        0.44
ii  firmware-netxen         0.44
ii  firmware-qlogic         0.44
ii  firmware-ralink         0.44
ii  firmware-realtek        0.44
pn  xen-hypervisor          <none>

-- debconf information excluded


Reply to: