From owner-freebsd-ppc@freebsd.org Thu Jun 2 02:21:42 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B29CB6214C; Thu, 2 Jun 2016 02:21:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED2E1316; Thu, 2 Jun 2016 02:21:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 273FA1620; Thu, 2 Jun 2016 02:21:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id CAFFD1D907; Thu, 2 Jun 2016 02:21:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id IMYrhwYcEQ5Z; Thu, 2 Jun 2016 02:21:38 +0000 (UTC) Subject: Re: [CFT] WITH_META_MODE: Working incremental build [only on i386 and amd64] [filemon fails to load on powerpc64] DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 4592B1D8FE To: Mark Millard , Nathan Whitehorn References: <7748cc71-3788-22ae-fcb2-699eae529310@FreeBSD.org> <9A1A624D-9286-4C0F-A435-D590E07C1149@dsl-only.net> <0165aee5-cf6f-8f01-1690-fc51995e2109@FreeBSD.org> <35AFB7AC-7AD4-41D5-AA8D-87C37EB52455@dsl-only.net> Cc: FreeBSD Current , FreeBSD PowerPC ML From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <5ae8e248-904e-2c33-b76c-566890406b8c@FreeBSD.org> Date: Wed, 1 Jun 2016 19:21:37 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <35AFB7AC-7AD4-41D5-AA8D-87C37EB52455@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Jtq168a0P33B4DFhqBATxSODnEKdFG8Dj" X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 02:21:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Jtq168a0P33B4DFhqBATxSODnEKdFG8Dj Content-Type: multipart/mixed; boundary="qfHe6El5c7HSDG6MF3WHjivET43WvFI4P" From: Bryan Drewery To: Mark Millard , Nathan Whitehorn Cc: FreeBSD Current , FreeBSD PowerPC ML Message-ID: <5ae8e248-904e-2c33-b76c-566890406b8c@FreeBSD.org> Subject: Re: [CFT] WITH_META_MODE: Working incremental build [only on i386 and amd64] [filemon fails to load on powerpc64] References: <7748cc71-3788-22ae-fcb2-699eae529310@FreeBSD.org> <9A1A624D-9286-4C0F-A435-D590E07C1149@dsl-only.net> <0165aee5-cf6f-8f01-1690-fc51995e2109@FreeBSD.org> <35AFB7AC-7AD4-41D5-AA8D-87C37EB52455@dsl-only.net> In-Reply-To: <35AFB7AC-7AD4-41D5-AA8D-87C37EB52455@dsl-only.net> --qfHe6El5c7HSDG6MF3WHjivET43WvFI4P Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable The fix is easy, I am just wondering why there are 2 ABI formats supported. If only one is normally used and the default then I'll only support that one. Filemon hooks the syscall table. On 6/1/2016 7:16 PM, Mark Millard wrote: > May be Nathan Whitehorn knows what is going on that prevents filemon.ko= > from loading for powerpc64 based on how it is now built (added for more= > than i386 and amd64 as of -r301130)? >=20 > Nathan: See below if it sounds like something you might have a clue > about. As to why this comers up: Loading filemon.ko is required in orde= r > for WITH_META_MODE=3Dyes to work for incremental builds. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > On 2016-Jun-1, at 6:59 PM, Bryan Drewery > wrote: >=20 >> On 6/1/2016 6:39 PM, Mark Millard wrote: >>> while filemon.ko now exists: >>>> # ls -l /boot/*/filemon* >>>> -r-xr-xr-x 1 root wheel 32064 Jun 1 17:59 /boot/kernel/filemon.k= o >>> it does not load: >>>> # kldload -n filemon >>>> kldload: can't load filemon: No such file or directory >>>> # dmesg | grep link_elf >>>> link_elf: symbol elf64_freebsd_sysvec undefined >> >> There's 2 different ABI formats for powerpc64? >> >>> sys/powerpc/powerpc/elf64_machdep.c:INIT_SYSENTVEC(elf64_sysvec_v1, >>> &elf64_freebsd_sysvec_v1); >>> sys/powerpc/powerpc/elf64_machdep.c:INIT_SYSENTVEC(elf64_sysvec_v2, >>> &elf64_freebsd_sysvec_v2); >> >> What's up with that? >> >> --=20 >> Regards, >> Bryan Drewery >=20 >=20 --=20 Regards, Bryan Drewery --qfHe6El5c7HSDG6MF3WHjivET43WvFI4P-- --Jtq168a0P33B4DFhqBATxSODnEKdFG8Dj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXT5gyAAoJEDXXcbtuRpfP0UkIANnjL5JR3byD+RbIiU59V9O3 +Js1peju66sDE26J8Rgc2mc6tlchtxa6sXRE/sboCCom1KLInaGpBVucvNSt89/X 6FWC3uMrYavzCg7eWkCrXjK5G1bsbVQYzhxnl/udR9tBTC51DXjVSqitmUwZABLR 4LK2smVIflBbfzUZvV0sTeqbLChNeMpJ3uuIrG+zSO2CQbVaA9NJ/WFkgw5A8v4D Ypi5XxNX98EkxMnmV0JclVtvSShurRmVkq5f2eZbJ1WfxbpRxhpw3ABpL5uGgE2i dZRscYvI5yNydKi8iaLEOEBvSruFtLTpu1TB0FluaqtbDWxFM3xYhr2ELVWkk8A= =ZZAA -----END PGP SIGNATURE----- --Jtq168a0P33B4DFhqBATxSODnEKdFG8Dj--