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#3333 - MikroTik Routerboard RB-411 ag71xx 19000000.eth: missing mac reset (ethernet not detected) #8192

Closed
openwrt-bot opened this issue Sep 13, 2020 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

acoul:

  • Device problem occurs on
    MikroTik Routerboard RB-411 ag71xx

  • Software versions of OpenWrt/LEDE release, packages, etc.
    trunk r14533

  • Steps to reproduce
    netboot openwrt-ath79-mikrotik-mikrotik_routerboard-493g-initramfs-kernel.bin

Linux version 5.4.65 (alex@aifnis) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r14533-90a50020b0)) #0 Sat Sep 12 06:40:13 2020
printk: bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
MIPS: machine is MikroTik RouterBOARD 493G
SoC: Atheros AR7130 rev 2
Initrd not found or empty - disabling initrd
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
Normal [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Built 1 zonelists, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 25064K/32768K available (4082K kernel code, 139K rwdata, 608K rodata, 2332K init, 185K bss, 7704K reserved, 0K cma-reserved)
NR_IRQS: 51
CPU clock: 300.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
Calibrating delay loop... 199.68 BogoMIPS (lpj=399360)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
random: get_random_bytes called from 0x8052fc2c with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
MEM 0x0000000010000000..0x0000000016ffffff
IO 0x0000000000000000..0x0000000000000000
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
pci_bus 0000:00: root bus resource [io 0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:12.0: [1260:3873] type 00 class 0x028000
pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x00000fff pref]
pci 0000:00:12.0: supports D1 D2
pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x10000fff pref]
workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
random: fast init done
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
ar7100-usb-phy 18030000.usb-phy: phy reset is missing
ar7100-usb-phy: probe of 18030000.usb-phy failed with error -524
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 10, base_baud = 9375000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
rb4xx-gpio mikrotik,rb4xx-gpio: DMA mask not set
rb4xx-nand mikrotik,rb4xx-nand: DMA mask not set
nand: device found, Manufacturer ID: 0xad, Chip ID: 0x76
nand: Hynix NAND 64MiB 3,3V 8-bit
nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
Scanning device for bad blocks
spi-nor spi0.0: pm25lv512 (64 Kbytes)
1 routerbootpart partitions found on MTD device spi0.0
Creating 1 MTD partitions on "spi0.0":
0x000000000000-0x000000010000 : "partitions"
5 routerbootpart partitions found on MTD device partitions
Creating 5 MTD partitions on "partitions":
0x000000000000-0x00000000b000 : "routerboot1"
0x00000000b000-0x00000000c000 : "hard_config"
0x00000000c000-0x00000000d000 : "bios"
0x00000000d000-0x00000000f000 : "routerboot2"
0x00000000f000-0x000000010000 : "soft_config"
libphy: Fixed MDIO Bus: probed
ag71xx 19000000.eth: missing mac reset
ag71xx: probe of 19000000.eth failed with error -524
ag71xx 1a000000.eth: missing mac reset
ag71xx: probe of 1a000000.eth failed with error -524
MikroTik RouterBOARD hardware configuration sysfs driver v0.05
MikroTik RouterBOARD software configuration sysfs driver v0.03
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Freeing unused kernel memory: 2332K
This architecture does not have kernel memory protection.
Run /init as init process
init: Console is alive
init: - watchdog -
kmodloader: no module folders for kernel version 5.4.65 found
init: - preinit -
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
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
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
urandom_read: 2 callbacks suppressed
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
Please press Enter to activate this console.
kmodloader: no module folders for kernel version 5.4.65 found
urngd: v1.0.2 started.
random: crng init done
random: 2 urandom warning(s) missed due to ratelimiting

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


| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|
_____|| |
||||___||| |____|
|
| W I R E L E S S F R E E D O M

OpenWrt SNAPSHOT, r14533-90a50020b0

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.

root@OpenWrt:/#

*** here is the same RB-411 device on last openwrt ar71xx (R.I.P.) target

Linux version 4.14.193 (alex@aifnis) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r14242-fd7954c3f3)) #0 Thu Aug 20 06:59:05 2020
bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR7130 rev 2
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
Normal [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 8044d7d0, node_mem_map 81000020
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8192 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=132768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 8128
Kernel command line: parts=1 boot_part_size=4194304 gpio=1983 HZ=150000000 mem=32M kmac=00:0C:42:35:50:8B board=411 ver=3.18 boot=1 mlc=6 console=ttyS0,115200 rootfstype=squashfs noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 27636K/32768K available (3431K kernel code, 149K rwdata, 444K rodata, 192K init, 195K bss, 5132K reserved, 0K cma-reserved)
NR_IRQS: 51
Clocks: CPU:300.000MHz, DDR:300.000MHz, AHB:150.000MHz, Ref:40.000MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
random: get_random_u32 called from 0x8022473c with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
NET: Registered protocol family 16
MIPS: machine is MikroTik RouterBOARD 411/A/AH
registering PCI controller with io_map_base unset
rb4xx-spi rb4xx-spi: controller is unqueued, this is deprecated
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
pci_bus 0000:00: root bus resource [io 0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:12.0: [168c:0029] type 00 class 0x028000
pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x0000ffff]
pci 0000:00:12.0: PME# supported from D0 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 9375000) is a 16550A
console [ttyS0] enabled
bootconsole [early0] disabled
NAND flash driver for RouterBoard 4xx series version 0.2.0
nand: device found, Manufacturer ID: 0xad, Chip ID: 0x76
nand: Hynix NAND 64MiB 3,3V 8-bit
nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "booter"
0x000000040000-0x000000400000 : "kernel"
0x000000400000-0x000004000000 : "ubi"
libphy: ag71xx_mdio: probed
ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=00221512, driver=Generic PHY]
eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
UBI: auto-attach mtd2
ubi0: attaching mtd2
random: fast init done
ubi0: scanning is finished
ubi0: attached mtd2 (name "ubi", size 60 MiB)
ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15360 bytes
ubi0: min./max. I/O unit sizes: 512/512, sub-page size 512
ubi0: VID header offset: 512 (aligned 512), data offset: 1024
ubi0: good PEBs: 3840, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 89
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 573606007
ubi0: available PEBs: 0, total reserved PEBs: 3840, PEBs reserved for bad PEB handling: 80
block ubiblock0_1: created from ubi0:1(rootfs)
ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
ubi0: background thread "ubi_bgt0d" started, PID 190
VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
Freeing unused kernel memory: 192K
This architecture does not have kernel memory protection.
init: Console is alive
init: - watchdog -
kmodloader: no module folders for kernel version 4.14.193 found
init: - preinit -
ar71xx: pll_reg 0xb8050010: 0x1099
eth0: link up (100Mbps/Full duplex)
random: procd: uninitialized urandom read (4 bytes read)
UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 239
UBIFS (ubi0:2): recovery needed
UBIFS (ubi0:2): recovery completed
UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
UBIFS (ubi0:2): LEB size: 15360 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
UBIFS (ubi0:2): FS size: 54528000 bytes (52 MiB, 3550 LEBs), journal size 2734080 bytes (2 MiB, 178 LEBs)
UBIFS (ubi0:2): reserved for root: 2575492 bytes (2515 KiB)
UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 17E04CC7-672F-4DD2-AD21-8CA1B90E0D8A, big LPT model
mount_root: switching to ubifs overlay
urandom-seed: Seeding with /etc/urandom.seed
eth0: link down
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
kmodloader: loading kernel modules from /etc/modules.d/

Loading modules backported from Linux version v5.8-0-gbcf876870b95
Backport generated by backports.git v5.8-1-0-g79400d9e
urngd: v1.0.2 started.
random: crng init done
random: 6 urandom warning(s) missed due to ratelimiting
pci 0000:00:12.0: using irq 40 for pin 1
PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
ath: EEPROM regdomain sanitized
ath: EEPROM regdomain: 0x64
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x64
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
kmodloader: done loading kernel modules from /etc/modules.d/*
ath: EEPROM regdomain: 0x812c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x37
ath: Country alpha2 being used: GR
ath: Regpair used: 0x37
ath: regdomain 0x812c dynamically updated by user
ar71xx: pll_reg 0xb8050010: 0x1099
eth0: link up (100Mbps/Full duplex)

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