<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello friends,<div><br></div><div>I'm seeing a weird error and need your help. Basically I saw two symptoms that may or may not be related, and seems no one has reported them yet in Github issues. The BMC software stack is based on 2.6 release.</div><div><br></div><div>1. With repeated BMC reboot occasionally obmc-read-eeprom will fail to get the result from a mapper DBus call:</div><div><br></div><div><div>$ systemctl status obmc-read-eeprom@system-chassis-motherboard.service</div><div><br></div><div>Mar 07 21:36:04  systemd[1]: Starting Read system/chassis/motherboard EEPROM...</div><div>Mar 07 21:36:06  phosphor-read-eeprom[2598]: FRU Data</div><div>Mar 07 21:36:06  phosphor-read-eeprom[2598]: Successfully verified area.</div><div>Mar 07 21:36:06  phosphor-read-eeprom[2598]: Populated FRU areas</div><div>Mar 07 21:36:13  phosphor-read-eeprom[2598]: [[0;1;31m[[0;1;39m[[0;1;31mException from sdbus call[[0m</div><div>Mar 07 21:36:13  phosphor-read-eeprom[2598]: sd_bus_call: org.freedesktop.DBus.Error.FileNotFound: path or object not found</div><div>Mar 07 21:36:13  phosphor-read-eeprom[2598]: [[0;1;31m[[0;1;39m[[0;1;31mError updating inventory.[[0m</div><div>Mar 07 21:36:13  systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mobmc-read-eeprom@system-chassis-motherboard.service: Main process exit</div><div>ed, code=exited, status=1/FAILURE[[0m</div></div><div><br></div><div>this is a call to mapper "GetObject sas /xyz/openbmc_project/inventory 1 xyz.openbmc_project.Inventory.Manager". However both the mapper and inventory manager seem to run fine, and mapper-wait-xyz.openbmc_project.Inventory.Manager exits correctly before obmc-read-eeprom is started.</div><div><br></div><div>At this point, I'm not sure whether it's a problem with the object mapper, inventory manager, or something else.</div><div><br></div><div>2. Upon closer inspection, the system has had many weird filenames in its RW partition where the inventory serialization data is stored:</div><div><br></div><div><div>/var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system:</div><div>drwxr-xr-x    3 root     root             0 Mar  8 00:38 chassis</div><div>-rw-r--r--    1 root     root            81 Mar  8 00:38 xyz.openOby?:w=?xyz.Invebmc_?8?$xyz.tor.AssetTag</div><div>-rw-r--r--    1 root     root            81 Mar 21 03:17 xyz.openbmc_project.Inventory.Decorator.AssetTag</div><div>-rw-r--r--    1 root     root            81 Mar 20 23:29 xyz.openbmc_projxyz.Inventory.Deect.tor.AssetTag</div><div>-rw-r--r--    1 root     root            81 Mar 20 17:44 xyz.openbmc_projxyz.Inventory.Dexyz.tor.AssetTag</div><div>-rw-r--r--    1 root     root            81 Mar  8 00:38 xyz.openbmc_????xyz.Inventor???{xyz.tor.AssetTag</div><div>-rw-r--r--    1 root     root            81 Mar  8 00:38 xyz.open???t's??xyz.Invebmc_?7V?xyz.tor.AssetTag</div><div><br></div><div>/var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system/chassis:</div><div>drwxr-xr-x    2 root     root             0 Mar 20 21:35 motherboard</div><div><br></div><div>/var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system/chassis/motherboard:</div><div>-rw-r--r--    1 root     root           223 Mar  8 00:38 xyz.open6????d?!xyz.Invebmc_y??mxyz.tor.Asset</div><div>-rw-r--r--    1 root     root           223 Mar  8 00:38 xyz.openEyU?4]#?xyz.Inve???????Oxyz.tor.Asset</div><div>-rw-r--r--    1 root     root           223 Mar 20 21:42 xyz.openbmc_project.Inventory.Decorator.Asset</div><div>-rw-r--r--    1 root     root           113 Mar 20 21:42 xyz.openbmc_project.Inventory.Item</div><div>-rw-r--r--    1 root     root           223 Mar 20 17:45 xyz.openbmc_projxyz.Inventory.Deect.tor.Asset</div><div>-rw-r--r--    1 root     root           223 Mar 20 23:29 xyz.open????y??mxyz.Invebmc_project.tor.Asset</div><div>-rw-r--r--    1 root     root           223 Mar  8 00:38 xyz.open??N6m???xyz.Inve?n{??FT?xyz.tor.Asset</div></div><div><br></div><div>Is this expected? I deleted the directory for serialized data and rebooted the BMC, and it only generates one item with valid names.</div><div><br></div><div>Any suggestions on how to debug these? I will convert these to Github issues and append my findings if any.</div><div></div><div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-4760977766139129335gmail_signature"><div dir="ltr">Regards,<div>Kun</div></div></div></div></div></div></div></div></div></div></div></div>