Make sure to kstat_read() after kstat_lookup() and add some logging