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

Elf header buffer too small to boot the os. #18

Open
luzhihaoTestingLab opened this issue Dec 25, 2024 · 1 comment
Open

Elf header buffer too small to boot the os. #18

luzhihaoTestingLab opened this issue Dec 25, 2024 · 1 comment

Comments

@luzhihaoTestingLab
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.10.1.

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

qemu-system-x86_64

What did you do?

I boot the os as README.md shows, but there is an error showing "read too few elf bytes (program headers)". I found it's caused by the 512 bytes file's header read buffer(biscuit/src/kernel/syscall.go line 3315), and my file's size exceeds 512, which makes it boots failed.

@wuhang-du
Copy link

wuhang-du commented Dec 25, 2024 via email

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

2 participants