-
Notifications
You must be signed in to change notification settings - Fork 8
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
make buildworld on a ZoL-originated pool results in invalid binaries #153
Comments
Footnote: this reminds me of openzfs#8816 . |
Hello nice to know that someone (PMT, on #zfsonlinux freenode) has reproduced this problem i encounter long ago now it can be resolved in the mean time this can be avoided fetching last sources svn or github then recompile make buildkernel installkernel ---> reboot on new kernel rm -rf /usr/obj/* ; cd /usr/src ; make -j9 clean ---> recompile world make buildworld installworld just not rebooting installing world just after compile the new world that lives in /usr/obj then make make buildkernel installkernel meta-mode and ccache can be used to make things faster and = Other way to install is my own way that i use all the time here >>>> https://github.com/javashin/DiabloOS STEP#1 ..... thanks in advance would be nice to have openzfskmod inside the kernel built-in and not as module i think is the time :) nice work people the last update on ports works great :) i tried to warm about this on #129 (comment) here if needs to test things faster with the procedure of reproduce this compiling with WITHOUT_BOOT="YES" and just compiling stand after the world build. To Reproduce the problem WITHOUT_MAKE_CHECK_USE_SANDBOX="YES" Shims are not needed. just for the workaround on top. |
Is this still a problem? We briefly had a problem with executables |
I haven't seen any followup, so closing |
System information
Describe the problem you're observing
Someone reported in #zfsonlinux that they were having a problem where if they ran make buildworld on a root zpool that was created on ZoL, running make installworld would result in their system no longer booting, reporting exec format error on binaries.
I successfully reproduced this in a VM, and here I am reporting it.
Describe how to reproduce the problem
On ZoL:
( Some of these parameters are redundant, but they're what I used when I reproduced it)
On ZoF:
Include any warning/errors/backtraces from the system logs
No obvious errors except the output from make installworld,
One thing I should mention - the reason I wanted to reproduce this was to see what kind of files resulted in the "Exec format error" - the usr/obj/.../rescue/rescue that was the reason make installworld failed for me was a 40 MB file of all zeroes.
The original reporter could reproduce this every time with ZoF and not FreeBSD-builtin ZFS; I'm currently running make buildworld to try and reproduce it again.
I can provide VM disk images of the machine and the zpool doing this, and I don't think it's somehow a fluke of my environment.
The text was updated successfully, but these errors were encountered: