<div>Hi Sam,</div><div>    The eth0 works  with  same kernel code and config on the motherboard without the NCSI on-off switch to connect the host pysical network card .</div><div>This new version motherboard only add the switch . Does this switch cause  electrical signals time delay growth?</div><div>  The ncsi eth0 has never connect successful on the new motherboard on OpenBmc while it works on AMI BMC. I guess there is something wrong with the driver.</div><div>Best,</div><div>xiuzhi</div><div>On Wed, 2018-12-19 at 15:49 +0800, xiuzhi wrote:<br>> <br>> Hi all,<br>>    I set the  eth0/MAC#1 of Ast2500 to NCSI mode.<br>> There is a on-off switch between Ast2500 MAC#1 and host Network. <br>>  The hardware electrical signal is good and can ping to other machines on AMI BMC<br>> .dts:<br>>  &mac0 {<br>>         status = "okay";<br>>   <br>>         pinctrl-names = "default";<br>>         pinctrl-0 = <&pinctrl_rgii_default>;<br>>         use-ncsi;<br>> };<br>> <br>> demsg:<br>>  [   18.204116] 8021q: adding VLAN 0 to HW filter on device eth0                                     <br>> [   18.884647] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready                                  <br>> [   19.391004] aspeed-video 1e700000.video: timed out on 1st mode detect                           <br>> [   19.397549] aspeed-video 1e700000.video: Failed to start video engine                           <br>> [   20.481030] ftgmac100 1e660000.ethernet eth0: NCSI: No channel found with link<br><br>This likely means the Network Controller didn't respond to the NCSI<br>driver's probe process. If that happens even after a power cycle then<br>hopefully one of the BMC people can weigh in on how to make sure it's set<br>up correctly. If it only happens intermittently then it may be related to<br>the NCSI microcode.<br><br>Cheers,<br>Sam<br><br>>                   <br>> [   20.961742] ftgmac100 1e680000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off       <br>> [   20.969995] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready                             <br>> [  103.120946] ------------[ cut here ]------------                                                <br>> [  103.125630] WARNING: CPU: 0 PID: 1329 at /usr/src/kernel/net/sched/sch_generic.c:461 dev_watchdc<br>> [  103.135678] NETDEV WATCHDOG: eth0 (ftgmac100): transmit queue 0 timed out                       <br>> [  103.142580] CPU: 0 PID: 1329 Comm: ipmid Tainted: G        W         4.18.16-71414b7d863e8ee6131<br>> [  103.153562] Hardware name: Generic DT based system                                              <br>> [  103.158432] [<80109bec>] (unwind_backtrace) from [<801075fc>] (show_stack+0x20/0x24)            <br>> [  103.166310] [<801075fc>] (show_stack) from [<80646f48>] (dump_stack+0x20/0x28)                  <br>> [  103.173665] [<80646f48>] (dump_stack) from [<80116fac>] (__warn+0xdc/0x104)                     <br>> [  103.180662] [<80116fac>] (__warn) from [<80117028>] (warn_slowpath_fmt+0x54/0x74)               <br>> [  103.188331] [<80117028>] (warn_slowpath_fmt) from [<8055f3c0>] (dev_watchdog+0x230/0x24c)       <br>> [  103.196663] [<8055f3c0>] (dev_watchdog) from [<80157b38>] (call_timer_fn+0x3c/0x120)            <br>> [  103.204547] [<80157b38>] (call_timer_fn) from [<80157ccc>] (expire_timers+0xb0/0xbc)            <br>> [  103.212427] [<80157ccc>] (expire_timers) from [<80157dc8>] (run_timer_softirq+0xa4/0x198)       <br>> [  103.220644] [<80157dc8>] (run_timer_softirq) from [<8010223c>] (__do_softirq+0xcc/0x2f0)        <br>> [  103.228863] [<8010223c>] (__do_softirq) from [<8011b278>] (irq_exit+0xfc/0x110)                 <br>> [  103.236334] [<8011b278>] (irq_exit) from [<8014ba14>] (__handle_domain_irq+0x60/0xb8)           <br>> [  103.244311] [<8014ba14>] (__handle_domain_irq) from [<80102164>] (avic_handle_irq+0x68/0x70)    <br>> [  103.252876] [<80102164>] (avic_handle_irq) from [<801019ec>] (__irq_svc+0x6c/0x90)              <br>> [  103.260461] Exception stack(0x97ddf870 to 0x97ddf8b8)                                           <br>> [  103.265630] f860:                                     000001b0 0063e8dc 969e0ee4 00000401       <br>> [  103.273907] f880: 969e0000 00000000 00000000 00000600 fbd51971 0000008b 969e06dc 97ddf8ec       <br>> [  103.282174] f8a0: 000001b0 97ddf8c0 048ecf6b 8036faac 20000013 ffffffff                         <br>> [  103.288843] [<801019ec>] (__irq_svc) from [<8036faac>] (lzma_main+0x6ac/0x8e8)                  <br>> [  103.296186] [<8036faac>] (lzma_main) from [<803702e0>] (xz_dec_lzma2_run+0x5f8/0x840)           <br>> [  103.304139] [<803702e0>] (xz_dec_lzma2_run) from [<8036e9b8>] (xz_dec_run+0x378/0xa9c)          <br>> [  103.312215] [<8036e9b8>] (xz_dec_run) from [<802a0fec>] (squashfs_xz_uncompress+0x84/0x228)     <br>> [  103.320606] [<802a0fec>] (squashfs_xz_uncompress) from [<802a0f14>] (squashfs_decompress+0x68/0)<br>> [  103.329774] [<802a0f14>] (squashfs_decompress) from [<8029cc00>] (squashfs_read_data+0x3d4/0x6f)<br>> [  103.338754] [<8029cc00>] (squashfs_read_data) from [<8029d220>] (squashfs_cache_get+0x170/0x348)<br>> [  103.347660] [<8029d220>] (squashfs_cache_get) from [<8029d7b0>] (squashfs_read_metadata+0xa4/0x)<br>> [  103.356832] [<8029d7b0>] (squashfs_read_metadata) from [<8029f128>] (squashfs_read_inode+0x98/0)<br>> [  103.366083] [<8029f128>] (squashfs_read_inode) from [<8029fa14>] (squashfs_iget+0x6c/0x9c)      <br>> [  103.374473] [<8029fa14>] (squashfs_iget) from [<8029fd74>] (squashfs_lookup+0x330/0x484)        <br>> [  103.382691] [<8029fd74>] (squashfs_lookup) from [<802362e0>] (__lookup_slow+0x94/0x150)         <br>> [  103.390736] [<802362e0>] (__lookup_slow) from [<802363dc>] (lookup_slow+0x40/0x54)              <br>> [  103.398425] [<802363dc>] (lookup_slow) from [<8023940c>] (lookup_one_len_unlocked+0x78/0x84)    <br>> [  103.406986] [<8023940c>] (lookup_one_len_unlocked) from [<802f3eb8>] (ovl_lookup_single+0x34/0x)<br>> [  103.416153] [<802f3eb8>] (ovl_lookup_single) from [<802f42a4>] (ovl_lookup_layer+0x134/0x184)   <br>> [  103.424790] [<802f42a4>] (ovl_lookup_layer) from [<802f52f8>] (ovl_lookup+0x3c8/0x7bc)          <br>> [  103.432823] [<802f52f8>] (ovl_lookup) from [<8023a6e4>] (path_openat+0xbac/0x10c8)              <br>> [  103.440422] [<8023a6e4>] (path_openat) from [<8023ac80>] (do_filp_open+0x80/0xf0)               <br>> [  103.448027] [<8023ac80>] (do_filp_open) from [<8022973c>] (do_sys_open+0x178/0x21c)             <br>> [  103.455816] [<8022973c>] (do_sys_open) from [<80229828>] (sys_openat+0x1c/0x20)                 <br>> [  103.463247] [<80229828>] (sys_openat) from [<80101000>] (ret_fast_syscall+0x0/0x54)             <br>> [  103.471002] Exception stack(0x97ddffa8 to 0x97ddfff0)                                           <br>> [  103.476136] ffa0:                   00d9b3e0 7ebaf574 ffffff9c 00dbb7c8 00080000 00000000       <br>> [  103.484409] ffc0: 00d9b3e0 7ebaf574 4e451908 00000142 00000000 00000002 00000000 7ebaf52c       <br>> [  103.492671] ffe0: 4e450908 7ebaf4c0 4e426e10 4e439b80                                           <br>> [  103.497743] ---[ end trace 935ea877fd2be47d ]---         <br>> <br>> Best,<br>> Xiuzhi        <br><br> </div>