-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Build fails to upload image on Fedora #1084
Comments
I noticed that as well. Please note that if you build ROFS image and run
with ‘-k’ option (direct kernel) it all works. So I think loader.elf is
fine. The issue most likely is with 32 bit lzloader.elf or 16 bit
boot16.bin.
…On Sat, May 23, 2020 at 08:18 nyh ***@***.***> wrote:
Of my newly-upgrade Fedora 32, "scripts/build" fails in upload_manifest:
+ /home/nyh/osv.tmp2/osv/scripts/upload_manifest.py -o usr.img -m usr.manifest -D libgcc_s_dir=/usr/lib64
KVM: injection failed, MSI lost (Operation not permitted)
...
The last message repeats indefinitely, until I kill it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1084>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABINEIM3ARLYVHJIWJ3F733RS65KPANCNFSM4NINTCLA>
.
|
gdb tells me we are stuck in address 0x000000000010100f. That's OSV_LZKERNEL_BASE + 0x1000 + 0xf. |
According to arch/x64/lzloader.ld, OSV_LZKERNEL_BASE + 0x1000 is the beginning of the text segment of lzloader.elf. |
I verified that the entry point in lzloader.elf (fastlz/lzloader.cc) is not a problem - the problem is the actual memset() function defined in lzloader.cc. I changed the order of the functions so that uncompress_loader() comes first and memset() comes second, and still gdb tells us we're hung in the memset() function. |
Amazingly, a patch I wrote 3 years ago for #913 and didn't solve that issue, solves this one :-) I'll send a patch now. |
Of my newly-upgrade Fedora 32, "scripts/build" fails in upload_manifest:
The last message repeats indefinitely, until I kill it.
The text was updated successfully, but these errors were encountered: