From: Max Tottenham <mtottenh@akamai.com>
To: <grub-devel@gnu.org>
Subject: TPM/Verifiers testing bug?
Date: Wed, 9 Jan 2019 14:16:16 +0000 [thread overview]
Message-ID: <20190109141616.GC4954@akamai.com> (raw)
Hi Folks
I was curious about the upstream work on the verifiers framework (and
the TPM patches). I have both a TPM 2.0 based system and a QEMU + swtpm
setup with which to test. I compiled the head of the master branch, if I
boot into the grub shell and run the following commands:
grub> insmod verifiers
grub> insmod tpm
grub> normal
I get a machine crash:
qemu-system-x86_64: Trying to execute code outside RAM or ROM at
0x00000000000b0000
This usually means one of the following happened:
(1) You told QEMU to execute a kernel for the wrong machine type, and it
crashed on startup (eg trying to run a raspberry pi kernel on a
versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU
executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere
This is almost always one of the first two, so check your command line
and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest
with the -d debug options; in particular -d guest_errors will cause the
log to include a dump of the guest register state at this point.
Execution cannot continue; stopping here.
Software versions:
Qemu version: v2.11.0 (0a0dc59)
OVMF git tag: edk2-stable201811 (8558838)
swtpm git tag: tpm2-preview.v2 (f98592c)
Running the same on real hardware also produces a crash, any thoughts?
--
Max Tottenham | mtottenh@akamai.com
Senior Software Engineer, Server Platform Engineering
/(* Akamai Technologies
next reply other threads:[~2019-01-09 14:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 14:16 Max Tottenham [this message]
2019-01-14 11:13 ` TPM/Verifiers testing bug? Daniel Kiper
2019-01-14 14:09 ` Max Tottenham
2019-01-14 19:42 ` Matthew Garrett
2019-01-15 11:58 ` Daniel Kiper
2019-01-15 18:23 ` Matthew Garrett
2019-01-21 12:06 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190109141616.GC4954@akamai.com \
--to=mtottenh@akamai.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.