Hi there,
I'm currently running the latest Barrier Breaker release (rc3) on an Openreach ECI /r modem - being used as a VDSL modem, bridging the PTM and LAN interfaces PPPoE is being done elsewhere - all is working pretty well, however I have one question. I'm not sure if this is a bug, configuration issue or quite simply a limitation of the hardware - if anyone can point me in the direction of how to proceed, it would be much appreciated.
The issue: I only see one eth0 interface - even though both physical ports are accessible (there are 2 LAN ports on this hardware) - is there any way to split out each physical port to a separate eth interface? Are there any commands to modify the onboard switch (from what I can see it is not supported by swconfig)? Or are the ports simply a hub connected to an internal switch?
Clearly when I bridge the LAN/PTM interfaces LAN management traffic is seen on the designated 'WAN' interface due to the bridge, and vice versa, I'd prefer to have a separate bridge for port 1 -> PTM, then have port 2 for LAN only/management.
Looking at another users boot logs, albeit on an earlier Barrier Breaker build, it shows the below:
[ 0.608000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:13, irq=-1)
[ 0.620000] eth1: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:11, irq=-1)
However, I see:
[ 1.712000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:11, irq=-1)
[ 1.720000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:13, irq=-1)
Any pointers gratefully appreciated, I'm including the full bootlog below as well:
[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41989) ) #1 Fri Aug 8 02:41:13 CEST 2014
[ 0.000000] SoC: VR9 rev 1.1
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019555 (MIPS 34Kc)
[ 0.000000] MIPS: machine is VG3503J - BT OpenReach VDSL Modem
[ 0.000000] Determined 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] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80418b80, node_mem_map 81002b40
[ 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 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: 8128
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 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=00012680
[ 0.000000] Readback ErrCtl register=00012680
[ 0.000000] Memory: 27676k/32768k available (3178k kernel code, 5092k reserved, 1127k data, 228k init, 0k highmem)
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 333MHz
[ 0.036000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 512
[ 0.048000] pinctrl core: initialized pinctrl subsystem
[ 0.052000] NET: Registered protocol family 16
[ 0.068000] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.072000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.080000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.084000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 0.196000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 0.296000] ifx_pcie_wait_phy_link_up timeout
[ 0.300000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 0.412000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 0.512000] ifx_pcie_wait_phy_link_up timeout
[ 0.516000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 0.628000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 0.728000] ifx_pcie_wait_phy_link_up timeout
[ 0.732000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 0.844000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 0.944000] ifx_pcie_wait_phy_link_up timeout
[ 0.948000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 1.060000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 1.160000] ifx_pcie_wait_phy_link_up timeout
[ 1.164000] pcie_rc_initialize link up failed!!!!!
[ 1.184000] bio: create slab <bio-0> at 0
[ 1.192000] usbcore: registered new interface driver usbfs
[ 1.196000] usbcore: registered new interface driver hub
[ 1.200000] usbcore: registered new device driver usb
[ 1.204000] Switching to clocksource MIPS
[ 1.212000] NET: Registered protocol family 2
[ 1.220000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.224000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.232000] TCP: Hash tables configured (established 512 bind 512)
[ 1.240000] TCP: reno registered
[ 1.240000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.248000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.256000] NET: Registered protocol family 1
[ 1.260000] PCI: CLS 0 bytes, default 32
[ 1.260000] gptu: totally 6 16-bit timers/counters
[ 1.264000] gptu: misc_register on minor 63
[ 1.268000] gptu: succeeded to request irq 126
[ 1.272000] gptu: succeeded to request irq 127
[ 1.276000] gptu: succeeded to request irq 128
[ 1.284000] gptu: succeeded to request irq 129
[ 1.288000] gptu: succeeded to request irq 130
[ 1.292000] gptu: succeeded to request irq 131
[ 1.300000] phy-xrx200 gphy-xrx200.7: requesting lantiq/vr9_phy22f_a1x.bin
[ 1.308000] phy-xrx200 gphy-xrx200.7: booting GPHY0 firmware at 18C0000
[ 1.316000] phy-xrx200 gphy-xrx200.7: booting GPHY1 firmware at 18C0000
[ 1.424000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.432000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.440000] msgmni has been set to 54
[ 1.444000] io scheduler noop registered
[ 1.448000] io scheduler deadline registered (default)
[ 1.456000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[ 1.464000] console [ttyLTQ0] enabled, bootconsole disabled
[ 1.480000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 1.488000] ltq_nor: Found an alias at 0x800000 for the chip at 0x0
[ 1.488000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.492000] Amd/Fujitsu Extended Query version 1.1.
[ 1.500000] number of CFI chips: 1
[ 1.500000] 8 ofpart partitions found on MTD device ltq_nor
[ 1.508000] Creating 8 MTD partitions on "ltq_nor":
[ 1.512000] 0x000000000000-0x000000020000 : "uboot"
[ 1.520000] 0x000000020000-0x0000001a0000 : "kernel"
[ 1.528000] 0x0000001a0000-0x000000740000 : "rootfs"
[ 1.532000] mtd: device 2 (rootfs) set to be root filesystem
[ 1.536000] mtd: partition "rootfs_data" created automatically, ofs=0x360000, len=0x3e0000
[ 1.544000] 0x000000360000-0x000000740000 : "rootfs_data"
[ 1.552000] 0x000000740000-0x0000007c0000 : "btagent"
[ 1.560000] 0x0000007c0000-0x0000007d0000 : "pri_bfocus_cfg"
[ 1.568000] 0x0000007d0000-0x0000007e0000 : "sec_bfocus_cfg"
[ 1.576000] 0x0000007e0000-0x0000007f0000 : "sysconfig"
[ 1.580000] 0x0000007f0000-0x000000800000 : "misc_cfg"
[ 1.700000] libphy: lantiq,xrx200-mdio: probed
[ 1.708000] net-xrx200: invalid MAC, using random
[ 1.712000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:11, irq=-1)
[ 1.720000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:13, irq=-1)
[ 1.728000] wdt 1f8803f0.watchdog: Init done
[ 1.732000] leds-gpio gpio-leds.6: pins are not configured from the driver
[ 1.740000] TCP: cubic registered
[ 1.744000] NET: Registered protocol family 17
[ 1.748000] Bridge firewalling registered
[ 1.752000] 8021q: 802.1Q VLAN Support v1.8
[ 1.764000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 1.780000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.784000] Freeing unused kernel memory: 228K (80437000 - 80470000)
[ 3.920000] eth0: port 2 got link
[ 4.032000] eth0: port 4 got link
[ 8.848000] jffs2: notice: (264) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 13 of xref (0 dead, 4 orphan) found.
[ 11.236000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 11.236000] M
[ 11.272000] NET: Registered protocol family 10
[ 11.288000] nf_conntrack version 0.5.0 (436 buckets, 1744 max)
[ 11.300000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.328000] MEI CPE Driver, Version 1.2.0
[ 11.328000] M
[ 11.332000] (c) Copyright 2009, Infineon Technologies AG
[ 11.332000] M### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###
[ 11.336000] M
[ 11.336000]
[ 11.336000] Lantiq CPE API Driver version: DSL CPE API V4.11.4
[ 11.360000]
[ 11.360000] Predefined debug level: 2
[ 11.372000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.440000] xt_time: kernel timezone is -0000
[ 11.456000] PPP generic driver version 2.4.2
[ 11.464000] NET: Registered protocol family 24
[ 18.664000] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 18.668000] ifxmips_ptm: PTM init succeed
[ 20.992000] device eth0 entered promiscuous mode
[ 21.172000] br-lan: port 1(eth0) entered forwarding state
[ 21.176000] br-lan: port 1(eth0) entered forwarding state
[ 21.212000] /BB/build/lantiq/xrx200/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
[ 21.228000] device ptm0.101 entered promiscuous mode
[ 21.232000] device ptm0 entered promiscuous mode
[ 21.236000] br-lan: port 2(ptm0.101) entered forwarding state
[ 21.244000] br-lan: port 2(ptm0.101) entered forwarding state
[ 21.248000] /BB/build/lantiq/xrx200/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
(Last edited by iMx on 24 Aug 2014, 16:32)