Repository navigation
tests/copperline: work around 68000/68010 hostfs boot hang - #101
Merged
Merged
Conversation
[[filesys]] host-directory boot mounts hang forever on a 68000/68010 guest under released Copperline 0.12.0/0.13.0 (a 16-bit-bus move.l split never rings the hostfs MMIO doorbell). Root-caused and fixed upstream in CopperlineHQ/Copperline#312, not yet released, so run.sh/bench.sh keep their configs on real 68000 and gain a COPPERLINE= env var to point at a fixed local build instead of working around it by raising the CPU model (which would invalidate bench.sh's 68000 KDF-throughput numbers). Also fixes an unrelated pre-existing link error in bench.sh's docker build: hmac.c unconditionally defines the SHA-256/512 HMAC variants, so sha256.c/sha512.c need to be linked even though this benchmark only exercises SHA-1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[[filesys]]host-directory boot mounts hang forever on a 68000/68010 guest under released Copperline 0.12.0/0.13.0 — a 16-bit-busmove.lsplit never rings the hostfs MMIO doorbell. Root-caused and fixed upstream in CopperlineHQ/Copperline#312, not yet released.run.sh/bench.shkeep their configs on real 68000 (rather than working around it with a 68020 CPU model, which would invalidatebench.sh's 68000 KDF-throughput numbers) and gain aCOPPERLINE=env var to point at a fixed local build in the meantime.docs/copperline-bugreport/REPORT.mdandtests/copperline/README.md.bench.sh's docker build:hmac.cunconditionally defines the SHA-256/512 HMAC variants, sosha256.c/sha512.cneed to be linked even though this benchmark only exercises SHA-1.Test plan
run.shverified passing (10/10 HOTP vectors + DRBG KAT) on real 68000 viaCOPPERLINE=pointed at a local build ofCopperlineHQ/Copperline#312bench.shverified building and running end-to-end (13.7 iters/sec PBKDF2-HMAC-SHA1) via the same override, confirming the SHA-256/512 link fix🤖 Generated with Claude Code