xref: /netbsd-src/external/bsd/ntp/dist/html/hints/freebsd (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardelIf you are compiling under FreeBSD and see messages in the syslogs that
2*abb0f93cSkardelindicate that the ntpd process is trying to use unavailable sched_
3*abb0f93cSkardelcalls, it means you are running a kernel that does not have the POSIX
4*abb0f93cSkardelscheduling calls enabled.
5*abb0f93cSkardel
6*abb0f93cSkardelYou have two choices:
7*abb0f93cSkardel
8*abb0f93cSkardel- Ignore the messages
9*abb0f93cSkardel
10*abb0f93cSkardel- Generate a new kernel, where the kernel configuration file contains
11*abb0f93cSkardel  the lines:
12*abb0f93cSkardel
13*abb0f93cSkardel  options		"P1003_1B"
14*abb0f93cSkardel  options		"_KPOSIX_PRIORITY_SCHEDULING"
15*abb0f93cSkardel  options		"_KPOSIX_VERSION=199309L"
16