#20434: Sluggish wireless pings with 15.05-HEAD on a WNR2000v1
-----------------------------------+----------------------------------
 Reporter:  nabcore                |      Owner:  developers
     Type:  defect                 |     Status:  new
 Priority:  high                   |  Milestone:  Chaos Calmer (trunk)
Component:  kernel                 |    Version:  Trunk
 Keywords:  WNR2000v1 ar71xx AP81  |
-----------------------------------+----------------------------------
 Around a few minutes after booting, the router becomes slugglish via ssh
 and starts to drop packets on the wireless interface. Average ping time is
 around 25 ms, whereas with (14.07, r42625), this was around 1 ms.

 Nothing strange in the dmesg or logread.

 For reference, dmesg is as follows:

 {{{
 BusyBox v1.23.2 (2015-08-31 15:59:10 BST) built-in shell (ash)

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  -----------------------------------------------------
  CHAOS CALMER (Chaos Calmer, r46751)
  -----------------------------------------------------
   * 1 1/2 oz Gin            Shake with a glassful
   * 1/4 oz Triple Sec       of broken ice and pour
   * 3/4 oz Lime Juice       unstrained into a goblet.
   * 1 1/2 oz Orange Juice
   * 1 tsp. Grenadine Syrup
  -----------------------------------------------------
 root@OpenWrt:~# dmesg
 [    0.000000] Linux version 3.18.20 (nabcore@pc) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r46751) ) #2 Mon Aug 31 16:06:19 BST 2015
 [    0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
 [    0.000000] SoC: Atheros AR9132 rev 1
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 02000000 @ 00000000 (usable)
 [    0.000000] User-defined physical RAM map:
 [    0.000000]  memory: 02000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
 [    0.000000] On node 0 totalpages: 8192
 [    0.000000] free_area_init_node: node 0, pgdat 803180f0, node_mem_map
 81000000
 [    0.000000]   Normal zone: 64 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 8192 pages, LIFO batch:0
 [    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: 8128
 [    0.000000] Kernel command line:  board=WNR2000 console=ttyS0,115200
 init=/etc/preinit mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-
 env),2304k(rootfs),64k(user-
 config),1152k(uImage),128k(language_table),64k(rootfs_checksum),64k(ART)
 rootfstype=squashfs rootdelay=2 panic=10 mem=32M rootfstype=squashfs,jffs2
 noinitrd
 [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
 [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 28712K/32768K available (2324K kernel code, 122K
 rwdata, 428K rodata, 252K init, 188K bss, 4056K reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz,
 Ref:5.000MHz
 [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
 [    0.080000] pid_max: default: 32768 minimum: 301
 [    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.100000] NET: Registered protocol family 16
 [    0.100000] MIPS: machine is NETGEAR WNR2000
 [    0.580000] Switched to clocksource MIPS
 [    0.580000] NET: Registered protocol family 2
 [    0.590000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.590000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.600000] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.610000] TCP: reno registered
 [    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.610000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.620000] NET: Registered protocol family 1
 [    0.630000] PCI: CLS 0 bytes, default 32
 [    0.630000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.650000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.660000] msgmni has been set to 56
 [    0.670000] io scheduler noop registered
 [    0.680000] io scheduler deadline registered (default)
 [    0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.690000] console [ttyS0] disabled
 [    0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
 = 12500000) is a 16550A
 [    0.720000] console [ttyS0] enabled
 [    0.730000] bootconsole [early0] disabled
 [    0.740000] m25p80 spi0.0: found mx25l3205d, expected m25p80
 [    0.750000] m25p80 spi0.0: mx25l3205d (4096 Kbytes)
 [    0.750000] Creating 8 MTD partitions on "spi0.0":
 [    0.760000] 0x000000000000-0x000000040000 : "u-boot"
 [    0.760000] 0x000000040000-0x000000050000 : "u-boot-env"
 [    0.770000] 0x000000050000-0x000000290000 : "rootfs"
 [    0.780000] mtd: device 2 (rootfs) set to be root filesystem
 [    0.780000] 1 squashfs-split partitions found on MTD device rootfs
 [    0.790000] 0x000000200000-0x000000290000 : "rootfs_data"
 [    0.800000] 0x000000290000-0x0000002a0000 : "user-config"
 [    0.800000] 0x0000002a0000-0x0000003c0000 : "uImage"
 [    0.810000] 0x0000003c0000-0x0000003e0000 : "language_table"
 [    0.810000] 0x0000003e0000-0x0000003f0000 : "rootfs_checksum"
 [    0.820000] 0x0000003f0000-0x000000400000 : "art"
 [    0.850000] libphy: ag71xx_mdio: probed
 [    1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RMII
 [    1.500000] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:04
 [uid=004dd042, driver=Generic PHY]
 [    1.510000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RMII
 [    1.510000] TCP: cubic registered
 [    1.520000] NET: Registered protocol family 17
 [    1.520000] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    1.540000] 8021q: 802.1Q VLAN Support v1.8
 [    1.540000] Waiting 2 sec before mounting root device...
 [    3.560000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    3.570000] Freeing unused kernel memory: 252K (80331000 - 80370000)
 [    4.850000] init: Console is alive
 [    4.850000] init: - watchdog -
 [    6.860000] init: - preinit -
 [    7.510000] ar71xx: pll_reg 0xb8050014: 0x13000a44
 [    7.510000] eth0: link up (100Mbps/Full duplex)
 [    7.540000] random: procd urandom read with 11 bits of entropy
 available
 [   10.720000] jffs2: notice: (355) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
 xref (0 dead, 0 orphan) found.
 [   10.740000] mount_root: switching to jffs2 overlay
 [   10.790000] eth0: link down
 [   10.800000] procd: - early -
 [   10.810000] procd: - watchdog -
 [   11.500000] procd: - ubus -
 [   12.510000] procd: - init -
 [   13.230000] NET: Registered protocol family 10
 [   13.240000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   13.260000] Loading modules backported from Linux version
 master-2015-03-09-0-g141f155
 [   13.270000] Backport generated by backports.git
 backports-20150129-0-gdd4a670
 [   13.280000] ip_tables: (C) 2000-2006 Netfilter Core Team

 }}}


 Protocol used to build image (needed since the generator produces images
 that are too large)


 {{{
 # Building with be73b965acbf449a10fe3e5d64238ca60cef71c3
 (svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46751
 3c298f89-4303-0410-b956-a3cf2f4a3e73)
 1) Clone repo
 git clone git://git.openwrt.org/15.05/openwrt.git

 2) Update feeds
 cd openwrt
 ./scripts/feeds update -a

 3) Select kernel options

 make menuconfig

   Select
         Target System --> (Atheros AR7xxx/AR9xxx)
         Target Profile --> Atheros AP81 reference board

         Image configuration --> Separate feed repositories --> Enable feed
 packages
         Image configuration --> Separate feed repositories --> Enable feed
 routing
   DeSelect
         Network --> ppp
         Kernel Modules --> USB Support -- > kmod-usb2
         Kernel Modules --> USB Support -- > kmod-usb-core
         Kernel Modules --> Network Support -- > kmod-ppp
   Select
         Global build settings --> Strip unnecessary exports from the
 kernel image


 4) Build
 make -j4

 Note, the uImage partion is 0x120000 = 1179648 bytes, hence the uImage-
 lzma.bin file
 *MUST be less than this. This is why I'm building it this way.
 }}}


 Everything worked fine with (14.07, r42625).

--
Ticket URL: <https://dev.openwrt.org/ticket/20434>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to