Cannot connect to console server in s2600wf

AKASH G J akashgj91 at gmail.com
Thu Sep 12 14:26:45 AEST 2019


Phosphor IPMI KCS DBus Bridge is working now. Just I enabled kcs_chan-3 in
device tree.

On Wed, Sep 11, 2019 at 5:40 PM AKASH G J <akashgj91 at gmail.com> wrote:

> This problem is solved by enabling vuart device in device tree. Now
> obmc-console-server starts running.
>
> But *Phosphor IPMI KCS DBus Bridge service* is not running.
>
> *kcsbridged* binary is there in /usr/bin.
>
> On Wed, Sep 11, 2019 at 3:46 PM AKASH G J <akashgj91 at gmail.com> wrote:
>
>> Sorry for the delay for reply.
>>
>> We want to get the host CPU console over the BMC console.
>>
>> I build OpenBMC firmware using the following steps.
>>
>> 1. export TEMPLATECONF=meta-intel/meta-s2600wf/conf/
>> 2. . openbmc-env
>> 3. bitbake obmc-phosphor-image
>>
>> */lib/systemd/system/obmc-console at .service* is available with content
>>
>> [Unit]
>> Description=Phosphor Console Muxer listening on device /dev/%I
>> BindsTo=dev-%i.device
>> After=dev-%i.device
>>
>> [Service]
>> ExecStart=/usr/bin/env obmc-console-server --config
>> /etc/obmc-console.conf %i
>> SyslogIdentifier=obmc-console-server
>> Restart=always
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> File*
>> /etc/systemd/system/multi-user.target.wants/obmc-console at ttyVUART0.service*
>> found.
>>
>> root at s2600wf:~# *ls -l /dev/ttyS**
>> crw-rw----    1 root     dialout     4,  64 Aug 30 04:42 /dev/ttyS0
>> crw-rw----    1 root     dialout     4,  65 Aug 30 04:42 /dev/ttyS1
>> crw-rw----    1 root     dialout     4,  66 Aug 30 04:42 /dev/ttyS2
>> crw-rw----    1 root     dialout     4,  67 Aug 30 04:42 /dev/ttyS3
>> crw-------    1 root     tty         4,  68 Aug 30 04:45 /dev/ttyS4
>> crw-rw----    1 root     dialout     4,  69 Aug 30 04:42 /dev/ttyS5
>>
>>
>> Moreover */etc/obmc-console.conf* file not found.
>>
>> On Mon, Sep 2, 2019 at 1:58 PM Yong Li <yong.b.li at linux.intel.com> wrote:
>>
>>> Could you share more information:
>>>
>>> Do you want to use the SOL feature?
>>>
>>> How did you build the OpenBMC?
>>>
>>> There should be a systemd service:
>>> /lib/systemd/system/obmc-console at .service. And check the file
>>> /etc/systemd/system/multi-user.target.wants/obmc-console@*, is it
>>> ttyS2?
>>>
>>> ls -l /dev/ttyS*, can you find these ttyS items?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Yong
>>>
>>>
>>>
>>> *From:* openbmc <openbmc-bounces+yong.b.li=
>>> linux.intel.com at lists.ozlabs.org> *On Behalf Of *AKASH G J
>>> *Sent:* Friday, August 30, 2019 8:27 PM
>>> *To:* openbmc at lists.ozlabs.org
>>> *Subject:* Cannot connect to console server in s2600wf
>>>
>>>
>>>
>>> Hi all,
>>>
>>>
>>>
>>> I am using OpenBMC Linux with s2600wf configuration.
>>>
>>>
>>>
>>> When I tried to execute 0bmc-console-client the following error came.
>>>
>>>
>>>
>>> root at s2600wf:~# obmc-console-client
>>>
>>> obmc-console-client: Can't connect to console server: Connection refused
>>>
>>>
>>>
>>> in *ps* command output also obmc-console-server not found.
>>>
>>>
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Akash
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190912/4938a351/attachment-0001.htm>


More information about the openbmc mailing list