Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 12:08:55 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-current@freebsd.org
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: FYI: 11.0-CURRENT's contrib/ntp -r280915, some boot-time ntpd error messages
Message-ID:  <D23A0D5E-DEE5-40C0-B4B8-B16C42F53046@dsl-only.net>
In-Reply-To: <52A97222-C183-4CDC-8FA5-A4CA7552BF5F@dsl-only.net>
References:  <52A97222-C183-4CDC-8FA5-A4CA7552BF5F@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I rebuilt and the boot-message line

> Mar 31 17:20:08 FBSDG5C0 ntpd[775]: line 22 column 1 syntax error


is no longer is occurring. But I'm still getting the other two:

> 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


=3D=3D=3D
Mark Millard
markmi at dsl-only.net

On 2015-Mar-31, at 07:13 PM, Mark Millard <markmi at dsl-only.net> =
wrote:

Basic context:

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

> $ 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@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=20
> #=20

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=3D"FBSDG5C0"
> ifconfig_bge0=3D"DHCP"
> ifconfig_bge0_ipv6=3D"inet6 accept_rtadv"
> ifconfig_gem0=3D"DHCP"
> ifconfig_gem0_ipv6=3D"inet6 accept_rtadv"
> sshd_enable=3D"YES"
> ntpd_enable=3D"YES"
> ntpd_sync_on_start=3D"YES"
> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
> dumpdev=3D"AUTO"
> hald_enable=3D"YES"
> dbus_enable=3D"YES"

> make -j 8 CROSS_TOOLCHAIN=3Dpowerpc64-gcc \
> WITHOUT_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D \
> WITH_LLDB=3D \
> WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GNUCXX=3D \
> WITHOUT_BOOT=3D WITHOUT_LIB32=3D \
> buildworld buildkernel \
> KERNCONF=3DGENERIC64vtsc-NODEBUG \
> TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc64

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


=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D23A0D5E-DEE5-40C0-B4B8-B16C42F53046>