#13072: ag71xx WNDR3700 slow vlan routing
-----------------------+--------------------------------------------
  Reporter:  severn@…  |      Owner:  developers
      Type:  defect    |     Status:  reopened
  Priority:  normal    |  Milestone:  Barrier Breaker 14.07
 Component:  kernel    |    Version:  Attitude Adjustment 12.09 Beta
Resolution:            |   Keywords:
-----------------------+--------------------------------------------

Comment (by anonymous):

 Heres a dmesg of one of the not working, dont really know if it helps any
 dont think so, but without the patch, I dont really want to patch anymore
 because it was a mess to get the routers working again each time:


 {{{
 [    0.000000] Linux version 3.10.49 (openwrt@Dice-Server) (gcc version
 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42321) ) #1 Thu Aug 28 19:57:20
 CEST 2014
 [    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: 08000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
 [    0.000000] On node 0 totalpages: 32768
 [    0.000000] free_area_init_node: node 0, pgdat 803129b0, node_mem_map
 81000000
 [    0.000000]   Normal zone: 256 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
 [    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: 32512
 [    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: 512 (order: -1, 2048 bytes)
 [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
 bytes)
 [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 126184k/131072k available (2253k kernel code, 4888k
 reserved, 597k data, 284k init, 0k highmem)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.060000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
 [    0.060000] pid_max: default: 32768 minimum: 301
 [    0.060000] Mount-cache hash table entries: 512
 [    0.070000] NET: Registered protocol family 16
 [    0.070000] MIPS: machine is NETGEAR WNDR3700/WNDR3800/WNDRMAC
 [    2.680000] registering PCI controller with io_map_base unset
 [    2.690000] bio: create slab <bio-0> at 0
 [    2.690000] PCI host bridge to bus 0000:00
 [    2.700000] pci_bus 0000:00: root bus resource [mem
 0x10000000-0x16ffffff]
 [    2.700000] pci_bus 0000:00: root bus resource [io  0x0000]
 [    2.710000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    2.710000] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
 [    2.710000] pci 0000:00:11.0: fixup device configuration
 [    2.720000] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff]
 [    2.720000] pci 0000:00:11.0: PME# supported from D0 D3hot
 [    2.720000] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
 [    2.720000] pci 0000:00:12.0: fixup device configuration
 [    2.720000] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff]
 [    2.720000] pci 0000:00:12.0: PME# supported from D0 D3hot
 [    2.720000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    2.720000] pci 0000:00:11.0: BAR 0: assigned [mem
 0x10000000-0x1000ffff]
 [    2.730000] pci 0000:00:12.0: BAR 0: assigned [mem
 0x10010000-0x1001ffff]
 [    2.730000] pci 0000:00:11.0: using irq 40 for pin 1
 [    2.740000] pci 0000:00:12.0: using irq 41 for pin 1
 [    2.740000] Switching to clocksource MIPS
 [    2.750000] NET: Registered protocol family 2
 [    2.750000] TCP established hash table entries: 1024 (order: 1, 8192
 bytes)
 [    2.750000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    2.760000] TCP: Hash tables configured (established 1024 bind 1024)
 [    2.760000] TCP: reno registered
 [    2.770000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    2.770000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    2.780000] NET: Registered protocol family 1
 [    2.780000] PCI: CLS 0 bytes, default 32
 [    2.790000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    2.800000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    2.810000] msgmni has been set to 246
 [    2.810000] io scheduler noop registered
 [    2.820000] io scheduler deadline registered (default)
 [    2.820000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    2.850000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a
 16550A
 [    2.860000] console [ttyS0] enabled, bootconsole disabled
 [    2.870000] ath79-spi ath79-spi: master is unqueued, this is deprecated
 [    2.880000] m25p80 spi0.0: found mx25l12805d, expected m25p80
 [    2.880000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
 [    2.890000] 4 cmdlinepart partitions found on MTD device spi0.0
 [    2.890000] Creating 4 MTD partitions on "spi0.0":
 [    2.900000] 0x000000000000-0x000000050000 : "u-boot"
 [    2.910000] 0x000000050000-0x000000070000 : "u-boot-env"
 [    2.910000] 0x000000070000-0x000000ff0000 : "firmware"
 [    2.920000] 2 netgear-fw partitions found on MTD device firmware
 [    2.930000] 0x000000070000-0x000000176440 : "kernel"
 [    2.930000] mtd: partition "kernel" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    2.940000] 0x000000176440-0x000000ff0000 : "rootfs"
 [    2.950000] mtd: partition "rootfs" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    2.960000] mtd: device 4 (rootfs) set to be root filesystem
 [    2.970000] 1 squashfs-split partitions found on MTD device rootfs
 [    2.970000] 0x0000007f0000-0x000000ff0000 : "rootfs_data"
 [    2.980000] 0x000000ff0000-0x000001000000 : "art"
 [    2.990000] Realtek RTL8366S ethernet switch driver version 0.2.2
 [    3.000000] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
 [    3.000000] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
 [    3.040000] libphy: rtl8366s: probed
 [    3.350000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
 [    3.650000] ag71xx ag71xx.1: connected to PHY at rtl8366s:04
 [uid=001cc960, driver=Generic PHY]
 [    3.660000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
 [    3.670000] TCP: cubic registered
 [    3.670000] NET: Registered protocol family 17
 [    3.680000] 8021q: 802.1Q VLAN Support v1.8
 [    3.690000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:4.
 [    3.700000] Freeing unused kernel memory: 284K (80329000 - 80370000)
 [    6.320000] usbcore: registered new interface driver usbfs
 [    6.320000] usbcore: registered new interface driver hub
 [    6.330000] usbcore: registered new device driver usb
 [    6.360000] SCSI subsystem initialized
 [    6.370000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    6.380000] ehci-platform: EHCI generic platform driver
 [    6.380000] ehci-platform ehci-platform: EHCI Host Controller
 [    6.390000] ehci-platform ehci-platform: new USB bus registered,
 assigned bus number 1
 [    6.400000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
 [    6.420000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
 [    6.420000] hub 1-0:1.0: USB hub found
 [    6.430000] hub 1-0:1.0: 2 ports detected
 [    6.430000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    6.440000] ohci-platform ohci-platform: Generic Platform OHCI
 Controller
 [    6.450000] ohci-platform ohci-platform: new USB bus registered,
 assigned bus number 2
 [    6.450000] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
 [    6.520000] hub 2-0:1.0: USB hub found
 [    6.520000] hub 2-0:1.0: 2 ports detected
 [    6.530000] usbcore: registered new interface driver usb-storage
 [    6.770000] usb 1-1: new high-speed USB device number 2 using ehci-
 platform
 [    6.980000] hub 1-1:1.0: USB hub found
 [    6.980000] hub 1-1:1.0: 4 ports detected
 [    7.050000] ar71xx: pll_reg 0xb8050010: 0x11110000
 [    7.050000] eth0: link up (1000Mbps/Full duplex)
 [    7.270000] usb 1-1.4: new high-speed USB device number 3 using ehci-
 platform
 [    7.400000] usb-storage 1-1.4:1.0: USB Mass Storage device detected
 [    7.400000] scsi0 : usb-storage 1-1.4:1.0
 [    8.410000] scsi 0:0:0:0: Direct-Access              Flash Disk
 5.00 PQ: 0 ANSI: 2
 [    8.420000] sd 0:0:0:0: [sda] 974848 512-byte logical blocks: (499
 MB/476 MiB)
 [    8.420000] sd 0:0:0:0: [sda] Write Protect is off
 [    8.430000] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
 [    8.430000] sd 0:0:0:0: [sda] No Caching mode page found
 [    8.440000] sd 0:0:0:0: [sda] Assuming drive cache: write through
 [    8.440000] sd 0:0:0:0: [sda] No Caching mode page found
 [    8.450000] sd 0:0:0:0: [sda] Assuming drive cache: write through
 [    8.460000]  sda: sda1
 [    8.460000] sd 0:0:0:0: [sda] No Caching mode page found
 [    8.470000] sd 0:0:0:0: [sda] Assuming drive cache: write through
 [    8.470000] sd 0:0:0:0: [sda] Attached SCSI removable disk
 [   10.640000] jffs2: notice: (369) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 43 of xdatum (1 unchecked, 42 orphan) and 70 of
 xref (0 dead, 47 orphan) found.
 [   10.830000] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 43 of xdatum (1 unchecked, 42 orphan) and 70 of
 xref (0 dead, 47 orphan) found.
 [   10.870000] eth0: link down
 [   11.280000] EXT4-fs (sda1): warning: maximal mount count reached,
 running e2fsck is recommended
 [   11.290000] EXT4-fs (sda1): mounted filesystem with ordered data mode.
 Opts:
 [   13.390000] NET: Registered protocol family 10
 [   13.400000] tun: Universal TUN/TAP device driver, 1.6
 [   13.410000] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
 [   13.420000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
 [   13.430000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   13.440000] Netfilter messages via NETLINK v0.30.
 [   13.450000] ip_set: protocol 6
 [   13.470000] sd 0:0:0:0: Attached scsi generic sg0 type 0
 [   13.490000] u32 classifier
 [   13.490000]     input device check on
 [   13.490000]     Actions configured
 [   13.500000] Mirror/redirect action on
 [   13.510000] Loading modules backported from Linux version
 master-2014-05-22-0-gf2032ea
 [   13.520000] Backport generated by backports.git
 backports-20140320-37-g5c33da0
 [   13.530000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   13.560000] usbcore: registered new interface driver usblp
 [   13.570000] usbcore: registered new interface driver usbserial
 [   13.570000] usbcore: registered new interface driver usbserial_generic
 [   13.580000] usbserial: USB Serial support registered for generic
 [   13.620000] xt_time: kernel timezone is -0000
 [   13.650000] cfg80211: Calling CRDA to update world regulatory domain
 [   13.650000] cfg80211: World regulatory domain updated:
 [   13.660000] cfg80211:  DFS Master region: unset
 [   13.660000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   13.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.690000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.700000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.700000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   13.710000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   13.720000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.730000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   13.740000] usbcore: registered new interface driver ftdi_sio
 [   13.740000] usbserial: USB Serial support registered for FTDI USB
 Serial Device
 [   13.800000] PPP generic driver version 2.4.2
 [   13.810000] NET: Registered protocol family 24
 [   13.850000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
 [   13.860000] ath: EEPROM regdomain: 0x0
 [   13.860000] ath: EEPROM indicates default country code should be used
 [   13.860000] ath: doing EEPROM country->regdmn map search
 [   13.860000] ath: country maps to regdmn code: 0x3a
 [   13.860000] ath: Country alpha2 being used: US
 [   13.860000] ath: Regpair used: 0x3a
 [   13.880000] ieee80211 phy0: Selected rate control algorithm
 'minstrel_ht'
 [   13.890000] cfg80211: Calling CRDA for country: US
 [   13.890000] cfg80211: Regulatory domain changed to country: US
 [   13.900000] cfg80211:  DFS Master region: FCC
 [   13.900000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   13.910000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 3000 mBm), (N/A)
 [   13.920000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 1700 mBm), (N/A)
 [   13.930000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
 2300 mBm), (0 s)
 [   13.940000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 3000 mBm), (N/A)
 [   13.950000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   13.950000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
 [   13.980000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
 [   13.990000] ath: EEPROM regdomain: 0x0
 [   13.990000] ath: EEPROM indicates default country code should be used
 [   13.990000] ath: doing EEPROM country->regdmn map search
 [   13.990000] ath: country maps to regdmn code: 0x3a
 [   13.990000] ath: Country alpha2 being used: US
 [   13.990000] ath: Regpair used: 0x3a
 [   14.010000] ieee80211 phy1: Selected rate control algorithm
 'minstrel_ht'
 [   14.010000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
 [   21.060000] ar71xx: pll_reg 0xb8050010: 0x11110000
 [   21.070000] eth0: link up (1000Mbps/Full duplex)
 [   21.080000] device eth0.1 entered promiscuous mode
 [   21.080000] device eth0 entered promiscuous mode
 [   21.110000] br-lan: port 1(eth0.1) entered forwarding state
 [   21.110000] br-lan: port 1(eth0.1) entered forwarding state
 [   21.170000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
 [   22.540000] cfg80211: Calling CRDA for country: DE
 [   22.600000] cfg80211: Regulatory domain changed to country: DE
 [   22.610000] cfg80211:  DFS Master region: ETSI
 [   22.610000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   22.620000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   22.630000] cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   22.640000] cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (0 s)
 [   22.640000] cfg80211:   (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A,
 2700 mBm), (0 s)
 [   22.650000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   23.110000] br-lan: port 1(eth0.1) entered forwarding state
 [   23.790000] ar71xx: pll_reg 0xb8050014: 0x1099
 [   23.790000] eth1: link up (100Mbps/Full duplex)
 [   23.810000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
 [   24.600000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [   24.660000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
 [   24.670000] device wlan0 entered promiscuous mode
 [   24.680000] br-lan: port 2(wlan0) entered forwarding state
 [   24.680000] br-lan: port 2(wlan0) entered forwarding state
 [   24.710000] device wlan1 entered promiscuous mode
 [   24.710000] br-lan: port 3(wlan1) entered forwarding state
 [   24.720000] br-lan: port 3(wlan1) entered forwarding state
 [   24.860000] br-lan: port 2(wlan0) entered disabled state
 [   25.240000] br-lan: port 3(wlan1) entered disabled state
 [   27.020000] br-lan: port 2(wlan0) entered forwarding state
 [   27.030000] br-lan: port 2(wlan0) entered forwarding state
 [   27.030000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 [   27.080000] br-lan: port 3(wlan1) entered forwarding state
 [   27.080000] br-lan: port 3(wlan1) entered forwarding state
 [   27.090000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
 [   29.030000] br-lan: port 2(wlan0) entered forwarding state
 [   29.080000] br-lan: port 3(wlan1) entered forwarding state
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/13072#comment:48>
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