Lines Matching defs:log
9 # Usage: chromeos-tpm-recovery <log file>
31 log() {
36 log "ERROR: $*"
37 log "exiting"
42 log "$*: attempting to fix"
85 $tpm_takeownership -y -z || log "takeownership failed with status $?"
99 log "removing space $index"
103 log "nvtool --release: status $?"
126 log "trying to make room by freeing one space"
136 log "trying to remove space $index"
160 log "checking for NVRAM room for space with size $size"
162 log "there is enough room"
166 log "definespace $test_space $size failed with status $?"
175 log "not enough room to define space $index"
198 log "bad kernel space id"
207 log "space $index read of size $size failed"
215 log "space $index has unexpected permissions $permissions"
224 log "could not redefine space $index"
228 $tpmc write $index $bytes || log "writing to $index failed with code $?"
229 log "space $index was recreated successfully"
243 log "starting $0"
246 echo "usage: $0 <log file>"
264 log "not a chromeos device, exiting"
269 log "boot reason is $BOOT_REASON"
290 log "physical presence enable flags are now correctly set"
302 log "physical presence is now on"
322 log "bGlobalLock is $BGLOBALLOCK (dev mode is $DEV_MODE_NOW)."
327 log "could not fix firmware space"
329 log "could not fix kernel space"
337 log "tpm recovery has completed"