[AST2500]The eth0 interface can not work
Zheng Bao
fishbaoz at hotmail.com
Thu Sep 26 20:49:54 AEST 2019
The whole dmesg is here.
root at s2600wf:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.14-9f4f5ff (oe-user at oe-host) (gcc version 9.2.0 (GCC)) #1 Wed Sep 25 22:27:51 UTC 2019
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: S2600WF BMC
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 16 MiB at 0x9d800000
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 126976 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 125984
[ 0.000000] Kernel command line: console=ttyS4,115200n8 root=/dev/ram rw
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 475704K/507904K available (6144K kernel code, 385K rwdata, 1408K rodata, 1024K init, 145K bss, 15816K reserved, 16384K
cma-reserved)
[ 0.000000] random: get_random_u32 called from cache_alloc_refill+0x3d0/0x8fc with crng_init=0
[ 0.000000] ftrace: allocating 20681 entries in 41 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] i2c controller registered, irq 16
[ 0.000000] clocksource: FTTMR010-TIMER2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 77222644334 ns
[ 0.000019] sched_clock: 32 bits at 24MHz, resolution 40ns, wraps every 86767015915ns
[ 0.000089] Switching to timer-based delay loop, resolution 40ns
[ 0.001181] Calibrating delay loop (skipped), value calculated using timer frequency.. 49.50 BogoMIPS (lpj=247500)
[ 0.001232] pid_max: default: 32768 minimum: 301
[ 0.001958] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002001] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003594] CPU: Testing write buffer coherency: ok
[ 0.005347] Setting up static identity map for 0x80100000 - 0x80100038
[ 0.009287] devtmpfs: initialized
[ 0.022677] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.022731] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.025888] pinctrl core: initialized pinctrl subsystem
[ 0.026958] NET: Registered protocol family 16
[ 0.028806] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.030894] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.030926] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.066575] videodev: Linux video capture interface: v2.00
[ 0.069639] clocksource: Switched to clocksource FTTMR010-TIMER2
[ 0.118604] NET: Registered protocol family 2
[ 0.119921] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.120013] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.120101] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.120171] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.120406] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.120465] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.120997] NET: Registered protocol family 1
[ 0.121857] Unpacking initramfs...
[ 1.804700] Freeing initrd memory: 1492K
[ 1.807342] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 1.807868] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.807903] jffs2: version 2.2. (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 1.808611] NET: Registered protocol family 38
[ 1.814731] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 1.818929] printk: console [ttyS4] disabled
[ 1.819073] 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 30, base_baud = 1500000) is a 16550A
[ 2.151598] printk: console [ttyS4] enabled
[ 2.157844] timeriomem_rng 1e6e2078.hwrng: 32bits from 0x(ptrval) @ 1us
[ 2.165607] aspeed_gfx 1e6e6000.display: failed to initialize reserved mem: -19
[ 2.173454] random: fast init done
[ 2.184205] random: crng init done
[ 2.198714] loop: module loaded
[ 2.246668] aspeed-smc 1e620000.spi: Using 50 MHz SPI frequency
[ 2.252832] aspeed-smc 1e620000.spi: w25q256 (32768 Kbytes)
[ 2.258437] aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x22000000 ] 32MB
[ 2.265949] aspeed-smc 1e620000.spi: CE1 window [ 0x22000000 - 0x2a000000 ] 128MB
[ 2.273529] aspeed-smc 1e620000.spi: read control register: 203b0641
[ 2.416462] 5 fixed-partitions partitions found on MTD device bmc
[ 2.422691] Creating 5 MTD partitions on "bmc":
[ 2.427249] 0x000000000000-0x000000060000 : "u-boot"
[ 2.434585] 0x000000060000-0x000000080000 : "u-boot-env"
[ 2.442350] 0x000000080000-0x0000004c0000 : "kernel"
[ 2.449750] 0x0000004c0000-0x000001c00000 : "rofs"
[ 2.456893] 0x000001c00000-0x000002000000 : "rwfs"
[ 2.465681] aspeed-smc 1e630000.spi: Using 50 MHz SPI frequency
[ 2.471803] aspeed-smc 1e630000.spi: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[ 2.479490] aspeed-smc 1e630000.spi: Aspeed SMC probe failed -2
[ 2.490339] aspeed-smc: probe of 1e630000.spi failed with error -2
[ 2.498232] libphy: Fixed MDIO Bus: probed
[ 2.503372] ftgmac100 1e660000.ethernet: Error applying setting, reverse things back
[ 2.511509] ftgmac100 1e660000.ethernet: Generated random MAC address 52:47:da:92:a3:e6
[ 2.519554] ftgmac100 1e660000.ethernet: Using NCSI interface
[ 2.526596] ftgmac100 1e660000.ethernet eth0: irq 19, mapped at e846443e
[ 2.533818] ftgmac100 1e680000.ethernet: Error applying setting, reverse things back
[ 2.541937] ftgmac100 1e680000.ethernet: Generated random MAC address 0a:4f:a7:ea:22:b3
[ 2.556726] libphy: ftgmac100_mdio: probed
[ 2.560953] ftgmac100 1e680000.ethernet (unnamed net_device) (uninitialized): eth%d: no PHY found
[ 2.569918] ftgmac100 1e680000.ethernet: MII Probe failed!
[ 2.576288] udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
[ 2.586366] i2c /dev entries driver
[ 2.591614] aspeed-i2c-bus 1e78a080.i2c-bus: i2c bus 1 registered (byte mode), irq 31
[ 2.601232] aspeed-i2c-bus 1e78a0c0.i2c-bus: i2c bus 2 registered (byte mode), irq 32
[ 2.610751] aspeed-i2c-bus 1e78a100.i2c-bus: i2c bus 3 registered (byte mode), irq 33
[ 2.620294] aspeed-i2c-bus 1e78a140.i2c-bus: i2c bus 4 registered (byte mode), irq 34
[ 2.629854] aspeed-i2c-bus 1e78a180.i2c-bus: i2c bus 5 registered (byte mode), irq 35
[ 2.639308] aspeed-i2c-bus 1e78a1c0.i2c-bus: i2c bus 6 registered (byte mode), irq 36
[ 2.648881] aspeed-i2c-bus 1e78a300.i2c-bus: i2c bus 7 registered (byte mode), irq 37
[ 2.658501] aspeed-i2c-bus 1e78a480.i2c-bus: i2c bus 13 registered (byte mode), irq 38
[ 2.667270] Driver for 1-wire Dallas network protocol.
[ 2.680434] NET: Registered protocol family 10
[ 2.687212] Segment Routing with IPv6
[ 2.691696] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.698999] NET: Registered protocol family 17
[ 2.703622] 8021q: 802.1Q VLAN Support v1.8
[ 2.715457] printk: console [netcon0] enabled
[ 2.719940] netconsole: network logging started
[ 2.724770] hctosys: unable to open rtc device (rtc0)
[ 2.735965] Freeing unused kernel memory: 1024K
[ 2.742549] Checked W+X mappings: passed, no W+X pages found
[ 2.748235] Run /init as init process
[ 3.700228] jffs2: notice: (77) jffs2_build_xattr_subsystem: complete building xattr subsystem, 24 of xdatum (15 unchecked, 1 orphan) and 5
1 of xref (1 dead, 0 orphan) found.
[ 3.756644] overlayfs: upper fs does not support tmpfile.
[ 6.086971] systemd[1]: systemd 242-108-gf875dce+ running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBC
RYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS -KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[ 6.111635] systemd[1]: Detected architecture arm.
[ 6.226586] systemd[1]: Set hostname to <s2600wf>.
[ 7.013255] systemd[1]: File /lib/systemd/system/systemd-journald.service:14 configures an IP firewall (IPAddressDeny=any), but the local s
ystem does not support BPF/cgroup based firewalling.
[ 7.030496] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewallin
g.)
[ 7.427194] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/
run/dbus/system_bus_socket â?/run/dbus/system_bus_socket; please update the unit file accordingly.
[ 8.767870] systemd[1]: /lib/systemd/system/phosphor-ipmi-net at .socket:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.dev
ice
[ 8.914086] systemd[1]: Listening on Journal Socket (/dev/log).
[ 8.954329] systemd[1]: Created slice system-phosphor\x2dreset\x2dsensor\x2dstates.slice.
[ 9.002092] systemd[1]: Created slice system-org.openbmc.control.Bmc.slice.
[ 10.968154] systemd-journald[102]: Received request to flush runtime journal from PID 1
[ 15.634717] 8021q: adding VLAN 0 to HW filter on device eth0
[ 32.249877] ftgmac100 1e660000.ethernet eth0: NCSI: No channel found to configure!
[ 33.289813] ftgmac100 1e660000.ethernet eth0: Wrong NCSI state 0x100 in workqueue
[ 68.089685] ------------[ cut here ]------------
[ 68.094385] WARNING: CPU: 0 PID: 273 at net/sched/sch_generic.c:442 dev_watchdog+0x268/0x288
[ 68.102945] NETDEV WATCHDOG: eth0 (ftgmac100): transmit queue 0 timed out
[ 68.109841] CPU: 0 PID: 273 Comm: rngd Not tainted 5.2.14-9f4f5ff #1
[ 68.116209] Hardware name: Generic DT based system
[ 68.121077] Backtrace:
[ 68.123596] [<80107d2c>] (dump_backtrace) from [<80107f60>] (show_stack+0x20/0x24)
[ 68.131272] r7:80a12d00 r6:00000000 r5:9c60be04 r4:00000009
[ 68.136974] [<80107f40>] (show_stack) from [<8066ced0>] (dump_stack+0x20/0x28)
[ 68.144324] [<8066ceb0>] (dump_stack) from [<80116308>] (__warn.part.0+0xb4/0xdc)
[ 68.151922] [<80116254>] (__warn.part.0) from [<801163a0>] (warn_slowpath_fmt+0x70/0x98)
[ 68.160109] r6:8057954c r5:000001ba r4:8083efb8
[ 68.164779] [<80116334>] (warn_slowpath_fmt) from [<8057954c>] (dev_watchdog+0x268/0x288)
[ 68.173052] r3:9d61c000 r2:8083ef7c
[ 68.176647] r6:00000000 r5:9c0e9100 r4:9d61c22c
[ 68.181383] [<805792e4>] (dev_watchdog) from [<801598b8>] (call_timer_fn+0x40/0x124)
[ 68.189144] r9:00000000 r8:ffffa568 r7:00000100 r6:805792e4 r5:9d61c22c r4:9d61c22c
[ 68.196996] [<80159878>] (call_timer_fn) from [<80159a38>] (expire_timers+0x9c/0xd4)
[ 68.204873] r8:ffffa568 r7:80a13a20 r6:9c60becc r5:9c60becc r4:9d61c22c
[ 68.211688] [<8015999c>] (expire_timers) from [<80159b10>] (run_timer_softirq+0xa0/0x198)
[ 68.219968] r10:00000002 r9:00000100 r8:80a12d00 r7:80a13a20 r6:80a13a20 r5:9c60becc
[ 68.227804] r4:9c60becc r3:ffffa569
[ 68.231494] [<80159a70>] (run_timer_softirq) from [<801022cc>] (__do_softirq+0xdc/0x314)
[ 68.239602] r8:00000000 r7:9c60a000 r6:80a60d34 r5:00000002 r4:00000001
[ 68.246421] [<801021f0>] (__do_softirq) from [<8011a33c>] (irq_exit+0xac/0xe4)
[ 68.253753] r10:00000001 r9:00000000 r8:00000000 r7:9d413600 r6:00000001 r5:80a49370
[ 68.261671] r4:00000000
[ 68.264261] [<8011a290>] (irq_exit) from [<8014be38>] (__handle_domain_irq+0x60/0xb4)
[ 68.272216] [<8014bdd8>] (__handle_domain_irq) from [<801021e4>] (avic_handle_irq+0x68/0x70)
[ 68.280759] r9:00000000 r8:00c5387d r7:00c5387d r6:ffffffff r5:9c60bfb0 r4:9d402e40
[ 68.288530] [<8010217c>] (avic_handle_irq) from [<80101e34>] (__irq_usr+0x54/0x80)
[ 68.296193] Exception stack(0x9c60bfb0 to 0x9c60bff8)
[ 68.301338] bfa0: 00000004 0000001c 0002627b 00000000
[ 68.309529] bfc0: 00000000 00000000 00000000 00000000 60000000 00000000 00000001 76fc2d24
[ 68.317788] bfe0: fffffffc 76fc2c60 45c40bf0 45c40d30 80000010 ffffffff
[ 68.324490] r5:80000010 r4:45c40d30
[ 68.328076] ---[ end trace a76d209dec7a20b4 ]---
________________________________
From: openbmc <openbmc-bounces+fishbaoz=hotmail.com at lists.ozlabs.org> on behalf of Zheng Bao <fishbaoz at hotmail.com>
Sent: Thursday, September 26, 2019 10:47 AM
To: OpenBMC Maillist <openbmc at lists.ozlabs.org>
Subject: [AST2500]The eth0 interface can not work
[ 15.634717] 8021q: adding VLAN 0 to HW filter on device eth0
[ 32.249877] ftgmac100 1e660000.ethernet eth0: NCSI: No channel found to configure!
[ 33.289813] ftgmac100 1e660000.ethernet eth0: Wrong NCSI state 0x100 in workqueue
I tried to use the network on AST2500. Everything seems to be good and I can use ping and webui,
until I rebuilt an image.
The part of dmesg is above. I can not trace back to a working image. :(
Is there any suggestion?
Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190926/94623a4a/attachment-0001.htm>
More information about the openbmc
mailing list