- Joined
- May 18, 2016
- Messages
- 893
Join the FreeBSD team!
Linux-Folding@Home Port is an easy install on FreeBSD, but if you get the error "FATAL: kernel too old" you will need to adjust a sysctl compat.linux.osrelease to value 2.6.32 which can be done by root for the present session, as
Once all installed, you should see a message suggesting to edit the
PS. Due to this being Linux software that has not been modified to function entirely as FreeBSD, the below adjustments to your /etc/fstab may be necessary.
It may be necessary to load a few kernel objects onto the host system by
Those would also be added to your /etc/rc.conf file as
For jail installs, use
You can ignore any /proc/bus/pci/devices message since it calls that a warning and does not seem to affect running.
* Some versions of FreeNAS seem to reset the /etc/rc.conf file, needs clarification or workaround.
With further clarity this post will be modified to reflect more precise details, please report any missing details for any operation described above.
Linux-Folding@Home Port is an easy install on FreeBSD, but if you get the error "FATAL: kernel too old" you will need to adjust a sysctl compat.linux.osrelease to value 2.6.32 which can be done by root for the present session, as
sysctl compat.linux.osrelease=2.6.32
or permanently by editing your /etc/sysctl.conf to add that same line. Adding the line to your /boot/loader.conf will override whatever value it has as well.Once all installed, you should see a message suggesting to edit the
/usr/local/etc/fahclient/config.xml
file if you'd like to contribute as a member of folding team FreeBSD, by adding line <team v='11743'/>
PS. Due to this being Linux software that has not been modified to function entirely as FreeBSD, the below adjustments to your /etc/fstab may be necessary.
Code:
proc /proc procfs rw 0 0 linproc /compat/linux/proc linprocfs rw 0 0 linsysfs /compat/linux/sys linsysfs rw 0 0
It may be necessary to load a few kernel objects onto the host system by
kldload linprocfs
and kldload linsysfs
and kldload linux64
Those would also be added to your /etc/rc.conf file as
kld_list="linprocfs linsysfs linux64"
along with any others that may already be in the list. This would make it a permanent change rather than simply for the present session as above. kldstat
will show what is loaded.For jail installs, use
iocage fstab -a [jailname] "[fstab entry]"
with the three fstab entries above (ignoring extraneous whitespace, one space between variables should do). In an ordinary fstab tab characters can be used to make the columns pretty for future edits.You can ignore any /proc/bus/pci/devices message since it calls that a warning and does not seem to affect running.
* Some versions of FreeNAS seem to reset the /etc/rc.conf file, needs clarification or workaround.
With further clarity this post will be modified to reflect more precise details, please report any missing details for any operation described above.
Last edited: