PDA

View Full Version : [ET10x00] USB Wi-FI issues with the new Kernel upgrade on 4.2.027



ccs
28-01-17, 20:11
I've mentioned this in another thread, but I think it's time for a new thread.

I'm using a GigaBlue USB 2.0 WiFi 300Mbps adapter Plug & Play USB 2.0. WLAN adapter (RTL8192cu), and it's been 100% fine until the update to 4.2.027.

Every type of access (telnet, playback to a fire tv, windows explorer) now exhibit symptoms.

The simplest example is copying and pasting a file in windows explorer from the ET10k to my pc.

4.2.026 transfers at about 6Mb/s.

4.2.028 transfers at 200Kb/s, sometimes reaching 2Mb/s, sometimes dropping to zero, and sometimes losing contact altogether.
At this point windows loses the ET10K, and the pc needs rebooting to get it back.

A wired Ethernet connection on 4.2.028 runs fine at about 11.5Mb/s.

(ps I put 4.2.028 in the build number header, but it got truncated.)

ccs
28-01-17, 22:32
dmesg 4.2.028....


root@et10000:~# dmesg
[ 0.227] fuse init (API version 7.25)
[ 0.244] bounce: pool size: 64 pages
[ 0.244] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.244] io scheduler noop registered
[ 0.249] io scheduler cfq registered (default)
[ 0.249] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.250] console [ttyS0] disabled
[ 0.250] serial8250.0: ttyS0 at MMIO 0x10406b00 (irq = 62, base_baud = 5062500) is a 16550A
[ 0.818] console [ttyS0] enabled
[ 0.822] serial8250.0: ttyS1 at MMIO 0x10406b40 (irq = 63, base_baud = 5062500) is a 16550A
[ 0.831] serial8250.0: ttyS2 at MMIO 0x10406b80 (irq = 64, base_baud = 5062500) is a 16550A
[ 0.846] loop: module loaded
[ 0.849] ahci ahci.0: SSS flag set, parallel bus scan disabled
[ 0.865] ahci ahci.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 0.873] ahci ahci.0: flags: ncq sntf stag clo slum part
[ 0.883] scsi host0: ahci
[ 0.887] scsi host1: ahci
[ 0.890] ata1: SATA max UDMA/133 mmio [mem 0x10181000-0x10190fff] port 0x100 irq 42
[ 0.898] ata2: SATA max UDMA/133 mmio [mem 0x10181000-0x10190fff] port 0x180 irq 42
[ 0.906] brcmstb_nand: NAND controller driver is loaded
[ 0.912] libphy: Fixed MDIO Bus: probed
[ 0.916] __clk_enable: network [1]
[ 0.916] bcm7425_pm_network_enable 00
[ 0.916] __clk_enable: enet [1]
[ 0.916] bcm40nm_pm_genet_enable 00
[ 1.028] bcmgenet: configuring instance #0 for internal PHY
[ 1.056] bcmgenet bcmgenet.0 eth0: link down
[ 1.060] __clk_disable: enet [0]
[ 1.060] bcm40nm_pm_genet_disable 00
[ 1.060] __clk_disable: network [0]
[ 1.060] bcm7425_pm_network_disable 00
[ 1.060] __clk_enable: network [1]
[ 1.060] bcm7425_pm_network_enable 00
[ 1.060] __clk_enable: moca_genet [1]
[ 1.060] bcm40nm_pm_genet1_enable 00
[ 1.060] __clk_enable: moca [1]
[ 1.060] bcm40nm_pm_moca_enable 00
[ 1.073] Found PHY at Address 31
[ 1.076] bcmgenet: configuring instance #1 for external RGMII
[ 1.083] __clk_disable: moca [0]
[ 1.083] bcm40nm_pm_moca_disable 00
[ 1.083] __clk_disable: moca_genet [0]
[ 1.083] bcm40nm_pm_genet1_disable 00
[ 1.083] __clk_disable: network [0]
[ 1.083] bcm7425_pm_network_disable 00
[ 1.083] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.089] __clk_enable: usb [1]
[ 1.089] bcm40nm_pm_usb_enable 00
[ 1.089] ehci-brcm ehci-brcm.0: Broadcom STB EHCI
[ 1.094] ehci-brcm ehci-brcm.0: new USB bus registered, assigned bus number 1
[ 1.112] ehci-brcm ehci-brcm.0: irq 66, io mem 0x10480300
[ 1.125] ehci-brcm ehci-brcm.0: USB 0.0 started, EHCI 1.00
[ 1.131] hub 1-0:1.0: USB hub found
[ 1.135] hub 1-0:1.0: 1 port detected
[ 1.139] ehci-brcm ehci-brcm.1: Broadcom STB EHCI
[ 1.144] ehci-brcm ehci-brcm.1: new USB bus registered, assigned bus number 2
[ 1.162] ehci-brcm ehci-brcm.1: irq 67, io mem 0x10480500
[ 1.174] ehci-brcm ehci-brcm.1: USB 0.0 started, EHCI 1.00
[ 1.180] hub 2-0:1.0: USB hub found
[ 1.184] hub 2-0:1.0: 1 port detected
[ 1.188] ehci-brcm ehci-brcm.2: Broadcom STB EHCI
[ 1.193] ehci-brcm ehci-brcm.2: new USB bus registered, assigned bus number 3
[ 1.211] ehci-brcm ehci-brcm.2: irq 71, io mem 0x10490300
[ 1.222] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.223] ehci-brcm ehci-brcm.2: USB 0.0 started, EHCI 1.00
[ 1.234] hub 3-0:1.0: USB hub found
[ 1.238] hub 3-0:1.0: 1 port detected
[ 1.242] ata1.00: ATA-8: HGST HTS541010A9E680, JA0OA560, max UDMA/133
[ 1.242] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 1.256] ata1.00: configured for UDMA/133
[ 1.256] ehci-brcm ehci-brcm.3: Broadcom STB EHCI
[ 1.256] ehci-brcm ehci-brcm.3: new USB bus registered, assigned bus number 4
[ 1.269] ehci-brcm ehci-brcm.3: irq 72, io mem 0x10490500
[ 1.276] ehci-brcm ehci-brcm.3: USB 0.0 started, EHCI 1.00
[ 1.284] hub 4-0:1.0: USB hub found
[ 1.284] scsi 0:0:0:0: Direct-Access ATA HGST HTS541010A9 A560 PQ: 0 ANSI: 5
[ 1.296] hub 4-0:1.0: 1 port detected
[ 1.301] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.307] ohci-brcm ohci-brcm.0: Broadcom STB OHCI
[ 1.312] ohci-brcm ohci-brcm.0: new USB bus registered, assigned bus number 5
[ 1.320] ohci-brcm ohci-brcm.0: irq 68, io mem 0x10480400
[ 1.337] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.343] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 1.351] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.356] sd 0:0:0:0: [sda] Write Protect is off
[ 1.361] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.361] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.391] hub 5-0:1.0: USB hub found
[ 1.395] hub 5-0:1.0: 1 port detected
[ 1.399] ohci-brcm ohci-brcm.1: Broadcom STB OHCI
[ 1.404] ohci-brcm ohci-brcm.1: new USB bus registered, assigned bus number 6
[ 1.412] ohci-brcm ohci-brcm.1: irq 69, io mem 0x10480600
[ 1.484] hub 6-0:1.0: USB hub found
[ 1.488] hub 6-0:1.0: 1 port detected
[ 1.492] ohci-brcm ohci-brcm.2: Broadcom STB OHCI
[ 1.497] ohci-brcm ohci-brcm.2: new USB bus registered, assigned bus number 7
[ 1.505] ohci-brcm ohci-brcm.2: irq 73, io mem 0x10490400
[ 1.521] usb 1-1: new high-speed USB device number 2 using ehci-brcm
[ 1.577] hub 7-0:1.0: USB hub found
[ 1.581] usb 3-1: new high-speed USB device number 2 using ehci-brcm
[ 1.588] hub 7-0:1.0: 1 port detected
[ 1.592] ohci-brcm ohci-brcm.3: Broadcom STB OHCI
[ 1.597] ohci-brcm ohci-brcm.3: new USB bus registered, assigned bus number 8
[ 1.605] ohci-brcm ohci-brcm.3: irq 74, io mem 0x10490600
[ 1.653] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.676] hub 8-0:1.0: USB hub found
[ 1.680] hub 8-0:1.0: 1 port detected
[ 1.684] usbcore: registered new interface driver cdc_wdm
[ 1.690] usbcore: registered new interface driver usb-storage
[ 1.697] sda: sda1
[ 1.697] mousedev: PS/2 mouse device common for all mice
[ 1.697] i2c /dev entries driver
[ 1.697] usbcore: registered new interface driver btusb
[ 1.697] sdhci: Secure Digital Host Controller Interface driver
[ 1.697] sdhci: Copyright(c) Pierre Ossman
[ 1.697] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.697] sdhci-brcmstb sdhci-brcmstb.0: Disabled by bootloader
[ 1.697] sdhci-brcmstb sdhci-brcmstb.1: Disabled by bootloader
[ 1.697] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.698] usbcore: registered new interface driver usbhid
[ 1.698] usbhid: USB HID core driver
[ 1.698] NET: Registered protocol family 17
[ 1.698] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.698] Bluetooth: HIDP socket layer initialized
[ 1.698] Key type dns_resolver registered
[ 1.698] PM: CP0 COUNT/COMPARE frequency does not depend on divisor
[ 1.712] hub 3-1:1.0: USB hub found
[ 1.712] hub 3-1:1.0: 4 ports detected
[ 1.792] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.797] EBI CS1: setting up NAND flash (primary)
[ 1.803] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[ 1.809] nand: Samsung NAND 1GiB 3,3V 8-bit
[ 1.814] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.821] brcmnand brcmnand.0: 1024MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-16 (1KiB sector)
[ 1.832] Bad block table found at page 524224, version 0x01
[ 1.838] Bad block table found at page 524160, version 0x01
[ 1.845] Creating 3 MTD partitions on "brcmnand.0":
[ 1.850] 0x000000000000-0x000040000000 : "complete"
[ 1.862] 0x000000000000-0x000000600000 : "kernel"
[ 1.867] 0x000000600000-0x000040000000 : "rootfs"
[ 1.878] EBI CS0: setting up SPI flash
[ 1.883] brcm_setup_spi_flash: can't locate SPI master
[ 1.888] brcm_setup_cs: can't register SPI flash (error -19)
[ 1.894] ubi0: default fastmap pool size: 256
[ 1.899] ubi0: default fastmap WL pool size: 128
[ 1.904] ubi0: attaching mtd2
[ 2.021] usb 3-1.1: new full-speed USB device number 3 using ehci-brcm
[ 2.201] usb 3-1.4: new high-speed USB device number 4 using ehci-brcm
[ 2.473] random: crng init done
[ 6.837] ubi0: scanning is finished
[ 6.857] ubi0 error: ubi_update_fastmap: could not find any anchor PEB
[ 6.864] ubi0 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
[ 6.888] ubi0 error: ubi_update_fastmap: could not find any anchor PEB
[ 6.895] ubi0 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
[ 6.902] ubi0: volume 0 ("rootfs") re-sized from 602 to 7978 LEBs
[ 6.909] ubi0: attached mtd2 (name "rootfs", size 1018 MiB)
[ 6.915] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 6.922] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 6.929] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 6.936] ubi0: good PEBs: 8140, bad PEBs: 4, corrupted PEBs: 0
[ 6.942] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 6.949] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 631371177
[ 6.958] ubi0: available PEBs: 0, total reserved PEBs: 8140, PEBs reserved for bad PEB handling: 156
[ 6.968] ubi0: background thread "ubi_bgt0d" started, PID 84
[ 6.968] ALSA device list:
[ 6.968] No soundcards found.
[ 7.041] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 85
[ 7.135] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 7.143] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.153] UBIFS (ubi0:0): FS size: 1011617792 bytes (964 MiB, 7967 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 7.164] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 7.170] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 51BC7C4D-EB25-4A41-B518-9D653DE6E524, small LPT model
[ 7.184] VFS: Mounted root (ubifs filesystem) on device 0:12.
[ 7.191] devtmpfs: mounted
[ 7.194] Freeing unused kernel memory: 268K (8096d000 - 809b0000)
[ 7.201] This architecture does not have kernel memory protection.
[ 8.653] EXT4-fs (sda1): recovery complete
[ 8.674] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 8.821] tpm: loading out-of-tree module taints kernel.
[ 8.828] usbcore: registered new interface driver tpm
[12.021] dvb: module_layout: kernel tainted.
[12.026] Disabling lock debugging due to kernel taint
[14.005] input: dreambox remote control (native) as /devices/virtual/input/input0
[14.016] input: dreambox advanced remote control (native) as /devices/virtual/input/input1
[14.065] DVB: registering new adapter (dvb0)
[14.071] platform dvb0.0: DVB: registering adapter 0 frontend 0 (DVB-T/T2/C)...
[14.082] platform dvb0.0: DVB: registering adapter 0 frontend 1 (DVB-T/T2/C)...
[14.096] platform dvb0.0: DVB: registering adapter 0 frontend 2 (DVB-T/T2/C)...
[14.112] platform dvb0.0: DVB: registering adapter 0 frontend 3 (DVB-T/T2/C)...
[14.480] input: front panel as /devices/virtual/input/input2
[15.411] SGI XFS with security attributes, realtime, no debug enabled
[15.877] rtl8192cu: Chip version 0x11
[15.968] rtl8192cu: Board Type 0
[15.971] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[15.977] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[15.984] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[15.985] usbcore: registered new interface driver rtl8192cu
[17.720] rtl8192cu: MAC auto ON okay!
[17.758] rtl8192cu: Tx queue select: 0x05
[19.312] wlan0: authenticate with 00:37:b7:36:9c:4c
[19.328] wlan0: send auth to 00:37:b7:36:9c:4c (try 1/3)
[19.351] wlan0: authenticated
[19.355] wlan0: associate with 00:37:b7:36:9c:4c (try 1/3)
[19.365] wlan0: RX AssocResp from 00:37:b7:36:9c:4c (capab=0x431 status=0 aid=2)
[19.376] wlan0: associated
[24.038] NET: Registered protocol family 10
root@et10000:~#

dmesg 4.2.026...


root@et10000:~# dmesg
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.23)
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x10406b00 (irq = 62, base_baud = 5062500) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x10406b40 (irq = 63, base_baud = 5062500) is a 16550A
serial8250.0: ttyS2 at MMIO 0x10406b80 (irq = 64, base_baud = 5062500) is a 16550A
loop: module loaded
ahci ahci.0: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf stag clo slum part
scsi host0: ahci
scsi host1: ahci
ata1: SATA max UDMA/133 mmio [mem 0x10181000-0x10190fff] port 0x100 irq 42
ata2: SATA max UDMA/133 mmio [mem 0x10181000-0x10190fff] port 0x180 irq 42
brcmstb_nand: NAND controller driver is loaded
libphy: Fixed MDIO Bus: probed
__clk_enable: network [1]
bcm7425_pm_network_enable 00
__clk_enable: enet [1]
bcm40nm_pm_genet_enable 00
bcmgenet: configuring instance #0 for internal PHY
bcmgenet bcmgenet.0 eth0: link down
__clk_disable: enet [0]
bcm40nm_pm_genet_disable 00
__clk_disable: network [0]
bcm7425_pm_network_disable 00
__clk_enable: network [1]
bcm7425_pm_network_enable 00
__clk_enable: moca_genet [1]
bcm40nm_pm_genet1_enable 00
__clk_enable: moca [1]
bcm40nm_pm_moca_enable 00
Found PHY at Address 31
bcmgenet: configuring instance #1 for external RGMII
__clk_disable: moca [0]
bcm40nm_pm_moca_disable 00
__clk_disable: moca_genet [0]
bcm40nm_pm_genet1_disable 00
__clk_disable: network [0]
bcm7425_pm_network_disable 00
usbcore: registered new interface driver zd1201
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver MOSCHIP usb-ethernet driver
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
__clk_enable: usb [1]
bcm40nm_pm_usb_enable 00
ehci-brcm ehci-brcm.0: Broadcom STB EHCI
ehci-brcm ehci-brcm.0: new USB bus registered, assigned bus number 1
ehci-brcm ehci-brcm.0: irq 66, io mem 0x10480300
ehci-brcm ehci-brcm.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-brcm ehci-brcm.1: Broadcom STB EHCI
ehci-brcm ehci-brcm.1: new USB bus registered, assigned bus number 2
ehci-brcm ehci-brcm.1: irq 67, io mem 0x10480500
ehci-brcm ehci-brcm.1: USB 0.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-brcm ehci-brcm.2: Broadcom STB EHCI
ehci-brcm ehci-brcm.2: new USB bus registered, assigned bus number 3
ehci-brcm ehci-brcm.2: irq 71, io mem 0x10490300
ehci-brcm ehci-brcm.2: USB 0.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ehci-brcm ehci-brcm.3: Broadcom STB EHCI
ehci-brcm ehci-brcm.3: new USB bus registered, assigned bus number 4
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-8: HGST HTS541010A9E680, JA0OA560, max UDMA/133
ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA HGST HTS541010A9 A560 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
ehci-brcm ehci-brcm.3: irq 72, io mem 0x10490500
ehci-brcm ehci-brcm.3: USB 0.0 started, EHCI 1.00
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-brcm ohci-brcm.0: Broadcom STB OHCI
ohci-brcm ohci-brcm.0: new USB bus registered, assigned bus number 5
ohci-brcm ohci-brcm.0: irq 68, io mem 0x10480400
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
ohci-brcm ohci-brcm.1: Broadcom STB OHCI
ohci-brcm ohci-brcm.1: new USB bus registered, assigned bus number 6
ohci-brcm ohci-brcm.1: irq 69, io mem 0x10480600
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
ohci-brcm ohci-brcm.2: Broadcom STB OHCI
ohci-brcm ohci-brcm.2: new USB bus registered, assigned bus number 7
ohci-brcm ohci-brcm.2: irq 73, io mem 0x10490400
usb 1-1: new high-speed USB device number 2 using ehci-brcm
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 1 port detected
ohci-brcm ohci-brcm.3: Broadcom STB OHCI
ohci-brcm ohci-brcm.3: new USB bus registered, assigned bus number 8
ohci-brcm ohci-brcm.3: irq 74, io mem 0x10490600
usb 3-1: new high-speed USB device number 2 using ehci-brcm
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 1 port detected
ata2: SATA link down (SStatus 0 SControl 300)
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver btusb
Driver 'mmcblk' needs updating - please use bus_type methods
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-brcmstb sdhci-brcmstb.0: Disabled by bootloader
sdhci-brcmstb sdhci-brcmstb.1: Disabled by bootloader
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
Key type dns_resolver registered
PM: CP0 COUNT/COMPARE frequency does not depend on divisor
EBI CS1: setting up NAND flash (primary)
nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
nand: Samsung NAND 1GiB 3,3V 8-bit
nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
brcmnand brcmnand.0: 1024MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-16 (1KiB sector)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
Creating 3 MTD partitions on "brcmnand.0":
0x000000000000-0x000040000000 : "complete"
0x000000000000-0x000000600000 : "kernel"
0x000000600000-0x000040000000 : "rootfs"
EBI CS0: setting up SPI flash
brcm_setup_spi_flash: can't locate SPI master
brcm_setup_cs: can't register SPI flash (error -19)
ubi0: default fastmap pool size: 256
ubi0: default fastmap WL pool size: 25
ubi0: attaching mtd2
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
usb 3-1.1: new full-speed USB device number 3 using ehci-brcm
random: nonblocking pool is initialized
usb 3-1.4: new high-speed USB device number 4 using ehci-brcm
ubi0: scanning is finished
ubi0 error: ubi_update_fastmap: could not find any anchor PEB
ubi0 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
ubi0 error: ubi_update_fastmap: could not find any anchor PEB
ubi0 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
ubi0: volume 0 ("rootfs") re-sized from 603 to 7978 LEBs
ubi0: attached mtd2 (name "rootfs", size 1018 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 8140, bad PEBs: 4, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1645713301
ubi0: available PEBs: 0, total reserved PEBs: 8140, PEBs reserved for bad PEB handling: 156
ubi0: background thread "ubi_bgt0d" started, PID 60
ALSA device list:
No soundcards found.
UBIFS: background thread "ubifs_bgt0_0" started, PID 61
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 1011617792 bytes (964 MiB, 7967 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
UBIFS: reserved for root: 0 bytes (0 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 7569E2A6-0940-4820-8F72-4F28329CD186, small LPT model
VFS: Mounted root (ubifs filesystem) on device 0:13.
devtmpfs: mounted
Freeing unused kernel memory: 276K (808fb000 - 80940000)
EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
usbcore: registered new interface driver tpm
dvb: module_layout: kernel tainted.
Disabling lock debugging due to kernel taint
input: dreambox remote control (native) as /devices/virtual/input/input0
input: dreambox advanced remote control (native) as /devices/virtual/input/input1
DVB: registering new adapter (dvb0)
platform dvb0.0: DVB: registering adapter 0 frontend 0 (DVB-T/T2/C)...
platform dvb0.0: DVB: registering adapter 0 frontend 1 (DVB-T/T2/C)...
platform dvb0.0: DVB: registering adapter 0 frontend 2 (DVB-T/T2/C)...
platform dvb0.0: DVB: registering adapter 0 frontend 3 (DVB-T/T2/C)...
input: front panel as /devices/virtual/input/input2
SGI XFS with security attributes, realtime, no debug enabled
usbcore: registered new interface driver rtl8192cu
NET: Registered protocol family 10
platform dvb0.0: DVB: registering adapter 0 frontend 4 (vtuner)...
platform dvb0.0: dvb_frontend_ioctl_legacy: doesn't know how to handle a DVBv3 call to delivery system 0
root@et10000:~#

ccs
28-01-17, 22:42
Googling RX AssocResp (capab=0x431 status=0 aid=2) come up with a few hits.

ccs
29-01-17, 16:16
It looks like I'm talking to myself again. Anyway, here's an attempt at the wireless-info script.....

########## wireless info START ##########

date: invalid date '2016-07-07 21:16 -0500'
date: invalid date 'Thu Jan 1 01:00:12 1970'
Report from: 29 Jan 2017 14:55 GMT +0000

Booted last:

Script from:

##### release ###########################

wireless-info: line 155: lsb_release: command not found

##### kernel ############################

Linux 4.8.3 #1 SMP Sun Jan 22 09:44:51 GMT 2017 mips unknown unknown GNU/Linux

ubi.mtd=rootfs, rootfstype=ubifs, bmem=192M@64M, bmem=360M@512M, memc1=768M, console=ttyS0,115200n8

##### desktop ###########################

sed: /home/root/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

lspci: /sys/bus/pci/devices: No such file or directory

##### lsusb #############################

Bus 005 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 001 Device 001: ID 1d6b:0002
Bus 003 Device 004: ID 2659:1401
Bus 008 Device 001: ID 1d6b:0001
Bus 006 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0bda:8178
Bus 004 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002
Bus 003 Device 003: ID dead:beef
Bus 003 Device 002: ID 1a40:0101
Bus 007 Device 001: ID 1d6b:0001

##### PCMCIA card info ##################

'pccardctl' is not installed (package "pcmciautils").

##### rfkill ############################

0: phy0: wlan
Soft blocked: no
Hard blocked: no

##### lsmod #############################

rtl8192cu 81098 0
rtl_usb 12614 1 rtl8192cu
rtl8192c_common 49031 1 rtl8192cu
rtlwifi 75935 3 rtl_usb,rtl8192c_common,rtl8192cu
mac80211 412221 3 rtl_usb,rtlwifi,rtl8192cu

##### interfaces ########################


auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
hostname $(hostname)
pre-up wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.wlan0.conf -B -dd -Dnl80211 || true
pre-down wpa_cli -iwlan0 terminate || true

iface eth1 inet dhcp
hostname $(hostname)

iface eth0 inet dhcp
hostname $(hostname)


##### ifconfig ##########################

eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth1 Link encap:Ethernet HWaddr <MAC 'eth1' [IF2]>
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr <MAC 'wlan0' [IF3]>
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20b:81ff:fe99:51c5%4938032/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31886 errors:0 dropped:0 overruns:0 frame:0
TX packets:50149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2962856 (2.8 MiB) TX bytes:70689435 (67.4 MiB)

##### iwconfig ##########################

eth0 no wireless extensions.

lo no wireless extensions.

eth1 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"BTHub5"
Mode:Managed Frequency:2.462 GHz Access Point: <MAC address>
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:165 Missed beacon:0


##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

##### resolv.conf #######################

domain home
nameserver 192.168.1.254

##### network managers ##################

Installed:

None found.

Running:

None found.

##### NetworkManager info ###############

NetworkManager is not installed (package "network-manager").

##### NetworkManager.state ##############

cat: can't open '/var/lib/NetworkManager/NetworkManager.state': No such file or directory

##### NetworkManager.conf ###############

grep: /etc/NetworkManager/NetworkManager.conf: No such file or directory

##### NetworkManager profiles ###########

No NetworkManager profiles found.

##### iw reg get ########################

Region: GMT (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

eth0 no frequency information.

lo no frequency information.

eth1 no frequency information.

wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.462 GHz (Channel 11)


##### iwlist scan #######################

No passwd entry for user 'scan'


##### module infos ######################

[rtl8192cu]
filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw_TMSC.bin
firmware: rtlwifi/rtl8192cufw_B.bin
firmware: rtlwifi/rtl8192cufw_A.bin
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
depends: mac80211,rtlwifi,rtl8192c-common,rtl_usb
intree: Y
vermagic: 4.8.3 SMP mod_unload modversions BMIPS 32BIT
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)

[rtl_usb]
filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
description: USB basic driver for rtlwifi
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
depends: mac80211,rtlwifi
intree: Y
vermagic: 4.8.3 SMP mod_unload modversions BMIPS 32BIT

[rtl8192c_common]
filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
description: Realtek 8192C/8188C 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
depends: rtlwifi
intree: Y
vermagic: 4.8.3 SMP mod_unload modversions BMIPS 32BIT

[rtlwifi]
filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
depends: mac80211
intree: Y
vermagic: 4.8.3 SMP mod_unload modversions BMIPS 32BIT

[mac80211]
filename: /lib/modules/4.8.3/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
depends:
intree: Y
vermagic: 4.8.3 SMP mod_unload modversions BMIPS 32BIT
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)


##### module parameters #################

[rtl8192cu]
debug: 0
swenc: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500


##### /etc/modules ######################

grep: /etc/modules: No such file or directory

##### modprobe options ##################


##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

find: /etc/pm/*.d: No such file or directory

##### udev rules ########################

find: /etc/udev/rules.d: No such file or directory

##### dmesg #############################

[ 1.596000] ohci-brcm ohci-brcm.3: new USB bus registered, assigned bus number 8
[ 1.604000] ohci-brcm ohci-brcm.3: irq 74, io mem 0x10490600
[ 1.734000] sdhci-brcmstb sdhci-brcmstb.0: Disabled by bootloader
[ 1.740000] sdhci-brcmstb sdhci-brcmstb.1: Disabled by bootloader
[ 1.825000] brcmnand brcmnand.0: 1024MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-16 (1KiB sector)
[ 1.848000] Creating 3 MTD partitions on "brcmnand.0":
[ 1.886000] brcm_setup_spi_flash: can't locate SPI master
[ 1.891000] brcm_setup_cs: can't register SPI flash (error -19)
[ 10.952000] rtl8192cu: Chip version 0x11
[ 11.050000] rtl8192cu: Board Type 0
[ 11.054000] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 11.060000] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 11.067000] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 13.152000] rtl8192cu: MAC auto ON okay!
[ 13.190000] rtl8192cu: Tx queue select: 0x05
[ 14.721000] wlan0: authenticate with <MAC address>
[ 14.739000] wlan0: send auth to <MAC address> (try 1/3)
[ 14.748000] wlan0: authenticated
[ 14.752000] wlan0: associate with <MAC address> (try 1/3)
[ 14.778000] wlan0: RX AssocResp from <MAC address> (capab=0x431 status=0 aid=2)
[ 14.789000] wlan0: associated

########## wireless info END ############

Joe_90
29-01-17, 17:54
@ccs - I had similar issues with a MB wireless dongle (rtl8192cu type, same device code 0bda:8178 as you) when I first had my mut@nt HD51. At the time the problem was due to a generic rtl8xxx kernel module being used and we fixed it by ensuring the rtl8192cu module was built and added to the kernel.

However, you seem to have the relevant module already present in your kernel and the dmesg shows the same rtl8192cu module in use, both in 026 and 028. However there is a difference in the 028 build which shows " ieee80211 phy0: Selected rate control algorithm 'rtl_rc'" which may or may not be of relevance. I wonder is there a difference in the firmware modules "rtlwifi/rtl8192cufw_TMSC.bin" or similar which is causing the problem?

@birdman may be of more help here as he was hugely helpful in getting the build process sorted in my case.

Sicilian
30-01-17, 09:56
Have you installed any extra drivers? Drivers for this stick i'm sure are pre-installed. Re-flash, do not restore anything. Reboot after connecting wifi adapter then test.

I cannot replicate here.

ccs
30-01-17, 10:53
Because of the usb tuner problem, I reflashed 027 without a settings or plugin restore. Then Samba wouldn't install.
I then added my usual settings, and moved to 028 with a settings restore.

So no extra plugins or drivers at all (RTL8192CU is pre-installed), but Samba was set up slightly differently to make it work.

I can try a reflash of 028 with nothing else. A Samba install makes it much easier to observe failing, but I'll try without first.

ccs
30-01-17, 13:23
Reflashed 028, and just configured wireless network.

Five telnet sessions repeatedly cat'ing a file to pc worked ok - just the occasional slightest blip which I would have expected.

Adding ftp'ing a large file made no difference, so far so good.

Streaming a recording to OpenWebif on pc is freezing every few minutes for between 5 and 10 seconds (one time was 30 seconds).

I've currently got my pc connected to Ethernet, so the only wireless bit is et10k to router.

It's certainly not as bad as yesterday afternoon when I was trying to get wireless-info working - it was almost unusable.

I'll add samba ("opkg update", followed by a GUI samba install) and see what happens. And repeat on 026.

ccs
30-01-17, 13:33
Added samba - very clunky - one telnet "cat" session is now stopping and starting every few seconds.

ccs
30-01-17, 15:27
No blips at all on 026, telnet flying and OpenWebif streaming to pc (now on wifi) 100% ok.

Joe_90
31-01-17, 01:39
Here's the relevant part of my dmesg (on a mutant HD51). Very similar to yours but a few minor differences:


[ 9.078233] rtl8192cu: Chip version 0x11
[ 9.184355] rtl8192cu: MAC address: 00:e0:4c:xx:xx:xx < your dmesg doesn't seem to have this line (you may have removed it, I have obscured some of the octets)
[ 9.189452] rtl8192cu: Board Type 0
[ 9.193205] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 9.199098] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 9.205923] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 9.206764] usbcore: registered new interface driver rtl8192cu
[ 9.324240] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
[ 10.261755] rtl8192cu: MAC auto ON okay!
[ 10.303604] rtl8192cu: Tx queue select: 0x05
[ 11.797314] wlan0: authenticate with f4:f2:xx:xx:xx:xx
[ 11.821521] wlan0: send auth to f4:f2:xx:xx:xx:xx (try 1/3)
[ 11.830114] wlan0: authenticated
[ 11.834274] wlan0: associate with f4:f2:xx:xx:xx:xx (try 1/3)
[ 11.844234] wlan0: RX AssocResp from f4:f2:xx:xx:xx:xx (capab=0x431 status=0 aid=8) < your aid is 2
[ 11.864426] wlan0: associated
[ 14.100377] NET: Registered protocol family 10


Don't know if it will help or hinder :)

One other thing I noticed is that your eth0 seems to be active. I have wifi only enabled on my box with the ethernet port disabled. Maybe there is some interaction causing an issue?

birdman
31-01-17, 02:19
It is using a different driver.

Previously it was using:

kernel/drivers/net/wireless/8192cu.ko


now it is using:

kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko


which will be because linuxwifi is set in the kernel build options.
This (new) driver is, AFAIK, the one which works for a mutant51 (the issue there was that the rtl8xxxu driver wasn't working well).

ccs
31-01-17, 10:27
One other thing I noticed is that your eth0 seems to be active. I have wifi only enabled on my box with the ethernet port disabled. Maybe there is some interaction causing an issue?There may have been an Ethernet cable connected, but only the wifi adapter was enabled.
The testing I did yesterday (Monday) definitely didn't. (I was using the same cable to connect my pc to the router.)

Edit: Where did you see eth0 as active, I can't see any reference.

ccs
31-01-17, 11:19
..... in fact, it's "LAN connection 2" that I only ever use if I need to.

Joe_90
31-01-17, 13:06
It is using a different driver.

Previously it was using:

kernel/drivers/net/wireless/8192cu.ko


now it is using:

kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko


which will be because linuxwifi is set in the kernel build options.
This (new) driver is, AFAIK, the one which works for a mutant51 (the issue there was that the rtl8xxxu driver wasn't working well).

@birdman - where are you seeing that it is using 8192cu.ko? The dmesg and lsmod show that rtl8192cu is in use for that adapter in both 026 and 028. The rtl8xxxu driver was causing all sorts of issues for me with that dongle for sure.

Joe_90
31-01-17, 13:09
There may have been an Ethernet cable connected, but only the wifi adapter was enabled.
The testing I did yesterday (Monday) definitely didn't. (I was using the same cable to connect my pc to the router.)

Edit: Where did you see eth0 as active, I can't see any reference.

The ifconfig shows the eth0 (and eth1) as being present whereas on my system ifconfig shows only wlan0 as I have eth0 disabled. I misused the word "active" as there is no actual traffic shown on your ifconfig - just that it is enabled.

ccs
31-01-17, 13:11
@birdman - where are you seeing that it is using 8192cu.ko? The dmesg and lsmod show that rtl8192cu is in use for that adapter in both 026 and 028. The rtl8xxxu driver was causing all sorts of issues for me with that dongle for sure.Doesn't it show up in #4 ?

Joe_90
31-01-17, 13:19
Doesn't it show up in #4 ?

Nope!

Unless @birdman is referencing something which is not in the thread (maybe a build bitbake)?

ccs
31-01-17, 13:21
The ifconfig shows the eth0 (and eth1) as being present whereas on my system ifconfig shows only wlan0 as I have eth0 disabled. I misused the word "active" as there is no actual traffic shown on your ifconfig - just that it is enabled.It should show up with ifconfig -a

ccs
31-01-17, 13:23
Nope!

Unless @birdman is referencing something which is not in the thread (maybe a build bitbake)?

Isn't this what you were referring to?

filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko

Joe_90
31-01-17, 13:28
No - he's referring to the 8192cu.ko module (no rtl prefix). I think that module has been used on some other machine builds.

birdman
31-01-17, 14:02
@birdman - where are you seeing that it is using 8192cu.ko?I'm looking at the files distributed with the image.
What gets build for 8192cu depends on whether linuxwifi is defined as a feature for the kernel. For 4.0.1 it wasn't, but for 4.8.3 it is.

So looking at the files in the 4.2.026 image for the e10k I can see:
image/lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko

but looking at the 4.2.027 image I see:
image/lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko

Which is why the dmesg outputs in #2 differ.

Joe_90
31-01-17, 17:14
dmesg in both 026 and 028 is showing usage of the rtl8192cu.ko module. There's no reference to 8192cu.ko in either that I can see so I assume it's not using it although it may well be present.

Are you saying that there is no rtl8192cu.ko module in the 026 image? I'm not clear on whether both modules are there in 026. If not, then the 8192cu.ko module is announcing itself as rtl8192cu which is confusing at best.

ccs
31-01-17, 18:24
modinfo 026 .....

root@et10000:~# modinfo 8192cu
filename: /lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko
version: v4.0.2_9000.20130911
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 37A6B9EE78BDC75F69387A6
alias: usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
.
.
.
alias: usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
depends:
vermagic: 4.0.1 SMP mod_unload modversions BMIPS 32BIT
parm: rtw_ips_mode:The default IPS mode (int)
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_cbw40_enable:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_special_rf_path:int
parm: rtw_antdiv_cfg:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_force_iol:Force to enable IOL (bool)
parm: rtw_mc2u_disable:int
parm: rtw_mac_phy_mode:int
parm: rtw_80211d:int
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
root@et10000:~#

birdman
31-01-17, 19:49
dmesg in both 026 and 028 is showing usage of the rtl8192cu.ko module.No, it's not. It's showing the use of a module for rtl8192cu. It doesn't mention the file name. See the modinfo details in #24.

ccs
31-01-17, 22:22
Added samba - very clunky - one telnet "cat" session is now stopping and starting every few seconds.I don't really think samba is the cause, it just makes it appear worse, if that makes sense.

If anything, it seems to get progressively worse as time goes on.

'028+wireless+absolutely nothing else' was switched on for some time this morning. I then tried ping as another test, and it was very slow.

Traceroute is ok.

Joe_90
01-02-17, 14:10
modinfo 026 .....

root@et10000:~# modinfo 8192cu
filename: /lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko
version: v4.0.2_9000.20130911
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 37A6B9EE78BDC75F69387A6
alias: usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
.
.
.
alias: usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
depends:
vermagic: 4.0.1 SMP mod_unload modversions BMIPS 32BIT
parm: rtw_ips_mode:The default IPS mode (int)
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_cbw40_enable:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_special_rf_path:int
parm: rtw_antdiv_cfg:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_force_iol:Force to enable IOL (bool)
parm: rtw_mc2u_disable:int
parm: rtw_mac_phy_mode:int
parm: rtw_80211d:int
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
root@et10000:~#

Thanks ccs - that's new information and @birdman has commented on it. The modinfo in post #4 doesn't reference the 8192cu.ko file at all (presumably because it was run on 028?). It would seem that the two files actually contain different driver code. The fact that dmesg is showing the use of the rtl8192cu driver in both 026 and 028 is masking the fact that different files have been used. I would have thought that it would be good practice to match the filename to the module, but there you are...
Those rtl8192cu wifi dongles don't all seem to behave in the manner expected. Mine will work with the generic rtl8xxxcu driver up to the point of establishing a crypto handshake with the router and then immediately lock up. So I had to go back to the actual rtl8192cu driver. In your case you may have to install the 8192cu.ko driver.

ccs
01-02-17, 15:33
In your case you may have to install the 8192cu.ko driver.This is where I start to struggle.
I can see how to uninstall the driver on 4.8.3, but were is the 4.0.1 driver to put back?.
I'm assuming it needs to be uninstalled/installed, not me just overwriting rtl8192cu.ko with 8192cu.ko ?

ccs
01-02-17, 17:24
Would this be a start (on 026)....


root@et10000:/media/hdd/tmp# opkg list|grep 8192cu
enigma2-plugin-drivers-network-usb-rtl8192cu - 1.0-r5 - new universal rt18xxx kernel driver new universal rt18xxx kernel driver.
enigma2-plugin-drivers-network-usb-rtl8192cu-dbg - 1.0-r5 - new universal rt18xxx kernel driver - Debugging files new universal
enigma2-plugin-drivers-network-usb-rtl8192cu-dev - 1.0-r5 - new universal rt18xxx kernel driver - Development files new universal
enigma2-plugin-drivers-network-usb-rtl8192cu-rev2 - 1.0-r5 - rt8192cu Proprietary alternative kernel driver rt8192cu Proprietary
enigma2-plugin-drivers-network-usb-rtl8192cu-rev2-dbg - 1.0-r5 - rt8192cu Proprietary alternative kernel driver - Debugging files
rt8192cu Proprietary alternative kernel driver. This package contains
enigma2-plugin-drivers-network-usb-rtl8192cu-rev2-dev - 1.0-r5 - rt8192cu Proprietary alternative kernel driver - Development files
rt8192cu Proprietary alternative kernel driver. This package contains
firmware-rtl8192cu - 1.0-r0 - Firmware for RTL8192CU Firmware for RTL8192CU.
firmware-rtl8192cufw - 1.0-r0 - Firmware for rtl8192cufw_TMSC Firmware for rtl8192cufw_TMSC.
kernel-module-8192cu - 4.0.2-r4 - 8192cu kernel module 8192cu kernel module; Realtek Wireless Lan Driver
kernel-module-rtl8192cu - 4.0.1-r0.4 - rtl8192cu kernel module rtl8192cu kernel module; Realtek 8192C/8188C
rtl8192cu - 4.0.2-r4 - Driver for Realtek USB wireless devices Driver for Realtek USB wireless
rtl8192cu-dbg - 4.0.2-r4 - Driver for Realtek USB wireless devices - Debugging files Driver for
rtl8192cu-dev - 4.0.2-r4 - Driver for Realtek USB wireless devices - Development files Driver for

Nothing wants to download eg

root@et10000:~# opkg download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2
Downloading http://www.openvix.co.uk/feeds/openvix/release/4.2/et10000/all/enigma2-plugin-drivers-network-usb-rtl8192cu-rev2_1.0-r5_all.ipk.
Removing corrupt package file /var/cache/opkg/bc4e010ee86896c4f5f873000a0ea68e_enigma2-plugin-drivers-network-usb-rtl8192cu-rev2_1.0-r5_all.ipk.
Collected errors:
* opkg_download_cmd: Failed to download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2.

birdman
01-02-17, 18:04
The fact that dmesg is showing the use of the rtl8192cu driver in both 026 and 028 is masking the fact that different files have been used. I would have thought that it would be good practice to match the filename to the module, but there you are... It's saying that it has added a driver for the rtl8192cu chipset. It doesn't mention filenames at all (you could name the file anything you wish and still load it).


Those rtl8192cu wifi dongles don't all seem to behave in the manner expected. Mine will work with the generic rtl8xxxcu driver up to the point of establishing a crypto handshake with the router and then immediately lock up. So I had to go back to the actual rtl8192cu driver. In your case you may have to install the 8192cu.ko driver.Remember that it's not just USB Wifi dongles which have an issue with the 4.8.3 kernel on Xtrend boxes - it's USB tuners (Sundtek and PC-TV) as well. There are a number of options:


Stay on 4.8.3, but switch off the linuxwifi option - unlikely to help the USB tuners
Switch back to the 4.0.1 kernel for all Xtrend boxes - but presumably any new Xtrend box/fix will use 4.8.3, so the problem may recur there if the root cause isn't investigated here.

ccs
01-02-17, 20:07
Nothing wants to download.

Good old opkg update does the trick.


root@et10000:/media/hdd/tmp# opkg download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2
Downloaded enigma2-plugin-drivers-network-usb-rtl8192cu-rev2 as enigma2-plugin-drivers-network-usb-rtl8192cu-rev2_1.0-r5_all.ipk.
root@et10000:/media/hdd/tmp#

Anyway, I can't image installing that on 028 will work/is advisable?

There's firmware-rtl8192cu - 1.0-r0, firmware-rtl8192cufw - 1.0-r0 and kernel-module-8192cu - 4.0.2-r4 to worry about as well?

birdman
01-02-17, 22:03
Good old opkg update does the trick.


root@et10000:/media/hdd/tmp# opkg download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2
Downloaded enigma2-plugin-drivers-network-usb-rtl8192cu-rev2 as enigma2-plugin-drivers-network-usb-rtl8192cu-rev2_1.0-r5_all.ipk.
root@et10000:/media/hdd/tmp#

Anyway, I can't image installing that on 028 will work/is advisable?rtl8192cu-rev2 is (or should be) the one installed on the image by default.
The other one is an rtl8xxxu driver.

ccs
01-02-17, 22:12
rtl8192cu-rev2 is (or should be) the one installed on the image by default.
The other one is an rtl8xxxu driver.Yes, that's about the only thing I have worked out.
I wondered if I downloaded from 026 I could reinstall it on 028, but something tells me no chance.

If there's anything I can try out, please let me know.

ccs
04-02-17, 15:45
I don't think anything has changed, image-wise, so usb wireless rtl8192cu on 4.2.029 is still very slow, confirmed by ping.

ccs
04-02-17, 17:55
Looking at ping a bit more...

Most of the time 029 (2ms to 3ms) is about 3 times faster that 026 (6ms to 7ms), but has occasional bad spells, and some Destination host unreachable's.

026 has the odd poorish spell as well and averages 11ms.

029 averages 62ms.

birdman
05-02-17, 01:27
I don't think anything has changed, image-wiseThere was one driver used with kernel 4.0.1, and a different one with kernel 4.8.3.
There are also USB tuner issues with the 4.8.3 kernel (they don't work at all).

ccs
05-02-17, 11:27
There was one driver used with kernel 4.0.1, and a different one with kernel 4.8.3.
There are also USB tuner issues with the 4.8.3 kernel (they don't work at all).I know, I was referring to moving from 028 to 029.

ccs
09-02-17, 13:48
Ping is now 10 times faster on 4.2.030 than it was on 4.2.029.

Has anything changed?

ccs
09-02-17, 14:55
Playback of a recording on a Fire TV with Kodi appears to be ok as well, apart from one thing.

A (Kodi) information message is permanently onscreen, VU+/Enigma2 client - connection lost.

It stays on for about 10 seconds, momentarily goes off, and then is back again. But playback is not affected (as far I can see/hear).

ccs
09-02-17, 16:11
Krypton 17 seems to have got rid of the connection lost message. (It is configurable, and can be permanently switched off, although I haven't(yet))

ccs
11-02-17, 11:08
Ping is now 10 times faster on 4.2.030 than it was on 4.2.029.

Has anything changed?

Surely someone could offer an answer, there was a clear improvement testing 030 2 days ago.

Nothing has changed at my end, my router hasn't been rebooted for 2 weeks, so a simple yes or no would be handy.

birdman
11-02-17, 13:51
Surely someone could offer an answer, there was a clear improvement testing 030 2 days ago.The problem from my viewpoint, and I suspect all others, is that I'm not aware of anything changing.
So I can't say, "Yes".
But I can't be certain about that, so I can't answer, "No" either.

ccs
11-02-17, 13:56
... thanks, that's all I needed to know.

When a wifi connection is established, does it negotiate speed limitations, which could vary from one connection to the next?

birdman
11-02-17, 16:51
When a wifi connection is established, does it negotiate speed limitations, which could vary from one connection to the next?No. It actually negotiates the speed all of the time.
But the speed wouldn't have much effect on ping times, given that ping packets are, by default, quite small.

ccs
11-02-17, 17:20
No. It actually negotiates the speed all of the time.
But the speed wouldn't have much effect on ping times, given that ping packets are, by default, quite small.

Cheers,

The odd thing is that ping went from 2ms typically on 029 to 0.2ms on 030. And now 026 is down to 0.2ms :confused:

I'll have another try later.

Joe_90
11-02-17, 18:54
Cheers,

The odd thing is that ping went from 2ms typically on 029 to 0.2ms on 030. And now 026 is down to 0.2ms :confused:

I'll have another try later.
That's a very good ping on wifi - almost unreal! I just about get .2ms pings on my 1GB wired LAN connections.

ccs
11-02-17, 19:52
.. this is what I'm getting on 026 at the moment, ping on a wireless pc to wireless et10k....


64 bytes from 192.168.1.101: seq=0 ttl=64 time=0.133 ms
64 bytes from 192.168.1.101: seq=1 ttl=64 time=0.186 ms
64 bytes from 192.168.1.101: seq=2 ttl=64 time=0.156 ms
64 bytes from 192.168.1.101: seq=3 ttl=64 time=0.132 ms
64 bytes from 192.168.1.101: seq=4 ttl=64 time=0.132 ms
64 bytes from 192.168.1.101: seq=5 ttl=64 time=0.129 ms
64 bytes from 192.168.1.101: seq=6 ttl=64 time=0.130 ms
64 bytes from 192.168.1.101: seq=7 ttl=64 time=0.161 ms
64 bytes from 192.168.1.101: seq=8 ttl=64 time=0.131 ms
64 bytes from 192.168.1.101: seq=9 ttl=64 time=0.130 ms
64 bytes from 192.168.1.101: seq=10 ttl=64 time=0.135 ms
64 bytes from 192.168.1.101: seq=11 ttl=64 time=0.133 ms
64 bytes from 192.168.1.101: seq=12 ttl=64 time=0.131 ms
64 bytes from 192.168.1.101: seq=13 ttl=64 time=0.154 ms
64 bytes from 192.168.1.101: seq=14 ttl=64 time=0.129 ms
64 bytes from 192.168.1.101: seq=15 ttl=64 time=0.131 ms
64 bytes from 192.168.1.101: seq=16 ttl=64 time=0.134 ms
64 bytes from 192.168.1.101: seq=17 ttl=64 time=0.134 ms
64 bytes from 192.168.1.101: seq=18 ttl=64 time=0.130 ms

Joe_90
11-02-17, 22:15
Ah ok - that's direct to/from router!

I get the following from desktop to router :


64 bytes from 192.168.0.101: icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from 192.168.0.101: icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from 192.168.0.101: icmp_seq=3 ttl=64 time=0.030 ms
64 bytes from 192.168.0.101: icmp_seq=4 ttl=64 time=0.020 ms
64 bytes from 192.168.0.101: icmp_seq=5 ttl=64 time=0.026 ms
64 bytes from 192.168.0.101: icmp_seq=6 ttl=64 time=0.035 ms
64 bytes from 192.168.0.101: icmp_seq=7 ttl=64 time=0.033 ms
64 bytes from 192.168.0.101: icmp_seq=8 ttl=64 time=0.027 ms
64 bytes from 192.168.0.101: icmp_seq=9 ttl=64 time=0.026 ms
64 bytes from 192.168.0.101: icmp_seq=10 ttl=64 time=0.033 ms
64 bytes from 192.168.0.101: icmp_seq=11 ttl=64 time=0.044 ms
64 bytes from 192.168.0.101: icmp_seq=12 ttl=64 time=0.027 ms
64 bytes from 192.168.0.101: icmp_seq=13 ttl=64 time=0.024 ms
64 bytes from 192.168.0.101: icmp_seq=14 ttl=64 time=0.035 ms
64 bytes from 192.168.0.101: icmp_seq=15 ttl=64 time=0.032 ms
64 bytes from 192.168.0.101: icmp_seq=16 ttl=64 time=0.033 ms
64 bytes from 192.168.0.101: icmp_seq=17 ttl=64 time=0.030 ms
64 bytes from 192.168.0.101: icmp_seq=18 ttl=64 time=0.046 ms


I thought you were getting from device to device on your local LAN

ccs
11-02-17, 22:27
Ah ok - that's direct to/from router!


I thought you were getting from device to device on your local LAN

You're confusing me now - I'm pinging my (wireless) et10k from my (wireless) pc, so the route is pc=>router=>et10k and back again.

Joe_90
11-02-17, 22:38
Oh sorry - when I saw .0.101 address I assumed it was the router! Those are fantastic ping times, especially on wifi. If I ping my GB Quad Plus from my desktop (all wired at 1GB) this is what I get...


PING 192.168.0.125 (192.168.0.125) 56(84) bytes of data.
64 bytes from 192.168.0.125: icmp_seq=1 ttl=64 time=0.199 ms
64 bytes from 192.168.0.125: icmp_seq=2 ttl=64 time=0.191 ms
64 bytes from 192.168.0.125: icmp_seq=3 ttl=64 time=0.202 ms
64 bytes from 192.168.0.125: icmp_seq=4 ttl=64 time=0.316 ms
64 bytes from 192.168.0.125: icmp_seq=5 ttl=64 time=0.320 ms
64 bytes from 192.168.0.125: icmp_seq=6 ttl=64 time=0.317 ms
64 bytes from 192.168.0.125: icmp_seq=7 ttl=64 time=0.258 ms
64 bytes from 192.168.0.125: icmp_seq=8 ttl=64 time=0.327 ms
64 bytes from 192.168.0.125: icmp_seq=9 ttl=64 time=0.214 ms

ccs
11-02-17, 23:45
Oh sorry - when I saw .0.101 address I assumed it was the router!

You had me panicking again for a minute - my address was .1.101:)

ccs
03-03-17, 13:09
Still creaking on 5.0.001, I'm afraid.

uscool
05-03-17, 15:22
Still creaking on 5.0.001, I'm afraid.

thats disappointing i use a gigablue x3 i have to use older build 0.28 for wifi to work properly , 5.0 isnt released for it as waiting for drivers was hoping wifi would be fixed

ccs
24-04-17, 12:53
I've finally managed to move onto 5.0.13, so the kernel has now moved on to 4.10.6

rtl8192cu wifi is still as bad as it was after the kernel change when 4.2.027 was released.

Here's a modinfo....


root@et10000:~# modinfo rtl8192cu
filename: /lib/modules/4.10.6/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw_TMSC.bin
firmware: rtlwifi/rtl8192cufw_B.bin
firmware: rtlwifi/rtl8192cufw_A.bin
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
alias: usb:v7392p7822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0100d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v20F4p624Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB2Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p330Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p330Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3309d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3307d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0019d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0061d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17ABd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846pF001d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9021d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8178d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07AAp0056d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0586p341Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp2103d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp2102d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1004d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019p1201d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFFCd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFFBd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFF8d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFFAd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFF9d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04F2pAFF7d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp317Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v9846p9041d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v4855p0091d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v4855p0090d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3359d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3358d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392p7811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v20F4p648Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pED17d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB2Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB2Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019p4902d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3308d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3357d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v103Cp1629d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v4856p0091d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0EB0p9071d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0077d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0070d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p005Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0052d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp5088d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17BAd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9043d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9041d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8189d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8188d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v06F8pE033d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp11F2d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1102d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8178d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8754d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp819Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp818Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp817Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8177d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8170d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp018Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
depends: mac80211,rtlwifi,rtl8192c-common,rtl_usb
intree: Y
vermagic: 4.10.6 SMP mod_unload modversions BMIPS 32BIT
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
root@et10000:~#

birdman
24-04-17, 18:41
I've finally managed to move onto 5.0.13, so the kernel has now moved on to 4.10.6

rtl8192cu wifi is still as bad as it was after the kernel change when 4.2.027 was released.You could see what happens if you install kernel-module-rtl8xxxu and blacklist rtl8192cu.

ccs
24-04-17, 19:57
You could see what happens if you install kernel-module-rtl8xxxu and blacklist rtl8192cu.

I've given it a go, but it hasn't improved, although telnet seems a lot "snappier".

A simple file copying test runs at half the speed of 4.2.26.

I blacklisted like this, not sure it it right


root@et10000:~# cat /etc/modprobe.d/blacklist.conf
blacklist rtl8192cu
root@et10000:~#


root@et10000:~# modinfo rtl8xxxu
filename: /lib/modules/4.10.6/kernel/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
firmware: rtlwifi/rtl8723bu_bt.bin
firmware: rtlwifi/rtl8723bu_nic.bin
firmware: rtlwifi/rtl8192eu_nic.bin
firmware: rtlwifi/rtl8192cufw_TMSC.bin
firmware: rtlwifi/rtl8192cufw_B.bin
firmware: rtlwifi/rtl8192cufw_A.bin
firmware: rtlwifi/rtl8723aufw_B_NoBT.bin
firmware: rtlwifi/rtl8723aufw_B.bin
firmware: rtlwifi/rtl8723aufw_A.bin
license: GPL
description: RTL8XXXu USB mac80211 Wireless LAN Driver
author: Jes Sorensen <Jes.Sorensen@redhat.com>
alias: usb:v7392p7822d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v4855p0091d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2357p0100d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v20F4p624Dd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019pAB2Bd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2001p330Ad*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2001p3309d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2001p3307d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0E66p0020d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0E66p0019d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp2E2Ed*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0846pF001d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0846p9021d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v07B8p8178d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v07AAp0056d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0789p016Dd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0DF6p0070d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0DF6p0061d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0B05p17ABd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v06F8pE035d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0586p341Fd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v050Dp2103d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v050Dp2102d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04BBp0950d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019p1201d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFFCd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFFBd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFF8d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFFAd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFF9d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04F2pAFF7d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:vCDABp8010d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v4856p0091d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v4855p0090d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019pED17d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019pAB2Ed*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019pAB2Ad*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2019p4902d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2001p330Bd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v13D3p3357d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v103Cp1629d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0EB0p9071d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0DF6p005Cd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0DF6p0052d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp5088d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp1E1Ed*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0B05p17BAd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0846p9041d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v07B8p8189d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v06F8pE033d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v050Dp1102d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v04BBp094Cd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v1058p0631d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp317Fd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp818Ad*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp817Ed*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp817Dd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp817Bd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp817Ad*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8177d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8170d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8191d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2001p3308d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v20F4p648Bd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v050Dp1004d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v7392p7811d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp817Fd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8178d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8176d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDApB720d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v2357p0109d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp0724d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp1724d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8724d*dc*dsc*dp*icFFiscFFipFFin*
depends: mac80211
intree: Y
vermagic: 4.10.6 SMP mod_unload modversions BMIPS 32BIT
parm: debug:Set debug mask (int)
parm: ht40_2g:Enable HT40 support on the 2.4GHz band (bool)
parm: dma_aggregation:Enable DMA packet aggregation (bool)
parm: dma_agg_timeout:Set DMA aggregation timeout (range 1-127) (int)
parm: dma_agg_pages:Set DMA aggregation pages (range 1-127, 0 to disable) (int)
root@et10000:~#

dmesg


[ 9.306000] usb 1-1: Vendor: Realtek
[ 9.306000] usb 1-1: Product: 802.11n WLAN Adapter
[ 9.306000] usb 1-1: rtl8192cu_parse_efuse: dumping efuse (0x80 bytes):
[ 9.306000] usb 1-1: RTL8192CU rev A (TSMC) 2T2R, TX queues 2, WiFi=1, BT=0, GPS=0, HI PA=0
[ 9.306000] usb 1-1: RTL8192CU MAC: 00:0b:81:99:51:c5
[ 9.306000] usb 1-1: rtl8xxxu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 9.312000] usb 1-1: Firmware revision 80.0 (signature 0x88c1)
[ 9.859000] usbcore: registered new interface driver rtl8xxxu
[ 11.665000] NET: Registered protocol family 10
[ 11.666000] Segment Routing with IPv6
[ 12.029000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 13.349000] wlan0: authenticate with 00:37:b7:36:9c:4c
[ 13.360000] wlan0: send auth to 00:37:b7:36:9c:4c (try 1/3)
[ 13.362000] wlan0: authenticated
[ 13.364000] wlan0: associate with 00:37:b7:36:9c:4c (try 1/3)
[ 13.367000] wlan0: RX AssocResp from 00:37:b7:36:9c:4c (capab=0x431 status=0 aid=1)
[ 13.369000] usb 1-1: rtl8xxxu_bss_info_changed: HT supported
[ 13.371000] wlan0: associated
[ 13.371000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 25.863000] platform dvb0.0: DVB: registering adapter 0 frontend 4 (vtuner)...
root@et10000:~#

ccs
24-04-17, 22:08
Bit more...

root@et10000:~# lsmod
Module Size Used by
ipv6 418179 43
rtl8xxxu 101711 0
mac80211 419453 1 rtl8xxxu
xfs 778809 0
libcrc32c 890 1 xfs
dvb 9094241 33
modloader2 33169 1 dvb
modloader 22463 0
tpm 6717 3 modloader,dvb,modloader2

root@et10000:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%4933648/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:232 (232.0 B) TX bytes:232 (232.0 B)

wlan0 Link encap:Ethernet HWaddr 00:0B:81:99:51:C5
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20b:81ff:fe99:51c5%4933360/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:348559 errors:0 dropped:0 overruns:0 frame:0
TX packets:1063795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24704871 (23.5 MiB) TX bytes:1623849604 (1.5 GiB)

root@et10000:~# iwconfig
eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"BT"
Mode:Managed Frequency:2.412 GHz Access Point: xx.xx.xx.xx
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=48/70 Signal level=-62 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3516 Missed beacon:0

lo no wireless extensions.

eth1 no wireless extensions.

root@et10000:~#

ccs
26-04-17, 19:03
Is this commit of any significance?


https://github.com/pvaret/rtl8192cu-fixes/commit/76b54cd1af89158411d0b294a45ad6a7671d94f0

birdman
27-04-17, 01:51
Is this commit of any significance?


https://github.com/pvaret/rtl8192cu-fixes/commit/76b54cd1af89158411d0b294a45ad6a7671d94f0Possibly not. I don't think that's the driver that is used, and if there were such an issue it should fail to compile (prototype mismatch), which it doesn't.

ccs
29-05-17, 11:34
You could see what happens if you install kernel-module-rtl8xxxu and blacklist rtl8192cu.

Just having another look for what it's worth. RTL8192CU wifi on 5.0.016 connects ok, but is now so slow that copying files fails with a windows error.

kernel-module-rtl8xxxu is better, but runs 80% slower than 4.2.026 .

What is odd, if I go into the network setup device menu (but do nothing more), the transfer rate drops by another 50%, but immediately picks up again as soon as I exit the menu.