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