-
Notifications
You must be signed in to change notification settings - Fork 45
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 failure of 6.2.1.102 against 4.19.10 kernel #22
Comments
For this system with kernel 4.19.10, what's the full kernel string? (In other words, what would you see if you ran "uname -r" in this kernel?) Looking at the arch link above, if the kernel config has "CONFIG_HZ=300", this will result in 3.333333333333 milliseconds per jiffy |
Note that the CONFIG_HZ kernel option can be different between Linux distributions; Fedora uses CONFIG_HZ=1000, and on checking an older Debian system, I see CONFIG_HZ=250. |
Yeah, we figured that out. We’re recompiling the kernel with HZ=250. Looking at the code it appears it needs to be refactored to dynamically calculate the histogram interval. Comments in the code seem to note this improvement requirement. |
We will be fixing this in a future version, but it will be a few months before we get around to it. In the mean time, if recompiling the kernel with a different HZ setting is not a good long-term solution, removing the failing assertion should be safe. The only downside is that the histograms and possibly some other timing-related statistics may be inaccurate. The actual functioning of the device should be unaffected. |
@corwin Thanks. We recompiled the kernel with HZ=250 and as a result are able to compile kvdo successfully. We are still having issues creating a volume, but it seems unrelated to this issue, so I am closing this for now. |
I am getting the following compilation error using tag 6.2.1.102 against kernel version 4.19.10:
The text was updated successfully, but these errors were encountered: