All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot connect to console server in s2600wf
@ 2019-08-30 12:27 AKASH G J
  2019-09-02  8:28 ` Yong Li
  0 siblings, 1 reply; 5+ messages in thread
From: AKASH G J @ 2019-08-30 12:27 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

Hi all,

I am using OpenBMC Linux with s2600wf configuration.

When I tried to execute 0bmc-console-client the following error came.

root@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

[-- Attachment #2: Type: text/html, Size: 594 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Cannot connect to console server in s2600wf
  2019-08-30 12:27 Cannot connect to console server in s2600wf AKASH G J
@ 2019-09-02  8:28 ` Yong Li
  2019-09-11 10:16   ` AKASH G J
  0 siblings, 1 reply; 5+ messages in thread
From: Yong Li @ 2019-09-02  8:28 UTC (permalink / raw)
  To: 'AKASH G J', openbmc; +Cc: Yang, Cheng C

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

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@.service <mailto:/lib/systemd/system/obmc-console@.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@lists.ozlabs.org> On Behalf Of AKASH G J
Sent: Friday, August 30, 2019 8:27 PM
To: openbmc@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@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


[-- Attachment #2: Type: text/html, Size: 4256 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot connect to console server in s2600wf
  2019-09-02  8:28 ` Yong Li
@ 2019-09-11 10:16   ` AKASH G J
  2019-09-11 12:10     ` AKASH G J
  0 siblings, 1 reply; 5+ messages in thread
From: AKASH G J @ 2019-09-11 10:16 UTC (permalink / raw)
  To: Yong Li; +Cc: openbmc, Yang, Cheng C

[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]

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@.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@ttyVUART0.service*
found.

root@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@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@.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@lists.ozlabs.org> *On Behalf Of *AKASH G J
> *Sent:* Friday, August 30, 2019 8:27 PM
> *To:* openbmc@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@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
>

[-- Attachment #2: Type: text/html, Size: 4210 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot connect to console server in s2600wf
  2019-09-11 10:16   ` AKASH G J
@ 2019-09-11 12:10     ` AKASH G J
  2019-09-12  4:26       ` AKASH G J
  0 siblings, 1 reply; 5+ messages in thread
From: AKASH G J @ 2019-09-11 12:10 UTC (permalink / raw)
  To: Yong Li; +Cc: openbmc, Yang, Cheng C

[-- Attachment #1: Type: text/plain, Size: 2675 bytes --]

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@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@.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@ttyVUART0.service*
> found.
>
> root@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@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@.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@lists.ozlabs.org> *On Behalf Of *AKASH G J
>> *Sent:* Friday, August 30, 2019 8:27 PM
>> *To:* openbmc@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@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
>>
>

[-- Attachment #2: Type: text/html, Size: 4887 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot connect to console server in s2600wf
  2019-09-11 12:10     ` AKASH G J
@ 2019-09-12  4:26       ` AKASH G J
  0 siblings, 0 replies; 5+ messages in thread
From: AKASH G J @ 2019-09-12  4:26 UTC (permalink / raw)
  To: Yong Li; +Cc: openbmc, Yang, Cheng C

[-- Attachment #1: Type: text/plain, Size: 2956 bytes --]

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@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@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@.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@ttyVUART0.service*
>> found.
>>
>> root@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@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@.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@lists.ozlabs.org> *On Behalf Of *AKASH G J
>>> *Sent:* Friday, August 30, 2019 8:27 PM
>>> *To:* openbmc@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@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
>>>
>>

[-- Attachment #2: Type: text/html, Size: 5382 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-12  4:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30 12:27 Cannot connect to console server in s2600wf AKASH G J
2019-09-02  8:28 ` Yong Li
2019-09-11 10:16   ` AKASH G J
2019-09-11 12:10     ` AKASH G J
2019-09-12  4:26       ` AKASH G J

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.