Discover kern state

Signed-off-by: Christopher Hallahan <challahan@gmail.com>