aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#27 - BT Home Hub 5 Type A - Switch problem when enabling WAN port #88

Closed aparcar closed 8 years ago

aparcar commented 8 years ago

bill888:

LEDE Project r742 BT Home Hub 5 Type A with WAN port (port 5) enabled as a DHCP client, connected to existing LAN (subnet 192.168.1.x)

Client wired to Home Hub LAN port can initially ping and connect to external websites for first few seconds after Home Hub is powered up, but it stops working seconds later.

/etc/config/network:

config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0'

config globals 'globals' option ula_prefix 'fdcc:19d3:6f89::/48'

config atm-bridge 'atm' option vpi '1' option vci '32' option encaps 'llc' option payload 'bridged'

config interface 'lan' option type 'bridge' option ifname 'eth0.1' option proto 'static' option netmask '255.255.255.0' option ip6assign '60' option ipaddr '192.168.0.1'

config device 'lan_dev' option name 'eth0.1' option macaddr '40:f2:01:18:0f:ec'

config interface 'wan' option ifname 'eth1.2' option _orig_ifname 'eth1.2' option _orig_bridge 'false' option proto 'dhcp'

broadcast setting makes NO difference to reported bug.

option broadcast '1'

config device 'wan_dev' option name 'eth1.2' option macaddr '40:f2:01:18:0f:ed'

config switch option name 'switch0' option reset '1' option enable_vlan '1'

config switch_vlan option device 'switch0' option vlan '1' option vid '1' option ports '0 1 2 4 6t'

config switch_vlan option device 'switch0' option vlan '2' option vid '2' option ports '5 6t'

LUCI reports WAN port of BT Home Hub 5 successfully acquires local LAN IP address 192.168.1.74 and DNS server settings.

Capture of serial console. Attempt to ping external IP address such as google DNS server from console. Eventually fails.

ROM VER: 1.1.4 CFG 06 NAND NAND Read OK

DDR autotuning Rev 0.3d DDR size from 0xa0000000 - 0xa7ffffff DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.2.46 (Sep 07 2013 - 02:57:04 on tester@clean-machine)

CLOCK CPU 500M RAM 250M secure boot DRAM: 125 MiB NAND: ONFI flash detected ONFI param page 0 valid NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1) 128 MiB Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 nand_read_bbt: Bad block at 0x0000023c0000 nand_read_bbt: Bad block at 0x000004bc0000 nand_read_bbt: Bad block at 0x000005500000 In: serial Out: serial Err: serial Net: Internal phy(GE) firmware version: 0x841b vr9 Switch

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000100000-0x000007f80000 : "mtd=0" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=0" UBI: MTD device size: 126 MiB UBI: number of good PEBs: 1009 UBI: number of bad PEBs: 3 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 4 UBI: available PEBs: 7 UBI: total number of reserved PEBs: 1002 UBI: number of PEBs reserved for bad PEB handling: 10 UBI: max/mean erase counter: 118/18 Volume kernel found at volume id 0 read 0 bytes from volume 0 to 80800000(buf address) Read [1806336] bytes

Booting kernel from Legacy Image at 80800000 ...

Image Name: MIPS OpenWrt Linux-4.4.13 Created: 2016-06-19 18:16:23 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1799932 Bytes = 1.7 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK

Starting kernel ...

[ 0.000000] Linux version 4.4.13 (mkresin@desktop) (gcc version 5.3.0 (LEDE GCC 5.3.0 r608) ) #1 SMP Sun Jun 19 18:30:14 UTC 2016 [ 0.000000] SoC: xRX200 rev 1.2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) [ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A [ 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 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Detected 1 available secondary CPU(s) [ 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] PERCPU: Embedded 9 pages/cpu @8110c000 s8128 r8192 d20544 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit [ 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=00041ca3 [ 0.000000] Readback ErrCtl register=00041ca3 [ 0.000000] Memory: 122908K/131072K available (4029K kernel code, 175K rwdata, 1172K rodata, 1264K init, 222K bss, 8164K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:256 [ 0.000000] Setting up vectored interrupts [ 0.000000] Setting up IPI vectored interrupts [ 0.000000] CPU Clock: 500MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns [ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns [ 0.007877] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088) [ 0.042371] pid_max: default: 32768 minimum: 301 [ 0.047243] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.053788] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.064870] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.064885] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.065117] CPU1 revision is: 00019556 (MIPS 34Kc) [ 0.124589] Synchronize counters for CPU 1: done. [ 0.129514] Brought up 2 CPUs [ 0.137057] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.146877] pinctrl core: initialized pinctrl subsystem [ 0.152802] NET: Registered protocol family 16 [ 0.163415] pinctrl-xway 1e100b10.pinmux: Init done [ 0.169457] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [ 0.282556] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [ 0.301654] PCI host bridge /fpi@10000000/pci@E105400 ranges: [ 0.307329] MEM 0x0000000018000000..0x0000000019ffffff [ 0.312601] IO 0x000000001ae00000..0x000000001affffff [ 0.437395] ath9k,eeprom ath9k_eep: failed to load eeprom address [ 0.468347] usbcore: registered new interface driver usbfs [ 0.473947] usbcore: registered new interface driver hub [ 0.479326] usbcore: registered new device driver usb [ 0.485081] PCI host bridge to bus 0000:00 [ 0.489107] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff] [ 0.496022] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff] [ 0.502984] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.509810] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.518513] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff] [ 0.525427] PCI host bridge to bus 0000:01 [ 0.529448] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff] [ 0.536359] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff] [ 0.543320] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0] [ 0.550182] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff] [ 0.558258] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge [ 0.576485] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring [ 0.585662] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff] [ 0.592376] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref] [ 0.599667] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit] [ 0.607063] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref] [ 0.614318] pci 0000:01:00.0: PCI bridge to [bus 02] [ 0.619360] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff] [ 0.626188] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref] [ 0.633570] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1 [ 0.640171] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned [ 0.646540] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1 [ 0.653172] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned [ 0.661291] clocksource: Switched to clocksource MIPS [ 0.669062] NET: Registered protocol family 2 [ 0.674304] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.681248] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.687599] TCP: Hash tables configured (established 1024 bind 1024) [ 0.694119] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.699971] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.706603] NET: Registered protocol family 1 [ 0.711499] gptu: totally 6 16-bit timers/counters [ 0.716372] gptu: misc_register on minor 63 [ 0.720558] gptu: succeeded to request irq 126 [ 0.725038] gptu: succeeded to request irq 127 [ 0.729534] gptu: succeeded to request irq 128 [ 0.734077] gptu: succeeded to request irq 129 [ 0.738596] gptu: succeeded to request irq 130 [ 0.743095] gptu: succeeded to request irq 131 [ 0.749305] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin [ 0.756753] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7A00000 [ 0.763117] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7A00000 [ 0.872765] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.897786] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.903542] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.916336] io scheduler noop registered [ 0.920205] io scheduler deadline registered (default) [ 0.926543] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [ 0.935456] console [ttyLTQ0] enabled [ 0.935456] console [ttyLTQ0] enabled [ 0.942792] bootconsole [early0] disabled [ 0.942792] bootconsole [early0] disabled [ 0.953845] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1 [ 0.958912] nand: AMD/Spansion S34ML01G1 [ 0.962724] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.971993] Bad block table found at page 65472, version 0x01 [ 0.979570] Bad block table found at page 65408, version 0x01 [ 0.984186] nand_read_bbt: bad block at 0x0000023c0000 [ 0.989068] nand_read_bbt: bad block at 0x000004bc0000 [ 0.994175] nand_read_bbt: bad block at 0x000005500000 [ 0.999447] 4 ofpart partitions found on MTD device 14000000.nand-parts [ 1.005931] Creating 4 MTD partitions on "14000000.nand-parts": [ 1.011869] 0x000000000000-0x0000000a0000 : "u-boot" [ 1.018983] 0x0000000a0000-0x0000000c0000 : "uboot-env" [ 1.025054] 0x0000000c0000-0x000000100000 : "caldata_backup" [ 1.031504] 0x000000100000-0x000007f80000 : "ubi" [ 1.144846] libphy: lantiq,xrx200-mdio: probed [ 1.217981] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1) [ 1.285959] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1) [ 1.353946] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1) [ 1.421943] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1) [ 1.493964] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1) [ 1.501846] wdt 1f8803f0.watchdog: Init done [ 1.511509] NET: Registered protocol family 10 [ 1.516525] NET: Registered protocol family 17 [ 1.519756] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.532214] 8021q: 802.1Q VLAN Support v1.8 [ 1.540299] ath9k,eeprom ath9k_eep: pci slot: 14 [ 1.543525] pci 0000:00:0e.0: fixup device configuration [ 1.550481] pci 0000:00:0e.0: fixup info: [168c:002d] revision 01 class 0x028000 [ 1.556502] ath9k,eeprom ath9k_eep: loaded ath9k eeprom [ 1.565852] UBI: auto-attach mtd3 [ 1.567553] ubi0: attaching mtd3 [ 2.219236] ubi0: scanning is finished [ 2.262267] ubi0: attached mtd3 (name "ubi", size 126 MiB) [ 2.266362] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 2.273252] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 2.279916] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 2.286731] ubi0: good PEBs: 1009, bad PEBs: 3, corrupted PEBs: 0 [ 2.292827] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128 [ 2.300036] ubi0: max/mean erase counter: 118/18, WL threshold: 4096, image sequence number: 255302225 [ 2.309347] ubi0: available PEBs: 0, total reserved PEBs: 1009, PEBs reserved for bad PEB handling: 17 [ 2.318797] ubi0: background thread "ubi_bgt0d" started, PID 342 [ 2.320924] block ubiblock0_1: created from ubi0:1(rootfs) [ 2.320936] ubiblock: device ubiblock0_1 (rootfs) set to be root[ 2.348929] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.358771] Freeing unused kernel memory: 1264K (80544000 - 80680000) [ 3.955688] init: Console is alive [ 3.958085] init: - watchdog - [ 4.568660] eth0: port 4 got link [ 6.566306] SCSI subsystem initialized [ 6.576996] dwc2 1e101000.ifxhcd: requested GPIO 495 [ 6.580616] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode [ 7.445552] dwc2 1e101000.ifxhcd: DWC OTG Controller [ 7.449124] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1 [ 7.456498] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000 [ 7.461988] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode - [ 7.469442] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode. [ 7.477111] hub 1-0:1.0: USB hub found [ 7.479601] hub 1-0:1.0: 1 port detected [ 7.488402] usbcore: registered new interface driver usb-storage [ 7.503767] init: - preinit - [ 7.950686] random: procd urandom read with 69 bits of entropy available Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 11.265997] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 437 [ 11.459683] UBIFS (ubi0:2): recovery needed [ 11.822800] UBIFS (ubi0:2): recovery completed [ 11.825989] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 11.833681] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.843600] UBIFS (ubi0:2): FS size: 118573056 bytes (113 MiB, 919 LEBs), journal size 5935104 bytes (5 MiB, 46 LEBs) [ 11.854213] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) [ 11.860839] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 3076099A-3245-4285-A490-0B4743539E0B, small LPT model [ 11.876455] mount_root: switching to jffs2 overlay [ 11.917636] procd: - early - [ 11.919238] procd: - watchdog - [ 12.633276] eth0: port 4 lost link [ 12.681475] procd: - ubus - [ 12.847597] procd: - init - Please press Enter to activate this console. [ 13.305331] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH [ 13.315603] NET: Registered protocol family 8 [ 13.318579] NET: Registered protocol family 20 [ 13.329376] PPP generic driver version 2.4.2 [ 13.339328] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.364973] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013 Lantiq Deutschland GmbH

Lantiq CPE API Driver version: DSL CPE API V4.16.6.3 [ 13.385860] [ 13.385860] Predefined debug level: 3 [ 13.394393] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796 [ 13.400590] Backport generated by backports.git backports-20160216-0-ge3c56e4 [ 13.472028] PCI: Enabling device 0000:01:00.0 (0000 -> 0002) [ 13.476430] PCI: Enabling device 0000:02:00.0 (0000 -> 0002) [ 13.482223] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 [ 13.675575] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2 [ 13.684907] ath10k_pci 0000:02:00.0: Falling back to user helper [ 13.745179] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed [ 14.108536] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000 [ 14.116464] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1 [ 14.132378] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.97 api 5 features no-p2p crc32 f91e34f2 [ 14.139982] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2 [ 14.150219] ath10k_pci 0000:02:00.0: Falling back to user helper [ 14.207676] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed [ 14.215862] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 [ 14.937331] random: nonblocking pool is initialized [ 15.271030] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1 [ 15.402899] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.415842] Infineon Technologies DEU driver version 2.0.0 [ 15.422888] IFX DEU DES initialized (multiblock). [ 15.428212] IFX DEU AES initialized (multiblock). [ 15.432183] IFX DEU ARC4 initialized (multiblock). [ 15.436810] IFX DEU SHA1 initialized. [ 15.440490] IFX DEU MD5 initialized. [ 15.447146] IFX DEU SHA1_HMAC initialized. [ 15.452050] IFX DEU MD5_HMAC initialized. [ 15.467271] nf_conntrack version 0.5.0 (1940 buckets, 7760 max) [ 15.536445] NET: Registered protocol family 24 [ 15.558670] xt_time: kernel timezone is -0000 [ 15.589059] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002) [ 15.599259] ath: phy1: Ignoring endianness difference in EEPROM magic bytes. [ 15.628151] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30 [ 24.901931] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 24.920700] device eth0.1 entered promiscuous mode [ 24.924174] device eth0 entered promiscuous mode [ 24.937884] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 25.007210] device eth1 entered promiscuous mode [ 25.797674] eth0: port 4 got link [ 25.800413] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 25.813698] br-lan: port 1(eth0.1) entered forwarding state [ 25.818033] br-lan: port 1(eth0.1) entered forwarding state [ 25.832222] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 27.821224] br-lan: port 1(eth0.1) entered forwarding state

BusyBox v1.24.2 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | | / DE / \ | || || |) | | /__/ LE \ |__|__|/|_| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (HEAD, r742) ______\/ -----------------------------------------------------------

root@lede:/# root@lede:/# root@lede:/# [ 33.797392] eth1: port 5 got link

root@lede:/# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: seq=0 ttl=54 time=9.422 ms 64 bytes from 8.8.8.8: seq=1 ttl=54 time=8.321 ms 64 bytes from 8.8.8.8: seq=2 ttl=54 time=8.277 ms 64 bytes from 8.8.8.8: seq=3 ttl=54 time=8.139 ms 64 bytes from 8.8.8.8: seq=4 ttl=54 time=9.094 ms 64 bytes from 8.8.8.8: seq=5 ttl=54 time=8.285 ms 64 bytes from 8.8.8.8: seq=6 ttl=54 time=8.171 ms 64 bytes from 8.8.8.8: seq=7 ttl=54 time=8.605 ms 64 bytes from 8.8.8.8: seq=8 ttl=54 time=8.323 ms ^C --- 8.8.8.8 ping statistics --- 9 packets transmitted, 9 packets received, 0% packet loss round-trip min/avg/max = 8.139/8.515/9.422 ms root@lede:/# ping 8.8.4.4 PING 8.8.4.4 (8.8.4.4): 56 data bytes 64 bytes from 8.8.4.4: seq=0 ttl=57 time=13.242 ms 64 bytes from 8.8.4.4: seq=0 ttl=57 time=14.290 ms (DUP!) ^C --- 8.8.4.4 ping statistics --- 5 packets transmitted, 1 packets received, 1 duplicates, 80% packet loss round-trip min/avg/max = 13.242/13.766/14.290 ms root@lede:/# root@lede:/# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C --- 8.8.8.8 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss root@lede:/# root@lede:/#


Another capture of serial console.

PC wired to LAN port of BT Home Hub 5 and attempting to ping external IP address, and try to access external website. Works Very briefly, but then eventually fails.

U-Boot 2010.06-LANTIQ-v-2.2.46 (Sep 07 2013 - 02:57:04 on tester@clean-machine)

CLOCK CPU 500M RAM 250M secure boot DRAM: 125 MiB NAND: ONFI flash detected ONFI param page 0 valid NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1) 128 MiB Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 nand_read_bbt: Bad block at 0x0000023c0000 nand_read_bbt: Bad block at 0x000004bc0000 nand_read_bbt: Bad block at 0x000005500000 In: serial Out: serial Err: serial Net: Internal phy(GE) firmware version: 0x841b vr9 Switch

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000100000-0x000007f80000 : "mtd=0" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=0" UBI: MTD device size: 126 MiB UBI: number of good PEBs: 1009 UBI: number of bad PEBs: 3 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 4 UBI: available PEBs: 7 UBI: total number of reserved PEBs: 1002 UBI: number of PEBs reserved for bad PEB handling: 10 UBI: max/mean erase counter: 118/18 Volume kernel found at volume id 0 read 0 bytes from volume 0 to 80800000(buf address) Read [1806336] bytes

Booting kernel from Legacy Image at 80800000 ...

Image Name: MIPS OpenWrt Linux-4.4.13 Created: 2016-06-19 18:16:23 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1799932 Bytes = 1.7 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK

Starting kernel ...

[ 0.000000] Linux version 4.4.13 (mkresin@desktop) (gcc version 5.3.0 (LEDE GCC 5.3.0 r608) ) #1 SMP Sun Jun 19 18:30:14 UTC 2016 [ 0.000000] SoC: xRX200 rev 1.2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) [ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A [ 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 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Detected 1 available secondary CPU(s) [ 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] PERCPU: Embedded 9 pages/cpu @8110c000 s8128 r8192 d20544 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit [ 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=00051da1 [ 0.000000] Readback ErrCtl register=00051da1 [ 0.000000] Memory: 122908K/131072K available (4029K kernel code, 175K rwdata, 1172K rodata, 1264K init, 222K bss, 8164K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:256 [ 0.000000] Setting up vectored interrupts [ 0.000000] Setting up IPI vectored interrupts [ 0.000000] CPU Clock: 500MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns [ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns [ 0.007877] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088) [ 0.042371] pid_max: default: 32768 minimum: 301 [ 0.047243] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.053787] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.064868] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.064883] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.065116] CPU1 revision is: 00019556 (MIPS 34Kc) [ 0.124580] Synchronize counters for CPU 1: done. [ 0.129502] Brought up 2 CPUs [ 0.137050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.146868] pinctrl core: initialized pinctrl subsystem [ 0.152793] NET: Registered protocol family 16 [ 0.163402] pinctrl-xway 1e100b10.pinmux: Init done [ 0.169453] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [ 0.282529] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [ 0.301629] PCI host bridge /fpi@10000000/pci@E105400 ranges: [ 0.307303] MEM 0x0000000018000000..0x0000000019ffffff [ 0.312575] IO 0x000000001ae00000..0x000000001affffff [ 0.437371] ath9k,eeprom ath9k_eep: failed to load eeprom address [ 0.468118] usbcore: registered new interface driver usbfs [ 0.473732] usbcore: registered new interface driver hub [ 0.479151] usbcore: registered new device driver usb [ 0.484924] PCI host bridge to bus 0000:00 [ 0.488985] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff] [ 0.495904] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff] [ 0.502865] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.509685] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.518358] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff] [ 0.525281] PCI host bridge to bus 0000:01 [ 0.529310] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff] [ 0.536220] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff] [ 0.543181] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0] [ 0.550015] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff] [ 0.558099] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge [ 0.576316] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring [ 0.585481] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff] [ 0.592203] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref] [ 0.599493] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit] [ 0.606889] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref] [ 0.614145] pci 0000:01:00.0: PCI bridge to [bus 02] [ 0.619187] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff] [ 0.626014] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref] [ 0.633396] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1 [ 0.639997] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned [ 0.646366] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1 [ 0.653013] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned [ 0.661135] clocksource: Switched to clocksource MIPS [ 0.669163] NET: Registered protocol family 2 [ 0.674390] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.681285] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.687709] TCP: Hash tables configured (established 1024 bind 1024) [ 0.694206] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.700059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.706693] NET: Registered protocol family 1 [ 0.711597] gptu: totally 6 16-bit timers/counters [ 0.716467] gptu: misc_register on minor 63 [ 0.720653] gptu: succeeded to request irq 126 [ 0.725170] gptu: succeeded to request irq 127 [ 0.729621] gptu: succeeded to request irq 128 [ 0.734171] gptu: succeeded to request irq 129 [ 0.738691] gptu: succeeded to request irq 130 [ 0.743190] gptu: succeeded to request irq 131 [ 0.749391] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin [ 0.756839] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7A00000 [ 0.763195] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7A00000 [ 0.872824] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.896720] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.902510] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.915385] io scheduler noop registered [ 0.919273] io scheduler deadline registered (default) [ 0.925663] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [ 0.934570] console [ttyLTQ0] enabled [ 0.934570] console [ttyLTQ0] enabled [ 0.941906] bootconsole [early0] disabled [ 0.941906] bootconsole [early0] disabled [ 0.952847] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1 [ 0.957819] nand: AMD/Spansion S34ML01G1 [ 0.961734] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.971008] Bad block table found at page 65472, version 0x01 [ 0.978575] Bad block table found at page 65408, version 0x01 [ 0.983175] nand_read_bbt: bad block at 0x0000023c0000 [ 0.988091] nand_read_bbt: bad block at 0x000004bc0000 [ 0.993249] nand_read_bbt: bad block at 0x000005500000 [ 0.998457] 4 ofpart partitions found on MTD device 14000000.nand-parts [ 1.004948] Creating 4 MTD partitions on "14000000.nand-parts": [ 1.010855] 0x000000000000-0x0000000a0000 : "u-boot" [ 1.017999] 0x0000000a0000-0x0000000c0000 : "uboot-env" [ 1.024065] 0x0000000c0000-0x000000100000 : "caldata_backup" [ 1.030658] 0x000000100000-0x000007f80000 : "ubi" [ 1.143965] libphy: lantiq,xrx200-mdio: probed [ 1.213807] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1) [ 1.281783] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1) [ 1.349767] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1) [ 1.417766] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1) [ 1.489788] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1) [ 1.497665] wdt 1f8803f0.watchdog: Init done [ 1.507223] NET: Registered protocol family 10 [ 1.512237] NET: Registered protocol family 17 [ 1.515466] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.527925] 8021q: 802.1Q VLAN Support v1.8 [ 1.536012] ath9k,eeprom ath9k_eep: pci slot: 14 [ 1.539236] pci 0000:00:0e.0: fixup device configuration [ 1.546193] pci 0000:00:0e.0: fixup info: [168c:002d] revision 01 class 0x028000 [ 1.552212] ath9k,eeprom ath9k_eep: loaded ath9k eeprom [ 1.561539] UBI: auto-attach mtd3 [ 1.563237] ubi0: attaching mtd3 [ 2.214377] ubi0: scanning is finished [ 2.257326] ubi0: attached mtd3 (name "ubi", size 126 MiB) [ 2.261427] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 2.268319] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 2.274988] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 2.281797] ubi0: good PEBs: 1009, bad PEBs: 3, corrupted PEBs: 0 [ 2.287893] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128 [ 2.295104] ubi0: max/mean erase counter: 118/18, WL threshold: 4096, image sequence number: 255302225 [ 2.304414] ubi0: available PEBs: 0, total reserved PEBs: 1009, PEBs reserved for bad PEB handling: 17 [ 2.313862] ubi0: background thread "ubi_bgt0d" started, PID 342 [ 2.315975] block ubiblock0_1: created from ubi0:1(rootfs) [ 2.315987] ubiblock: device ubiblock0_1 (rootfs) set to be roo[ 2.344044] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.353939] Freeing unused kernel memory: 1264K (80544000 - 80680000) [ 3.951100] init: Console is alive [ 3.953522] init: - watchdog - [ 4.472070] eth0: port 4 got link [ 6.561779] SCSI subsystem initialized [ 6.572193] dwc2 1e101000.ifxhcd: requested GPIO 495 [ 6.575816] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode [ 7.437391] dwc2 1e101000.ifxhcd: DWC OTG Controller [ 7.440959] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1 [ 7.448336] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000 [ 7.453855] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode - [ 7.461288] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode. [ 7.468959] hub 1-0:1.0: USB hub found [ 7.471467] hub 1-0:1.0: 1 port detected [ 7.480232] usbcore: registered new interface driver usb-storage [ 7.486314] init: - preinit - [ 7.932358] random: procd urandom read with 68 bits of entropy available Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 11.243719] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 437 [ 11.443232] UBIFS (ubi0:2): recovery needed [ 11.801003] UBIFS (ubi0:2): recovery completed [ 11.804204] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 11.811942] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.821858] UBIFS (ubi0:2): FS size: 118573056 bytes (113 MiB, 919 LEBs), journal size 5935104 bytes (5 MiB, 46 LEBs) [ 11.832470] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) [ 11.839095] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 3076099A-3245-4285-A490-0B4743539E0B, small LPT model [ 11.856027] mount_root: switching to jffs2 overlay [ 11.897871] procd: - early - [ 11.899464] procd: - watchdog - [ 12.653219] eth0: port 4 lost link [ 12.660881] procd: - ubus - [ 12.826965] procd: - init - Please press Enter to activate this console. [ 13.282524] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH [ 13.292864] NET: Registered protocol family 8 [ 13.295874] NET: Registered protocol family 20 [ 13.306755] PPP generic driver version 2.4.2 [ 13.316709] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.340859] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013 Lantiq Deutschland GmbH

Lantiq CPE API Driver version: DSL CPE API V4.16.6.3 [ 13.361683] [ 13.361683] Predefined debug level: 3 [ 13.370218] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796 [ 13.376412] Backport generated by backports.git backports-20160216-0-ge3c56e4 [ 13.447764] PCI: Enabling device 0000:01:00.0 (0000 -> 0002) [ 13.452164] PCI: Enabling device 0000:02:00.0 (0000 -> 0002) [ 13.457970] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 [ 13.651198] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2 [ 13.660558] ath10k_pci 0000:02:00.0: Falling back to user helper [ 13.720746] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed [ 14.083004] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000 [ 14.090946] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1 [ 14.106801] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.97 api 5 features no-p2p crc32 f91e34f2 [ 14.114422] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2 [ 14.124647] ath10k_pci 0000:02:00.0: Falling back to user helper [ 14.181926] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed [ 14.190088] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 [ 15.005152] random: nonblocking pool is initialized [ 15.245489] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1 [ 15.376526] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.389626] Infineon Technologies DEU driver version 2.0.0 [ 15.396609] IFX DEU DES initialized (multiblock). [ 15.402099] IFX DEU AES initialized (multiblock). [ 15.406267] IFX DEU ARC4 initialized (multiblock). [ 15.410634] IFX DEU SHA1 initialized. [ 15.414273] IFX DEU MD5 initialized. [ 15.417979] IFX DEU SHA1_HMAC initialized. [ 15.422756] IFX DEU MD5_HMAC initialized. [ 15.438283] nf_conntrack version 0.5.0 (1940 buckets, 7760 max) [ 15.504248] NET: Registered protocol family 24 [ 15.526208] xt_time: kernel timezone is -0000 [ 15.556060] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002) [ 15.566252] ath: phy1: Ignoring endianness difference in EEPROM magic bytes. [ 15.597126] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30 [ 24.895725] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 24.914918] device eth0.1 entered promiscuous mode [ 24.918374] device eth0 entered promiscuous mode [ 24.932462] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 25.018428] device eth1 entered promiscuous mode [ 25.041497] eth0: port 4 got link [ 25.049843] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 25.065324] br-lan: port 1(eth0.1) entered forwarding state [ 25.069675] br-lan: port 1(eth0.1) entered forwarding state [ 25.094805] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 27.073051] br-lan: port 1(eth0.1) entered forwarding state

[ 55.041221] eth1: port 5 got link [ 58.214821] eth0: tx ring full [ 58.257474] eth0: tx ring full [ 69.694267] eth0: tx ring full [ 72.660442] eth0: tx ring full [ 93.041206] eth1: port 5 lost link

BusyBox v1.24.2 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | | / DE / \ | || || |) | | /__/ LE \ |__|__|/|_| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (HEAD, r742) ______\/ -----------------------------------------------------------

aparcar commented 8 years ago

jow-:

Please try to re-acquire DHCP on your client after the device fully booted and see if it works then.

aparcar commented 8 years ago

bill888:

I'm afraid forcing PC to release and re-acquire DHCP IP address does not resolve issue.

I have also configured a static IP address and DNS setting on client PC. Here are ping results shortly after the Hub has been switched on:

C:\Users\admin>ping 8.8.8.8 -t

Pinging 8.8.8.8 with 32 bytes of data: Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=9ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=8ms TTL=53 Reply from 8.8.8.8: bytes=32 time=3616ms TTL=53 Reply from 8.8.8.8: bytes=32 time=1517ms TTL=53 Reply from 8.8.8.8: bytes=32 time=641ms TTL=53 Request timed out. Reply from 8.8.8.8: bytes=32 time=1114ms TTL=53

When the above pings start to slow and fail from client PC connected to LAN port of Hub, I am still seeing these 'tx ring full' messages on serial console:

[ 95.372341] eth1: transmit timed out, disable the dma channel irq [ 95.381099] eth1: tx ring full [ 95.381134] eth0: tx ring full [ 105.953032] eth1: transmit timed out, disable the dma channel irq [ 105.957949] eth1: tx ring full [ 124.961063] eth0: transmit timed out, disable the dma channel irq [ 124.965868] eth0: tx ring full [ 162.758301] eth0: tx ring full [ 162.823880] eth1: tx ring full [ 164.023015] eth1: tx ring full [ 166.845388] eth0: port 4 lost link [ 166.849247] br-lan: port 1(eth0.1) entered disabled state [ 169.845683] eth1: port 5 lost link

As another test, I have just installed r48886 image from OpenWRT BT Home Hub 5 Type A wiki to a second Hub. Using the same network configuration file changes, internet through WAN port (DHCP client mode) works perfectly.

aparcar commented 8 years ago

bill888:

Further to my earlier posts, I have gone back and tried some other sysupgrade tar files.

openwrt r49377 is OK. LEDE r508 is OK. LEDE r619 has same issue as witnessed with R742.

I can only conclude something is 'broken' after r508 and before r619.

aparcar commented 8 years ago

bill888:

Commit cc3bfdb "lantiq: enable SMP for XRX200"

(https://git.lede-project.org/?p=source.git;a=commit;h=cc3bfdb62f941dff3e2983591c78b6d39ca8d88a)

is responsible for the TX ring full WAN port issue. I am advised the ticket needs to be assigned to 'nbd' for attention.

Tnx to mkresin for providing test images for me to help narrow down and identify the commit.

aparcar commented 8 years ago

nbd:

Commit reverted in 2270fc59

aparcar commented 8 years ago

nbd:

I will try to find the time to rework the ethernet driver soon and will write a comment in this ticket when I have something to test

aparcar commented 8 years ago

medber:

By the way, enabling SMP doesn't seem to cause any issues for ARV7519RW22 which is a XRX200 too. I've tested it extensively for days under tens of gigabytes of wan traffic daily.

aparcar commented 8 years ago

nbd:

I think the issue is probably specific to devices that use both eth0 and eth1