回复: There is no kcs device in the /dev directory
周 远清
zhouyuanqing8 at outlook.com
Thu Jun 18 17:02:24 AEST 2020
Error reported during kernel startup,Can you help to check where the configuration is wrong?
[ 1.075901] ipmi-bt-host 1e789140.ibt: Using IRQ 33
[ 1.076547] ast-kcs-bmc 1e789000.lpc-bmc:kcs1 at 0: no valid 'kcs_addr' configured
[ 1.076743] ast-kcs-bmc 1e789000.lpc-bmc:kcs2 at 0: no valid 'kcs_addr' configured
[ 1.076922] ast-kcs-bmc 1e789000.lpc-bmc:kcs3 at 0: no valid 'kcs_addr' configured
[ 1.077102] ast-kcs-bmc 1e789080.lpc-host:kcs4 at 0: no valid 'kcs_addr' configured
[ 1.083020] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
The configure in aspeed_gt.dts:
lpc_bmc: lpc-bmc at 0 {
compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";
reg = <0x0 0x80>;
reg-io-width = <4>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0x80>;
kcs1: kcs1 at 0 {
compatible = "aspeed,ast2500-kcs-bmc";
interrupts = <8>;
kcs_chan = <1>;
status = "disabled";
};
kcs2: kcs2 at 0 {
compatible = "aspeed,ast2500-kcs-bmc";
interrupts = <8>;
kcs_chan = <2>;
status = "disabled";
};
kcs3: kcs3 at 0 {
compatible = "aspeed,ast2500-kcs-bmc";
interrupts = <8>;
kcs_chan = <3>;
status = "disabled";
};
};
The configure in aspeed-bmc-opp-star.dts:
&kcs1 {
status = "okay";
};
&kcs2 {
status = "okay";
};
&kcs3 {
status = "okay";
};
&kcs4 {
status = "okay";
};
&ibt {
status = "okay";
};
________________________________
发件人: 郁雷 <yulei.sh at bytedance.com>
发送时间: 2020年6月18日 13:25
收件人: 周 远清 <zhouyuanqing8 at outlook.com>
抄送: openbmc <openbmc at lists.ozlabs.org>; uperic at 163.com <uperic at 163.com>
主题: Re: There is no kcs device in the /dev directory
On Thu, Jun 18, 2020 at 12:51 PM 周 远清 <zhouyuanqing8 at outlook.com> wrote:
>
> Hi everyone,
>
> 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.
Probably you could check the device tree to see if the kcs is enabled or not.
>
> 1.find / -name *kcs*
>
> 2.Below is my kernel configuration
> CONFIG_SERIAL_MCTRL_GPIO=y
> # CONFIG_SERIAL_DEV_BUS is not set
> # CONFIG_TTY_PRINTK is not set
> # CONFIG_HVC_DCC is not set
> CONFIG_IPMI_HANDLER=y
> # CONFIG_IPMI_PANIC_EVENT is not set
> # CONFIG_IPMI_DEVICE_INTERFACE is not set
> # CONFIG_IPMI_SI is not set
> # CONFIG_IPMI_SSIF is not set
> # CONFIG_IPMI_WATCHDOG is not set
> # CONFIG_IPMI_POWEROFF is not set
> CONFIG_IPMI_KCS_BMC=y
> CONFIG_ASPEED_KCS_IPMI_BMC=y
> CONFIG_ASPEED_BT_IPMI_BMC=y
> CONFIG_HW_RANDOM=y
> CONFIG_HW_RANDOM_TIMERIOMEM=y
> # CONFIG_RAW_DRIVER is not set
> # CONFIG_TCG_TPM is not set
> # CONFIG_XILLYBUS is not set
> # end of Character devices
>
> Thanks
> Harley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200618/5f9177c2/attachment-0001.htm>
More information about the openbmc
mailing list