xref: /freebsd/contrib/ntp/html/hints/freebsd (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy SchubertIf you are compiling under FreeBSD and see messages in the syslogs that
2*2b15cb3dSCy Schubertindicate that the ntpd process is trying to use unavailable sched_
3*2b15cb3dSCy Schubertcalls, it means you are running a kernel that does not have the POSIX
4*2b15cb3dSCy Schubertscheduling calls enabled.
5*2b15cb3dSCy Schubert
6*2b15cb3dSCy SchubertYou have two choices:
7*2b15cb3dSCy Schubert
8*2b15cb3dSCy Schubert- Ignore the messages
9*2b15cb3dSCy Schubert
10*2b15cb3dSCy Schubert- Generate a new kernel, where the kernel configuration file contains
11*2b15cb3dSCy Schubert  the lines:
12*2b15cb3dSCy Schubert
13*2b15cb3dSCy Schubert  options		"P1003_1B"
14*2b15cb3dSCy Schubert  options		"_KPOSIX_PRIORITY_SCHEDULING"
15*2b15cb3dSCy Schubert  options		"_KPOSIX_VERSION=199309L"
16