Skip to content

Instantly share code, notes, and snippets.

@Krellan
Last active July 17, 2023 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Krellan/638dce2f85b692ca36eac248b21232ad to your computer and use it in GitHub Desktop.
Save Krellan/638dce2f85b692ca36eac248b21232ad to your computer and use it in GitHub Desktop.
Testing smbios-mdr
root@mybmc:~# systemctl stop smbios-mdrv2.service
root@mybmc:~# /usr/bin/smbiosmdrv2app
<6> SMBIOS VERSION - 3.2
<3> Error in mapper method call - sd_bus_call: xyz.openbmc_project.Common.Error.ResourceNotFound: The resource is not found., SERVICE - /xyz/openbmc_project/software/bios_active, PATH - xyz.openbmc_project.Software.Version
<6> VERSION INFO - BIOS - 999999999.20230717.21107-0
<6> SMBIOS gRPC server: Start
<6> Claimed gRPC address: [::]:10166
<6> Starting thread: 0
<6> Started thread: 0
<6> Claimed gRPC address: [::]:10167
<6> Starting gRPC server: 0
<6> Starting thread: 1
<6> Started thread: 1
<6> Claimed gRPC address: [::]:10168
<6> Starting thread: 2
<6> Started thread: 2
<6> Starting gRPC server: 2
<6> Starting gRPC server: 1
myhost:/krellan# ./grpc_cli ls dns:///localbmc:10166
phosphor.smbios.SmbiosTransferService
grpc.reflection.v1alpha.ServerReflection
grpc.health.v1.Health
myhost:/krellan# ./grpc_cli call dns:///localbmc:10166 phosphor.smbios.SmbiosTransferService/SmbiosTransfer 'smbios_entry_point:"Hello", smbios_structure_table:"World"'
connecting to dns:///localbmc:10166
Rpc succeeded with OK status
<6> SMBIOS gRPC server: Received transfer
<6> Received on this instance number: 0
<6> Received SMBIOS entry point: 5 bytes
<6> Received SMBIOS structure table: 5 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment