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#3335 - Ubiquiti RouterStation PRO ag71xx 19000000.eth: missing mac reset #8194

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

Comments

@openwrt-bot
Copy link

acoul:

similar issue as in FS#3334 on a Ubiquiti RouterStation PRO

edBoot(tm) bootstrap and debug environment [ROMRAM] Ubiquiti Networks certified release, version 0.9.00318M.0905121200 - built 12:01:38, May 12 2009

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: Ubiquiti RouterStation PRO
Arch: ar7100pro
RAM: 0x80000000-0x88000000, [0x8003bf00-0x87fe1000] available
Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -d -e kernel
Trying LZMA decompression...
Image loaded from 0x80060000-0x804f0bcd
Image is not ELF, skipping ELF parsing...
RedBoot> exec
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
memsize=0x08000000
modetty0=0,n,8,1,hw
board=RouterStation PRO
ethaddr=00.15.6d.c1.3c.5b
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 Ubiquiti RouterStation Pro
SoC: Atheros AR7161 rev 2
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-0x0000000007ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x0000000007ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
Built 1 zonelists, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
Writing ErrCtl register=00069002
Readback ErrCtl register=00069002
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 124012K/131072K available (3796K kernel code, 153K rwdata, 576K rodata, 1164K init, 180K bss, 7060K reserved, 0K cma-reserved)
NR_IRQS: 51
CPU clock: 720.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Calibrating delay loop... 479.74 BogoMIPS (lpj=959488)
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 0x804e17fc 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_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
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
workingset: timestamp_bits=30 max_order=15 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 = 11250000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
spi-nor spi0.0: mx25l12805d (16384 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0xfd0000
Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
Searching for RedBoot partition table in spi0.0 at offset 0xff0000
5 RedBoot partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000030000 : "RedBoot"
0x000000030000-0x0000001b0000 : "kernel"
0x0000001b0000-0x000000ff0000 : "rootfs"
mtd: device 2 (rootfs) set to be root filesystem
1 squashfs-split partitions found on MTD device rootfs
0x0000002d0000-0x000000ff0000 : "rootfs_data"
0x000000ff0000-0x000000fff000 : "FIS directory"
0x000000fff000-0x000001000000 : "RedBoot 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
i2c /dev entries driver
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 1164K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
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)
/bin/board_detect: /etc/board.d/02_network: line 557: fconfig: not found
/bin/board_detect: /etc/board.d/02_network: line 144: arithmetic syntax error
random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are 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
jffs2: notice: (389) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
overlayfs: upper fs does not support tmpfile.
urandom-seed: Seeding with /etc/urandom.seed
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
urandom_read: 4 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

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:/#

@openwrt-bot
Copy link
Author

acoul:

this is on stable 19.07.4

RedBoot(tm) bootstrap and debug environment [ROMRAM] Ubiquiti Networks certified release, version 0.9.00318M.0905121200 - built 12:01:38, May 12 2009

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: Ubiquiti RouterStation PRO
Arch: ar7100pro
RAM: 0x80000000-0x88000000, [0x8003bf00-0x87fe1000] available
Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -d -e kernel
Trying LZMA decompression...
Image loaded from 0x80060000-0x80528d29
Image is not ELF, skipping ELF parsing...
RedBoot> exec
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
memsize=0x08000000
modetty0=0,n,8,1,hw
board=RouterStation PRO
ethaddr=00.15.6d.c1.3c.5b
[ 0.000000] Linux version 4.14.195 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11208-ce6496d796)) #0 Sun Sep 6 16:19:39 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Ubiquiti RouterStation Pro
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] 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] random: get_random_bytes called from 0x804ff740 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 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=00069002
[ 0.000000] Readback ErrCtl register=00069002
[ 0.000000] Memory: 123312K/131072K available (4031K kernel code, 160K rwdata, 532K rodata, 1220K init, 212K bss, 7760K 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] CPU clock: 720.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000008] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.007771] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.073979] pid_max: default: 32768 minimum: 301
[ 0.078733] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085322] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.095281] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.105092] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.111209] pinctrl core: initialized pinctrl subsystem
[ 0.118133] NET: Registered protocol family 16
[ 0.424321] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.430749] MEM 0x0000000010000000..0x0000000016ffffff
[ 0.435942] IO 0x0000000000000000..0x0000000000000000
[ 0.453053] PCI host bridge to bus 0000:00
[ 0.457142] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 0.464019] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.469559] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.476317] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.486292] clocksource: Switched to clocksource MIPS
[ 0.492128] NET: Registered protocol family 2
[ 0.497197] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.504131] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.510507] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.516963] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.522770] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.529216] NET: Registered protocol family 1
[ 0.535736] Crashlog allocated RAM at address 0x3f00000
[ 0.541932] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.552401] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.558243] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.574772] io scheduler noop registered
[ 0.578727] io scheduler deadline registered (default)
[ 0.584033] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.590847] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.599078] console [ttyS0] disabled
[ 0.602665] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 10, base_baud = 11250000) is a 16550A
[ 0.611458] console [ttyS0] enabled
[ 0.611458] console [ttyS0] enabled
[ 0.618475] bootconsole [early0] disabled
[ 0.618475] bootconsole [early0] disabled
[ 0.632647] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.638354] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
[ 0.667242] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[ 0.696121] 5 RedBoot partitions found on MTD device spi0.0
[ 0.701742] Creating 5 MTD partitions on "spi0.0":
[ 0.706577] 0x000000000000-0x000000030000 : "RedBoot"
[ 0.712256] 0x000000030000-0x0000001c0000 : "kernel"
[ 0.717848] 0x0000001c0000-0x000000ff0000 : "rootfs"
[ 0.723351] mtd: device 2 (rootfs) set to be root filesystem
[ 0.729119] 1 squashfs-split partitions found on MTD device rootfs
[ 0.735332] 0x000000420000-0x000000ff0000 : "rootfs_data"
[ 0.741327] 0x000000ff0000-0x000000fff000 : "FIS directory"
[ 0.747530] 0x000000fff000-0x000001000000 : "RedBoot config"
[ 0.754593] libphy: Fixed MDIO Bus: probed
[ 0.760577] ag71xx 19000000.eth: invalid MAC address, using random address
[ 1.107974] libphy: ag71xx_mdio: probed
[ 1.113531] switch0: Atheros AR8316 rev. 1 switch registered on mdio-bus.0
[ 1.121802] ar8316: Using port 4 as PHY
[ 1.125675] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:04 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
[ 1.136958] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.143384] ag71xx 1a000000.eth: invalid MAC address, using random address
[ 1.487465] ar8316: Using port 4 as PHY
[ 1.495114] ag71xx 1a000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
[ 1.506456] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.514191] NET: Registered protocol family 10
[ 1.522005] Segment Routing with IPv6
[ 1.525764] NET: Registered protocol family 17
[ 1.530318] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.543339] 8021q: 802.1Q VLAN Support v1.8
[ 1.549237] hctosys: unable to open rtc device (rtc0)
[ 1.558527] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.569255] Freeing unused kernel memory: 1220K
[ 1.573802] This architecture does not have kernel memory protection.
[ 2.198493] init: Console is alive
[ 2.202098] init: - watchdog -
[ 2.516307] random: fast init done
[ 2.948215] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.020194] usbcore: registered new interface driver usbfs
[ 3.025786] usbcore: registered new interface driver hub
[ 3.031239] usbcore: registered new device driver usb
[ 3.040535] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.048449] ehci-platform: EHCI generic platform driver
[ 3.653473] ehci-platform 1b000000.usb: EHCI Host Controller
[ 3.659210] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 3.667201] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 3.696328] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 3.703218] hub 1-0:1.0: USB hub found
[ 3.707357] hub 1-0:1.0: 2 ports detected
[ 3.713701] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.721186] ohci-platform: OHCI generic platform driver
[ 3.726670] ohci-platform 1c000000.usb: Generic Platform OHCI controller
[ 3.733443] ohci-platform 1c000000.usb: new USB bus registered, assigned bus number 2
[ 3.741403] ohci-platform 1c000000.usb: irq 14, io mem 0x1c000000
[ 3.821043] hub 2-0:1.0: USB hub found
[ 3.825086] hub 2-0:1.0: 2 ports detected
[ 3.830086] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.847767] init: - preinit -
[ 4.296381] usb 1-2: new high-speed USB device number 2 using ehci-platform
[ 4.460578] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.563829] random: procd: uninitialized urandom read (4 bytes read)
[ 4.601611] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.461803] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 5.467789] IPv6: ADDRCONF(NETDEV_UP): eth1.1: link is not ready
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
[ 6.516697] eth1: link up (1000Mbps/Full duplex)
[ 6.521385] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 6.529789] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
[ 8.714903] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.743353] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.823801] eth1: link down
[ 8.842345] procd: - early -
[ 8.845330] procd: - watchdog -
[ 9.461506] procd: - watchdog -
[ 9.464917] procd: - ubus -
[ 9.525710] urandom_read: 5 callbacks suppressed
[ 9.525718] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.596092] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.603603] procd: - init -
Please press Enter to activate this console.
[ 10.111066] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.251040] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.274015] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.292697] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 10.392040] xt_time: kernel timezone is -0000
[ 10.413365] PPP generic driver version 2.4.2
[ 10.427276] NET: Registered protocol family 24
[ 10.438937] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.550996] urngd: v1.0.2 started.
[ 10.714489] random: crng init done

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


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

OpenWrt 19.07.4, r11208-ce6496d796

=== 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.

@openwrt-bot
Copy link
Author

acoul:

I was missing the CONFIG_GENERIC_PHY option/symbol (Generic PHY driver) on my build setup. ethernet is working fine. thereof this report is invalid & can now shamefully close.

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