Skip to contentSkip to conversation

Host IPL observer service

DISCUSSION Timothy Pearson 2 participants 2 messages Feb 5, 2018 – Feb 7, 2018

lore
Share & tools
lore
#0 lore raw

We've created a service to watch the status of the host IPL and to provide the status and host state information on demand and via events over DBUS. This is important for several reasons, one of which is to make sure that we don't try to bind to OCC before OCC is up and running.

We're shipping this service with our Talos II systems, and already use it to provide status feedback to the end user during the lengthy IPL process, as well as to bind OCC at the correct time.

Source code is here:

https://git.raptorcs.com/git/talos-skeleton/tree/pyiplobserver

Let me know what you think! We'd love to see this upstreamed.

Signature · 5 lines
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com
#1 lore raw
Quoted 5 lines · Timothy Pearson

We've created a service to watch the status of the host IPL and to provide the status and host state information on demand and via events over DBUS. This is important for several reasons, one of which is to make sure that we don't try to bind to OCC before OCC is up and running.

Quoted 7 lines

We're shipping this service with our Talos II systems, and already use it to provide status feedback to the end user during the lengthy IPL process, as well as to bind OCC at the correct time.

Source code is here:

https://git.raptorcs.com/git/talos-skeleton/tree/pyiplobserver

It is interesting that it uses pdbg to get 0x2809 status to determine the ISTEP status.

I know a bit of the background that you are going to use this service to bind occ-hwmon
driver at certain status, right?

May I know some details, e.g. in which status to bind occ-hwmon and in which status
to enable the "occ watchdog"?

Quoted 9 lines

Let me know what you think! We'd love to see this upstreamed.

--
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com