<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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your help, i can see the ipmi-kcs3 and ipmi-kcs4 devices after the modification.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
harley</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> Konstantin Klubnichkin <kitsok@yandex-team.ru><br>
<b>发送时间:</b> 2020年6月18日 15:28<br>
<b>收件人:</b> 周 远清 <zhouyuanqing8@outlook.com>; 郁雷 <yulei.sh@bytedance.com><br>
<b>抄送:</b> uperic@163.com <uperic@163.com>; openbmc <openbmc@lists.ozlabs.org><br>
<b>主题:</b> Re: 回复: There is no kcs device in the /dev directory</font>
<div> </div>
</div>
<div>
<div>Hello!</div>
<div> </div>
<div>It should be like this:</div>
<div> </div>
<div>
<div>&kcs3 {</div>
<div>kcs_addr = <0xCA2>;</div>
<div>status = "okay";</div>
<div>};</div>
<div> </div>
<div>&kcs4 {</div>
<div>kcs_addr = <0xCA4>;</div>
<div>status = "okay";</div>
<div>};</div>
<div> </div>
<div><br>
Please check the addresses, your's may be different.</div>
<div> </div>
<div>Thank you!</div>
</div>
<div>18.06.2020, 10:03, "周 远清" <zhouyuanqing8@outlook.com>:</div>
<blockquote>
<div>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
<div style="font-family:'helvetica'; font-size:12px; font-style:normal; font-weight:normal; line-height:normal; margin:0px">
Error reported during kernel startup,Can you help to check where the configuration is wrong?</div>
<p style="font:12px 'helvetica'; margin:0px">[ 1.075901] ipmi-bt-host 1e789140.ibt: Using IRQ 33</p>
<p style="font:12px 'helvetica'; margin:0px">[ 1.076547] ast-kcs-bmc <a href="mailto:1e789000.lpc-bmc:kcs1">
1e789000.lpc-bmc:kcs1</a>@0: no valid 'kcs_addr' configured</p>
<p style="font:12px 'helvetica'; margin:0px">[ 1.076743] ast-kcs-bmc <a href="mailto:1e789000.lpc-bmc:kcs2">
1e789000.lpc-bmc:kcs2</a>@0: no valid 'kcs_addr' configured</p>
<p style="font:12px 'helvetica'; margin:0px">[ 1.076922] ast-kcs-bmc <a href="mailto:1e789000.lpc-bmc:kcs3">
1e789000.lpc-bmc:kcs3</a>@0: no valid 'kcs_addr' configured</p>
<p style="font:12px 'helvetica'; margin:0px">[ 1.077102] ast-kcs-bmc <a href="mailto:1e789080.lpc-host:kcs4">
1e789080.lpc-host:kcs4</a>@0: no valid 'kcs_addr' configured</p>
<p style="font:12px 'helvetica'; margin:0px">[ 1.083020] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled</p>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
</div>
The configure in aspeed_gt.dts:<br>
lpc_bmc: <a href="mailto:lpc-bmc">lpc-bmc</a>@0 {
<div> compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";</div>
<div> reg = <0x0 0x80>;</div>
<div> reg-io-width = <4>;</div>
<div> </div>
<div> #address-cells = <1>;</div>
<div> #size-cells = <1>;</div>
<div> ranges = <0x0 0x0 0x80>;</div>
<div> </div>
<div> kcs1: <a href="mailto:kcs1">kcs1</a>@0 {</div>
<div> compatible = "aspeed,ast2500-kcs-bmc";</div>
<div> interrupts = <8>;</div>
<div> kcs_chan = <1>;</div>
<div> status = "disabled";</div>
<div> };</div>
<div> kcs2: <a href="mailto:kcs2">kcs2</a>@0 {</div>
<div> compatible = "aspeed,ast2500-kcs-bmc";</div>
<div> interrupts = <8>;</div>
<div> kcs_chan = <2>;</div>
<div> status = "disabled";</div>
<div> };</div>
<div> kcs3: <a href="mailto:kcs3">kcs3</a>@0 {</div>
<div> compatible = "aspeed,ast2500-kcs-bmc";</div>
<div> interrupts = <8>;</div>
<div> kcs_chan = <3>;</div>
<div> status = "disabled";</div>
<div> };</div>
<div> };</div>
</div>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
</div>
<div>
<div> </div>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">The configure in aspeed-bmc-opp-star.dts:</span></div>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">&kcs1 {</span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"> status = "okay";</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">};</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div> </div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">&kcs2 {</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"> status = "okay";</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">};</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div> </div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">&kcs3 {</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"> status = "okay";</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">};</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div> </div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">&kcs4 {</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"> status = "okay";</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">};</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div> </div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">&ibt {</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"> status = "okay";</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span>
<div><span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif">};</span></div>
<span style="background-color:#ffffff; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"></span></div>
<div style="color:rgb(0 ,0 ,0); font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif; font-size:12pt">
</div>
<hr style="width:98%">
<div><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><strong>发件人:</strong> 郁雷 <<a href="mailto:yulei.sh@bytedance.com">yulei.sh@bytedance.com</a>><br>
<strong>发送时间:</strong> 2020年6月18日 13:25<br>
<strong>收件人:</strong> 周 远清 <<a href="mailto:zhouyuanqing8@outlook.com">zhouyuanqing8@outlook.com</a>><br>
<strong>抄送:</strong> openbmc <<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>>;
<a href="mailto:uperic@163.com">uperic@163.com</a> <<a href="mailto:uperic@163.com">uperic@163.com</a>><br>
<strong>主题:</strong> Re: There is no kcs device in the /dev directory</font>
<div> </div>
</div>
<div>
<div><font size="2"><span style="font-size:11pt">On Thu, Jun 18, 2020 at 12:51 PM 周 远清 <<a href="mailto:zhouyuanqing8@outlook.com">zhouyuanqing8@outlook.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
><br>
> There is no kcs device in the /dev directory,I used the following command to find it in the root directory, and I did not find ipmi-kcs device, please help guide, thank you.<br>
<br>
Probably you could check the device tree to see if the kcs is enabled or not.<br>
<br>
><br>
> 1.find / -name *kcs*<br>
><br>
> 2.Below is my kernel configuration<br>
> CONFIG_SERIAL_MCTRL_GPIO=y<br>
> # CONFIG_SERIAL_DEV_BUS is not set<br>
> # CONFIG_TTY_PRINTK is not set<br>
> # CONFIG_HVC_DCC is not set<br>
> CONFIG_IPMI_HANDLER=y<br>
> # CONFIG_IPMI_PANIC_EVENT is not set<br>
> # CONFIG_IPMI_DEVICE_INTERFACE is not set<br>
> # CONFIG_IPMI_SI is not set<br>
> # CONFIG_IPMI_SSIF is not set<br>
> # CONFIG_IPMI_WATCHDOG is not set<br>
> # CONFIG_IPMI_POWEROFF is not set<br>
> CONFIG_IPMI_KCS_BMC=y<br>
> CONFIG_ASPEED_KCS_IPMI_BMC=y<br>
> CONFIG_ASPEED_BT_IPMI_BMC=y<br>
> CONFIG_HW_RANDOM=y<br>
> CONFIG_HW_RANDOM_TIMERIOMEM=y<br>
> # CONFIG_RAW_DRIVER is not set<br>
> # CONFIG_TCG_TPM is not set<br>
> # CONFIG_XILLYBUS is not set<br>
> # end of Character devices<br>
><br>
> Thanks<br>
> Harley</span></font></div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<div> </div>
<div>-- </div>
<div>Best regards,</div>
<div>Konstantin Klubnichkin,</div>
<div>lead firmware engineer,</div>
<div>server hardware R&D group,</div>
<div>Yandex Moscow office.</div>
<div>tel: +7-903-510-33-33</div>
<div> </div>
</div>
</div>
</body>
</html>