Did a sysupgrade to the latest bcrm47xx trunk images and tried to load the network up with some traffic (connected a few laptops to the LAN ports and ran iperf between each other and the WNDR3700v3) Nothing came up in the kernel log that indicated anything out of the ordinary happening after a few hours of this testing.
Only one of my laptops had a gigabit ethernet port, so I don't know if I was really able to generate enough traffic to reproduce the problem, though at the very least I was able to max out the CPU on the router. I've attached the kernel log for good measure anyways. Cheers, Owen On 14-05-06 12:07 AM, Rafał Miłecki wrote: > On 5 May 2014 19:59, Owen Kirby <o...@exegin.com> wrote: >> I've got a WNDR3700v3 that I can try your patches on, but it's based on >> the BCM4718A1 rather than the BCM4718 in the WNR3500L. Would that be >> close enough for you to work with? > I'm not sure. I was using bgmac on many devices with following chipsets: > 1) 0x5300 (BCM4706) > 2) 53572 (BCM5357C0 > 3) 0x5357 (BCM5357B0) > > But never on anything like BCM4718*. Maybe you will be able to > reproduce this problem? > BCM4718A1 seems to be id 0x4716 and package 0x0A. I'm not even sure > what is inside of WNR3500L V1 (couldn't find a full boot log). > > I'd be great if u could give it a try. You simply need to install > version from trunk (snapshot) and check for messages starting with: > "Hardware reported invalid packet length %d for slot %d!" > in your dmesg. I'd love to see them.
[ 0.000000] Linux version 3.10.36 (thepeople@trabant) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r40694) ) #1 Mon May 5 09:55:07 CEST 2014 [ 0.000000] CPU revision is: 00019740 (MIPS 74Kc) [ 0.000000] bcm47xx: using bcma bus [ 0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A [ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0) [ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0) [ 0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05) [ 0.000000] bcma: bus0: Found serial flash [ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128) [ 0.000000] bcma: bus0: Early bus registered [ 0.000000] MIPS: machine is Netgear WNDR3700 V3 [ 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 802e4b80, 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 32kB, 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: noinitrd console=ttyS0,115200 [ 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: 61404k/65536k available (2444k kernel code, 4132k reserved, 597k data, 216k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Setting up vectored interrupts [ 0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.070000] NET: Registered protocol family 16 [ 0.090000] bio: create slab <bio-0> at 0 [ 0.090000] Switching to clocksource MIPS [ 0.100000] NET: Registered protocol family 2 [ 0.100000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.100000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.100000] TCP: Hash tables configured (established 512 bind 512) [ 0.100000] TCP: reno registered [ 0.100000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.100000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.100000] NET: Registered protocol family 1 [ 0.100000] PCI: CLS 0 bytes, default 32 [ 0.100000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0) [ 0.100000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0) [ 0.100000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0) [ 0.100000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0) [ 0.100000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0) [ 0.100000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0) [ 0.100000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0) [ 0.430000] bcma: bus0: Using SPROM revision 8 provided by platform. [ 0.430000] bcma: bus0: PMU resource config unknown or not needed for device 0x4716 [ 0.430000] bcma: bus0: Workarounds unknown or not needed for device 0x4716 [ 0.430000] bcma: bus0: Initializing MIPS core... [ 0.430000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3 [ 0.430000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4 [ 0.430000] bcma: bus0: set_irq: core 0x0819, irq 5 => 5 [ 0.430000] bcma: bus0: set_irq: core 0x0820, irq 6 => 6 [ 0.430000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2 [ 0.430000] bcma: bus0: set_irq: core 0x0834, irq 2 => 2 [ 0.430000] bcma: bus0: IRQ reconfiguration done [ 0.430000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I [ 0.430000] bcma: core 0x082c, irq : 2(S) 3 4 5 6 D I* [ 0.430000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I [ 0.430000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I [ 0.430000] bcma: core 0x0819, irq : 2(S) 3 4 5* 6 D I [ 0.430000] bcma: core 0x0820, irq : 2(S) 3 4 5 6* D I [ 0.430000] bcma: core 0x082e, irq : 2(S) 3 4 5 6 D* I [ 0.430000] bcma: core 0x080e, irq : 2(S) 3 4 5 6 D I* [ 0.430000] bcma: core 0x0834, irq : 2(S)* 3 4 5 6 D I [ 0.430000] bcma: bus0: PCIEcore in host mode found [ 0.610000] PCI host bridge to bus 0000:00 [ 0.610000] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff] [ 0.610000] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff] [ 0.610000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.610000] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000 [ 0.610000] bcma: PCI: Fixing up bridge 0000:00:00.0 [ 0.610000] bcma: PCI: Fixing up device 0000:00:00.0 [ 0.610000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit] [ 0.610000] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x07ffffff 64bit] [ 0.610000] pci 0000:00:00.0: supports D1 D2 [ 0.610000] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000 [ 0.610000] bcma: PCI: Fixing up bridge 0000:00:00.1 [ 0.610000] bcma: PCI: Fixing up device 0000:00:00.1 [ 0.610000] pci 0000:00:00.1: reg 10: [mem 0x00000000-0x00003fff 64bit] [ 0.610000] pci 0000:00:00.1: reg 18: [mem 0x00000000-0x07ffffff 64bit] [ 0.610000] pci 0000:00:00.1: supports D1 D2 [ 0.610000] pci 0000:00:01.0: [14e4:4331] type 00 class 0x028000 [ 0.610000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00003fff 64bit] [ 0.610000] bcma: PCI: Fixing up addresses 0000:00:01.0 [ 0.610000] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit] [ 0.610000] pci 0000:00:01.0: supports D1 D2 [ 0.610000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.610000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002) [ 0.610000] bcma: PCI: Fixing up device 0000:00:01.0 [ 0.610000] bcma: change PCIe max read request size from 512 to 128 [ 0.610000] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08 [ 0.610000] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0) [ 0.610000] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0) [ 0.610000] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0) [ 0.610000] bcma: bus1: Found rev 10 PMU (capabilities 0x108C260A) [ 0.610000] bcma: bus1: SPROM offset 0x800 [ 0.700000] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM [ 0.850000] bcma: bus1: Using SPROM revision 9 provided by platform. [ 0.850000] bcma: bus1: PMU resource config unknown or not needed for device 0x4331 [ 0.860000] bcma: bus1: Bus registered [ 0.860000] bcma: bus0: Bus registered [ 0.870000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.870000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.870000] msgmni has been set to 119 [ 0.870000] io scheduler noop registered [ 0.870000] io scheduler deadline registered (default) [ 0.870000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.900000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a U6_16550A [ 1.380000] console [ttyS0] enabled [ 1.450000] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash [ 1.460000] Creating 7 MTD partitions on "bcm47xxsflash": [ 1.460000] 0x000000000000-0x000000040000 : "boot" [ 1.470000] 0x000000040000-0x0000007e0000 : "firmware" [ 1.480000] 0x00000004001c-0x00000004090c : "loader" [ 1.490000] 0x00000004090c-0x00000014e800 : "linux" [ 1.490000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.510000] 0x00000014e800-0x0000007e0000 : "rootfs" [ 1.510000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.530000] mtd: device 4 (rootfs) set to be root filesystem [ 1.530000] mtd: partition "rootfs_data" created automatically, ofs=0x340000, len=0x4a0000 [ 1.540000] 0x000000340000-0x0000007e0000 : "rootfs_data" [ 1.550000] 0x0000007e0000-0x0000007f0000 : "board_data" [ 1.560000] 0x0000007f0000-0x000000800000 : "nvram" [ 1.570000] libphy: Fixed MDIO Bus: probed [ 1.580000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds) [ 1.580000] GPIO_WDT: failed to register misc device [ 1.590000] TCP: cubic registered [ 1.590000] NET: Registered protocol family 17 [ 1.600000] Bridge firewalling registered [ 1.600000] 8021q: 802.1Q VLAN Support v1.8 [ 1.620000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.630000] Freeing unused kernel memory: 216K (802fa000 - 80330000) [ 5.310000] pps_core: LinuxPPS API ver. 1 registered [ 5.310000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome...@linux.it> [ 5.330000] PTP clock support registered [ 5.340000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS) [ 5.350000] bgmac bcma0:1: Support for Roboswitch not implemented [ 5.360000] libphy: bgmac mii bus: probed [ 5.440000] b53_common: found switch: BCM53115, rev 8 [ 5.460000] bgmac: Broadcom 47xx GBit MAC driver loaded [ 8.450000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full [ 9.990000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000 [ 10.000000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 10.000000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 41.120000] jffs2: notice: (251) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 44.540000] NET: Registered protocol family 10 [ 44.550000] nf_conntrack version 0.5.0 (962 buckets, 3848 max) [ 44.570000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 44.600000] Loading modules backported from Linux version master-2014-03-31-1-0-g5c109d2 [ 44.610000] Backport generated by backports.git backports-20140221-0-g8e94650 [ 44.620000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 44.680000] xt_time: kernel timezone is -0000 [ 44.720000] cfg80211: Calling CRDA to update world regulatory domain [ 44.720000] cfg80211: World regulatory domain updated: [ 44.730000] cfg80211: DFS Master region: unset [ 44.730000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 44.740000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 44.750000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 44.760000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 44.770000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 44.780000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 44.780000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 44.870000] PPP generic driver version 2.4.2 [ 44.880000] NET: Registered protocol family 24 [ 44.910000] b43-phy0: Broadcom 4331 WLAN found (core revision 29) [ 44.910000] bcma: bus1: Switched to core: 0x812 [ 44.910000] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1 [ 44.920000] b43-phy1: Broadcom 4716 WLAN found (core revision 17) [ 45.010000] b43-phy1: Found PHY: Analog 8, Type 4 (N), Revision 5 [ 45.020000] Broadcom 43xx driver loaded [ Features: PNL ] [ 45.030000] Broadcom 43xx-legacy driver loaded [ Features: PLD ] [ 45.060000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 45.090000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 51.340000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full [ 53.820000] device eth0.1 entered promiscuous mode [ 53.830000] device eth0 entered promiscuous mode [ 53.830000] br-lan: port 1(eth0.1) entered forwarding state [ 53.840000] br-lan: port 1(eth0.1) entered forwarding state [ 55.340000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full [ 55.840000] br-lan: port 1(eth0.1) entered forwarding state [ 56.450000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07) [ 56.570000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 56.590000] device wlan0 entered promiscuous mode [ 56.630000] br-lan: port 2(wlan0) entered forwarding state [ 56.630000] br-lan: port 2(wlan0) entered forwarding state [ 56.640000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 58.630000] br-lan: port 2(wlan0) entered forwarding state [ 1736.070000] device wlan0 left promiscuous mode [ 1736.070000] br-lan: port 2(wlan0) entered disabled state [ 1737.780000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07) [ 1737.870000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1737.890000] device wlan0 entered promiscuous mode [ 1738.570000] br-lan: port 2(wlan0) entered forwarding state [ 1738.580000] br-lan: port 2(wlan0) entered forwarding state [ 1738.580000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1740.580000] br-lan: port 2(wlan0) entered forwarding state
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel