Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: tpm: layer: tpm, code: 0x12: No SRK #213

Open
zookozcash opened this issue Jan 14, 2016 · 6 comments
Open

Fatal error: tpm: layer: tpm, code: 0x12: No SRK #213

zookozcash opened this issue Jan 14, 2016 · 6 comments

Comments

@zookozcash
Copy link

$ ./bin/client
Jan 14 19:39:08: Fatal error: tpm: layer: tpm, code: 0x12: No SRK

Unfortunately, I don't know which version of pond this is (see #212).

This is a Google Chromebook Pixel 1, running Ubuntu.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

$ sudo lshw 2>&1 | grep -i tpm
zooko@spark ~/playground/pond/gopkg $ echo $?
1

$ head -27 /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
stepping : 9
microcode : 0x12
cpu MHz : 1611.843
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs :
bogomips : 3592.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

@ebfe
Copy link
Contributor

ebfe commented Jan 14, 2016

I can't help with this specific tpm error. But if you want to compile a version without tpm support:

$ go get -tags notpm github.com/agl/pond/client

@Phoul
Copy link

Phoul commented Jan 14, 2016

Have you done the usual tpm_takeownership1? This may be indicating that the SRK isn't set yet.

@zookozcash
Copy link
Author

Thanks! I haven't done tpm_takeownership. I wasn't told to do when I followed these instructions: https://github.com/agl/pond

@zookozcash
Copy link
Author

Sorry, I mean these instructions: https://pond.imperialviolet.org/

@zookozcash
Copy link
Author

So… maybe the instructions should be updated to instruct people to do tpm_takeownership? And maybe the error message should be changed to instruct the user what to do or where to go for help? Or maybe instead pond should be changed to not require tpm?

@zookozcash
Copy link
Author

Okay, I ran tpm_takeownership and afterward this error stopped happening and now pond starts normally. So, how about someone change it so that when this happens the error message says "Perhaps you need to run tpm_takeownership."? And someone change the instructions on https://pond.imperialviolet.org/ to tell people that they need to, or might need to, do this?

(Thanks, @Phoul.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants