Return-path: Received: from mail-ee0-f52.google.com ([74.125.83.52]:43231 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751408Ab3LLJJS convert rfc822-to-8bit (ORCPT ); Thu, 12 Dec 2013 04:09:18 -0500 Received: by mail-ee0-f52.google.com with SMTP id d17so64132eek.25 for ; Thu, 12 Dec 2013 01:09:16 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: [Cerowrt-devel] Wireless failures 3.10.17-3 From: Sebastian Moeller In-Reply-To: <21161.18818.926049.511664@gargle.gargle.HOWL> Date: Thu, 12 Dec 2013 10:09:14 +0100 Cc: Stephen Hemminger , linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org Message-Id: (sfid-20131212_100941_990999_57EBCBFD) References: <20131211174519.34966001@nehalam.linuxnetplumber.net> <21161.18818.926049.511664@gargle.gargle.HOWL> To: Sujith Manoharan Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Sujith, On Dec 12, 2013, at 06:28 , Sujith Manoharan wrote: > Hi Sebastian, > >> I think I can make tho error appear "at will" by running netperf-wrapper >> against my wndr3700v2, just tested under 3.10.21-1: >> /netperf-wrapper -l 300 -H gw.home.lan rrul -p all -t hms-beagle_cerowrt3.10.21-1_2_nacktmulle >> >> dmesg on the router: >> [ 53.007812] IPv6: ADDRCONF(NETDEV_CHANGE): gw11: link becomes ready >> [28792.039062] ath: phy1: Failed to stop TX DMA, queues=0x00e! >> [28794.078125] ath: phy1: Failed to stop TX DMA, queues=0x00e! >> [28807.164062] ath: phy1: Failed to stop TX DMA, queues=0x00e! >> [28809.191406] ath: phy1: Failed to stop TX DMA, queues=0x002! >> [28823.269531] ath: phy1: Failed to stop TX DMA, queues=0x00e! > > What board is this ? It is a net gear WNDR3700 v2, so according to: http://wiki.openwrt.org/toh/netgear/wndr3700 it is a Atheros AR7161 rev 2 680 MHz soc with the following wireless parts: Atheros AR9223 802.11bgn / Atheros AR9220 802.11an. root@nacktmulle:~# uname -a Linux nacktmulle 3.10.21 #2 Mon Dec 2 11:38:59 PST 2013 mips GNU/Linux > Can you post the initial bootleg ? Sure, I hope I got the right one. Now this is not from the same boot as the one with the errors, but I assume that does not make a difference? Since I am located in Germany I set the regulatory domain to DE. please let me know if I you need any additional information or testing (note I am not set up to build cerowrt myself, so I would need Dave T?ht's help to build a modified firmware) [ 0.000000] Linux version 3.10.21 (cero2@snapon) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38226) ) #2 Mon Dec 2 11:38:59 PST 2013 [ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7161 rev 2 [ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 80330eb0, node_mem_map 81000000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: board=WNDR3700 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,15872k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 61144k/65536k available (2361k kernel code, 4392k reserved, 612k data, 224k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.027343] Calibrating delay loop... 451.57 BogoMIPS (lpj=882688) [ 0.027343] pid_max: default: 32768 minimum: 301 [ 0.031250] Mount-cache hash table entries: 512 [ 0.035156] NET: Registered protocol family 16 [ 0.039062] MIPS: machine is NETGEAR WNDR3700/WNDR3800/WNDRMAC [ 2.640625] registering PCI controller with io_map_base unset [ 2.648437] bio: create slab at 0 [ 2.652343] PCI host bridge to bus 0000:00 [ 2.656250] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff] [ 2.660156] pci_bus 0000:00: root bus resource [io 0x0000] [ 2.664062] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 2.667968] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000 [ 2.667968] pci 0000:00:11.0: fixup device configuration [ 2.671875] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff] [ 2.671875] pci 0000:00:11.0: PME# supported from D0 D3hot [ 2.671875] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000 [ 2.671875] pci 0000:00:12.0: fixup device configuration [ 2.675781] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff] [ 2.675781] pci 0000:00:12.0: PME# supported from D0 D3hot [ 2.675781] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 2.675781] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff] [ 2.679687] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff] [ 2.683593] pci 0000:00:11.0: using irq 40 for pin 1 [ 2.687500] pci 0000:00:12.0: using irq 41 for pin 1 [ 2.691406] Switching to clocksource MIPS [ 2.695312] NET: Registered protocol family 2 [ 2.699218] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 2.707031] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 2.714843] TCP: Hash tables configured (established 512 bind 512) [ 2.718750] TCP: reno registered [ 2.722656] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 2.730468] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 2.734375] NET: Registered protocol family 1 [ 2.738281] PCI: CLS 0 bytes, default 32 [ 2.753906] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.757812] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.769531] msgmni has been set to 119 [ 2.773437] io scheduler noop registered [ 2.777343] io scheduler deadline registered (default) [ 2.781250] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 2.808593] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 2.816406] console [ttyS0] enabled, bootconsole disabled [ 2.828125] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 2.835937] m25p80 spi0.0: found mx25l12805d, expected m25p80 [ 2.843750] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 2.847656] 4 cmdlinepart partitions found on MTD device spi0.0 [ 2.851562] Creating 4 MTD partitions on "spi0.0": [ 2.859375] 0x000000000000-0x000000050000 : "u-boot" [ 2.863281] 0x000000050000-0x000000070000 : "u-boot-env" [ 2.871093] 0x000000070000-0x000000ff0000 : "firmware" [ 2.878906] 2 netgear-fw partitions found on MTD device firmware [ 2.882812] 0x000000070000-0x00000017b440 : "kernel" [ 2.886718] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 2.902343] 0x00000017b440-0x000000ff0000 : "rootfs" [ 2.906250] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 2.921875] mtd: device 4 (rootfs) set to be root filesystem [ 2.925781] 1 squashfs-split partitions found on MTD device rootfs [ 2.933593] 0x000000950000-0x000000ff0000 : "rootfs_data" [ 2.941406] 0x000000ff0000-0x000001000000 : "art" [ 2.949218] Realtek RTL8366S ethernet switch driver version 0.2.2 [ 2.953125] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK) [ 2.960937] rtl8366s rtl8366s: RTL8366 ver. 1 chip found [ 2.984375] libphy: rtl8366s: probed [ 3.292968] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII [ 3.597656] ag71xx ag71xx.1: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY] [ 3.609375] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII [ 3.613281] TCP: bic registered [ 3.617187] TCP: cubic registered [ 3.621093] TCP: westwood registered [ 3.625000] TCP: hybla registered [ 3.628906] TCP: htcp registered [ 3.632812] TCP: vegas registered [ 3.636718] TCP: veno registered [ 3.636718] TCP: scalable registered [ 3.640625] TCP: lp registered [ 3.644531] TCP: yeah registered [ 3.648437] TCP: illinois registered [ 3.652343] NET: Registered protocol family 17 [ 3.656250] Bridge firewalling registered [ 3.660156] 8021q: 802.1Q VLAN Support v1.8 [ 3.671875] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 3.679687] Freeing unused kernel memory: 224K (80348000 - 80380000) [ 5.558593] ar71xx: pll_reg 0xb8050010: 0x11110000 [ 5.558593] eth0: link up (1000Mbps/Full duplex) [ 7.113281] usbcore: registered new interface driver usbfs [ 7.121093] usbcore: registered new interface driver hub [ 7.125000] usbcore: registered new device driver usb [ 7.136718] Button Hotplug driver version 0.4.1 [ 7.171875] SCSI subsystem initialized [ 7.183593] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 7.191406] ehci-platform: EHCI generic platform driver [ 7.195312] ehci-platform ehci-platform: EHCI Host Controller [ 7.199218] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 7.207031] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 7.226562] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 7.230468] hub 1-0:1.0: USB hub found [ 7.234375] hub 1-0:1.0: 2 ports detected [ 7.246093] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 7.250000] ohci-platform ohci-platform: Generic Platform OHCI Controller [ 7.257812] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2 [ 7.265625] ohci-platform ohci-platform: irq 14, io mem 0x1c000000 [ 7.328125] hub 2-0:1.0: USB hub found [ 7.332031] hub 2-0:1.0: 2 ports detected [ 7.343750] usbcore: registered new interface driver usb-storage [ 7.351562] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 7.550781] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 7.683593] usb-storage 1-1:1.0: USB Mass Storage device detected [ 7.691406] scsi0 : usb-storage 1-1:1.0 [ 8.699218] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.01 PQ: 0 ANSI: 2 [ 8.707031] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB) [ 8.718750] sd 0:0:0:0: [sda] Write Protect is off [ 8.722656] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 8.722656] sd 0:0:0:0: [sda] No Caching mode page found [ 8.726562] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 8.738281] sd 0:0:0:0: [sda] No Caching mode page found [ 8.746093] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 8.750000] sda: sda1 sda2 [ 8.757812] sd 0:0:0:0: [sda] No Caching mode page found [ 8.765625] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 8.769531] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 8.925781] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 9.257812] jffs2: notice: (387) jffs2_build_xattr_subsystem: complete building xattr subsystem, 41 of xdatum (0 unchecked, 41 orphan) and 59 of xref (0 dead, 59 orphan) found. [ 9.359375] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 41 of xdatum (0 unchecked, 41 orphan) and 59 of xref (0 dead, 59 orphan) found. [ 9.390625] eth0: link down [ 9.796875] Adding 976560k swap on /dev/sda1. Priority:-1 extents:1 across:976560k [ 9.859375] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: [ 12.203125] NET: Registered protocol family 10 [ 12.218750] NET: Registered protocol family 8 [ 12.222656] NET: Registered protocol family 20 [ 12.246093] Initializing XFRM netlink socket [ 12.250000] NET: Registered protocol family 15 [ 12.257812] TCP: ledbat registered [ 12.261718] tun: Universal TUN/TAP device driver, 1.6 [ 12.265625] tun: (C) 1999-2004 Max Krasnyansky [ 12.300781] sit: IPv6 over IPv4 tunneling driver [ 12.312500] gre: GRE over IPv4 demultiplexor driver [ 12.324218] ip_gre: GRE over IPv4 tunneling driver [ 12.343750] PPP generic driver version 2.4.2 [ 12.371093] nf_conntrack version 0.5.0 (958 buckets, 3832 max) [ 12.394531] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 12.445312] Netfilter messages via NETLINK v0.30. [ 12.457031] ip_set: protocol 6 [ 12.503906] u32 classifier [ 12.507812] input device check on [ 12.511718] Actions configured [ 12.523437] Mirror/redirect action on [ 12.531250] Failed to load ipt action [ 12.562500] netem: version 1.3 [ 12.589843] Loading modules backported from Linux version master-2013-11-05-0-gafa3093 [ 12.597656] Backport generated by backports.git backports-20130802-0-gdb67a3f [ 12.613281] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 12.628906] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.695312] NET: Registered protocol family 24 [ 12.699218] PPTP driver version 0.8.5 [ 12.792968] xt_time: kernel timezone is -0000 [ 12.835937] cfg80211: Calling CRDA to update world regulatory domain [ 12.839843] cfg80211: World regulatory domain updated: [ 12.847656] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 12.855468] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.863281] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.871093] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 12.878906] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 12.886718] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 12.894531] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm) [ 12.902343] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 13.046875] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 13.074218] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 13.089843] PCI: Enabling device 0000:00:11.0 (0000 -> 0002) [ 13.101562] ath: EEPROM regdomain: 0x0 [ 13.101562] ath: EEPROM indicates default country code should be used [ 13.101562] ath: doing EEPROM country->regdmn map search [ 13.101562] ath: country maps to regdmn code: 0x3a [ 13.101562] ath: Country alpha2 being used: US [ 13.101562] ath: Regpair used: 0x3a [ 13.128906] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 13.128906] cfg80211: Calling CRDA for country: US [ 13.136718] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40 [ 13.144531] cfg80211: Regulatory domain changed to country: US [ 13.152343] cfg80211: DFS Master region FCC [ 13.156250] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 13.164062] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 13.171875] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm) [ 13.179687] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm) [ 13.187500] cfg80211: (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm) [ 13.195312] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm) [ 13.203125] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm) [ 13.210937] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm) [ 13.226562] PCI: Enabling device 0000:00:12.0 (0000 -> 0002) [ 13.238281] ath: EEPROM regdomain: 0x0 [ 13.238281] ath: EEPROM indicates default country code should be used [ 13.238281] ath: doing EEPROM country->regdmn map search [ 13.238281] ath: country maps to regdmn code: 0x3a [ 13.238281] ath: Country alpha2 being used: US [ 13.238281] ath: Regpair used: 0x3a [ 13.277343] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 13.285156] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41 [ 13.296875] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 13.312500] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 18.355468] IPv6: ADDRCONF(NETDEV_UP): ge00: link is not ready [ 18.382812] ar71xx: pll_reg 0xb8050010: 0x11110000 [ 18.386718] se00: link up (1000Mbps/Full duplex) [ 20.851562] ar71xx: pll_reg 0xb8050014: 0x1099 [ 20.851562] ge00: link up (100Mbps/Full duplex) [ 21.000000] IPv6: ADDRCONF(NETDEV_CHANGE): ge00: link becomes ready [ 24.839843] cfg80211: Calling CRDA for country: DE [ 24.855468] cfg80211: Regulatory domain changed to country: DE [ 24.859375] cfg80211: DFS Master region ETSI [ 24.863281] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 24.871093] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 24.878906] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 24.886718] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 24.894531] cfg80211: (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2700 mBm) [ 24.902343] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm) [ 28.183593] IPv6: ADDRCONF(NETDEV_UP): sw00: link is not ready [ 28.460937] IPv6: ADDRCONF(NETDEV_CHANGE): sw00: link becomes ready [ 28.476562] IPv6: ADDRCONF(NETDEV_UP): gw00: link is not ready [ 28.808593] IPv6: ADDRCONF(NETDEV_CHANGE): gw00: link becomes ready [ 34.109375] IPv6: ADDRCONF(NETDEV_UP): gw01: link is not ready [ 39.839843] IPv6: ADDRCONF(NETDEV_UP): sw10: link is not ready [ 40.382812] IPv6: ADDRCONF(NETDEV_CHANGE): sw10: link becomes ready [ 40.398437] IPv6: ADDRCONF(NETDEV_UP): gw10: link is not ready [ 40.726562] IPv6: ADDRCONF(NETDEV_CHANGE): gw10: link becomes ready [ 41.210937] gw01: Creating new IBSS network, BSSID 2e:7a:34:50:2e:29 [ 41.210937] IPv6: ADDRCONF(NETDEV_CHANGE): gw01: link becomes ready [ 44.929687] IPv6: ADDRCONF(NETDEV_UP): gw11: link is not ready [ 54.007812] gw11: Creating new IBSS network, BSSID 56:7f:93:18:27:47 [ 54.007812] IPv6: ADDRCONF(NETDEV_CHANGE): gw11: link becomes ready > > Sujith Best Regards Sebastian