All of lore.kernel.org
 help / color / mirror / Atom feed
* Question of Lost Dbus
@ 2020-03-31  6:42 Spencer Ku (古世瑜)
  2020-03-31 16:58 ` Vijay Khemka
  0 siblings, 1 reply; 3+ messages in thread
From: Spencer Ku (古世瑜) @ 2020-03-31  6:42 UTC (permalink / raw)
  To: openbmc

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

Hi Everyone,

I have some problem about that when i using some ipmi commands, it will return "Unspecified error",

and after I tracing code in phoshpor-ipmi-host package, I find that there are some Dubs doesn't create in our openbmc system.

Most of them are network relational Dbus, and here is the Dbus list which do not create in our system:


Netwotk:

xyz.openbmc_project.Network.SystemConfiguration
xyz.openbmc_project.Network.EthernetInterface
xyz.openbmc_project.Network.IP
xyz.openbmc_project.Network.IP.Create
xyz.openbmc_project.Network.MACAddress
xyz.openbmc_project.Network.Neighbor
xyz.openbmc_project.Network.Neighbor.CreateStatic
xyz.openbmc_project.Network.VLAN
xyz.openbmc_project.Network.VLAN.Create


ACPI:

xyz.openbmc_project.Control.Power.ACPIPowerState


Chassis Capabilities:

xyz.openbmc_project.Control.ChassisCapabilities



And here are only two network relational Dbus in our system:

Service xyz.openbmc_project.Network:
└─/xyz
  └─/xyz/openbmc_project
    └─/xyz/openbmc_project/network
      ├─/xyz/openbmc_project/network/config
      │ └─/xyz/openbmc_project/network/config/dhcp
      ├─/xyz/openbmc_project/network/eth0
      │ ├─/xyz/openbmc_project/network/eth0/ipv4
      │ │ └─/xyz/openbmc_project/network/eth0/ipv4/8e1bfa2f
      │ └─/xyz/openbmc_project/network/eth0/ipv6
      │   └─/xyz/openbmc_project/network/eth0/ipv6/bc41eef6
      ├─/xyz/openbmc_project/network/eth1
      │ ├─/xyz/openbmc_project/network/eth1/ipv4
      │ │ └─/xyz/openbmc_project/network/eth1/ipv4/1c4a187f
      │ └─/xyz/openbmc_project/network/eth1/ipv6
      │   └─/xyz/openbmc_project/network/eth1/ipv6/73a2a5d0
      ├─/xyz/openbmc_project/network/sit0
      └─/xyz/openbmc_project/network/usb0
        └─/xyz/openbmc_project/network/usb0/ipv4
          └─/xyz/openbmc_project/network/usb0/ipv4/caca0d1d

Service xyz.openbmc_project.Network.SNMP:
└─/xyz
  └─/xyz/openbmc_project
    └─/xyz/openbmc_project/network
      └─/xyz/openbmc_project/network/snmp
        └─/xyz/openbmc_project/network/snmp/manager


Are there some packages i losing to add into our system?

Feel free to give your comments, thank you.


Sincerely,

Spencer Ku


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

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

* Re: Question of Lost Dbus
  2020-03-31  6:42 Question of Lost Dbus Spencer Ku (古世瑜)
@ 2020-03-31 16:58 ` Vijay Khemka
  2020-04-01  1:51   ` Spencer Ku (古世瑜)
  0 siblings, 1 reply; 3+ messages in thread
From: Vijay Khemka @ 2020-03-31 16:58 UTC (permalink / raw)
  To: Spencer Ku (古世瑜), openbmc

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

Spencer,
You might need to define your channel config file in phosphor-ipmi-config and add channel for network.

Regards
-Vijay

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of "Spencer Ku (古世瑜)" <Spencer.Ku@quantatw.com>
Date: Monday, March 30, 2020 at 11:45 PM
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Question of Lost Dbus


Hi Everyone,

I have some problem about that when i using some ipmi commands, it will return "Unspecified error",

and after I tracing code in phoshpor-ipmi-host package, I find that there are some Dubs doesn't create in our openbmc system.

Most of them are network relational Dbus, and here is the Dbus list which do not create in our system:



Netwotk:
xyz.openbmc_project.Network.SystemConfiguration
xyz.openbmc_project.Network.EthernetInterface
xyz.openbmc_project.Network.IP
xyz.openbmc_project.Network.IP.Create
xyz.openbmc_project.Network.MACAddress
xyz.openbmc_project.Network.Neighbor
xyz.openbmc_project.Network.Neighbor.CreateStatic
xyz.openbmc_project.Network.VLAN
xyz.openbmc_project.Network.VLAN.Create


ACPI:

xyz.openbmc_project.Control.Power.ACPIPowerState



Chassis Capabilities:

xyz.openbmc_project.Control.ChassisCapabilities





And here are only two network relational Dbus in our system:
Service xyz.openbmc_project.Network:
└─/xyz
  └─/xyz/openbmc_project
    └─/xyz/openbmc_project/network
      ├─/xyz/openbmc_project/network/config
      │ └─/xyz/openbmc_project/network/config/dhcp
      ├─/xyz/openbmc_project/network/eth0
      │ ├─/xyz/openbmc_project/network/eth0/ipv4
      │ │ └─/xyz/openbmc_project/network/eth0/ipv4/8e1bfa2f
      │ └─/xyz/openbmc_project/network/eth0/ipv6
      │   └─/xyz/openbmc_project/network/eth0/ipv6/bc41eef6
      ├─/xyz/openbmc_project/network/eth1
      │ ├─/xyz/openbmc_project/network/eth1/ipv4
      │ │ └─/xyz/openbmc_project/network/eth1/ipv4/1c4a187f
      │ └─/xyz/openbmc_project/network/eth1/ipv6
      │   └─/xyz/openbmc_project/network/eth1/ipv6/73a2a5d0
      ├─/xyz/openbmc_project/network/sit0
      └─/xyz/openbmc_project/network/usb0
        └─/xyz/openbmc_project/network/usb0/ipv4
          └─/xyz/openbmc_project/network/usb0/ipv4/caca0d1d

Service xyz.openbmc_project.Network.SNMP:
└─/xyz
  └─/xyz/openbmc_project
    └─/xyz/openbmc_project/network
      └─/xyz/openbmc_project/network/snmp
        └─/xyz/openbmc_project/network/snmp/manager


Are there some packages i losing to add into our system?

Feel free to give your comments, thank you.



Sincerely,

Spencer Ku



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

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

* RE: Question of Lost Dbus
  2020-03-31 16:58 ` Vijay Khemka
@ 2020-04-01  1:51   ` Spencer Ku (古世瑜)
  0 siblings, 0 replies; 3+ messages in thread
From: Spencer Ku (古世瑜) @ 2020-04-01  1:51 UTC (permalink / raw)
  To: Vijay Khemka, openbmc

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

Hi Vijay,

Thank you for the comments. Channel config has already defined in our system,

actually most of ipmi commands can work normally. The config in our system like below:



"0" : {
"name" : "IPMB",
"is_valid" : true,
"active_sessions" : 0,
"channel_info" : {
"medium_type" : "ipmb",
"protocol_type" : "ipmb-1.0",
"session_supported" : "session-less",
"is_ipmi" : true
}
},
"1" : {
"name" : "eth0",
"is_valid" : true,
"active_sessions" : 0,
"channel_info" : {
"medium_type" : "lan-802.3",
"protocol_type" : "ipmb-1.0",
"session_supported" : "multi-session",
"is_ipmi" : true
}
},
"2" : {
"name" : "eth1",
"is_valid" : true,
"active_sessions" : 0,
"channel_info" : {
"medium_type" : "lan-802.3",
"protocol_type" : "ipmb-1.0",
"session_supported" : "multi-session",
"is_ipmi" : true
}


But some lan configuration commands like “IPv6 Static Addresses” will use following DBus:

xyz.openbmc_project.Network.IP.Create



Since our system doesn’t have that Dbus, the setting will fail.

“Chassis capabilities” and ACPI command also have the same problem.



So I want to know that are there some settings or packages I lost.

Thank you.



Sincerely,

Spencer Ku

From: Vijay Khemka <vijaykhemka@fb.com>
Sent: Wednesday, April 1, 2020 12:58 AM
To: Spencer Ku (古世瑜) <Spencer.Ku@quantatw.com>; openbmc@lists.ozlabs.org
Subject: Re: Question of Lost Dbus



Spencer,

You might need to define your channel config file in phosphor-ipmi-config and add channel for network.



Regards

-Vijay



From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org<mailto:openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org>> on behalf of "Spencer Ku (古世瑜)" <Spencer.Ku@quantatw.com<mailto:Spencer.Ku@quantatw.com>>
Date: Monday, March 30, 2020 at 11:45 PM
To: "openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>" <openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>>
Subject: Question of Lost Dbus



Hi Everyone,

I have some problem about that when i using some ipmi commands, it will return "Unspecified error",

and after I tracing code in phoshpor-ipmi-host package, I find that there are some Dubs doesn't create in our openbmc system.

Most of them are network relational Dbus, and here is the Dbus list which do not create in our system:



Netwotk:

xyz.openbmc_project.Network.SystemConfiguration

xyz.openbmc_project.Network.EthernetInterface

xyz.openbmc_project.Network.IP

xyz.openbmc_project.Network.IP.Create

xyz.openbmc_project.Network.MACAddress

xyz.openbmc_project.Network.Neighbor

xyz.openbmc_project.Network.Neighbor.CreateStatic

xyz.openbmc_project.Network.VLAN

xyz.openbmc_project.Network.VLAN.Create



ACPI:

xyz.openbmc_project.Control.Power.ACPIPowerState



Chassis Capabilities:

xyz.openbmc_project.Control.ChassisCapabilities





And here are only two network relational Dbus in our system:

Service xyz.openbmc_project.Network:

└─/xyz

  └─/xyz/openbmc_project

    └─/xyz/openbmc_project/network

      ├─/xyz/openbmc_project/network/config

      │ └─/xyz/openbmc_project/network/config/dhcp

      ├─/xyz/openbmc_project/network/eth0

      │ ├─/xyz/openbmc_project/network/eth0/ipv4

      │ │ └─/xyz/openbmc_project/network/eth0/ipv4/8e1bfa2f

      │ └─/xyz/openbmc_project/network/eth0/ipv6

      │   └─/xyz/openbmc_project/network/eth0/ipv6/bc41eef6

      ├─/xyz/openbmc_project/network/eth1

      │ ├─/xyz/openbmc_project/network/eth1/ipv4

      │ │ └─/xyz/openbmc_project/network/eth1/ipv4/1c4a187f

      │ └─/xyz/openbmc_project/network/eth1/ipv6

      │   └─/xyz/openbmc_project/network/eth1/ipv6/73a2a5d0

      ├─/xyz/openbmc_project/network/sit0

      └─/xyz/openbmc_project/network/usb0

        └─/xyz/openbmc_project/network/usb0/ipv4

          └─/xyz/openbmc_project/network/usb0/ipv4/caca0d1d



Service xyz.openbmc_project.Network.SNMP:

└─/xyz

  └─/xyz/openbmc_project

    └─/xyz/openbmc_project/network

      └─/xyz/openbmc_project/network/snmp

        └─/xyz/openbmc_project/network/snmp/manager



Are there some packages i losing to add into our system?

Feel free to give your comments, thank you.



Sincerely,

Spencer Ku



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

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

end of thread, other threads:[~2020-04-01  1:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31  6:42 Question of Lost Dbus Spencer Ku (古世瑜)
2020-03-31 16:58 ` Vijay Khemka
2020-04-01  1:51   ` Spencer Ku (古世瑜)

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.