Bug#788347: linux-image-4.0.0-1-amd64: rtl8192cu does not work after unplug/replug

2015-06-11 Thread Michal Suchanek
Package: src:linux
Version: 4.0.2-1
Followup-For: Bug #788347

This is still broken with 4.1.0-rc7 upstream.

https://bugzilla.kernel.org/show_bug.cgi?id=99821

Kernel: Linux 4.1.0-rc7+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.0.0-1-amd64 depends on:
ii  debconf [debconf-2.0]   1.5.56
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kmod18-3
ii  linux-base  3.5
ii  module-init-tools   18-3

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

Versions of packages linux-image-4.0.0-1-amd64 suggests:
pn  debian-kernel-handbook  none
ii  extlinux3:6.03+dfsg-5
ii  grub-pc 2.02~beta2-22
pn  linux-doc-4.0   none

Versions of packages linux-image-4.0.0-1-amd64 is related to:
ii  firmware-atheros0.43
pn  firmware-bnx2   none
pn  firmware-bnx2x  none
pn  firmware-brcm80211  none
pn  firmware-intelwimax none
pn  firmware-ipw2x00none
pn  firmware-ivtv   none
pn  firmware-iwlwifinone
pn  firmware-libertas   none
pn  firmware-linux  none
ii  firmware-linux-nonfree  0.44
pn  firmware-myricomnone
pn  firmware-netxen none
pn  firmware-qlogic none
ii  firmware-ralink 0.43
ii  firmware-realtek0.43
pn  xen-hypervisor  none


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#788347: linux-image-4.0.0-1-amd64: rtl8192cu does not work after unplug/replug

2015-06-10 Thread Michal Suchanek
Package: src:linux
Version: 4.0.2-1
Severity: normal

Hello,

I noticed an issue with my usb WiFi thumb thingy not returning any
networks in scan. After many tries I found that it sometime returns an 802.11b
(1mbps+) AP but never returns the newer 6mbps+ APs

It turns out that the wifi is an rtl8192cu and

1) this does not happen with zd1211rw

2) this does not happen on the first time the WiFi thumb is plugged in
but happens any subsequent time

3) is fixed by unloading rtl8192cu (which is subsequently loaded by
plugging in the device or by hand)

I have no idea if this happens with Linux 4.1/master/whatever.

I might be able to test some more recent kernel version later.

Thanks

Michal


-- Package-specific info:
** Version:
Linux version 4.0.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.9.2 
(Debian 4.9.2-16) ) #1 SMP Debian 4.0.2-1 (2015-05-11)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.0.0-1-amd64 initrd=/boot/initrd.img-4.0.0-1-amd64 
root=UUID=3b8f6a64-5899-462a-aec0-6ddefd878ecf ro fbcon=rotate:3 
elevator=deadline console=ttyS0,115200n8 console=tty0

** Not tainted

** Kernel log:
[ 1795.052164] usb 1-6.1: new high-speed USB device number 17 using ehci-pci
[ 1795.165659] usb 1-6.1: New USB device found, idVendor=0bda, idProduct=8176
[ 1795.172518] usb 1-6.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1795.179820] usb 1-6.1: Product: 
[ 1795.183134] usb 1-6.1: Manufacturer: Re\xffc2\xff87tek
[ 1795.187482] usb 1-6.1: SerialNumber: 00e04c01
[ 1795.192906] rtl8192cu: Chip version 0x10
[ 1795.273409] rtl8192cu: MAC address: 00:0b:81:88:68:f9
[ 1795.278464] rtl8192cu: Board Type 0
[ 1795.282280] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 1795.288044] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1795.294584] ieee80211 phy7: Selected rate control algorithm 'rtl_rc'
[ 1795.297077] usb 1-6.1: firmware: direct-loading firmware 
rtlwifi/rtl8192cufw_TMSC.bin
[ 1799.215406] rtl8192cu: MAC auto ON okay!
[ 1799.255184] rtl8192cu: Tx queue select: 0x05
[ 1799.658328] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1830.453307] usbcore: deregistering interface driver rtl8192cu
[ 1834.517417] usb 1-6.1: USB disconnect, device number 17
[ 1835.756173] usb 1-6.1: new high-speed USB device number 18 using ehci-pci
[ 1835.869794] usb 1-6.1: New USB device found, idVendor=0bda, idProduct=8176
[ 1835.876657] usb 1-6.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1835.883989] usb 1-6.1: Product: 
[ 1835.887302] usb 1-6.1: Manufacturer: Re\xffc2\xff87tek
[ 1835.891657] usb 1-6.1: SerialNumber: 00e04c01
[ 1836.909302] rtl8192cu: Chip version 0x10
[ 1836.984541] rtl8192cu: MAC address: 00:0b:81:88:68:f9
[ 1836.989587] rtl8192cu: Board Type 0
[ 1836.993287] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 1836.999049] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1837.005486] usb 1-6.1: firmware: direct-loading firmware 
rtlwifi/rtl8192cufw_TMSC.bin
[ 1837.013545] ieee80211 phy8: Selected rate control algorithm 'rtl_rc'
[ 1837.013898] usbcore: registered new interface driver rtl8192cu
[ 1842.343539] rtl8192cu: MAC auto ON okay!
[ 1842.382291] rtl8192cu: Tx queue select: 0x05
[ 1842.796084] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1850.133171] usb 1-6.1: USB disconnect, device number 18
[ 1853.420174] usb 1-6.1: new high-speed USB device number 19 using ehci-pci
[ 1853.533675] usb 1-6.1: New USB device found, idVendor=0bda, idProduct=8176
[ 1853.540541] usb 1-6.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1853.547859] usb 1-6.1: Product: 
[ 1853.551203] usb 1-6.1: Manufacturer: Re\xffc2\xff87tek
[ 1853.63] usb 1-6.1: SerialNumber: 00e04c01
[ 1853.560918] rtl8192cu: Chip version 0x10
[ 1853.636173] rtl8192cu: MAC address: 00:0b:81:88:68:f9
[ 1853.641226] rtl8192cu: Board Type 0
[ 1853.645039] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 1853.650835] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1853.657349] ieee80211 phy9: Selected rate control algorithm 'rtl_rc'
[ 1853.657764] usb 1-6.1: firmware: direct-loading firmware 
rtlwifi/rtl8192cufw_TMSC.bin
[ 1856.263418] rtl8192cu: MAC auto ON okay!
[ 1856.300052] rtl8192cu: Tx queue select: 0x05
[ 1856.703097] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1928.069302] usbcore: deregistering interface driver rtl8192cu
[ 1931.029312] usb 1-6.1: USB disconnect, device number 19
[ 1932.012066] usb 1-6.1: new high-speed USB device number 20 using ehci-pci
[ 1932.125688] usb 1-6.1: New USB device found, idVendor=0bda, idProduct=8176
[ 1932.132555] usb 1-6.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1932.139857] usb 1-6.1: Product: 
[ 1932.143171] usb 1-6.1: Manufacturer: Re\xffc2\xff87tek
[ 1932.147545] usb 1-6.1: SerialNumber: 00e04c01
[ 1933.166568] rtl8192cu: Chip version 0x10
[ 1933.241815] rtl8192cu: MAC address: 00:0b:81:88:68:f9
[ 1933.246861]