From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 1 19:09:02 2015 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D08F669 for ; Wed, 1 Apr 2015 19:09:02 +0000 (UTC) Received: from asp.reflexion.net (outbound-242.asp.reflexion.net [69.84.129.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6D5DB6E for ; Wed, 1 Apr 2015 19:09:01 +0000 (UTC) Received: (qmail 12575 invoked from network); 1 Apr 2015 19:08:58 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 1 Apr 2015 19:08:58 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.40.1) with SMTP; Wed, 01 Apr 2015 15:08:58 -0400 (EDT) Received: (qmail 5734 invoked from network); 1 Apr 2015 19:08:57 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Apr 2015 19:08:57 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-67-189-19-145.hsd1.or.comcast.net [67.189.19.145]) by iron2.pdx.net (Postfix) with ESMTPSA id A4B3D1C43A2; Wed, 1 Apr 2015 12:08:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: FYI: 11.0-CURRENT's contrib/ntp -r280915, some boot-time ntpd error messages From: Mark Millard In-Reply-To: <52A97222-C183-4CDC-8FA5-A4CA7552BF5F@dsl-only.net> Date: Wed, 1 Apr 2015 12:08:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52A97222-C183-4CDC-8FA5-A4CA7552BF5F@dsl-only.net> To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.2070.6) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 19:09:02 -0000 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 = 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