Return-Path: <9165394577@mail.ru> Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=mail.ru (client-ip=94.100.176.132; helo=fallback22.mail.ru; envelope-from=9165394577@mail.ru; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=mail.ru Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mail.ru header.i=@mail.ru header.b="Hd43Phn1"; dkim=pass (1024-bit key) header.d=mail.ru header.i=@mail.ru header.b="Hd43Phn1"; dkim-atps=neutral X-Greylist: delayed 2603 seconds by postgrey-1.36 at bilbo; Thu, 14 Nov 2019 19:51:04 AEDT Received: from fallback22.mail.ru (fallback22.m.smailru.net [94.100.176.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47DFZJ6sLtzF79B for ; Thu, 14 Nov 2019 19:51:00 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=KtTNIPwrnLtTEXtJCChuL90/JGfklMQi9gwZxd7T1tI=; b=Hd43Phn1sGzgDsolCNeI2iOdYUfLsrxBnReKw4s9+iBMhFHohLVHl0Oj42llkkKeuDFGCjtqfUIpEepSH3hCnxttEC92oncqpnBYDM5ZZLxocOYhmaqt5YIMmcApHazIoBicyeq4Mei8F+ISANaWVAe7HLS6T74B05gTTvVfjZM=; Received: from [10.161.22.25] (port=45118 helo=smtp55.i.mail.ru) by fallback22.m.smailru.net with esmtp (envelope-from <9165394577@mail.ru>) id 1iVAA9-0006UV-DM for openbmc@lists.ozlabs.org; Thu, 14 Nov 2019 11:07:33 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=KtTNIPwrnLtTEXtJCChuL90/JGfklMQi9gwZxd7T1tI=; b=Hd43Phn1sGzgDsolCNeI2iOdYUfLsrxBnReKw4s9+iBMhFHohLVHl0Oj42llkkKeuDFGCjtqfUIpEepSH3hCnxttEC92oncqpnBYDM5ZZLxocOYhmaqt5YIMmcApHazIoBicyeq4Mei8F+ISANaWVAe7HLS6T74B05gTTvVfjZM=; Received: by smtp55.i.mail.ru with esmtpa (envelope-from <9165394577@mail.ru>) id 1iVA9u-0002XJ-Or for openbmc@lists.ozlabs.org; Thu, 14 Nov 2019 11:07:19 +0300 To: openbmc@lists.ozlabs.org From: =?UTF-8?B?0JXQstCz0LXQvdC40Lk=?= <9165394577@mail.ru> Subject: Re: NCSI eth0 (ftgmac100): transmit queue 0 timed out error Message-ID: <2edbb697-aa07-2610-3bf2-cbd7707c6259@mail.ru> Date: Thu, 14 Nov 2019 11:07:17 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C943ADCCA16362ECEB6FECDA" Content-Language: ru X-77F55803: 689590B63E0A4B015A78504BD2AC2941E391CE3BF7990EF6F79562319834E4DF99849F597846C68C705B73FF005763B1 X-7FA49CB5: 0D63561A33F958A52F91925D069250CEC8E9E2572EAFB5C5ECDF13F4F424B0688941B15DA834481FA18204E546F3947C2FFDA4F57982C5F4F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C22492B7ABF3321926E073AA81AA40904B5D9CF19DD082D7633A063753DB72453AD9A3AA81AA40904B5D98AA50765F7900637BCD0514DF617FB8BEC76A7562686271ED187B4DA314F1B5535872C767BF85DA227C277FBC8AE2E8B70E3DF70B132A07FD8271CEFC89FF39535872C767BF85DA2F004C906525384306FED454B719173D6462275124DF8B9C975FAC89DD1A0FDCBE5BFE6E7EFDEDCD789D4C264860C145E X-Mailru-Sender: C939162F3547A0A25661E4D8897749B806A4CC360C465EC75ADF980B656B28FDE06E9EA040CFE582CD683AD8F64CCB9FCD26BA14935EF1A1EBB25DF8CDA217FBF24019644F7DBD5CCDD1A8804805D2EEC112642622160C5767EA787935ED9F1B X-Mras: OK X-77F55803: 669901E4625912A97F9F52485CB584D7271FD7DF62800FDC48789ED9985AF7DF255A004A64E631C7D270BABBDDBEC1DF86A7BBB586AFA4A3 X-7FA49CB5: 0D63561A33F958A589529F013123E4C435C56B2E8F8CA429F62A39754CBC0F618941B15DA834481FA18204E546F3947C2FFDA4F57982C5F4F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249E534D5F67D1EC79B76E601842F6C81A12EF20D2F80756B5F5C318D1F9ECD513A76E601842F6C81A127C277FBC8AE2E8B0C576453C6160EE83AA81AA40904B5D99449624AB7ADAF37F910319684D6E05D462275124DF8B9C975FAC89DD1A0FDCBE5BFE6E7EFDEDCD789D4C264860C145E X-Mailru-MI: 800 X-Mailru-Sender: A5480F10D64C9005EBA3FDA8F7473FBD5153AF4B8D789B6A255A004A64E631C7A34552F20D351597CD683AD8F64CCB9FCD26BA14935EF1A1EBB25DF8CDA217FBF24019644F7DBD5CCDD1A8804805D2EEC112642622160C5767EA787935ED9F1B X-Mras: OK X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 08:51:09 -0000 This is a multi-part message in MIME format. --------------C943ADCCA16362ECEB6FECDA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello Xiuzhi, I have the similar problem using NCSI. Could you explain more clearly how you have solved one? I use the Neptune Alfa OpenBMC kit from Portwell. It has an Intel I210 network interface chip. A host is connected to it through PCIe. The host network is working well. BMC has a dedicated interface (MAC0 + RTL8211), it works well. I want to create a BMC interface via NCSI + VLAN, but it does not work: see dmesg output below. Please help me solve this problem. :~# dmesg|grep net [ 2.592506] ftgmac100 1e660000.ethernet: Error applying setting, reverse things back [ 2.600628] ftgmac100 1e660000.ethernet: Generated random MAC address 7e:b5:bb:94:a2:d1 [ 2.621340] RTL8211E Gigabit Ethernet 1e660000.ethernet--1:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=1e660000.ethernet--1:00, irq=POLL) [ 2.637074] ftgmac100 1e660000.ethernet eth0: irq 19, mapped at dfa05e77 [ 2.644477] ftgmac100 1e680000.ethernet: Generated random MAC address e6:cb:4e:cb:8c:06 *[ 2.652518] ftgmac100 1e680000.ethernet: Using NCSI interface* [ 2.659567] ftgmac100 1e680000.ethernet eth1: irq 20, mapped at b403fb3e [ 7.612280] Driver for 1-wire Dallas network protocol. [ 7.682085] printk: console [netcon0] enabled [ 7.686571] netconsole: network logging started [ 21.697159] systemd[1]: /lib/systemd/system/phosphor-ipmi-net@.socket:3 : Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 22.535048] systemd[1]: Created slice system-phosphor\x2dipmi\x2dnet.slice. [ 36.643642] ftgmac100 1e660000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx *[ 49.219280] ftgmac100 1e680000.ethernet eth1: NCSI: No channel found to configure!* *[ 50.242922] ftgmac100 1e680000.ethernet eth1: Wrong NCSI state 0x100 in workqueue* [ 998.080088] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x268/0x288 /openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g5/defconfig /CONFIG_VLAN_8021Q=y// /CONFIG_NET_NCSI=y/ /CONFIG_FTGMAC100=y/ /CONFIG_NET_VENDOR_INTEL=y/ /CONFIG_REALTEK_PHY=y// mac config from aspeed-bmc-facebook-tiogapas2.dts file: /&mac0 {// /status = "okay";/ /pinctrl-names = "default";/ /pinctrl-0 = <&pinctrl_rmii1_default>;/ /};// /&mac1 {// /status = "okay";/ /pinctrl-names = "default";/ /pinctrl-0 = <&pinctrl_rmii2_default>;/ /use-ncsi;/ /};// --------------C943ADCCA16362ECEB6FECDA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Hello Xiuzhi,
I have the similar problem using NCSI. Could you explain more clearly how you have solved one?

I use the Neptune Alfa OpenBMC kit from Portwell. It has an Intel I210 network interface chip. A host is connected to it through PCIe. The host network is working well. BMC has a dedicated interface (MAC0 + RTL8211), it works well.
I want to create a BMC interface via NCSI + VLAN, but it does not work: see dmesg output below.
Please help me solve this problem.

:~# dmesg|grep net

[    2.592506] ftgmac100 1e660000.ethernet: Error applying setting, reverse things back

[    2.600628] ftgmac100 1e660000.ethernet: Generated random MAC address 7e:b5:bb:94:a2:d1

[    2.621340] RTL8211E Gigabit Ethernet 1e660000.ethernet--1:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=1e660000.ethernet--1:00, irq=POLL)

[    2.637074] ftgmac100 1e660000.ethernet eth0: irq 19, mapped at dfa05e77

[    2.644477] ftgmac100 1e680000.ethernet: Generated random MAC address e6:cb:4e:cb:8c:06

[    2.652518] ftgmac100 1e680000.ethernet: Using NCSI interface

[    2.659567] ftgmac100 1e680000.ethernet eth1: irq 20, mapped at b403fb3e

[    7.612280] Driver for 1-wire Dallas network protocol.

[    7.682085] printk: console [netcon0] enabled

[    7.686571] netconsole: network logging started

[   21.697159] systemd[1]: /lib/systemd/system/phosphor-ipmi-net@.socket:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device

[   22.535048] systemd[1]: Created slice system-phosphor\x2dipmi\x2dnet.slice.

[   36.643642] ftgmac100 1e660000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[   49.219280] ftgmac100 1e680000.ethernet eth1: NCSI: No channel found to configure!

[   50.242922] ftgmac100 1e680000.ethernet eth1: Wrong NCSI state 0x100 in workqueue

[  998.080088] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x268/0x288

 

/openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g5/defconfig
CONFIG_VLAN_8021Q=y
CONFIG_NET_NCSI=y
CONFIG_FTGMAC100=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_REALTEK_PHY=y

mac config from aspeed-bmc-facebook-tiogapas2.dts file:
&mac0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii1_default>;
};

&mac1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii2_default>;
use-ncsi;
};

 

--------------C943ADCCA16362ECEB6FECDA--