Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1020 - Mikrotik RB493G AR8316 switch0/ETH0 cannot be managed #5962

Open
openwrt-bot opened this issue Sep 27, 2017 · 1 comment
Open

FS#1020 - Mikrotik RB493G AR8316 switch0/ETH0 cannot be managed #5962

openwrt-bot opened this issue Sep 27, 2017 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

betelgeux1:

Exists on OpenWRT 14 and 15, LEDE 17 and Trunk

The behaviour is identical to issues reported on RB951G and RB2011 models.

See historical details:
#352
https://lists.openwrt.org/pipermail/openwrt-devel/2014-December/030216.html

I have been able to work around the issue by cross-connecting the PoE/WAN port to switch0 LAN4 and turning off eth0 CPU. This allows me to use all remaining ports. It's a horrible kludge, I'm only mentioning it as a temporary workaround.

@openwrt-bot
Copy link
Author

betelgeux1:

[ 0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Tue Oct 17 17:46:20 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat 804304d0, node_mem_map 81000000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 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: 65024
[ 0.000000] Kernel command line: parts=1 boot_part_size=4194304 gpio=4023 HZ=340000000 mem=256M kmac=64:D1:54:59:44:26 board=493G ver=3.24 hw_opt=00020004 boot=1 mlc=9 console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 254960K/262144K available (3399K kernel code, 177K rwdata, 468K rodata, 236K init, 203K bss, 7184K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007797] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.070513] pid_max: default: 32768 minimum: 301
[ 0.075245] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081854] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091128] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.100990] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.108125] NET: Registered protocol family 16
[ 0.113919] MIPS: machine is MikroTik RouterBOARD 493G
[ 2.748964] registering PCI controller with io_map_base unset
[ 2.754725] Can't analyze schedule() prologue at 800670fc
[ 2.767688] rb4xx-spi rb4xx-spi: master is unqueued, this is deprecated
[ 2.775310] PCI host bridge to bus 0000:00
[ 2.779413] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 2.786305] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.791866] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.798646] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.806602] pci 0000:00:14.0: [168c:0029] type 00 class 0x028000
[ 2.806641] pci 0000:00:14.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 2.806707] pci 0000:00:14.0: PME# supported from D0 D3hot
[ 2.806894] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.806924] pci 0000:00:14.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 2.813738] pci 0000:00:14.0: using irq 42 for pin 1
[ 2.819419] clocksource: Switched to clocksource MIPS
[ 2.825446] NET: Registered protocol family 2
[ 2.830659] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.837644] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.844067] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.850518] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.856354] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.862866] NET: Registered protocol family 1
[ 2.867255] PCI: CLS 0 bytes, default 32
[ 2.871537] Crashlog allocated RAM at address 0x3f00000
[ 2.889267] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.895146] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.907278] io scheduler noop registered
[ 2.911248] io scheduler deadline registered (default)
[ 2.916637] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.925405] console [ttyS0] disabled
[ 2.949036] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
[ 2.957748] console [ttyS0] enabled
[ 2.964713] bootconsole [early0] disabled
[ 2.973554] m25p80 spi0.0: pm25lv512 (64 Kbytes)
[ 2.978177] Creating 4 MTD partitions on "spi0.0":
[ 2.983013] 0x000000000000-0x00000000b000 : "routerboot"
[ 2.992447] 0x00000000b000-0x00000000c000 : "hard_config"
[ 2.999222] 0x00000000d000-0x00000000f000 : "bios"
[ 3.005516] 0x00000000f000-0x000000010000 : "soft_config"
[ 3.012548] NAND flash driver for RouterBoard 4xx series version 0.2.0
[ 3.019328] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 3.025723] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 3.030341] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 3.037923] Scanning device for bad blocks
[ 3.197631] Bad eraseblock 447 at 0x0000037e0000
[ 3.222870] Bad eraseblock 507 at 0x000003f60000
[ 3.406258] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 3.412446] 0x000000000000-0x000000040000 : "booter"
[ 3.418698] 0x000000040000-0x000000400000 : "kernel"
[ 3.425183] 0x000000400000-0x000008000000 : "ubi"
[ 3.439354] switch0: Atheros AR8316 rev. 1 switch registered on gpio

[ 3.445771] libphy: GPIO Bitbanged MDIO: probed
[ 3.455262] switch1: Atheros AR8316 rev. 1 switch registered on ag71xx-mdio.0

[ 3.462456] libphy: ag71xx_mdio: probed
[ 3.780830] ar8316: Using port 4 as switch port
[ 3.828437] ag71xx ag71xx.1: connected to PHY at gpio:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
[ 3.838883] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[ 4.160789] ar8316: Using port 4 as switch port
[ 4.195443] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
[ 4.206670] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 4.214733] NET: Registered protocol family 10
[ 4.222649] NET: Registered protocol family 17
[ 4.227151] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.239885] 8021q: 802.1Q VLAN Support v1.8
[ 4.244210] rb: no calibration data found
[ 4.251327] UBI: auto-attach mtd6
[ 4.254490] ubi0: attaching mtd6
[ 7.339318] ubi0: scanning is finished
[ 7.405204] ubi0: attached mtd6 (name "ubi", size 124 MiB)
[ 7.410743] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 7.417600] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 7.424381] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 7.431333] ubi0: good PEBs: 990, bad PEBs: 2, corrupted PEBs: 0
[ 7.437325] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 7.444540] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 271852037
[ 7.453569] ubi0: available PEBs: 0, total reserved PEBs: 990, PEBs reserved for bad PEB handling: 18
[ 7.462892] ubi0: background thread "ubi_bgt0d" started, PID 329
[ 7.470774] block ubiblock0_1: created from ubi0:1(rootfs)
[ 7.476258] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 7.497933] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 7.506119] Freeing unused kernel memory: 236K
[ 9.070160] init: Console is alive
[ 9.073779] init: - watchdog -
[ 10.391280] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 10.459653] usbcore: registered new interface driver usbfs
[ 10.465223] usbcore: registered new interface driver hub
[ 10.470639] usbcore: registered new device driver usb
[ 10.480128] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 10.487949] ehci-platform: EHCI generic platform driver
[ 10.493329] ehci-platform ehci-platform: EHCI Host Controller
[ 10.499095] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 10.507120] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 10.529436] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 10.536538] hub 1-0:1.0: USB hub found
[ 10.540648] hub 1-0:1.0: 2 ports detected
[ 10.547084] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 10.554464] ohci-platform: OHCI generic platform driver
[ 10.559839] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 10.566636] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 10.574625] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
[ 10.644306] hub 2-0:1.0: USB hub found
[ 10.648355] hub 2-0:1.0: 2 ports detected
[ 10.653214] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 10.670877] init: - preinit -
[ 11.298295] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.160006] ar71xx: pll_reg 0xb8050014: 0x110000
[ 13.160031] eth0: link up (1000Mbps/Full duplex)
[ 13.164746] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.424829] random: procd: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[ 14.439920] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 397
[ 14.776009] UBIFS (ubi0:2): recovery needed
[ 15.335548] UBIFS (ubi0:2): recovery completed
[ 15.340099] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 15.347916] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 15.357907] UBIFS (ubi0:2): FS size: 117579776 bytes (112 MiB, 926 LEBs), journal size 5840896 bytes (5 MiB, 46 LEBs)
[ 15.368503] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[ 15.375120] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID A51DB03D-DAD5-4F0B-B171-0BC1B108293D, small LPT model
[ 15.406702] mount_root: switching to ubifs overlay
[ 15.426408] urandom-seed: Seeding with /etc/urandom.seed
[ 15.618841] eth0: link down
[ 15.636915] procd: - early -
[ 15.639990] procd: - watchdog -
[ 16.264662] procd: - watchdog -
[ 16.268047] procd: - ubus -
[ 16.306198] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.330301] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.339745] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.348744] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.358172] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.367215] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.376353] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.385508] random: ubusd: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[ 16.394843] procd: - init -
[ 16.813708] kmodloader: loading kernel modules from /etc/modules.d/*
[ 16.824644] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.842330] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 16.850380] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 16.860628] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.872998] nf_conntrack version 0.5.0 (3987 buckets, 15948 max)
[ 16.912048] xt_time: kernel timezone is -0000
[ 16.965617] PPP generic driver version 2.4.2
[ 16.972183] NET: Registered protocol family 24
[ 17.007927] PCI: Enabling device 0000:00:14.0 (0000 -> 0002)
[ 18.571904] ath: EEPROM regdomain: 0x0
[ 18.571922] ath: EEPROM indicates default country code should be used
[ 18.571930] ath: doing EEPROM country->regdmn map search
[ 18.571947] ath: country maps to regdmn code: 0x3a
[ 18.571957] ath: Country alpha2 being used: US
[ 18.571965] ath: Regpair used: 0x3a
[ 18.591260] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 18.595969] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=42
[ 19.233301] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 19.754253] random: jshn: uninitialized urandom read (4 bytes read, 32 bits of entropy available)
[ 26.362641] device eth0 entered promiscuous mode
[ 26.442575] IPv6: ADDRCONF(NETDEV_UP): br-3RD_PARTY: link is not ready
[ 26.502493] device eth0.5 entered promiscuous mode
[ 26.535971] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 26.595127] device eth1.1 entered promiscuous mode
[ 26.599991] device eth1 entered promiscuous mode
[ 26.640572] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 26.688237] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 26.800569] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 27.820007] ar71xx: pll_reg 0xb8050010: 0x110000
[ 27.824634] eth1: link up (1000Mbps/Full duplex)
[ 27.873563] ar71xx: pll_reg 0xb8050014: 0x110000
[ 27.878190] eth0: link up (1000Mbps/Full duplex)

Switch 1 is functional, Switch 0 is unstable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant