FYI: 11.0-CURRENT's contrib/ntp -r280915, some boot-time ntpd error messages

From: Mark Millard <markmi_at_dsl-only.net>
Date: Tue, 31 Mar 2015 19:13:44 -0700
Basic context:

> $ dmesg | head
> ...
> FreeBSD 11.0-CURRENT #3 r280867M: Tue Mar 31 16:19:53 PDT 2015
>     root_at_FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG powerpc
> gcc version 4.9.1 (FreeBSD Ports Collection for powerpc64) 

> $ freebsd-version -ku; uname -apKU
> 11.0-CURRENT
> 11.0-CURRENT
> FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r280867M: Tue Mar 31 16:19:53 PDT 2015     root_at_FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG  powerpc powerpc64 1100067 1100066

I normally do not go beyond the most recent 11.0-CURRENT snapshot (-r280862 at this point) but I wanted to pick up the the checkins that enable building the system clang via powerpc64-xtoolchain-gcc's powerpc64-gcc (as part of a self-hosted rebuild). So I choose to: svnlite update /usr/src -r280867 .

I also later did "svnlite update /usr/src/contrib/ntp/ -r280915" because the overall the -r280867 vintage materials in that area failed to compile.

Other than -r280915's contrib/ntp/ntpd/ntp_parser.y, contrib/ntp/... is the -r280849 update that would have been in a -r280862 snapshot.



The problem (new ntpd error messages but probably not important to my activities):

After buildworld buildkernel installkernel installworld and rebooting it now reports during the boot (with a little context shown):

> ...
> Starting sendmail_submit.
> Mar 31 17:20:08 FBSDG5C0 ntpd[775]: line 22 column 1 syntax error
> Mar 31 17:20:08 FBSDG5C0 ntpd[775]: setsockopt IPV6_MULTICAST_IF 0 for [omitted] fails: Can't assign requested address
> Mar 31 17:20:08 FBSDG5C0 ntpd[775]: setsockopt IPV6_MULTICAST_IF 0 for [omitted] fails: Can't assign requested address
> Starting sendmail_msp_queue.
> ...

The "line 22 column 1 syntax error" is not explicit about the file involved. Presuming /etc/ntp.conf ...

> #
> # $FreeBSD: head/etc/ntp.conf 259973 2013-12-27 23:06:15Z delphij $
> #
> ...
> # The option `iburst' is used for faster initial synchronization.
> #
> server 0.freebsd.pool.ntp.org iburst
> server 1.freebsd.pool.ntp.org iburst
> server 2.freebsd.pool.ntp.org iburst
> #server 3.freebsd.pool.ntp.org iburst
> ...

That first "server" line is line 22 and is the first non-#/non-empty line in the file. head/etc/ntp.conf 259973 seems to still be the most recent in head's svn area. And /etc/ntp.conf is unedited:

> # diff /etc/ntp.conf /usr/src/etc/ntp.conf 
> # 

As of the the earlier "svnlite update /usr/src -r280598" to match that earlier snapshot I was not getting such messages from the earlier build.



Context details:

> # more /etc/rc.conf
> hostname="FBSDG5C0"
> ifconfig_bge0="DHCP"
> ifconfig_bge0_ipv6="inet6 accept_rtadv"
> ifconfig_gem0="DHCP"
> ifconfig_gem0_ipv6="inet6 accept_rtadv"
> sshd_enable="YES"
> ntpd_enable="YES"
> ntpd_sync_on_start="YES"
> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
> dumpdev="AUTO"
> hald_enable="YES"
> dbus_enable="YES"

> make -j 8 CROSS_TOOLCHAIN=powerpc64-gcc \
> WITHOUT_CLANG_BOOTSTRAP= WITH_CLANG= WITH_CLANG_IS_CC= \
> WITH_LLDB= \
> WITHOUT_GCC_BOOTSTRAP= WITHOUT_GCC= WITHOUT_GNUCXX= \
> WITHOUT_BOOT= WITHOUT_LIB32= \
> buildworld buildkernel \
> KERNCONF=GENERIC64vtsc-NODEBUG \
> TARGET=powerpc TARGET_ARCH=powerpc64

> # more /etc/src.conf
> NO_WERROR=
> WITH_LIBCPLUSPLUS=
> CC=/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc
> CXX=/usr/local/bin/powerpc64-portbld-freebsd11.0-g++
> CPP=/usr/local/bin/powerpc64-portbld-freebsd11.0-cpp
> CROSS_BINUTILS_PREFIX=/usr/local/powerpc64-freebsd/bin/
> X_COMPILER_TYPE=gcc
> CFLAGS+=-L/usr/obj/usr/src/tmp/usr/lib/.
> CXXFLAGS+=-I/usr/obj/usr/src/tmp/usr/include/c++/v1/. -std=gnu++11 -L/usr/obj/usr/src/lib/libc++/.
> CXXFLAGS+=-I/usr/include/c++/v1/. -std=gnu++11 -L/usr/lib/.


===
Mark Millard
markmi at dsl-only.net
Received on Wed Apr 01 2015 - 00:13:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC