Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 1999 08:08:42 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: -stable of 99.12.2 hoistile to ntpd? 
Message-ID:  <199912081608.IAA06632@passer.osg.gov.bc.ca>
In-Reply-To: Your message of "Fri, 03 Dec 1999 17:36:41 PST." <E11u47t-000Dtj-00@rip.psg.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
options         "P1003_1B"
options         "_KPOSIX_PRIORITY_SCHEDULING" 
options         "_KPOSIX_VERSION=199309L"



Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Sun/DEC Team, UNIX Group    Internet:  Cy.Schubert@uumail.gov.bc.ca
ITSD                                   Cy.Schubert@gems8.gov.bc.ca
Province of BC
                      "e**(i*pi)+1=0"

In message <E11u47t-000Dtj-00@rip.psg.com>, Randy Bush writes:
> built new -stable, running old ntpd 93a.  now i get ...
> 
> Dec  3 04:55:18 /kernel: cmd ntpd pid 303 tried to use non-present sched_get_
> priority_max
> Dec  3 04:55:18 /kernel: cmd ntpd pid 303 tried to use non-present sched_sets
> cheduler
> Dec  3 04:55:18 ntpd[303]: sched_setscheduler(): Function not implemented
> Dec  3 05:02:56 ntpd[303]: kernel pll status change 2041
> Dec  3 06:40:54 /kernel: cmd ntpd pid 303 tried to use non-present sched_get_
> priority_max
> Dec  3 06:40:54 /kernel: cmd ntpd pid 303 tried to use non-present sched_sets
> cheduler
> Dec  3 06:40:54 ntpd[303]: sched_setscheduler(): Function not implemented
> Dec  3 06:48:41 ntpd[303]: kernel pll status change 2041
> Dec  3 07:11:20 /kernel: pid 303 (ntpd), uid 0: exited on signal 8 (core dump
> ed)
> 
> and it is reproducable
> 
> Dec  3 16:40:26 /kernel: cmd ntpd pid 37008 tried to use non-present sched_ge
> t_priority_max
> Dec  3 16:40:26 /kernel: cmd ntpd pid 37008 tried to use non-present sched_se
> tscheduler
> Dec  3 16:40:26 ntpd[37008]: sched_setscheduler(): Function not implemented
> Dec  3 16:48:16 ntpd[37008]: kernel pll status change 2041
> Dec  3 17:10:56 /kernel: pid 37008 (ntpd), uid 0: exited on signal 8 (core du
> mped)

The port does not detect whether you have POSIX Priority Scheduling 
enabled in the kernel, therefore it will not use rtprio(2) and instead 
try to use the POSIX sched_setscheduler(2).  To fix, rebuild your 
kernel with,

options         "P1003_1B"
options         "_KPOSIX_PRIORITY_SCHEDULING" 
options         "_KPOSIX_VERSION=199309L"



Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Sun/DEC Team, UNIX Group    Internet:  Cy.Schubert@uumail.gov.bc.ca
ITSD                                   Cy.Schubert@gems8.gov.bc.ca
Province of BC
                      "e**(i*pi)+1=0"





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912081608.IAA06632>