1
Development and Code Review / Re: Error - building from source
« on: July 25, 2019, 02:40:50 pm »
Hi.
Thanks for the tip, downgrading pkg to 1.10.5 through its git repo did the trick.
Just as a reference to someone who might be trying the same thing, as i was looking for ways to verify that the kernel HZ were indeed set to 1000
I found that # getconf CLK_TCK always reports 128 regardless of the actual setting, and the proper way to verify it is with # sysctl kern.hz
Also it turns out that I didn't have to recompile the kernel (i got this assumption from linux) and all I had to do was to add the line kern.hz="###" in /boot/loader.conf
I found about the kern.hz variable here
https://lists.freebsd.org/pipermail/freebsd-questions/2011-August/232638.html
and about the loader.conf line here
https://lists.freebsd.org/pipermail/freebsd-questions/2009-September/205518.html
Again thx for the help, I will be posting the results of whether or not it made any difference in my setup when i get around to testing it.
P.s.: adding a line to the build instructions saying that pkg version 1.10.x is required, should prevent anyone else form stumbling on this issue for as long as it isn't fixed.
Thanks for the tip, downgrading pkg to 1.10.5 through its git repo did the trick.
Just as a reference to someone who might be trying the same thing, as i was looking for ways to verify that the kernel HZ were indeed set to 1000
I found that # getconf CLK_TCK always reports 128 regardless of the actual setting, and the proper way to verify it is with # sysctl kern.hz
Also it turns out that I didn't have to recompile the kernel (i got this assumption from linux) and all I had to do was to add the line kern.hz="###" in /boot/loader.conf
I found about the kern.hz variable here
https://lists.freebsd.org/pipermail/freebsd-questions/2011-August/232638.html
and about the loader.conf line here
https://lists.freebsd.org/pipermail/freebsd-questions/2009-September/205518.html
Again thx for the help, I will be posting the results of whether or not it made any difference in my setup when i get around to testing it.
P.s.: adding a line to the build instructions saying that pkg version 1.10.x is required, should prevent anyone else form stumbling on this issue for as long as it isn't fixed.