From owner-freebsd-current@freebsd.org Tue May 31 00:23:37 2016 Return-Path: Delivered-To: freebsd-current@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 F06F6B5315C for ; Tue, 31 May 2016 00:23:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A30161ED4 for ; Tue, 31 May 2016 00:23:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7C409B5315B; Tue, 31 May 2016 00:23:37 +0000 (UTC) Delivered-To: current@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 7BBA5B5315A for ; Tue, 31 May 2016 00:23:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 2EB2E1EAD; Tue, 31 May 2016 00:23:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u4V0NZ8E018088; Tue, 31 May 2016 00:23:35 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u4V0NZgK018087; Mon, 30 May 2016 17:23:35 -0700 (PDT) (envelope-from david) Date: Mon, 30 May 2016 17:23:35 -0700 From: David Wolfskill To: current@freebsd.org, Konstantin Belousov Cc: gjb@freebsd.org, bdrewery@freebsd.org Subject: Re: 11.0 -r300944 build attempted WITH_META_MODE failed [amd64 targeting powerpc64 via devel/powerpc64-gcc use] Message-ID: <20160531002335.GA1080@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org, Konstantin Belousov , gjb@freebsd.org, bdrewery@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M9u+pkcMrQJw6us1" Content-Disposition: inline In-Reply-To: <20160530185227.GZ1080@albert.catwhisker.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 00:23:38 -0000 --M9u+pkcMrQJw6us1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 30, 2016 at 11:52:27AM -0700, David Wolfskill wrote: > ... > > > May 30 11:29:31 g1-252 root: /etc/rc: WARNING: Unable to load kernel = module linux64 > > > May 30 11:29:31 g1-252 kernel: KLD linux64.ko: depends on kernel - no= t available or version mismatch > > > May 30 11:29:31 g1-252 kernel: linker_load_file: Unsupported file type > >=20 > > Your kernel was built from older sources than you used to build the nvi= dia > > module. I mean, the kernel headers used for the module build where > > updated comparing with binaries that are installed into /boot/kernel. >=20 > Hmmm... I'm ... unlcear ... on how that could have happened. > ... Turns out that Bryan Drewery hit it (in a different thread): On Mon, May 30, 2016 at 08:29:40AM -0700, Bryan Drewery wrote: > This failure is not likely related to META_MODE. >=20 > I should have mentioned that to enable META_MODE after not having it on > you should do a 'make cleanworld' first. > .... Given that hint, in my r300994 source tree, I first did: cd /usr/src && make cleanworld then re-built everything again (while Spouse and I were at a neighbor's place for a cookout).... On reboot, everything looks good, and linux64.ko (and nvidia.ko) are loaded: g1-252(11.0)[1] uname -a FreeBSD g1-252.catwhisker.org 11.0-ALPHA1 FreeBSD 11.0-ALPHA1 #0 r300994M/= 300994:1100115: Mon May 30 14:42:29 PDT 2016 root@g1-252.catwhisker.org= :/common/S4/obj/usr/src/sys/CANARY amd64 g1-252(11.0)[2] kldstat=20 Id Refs Address Size Name 1 37 0xffffffff80200000 1e074a8 kernel 2 1 0xffffffff82009000 232f8 geom_eli.ko 3 2 0xffffffff8202d000 9d6d8 linux.ko 4 4 0xffffffff820cb000 d1f0 linux_common.ko 5 1 0xffffffff820d9000 4c50 coretemp.ko 6 1 0xffffffff820de000 546b0 iwn5000fw.ko 7 1 0xffffffff82133000 b67b50 nvidia.ko 8 1 0xffffffff82c9b000 b838 filemon.ko 9 1 0xffffffff82e21000 f01c tmpfs.ko 10 1 0xffffffff82e31000 595a fdescfs.ko 11 1 0xffffffff82e37000 a9e8 linprocfs.ko 12 1 0xffffffff82e42000 39672 linux64.ko g1-252(11.0)[3]=20 Sorry for the false alarm. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --M9u+pkcMrQJw6us1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXTNmHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XO1sIAK6kSnT7MG7R6O2UAdizj/hx 9RBRkCq89DwmNjDljY7a9H0q8SJKoL6oQeYGimnj/87raY/rkZZA2X3kR9hQn1iN t7LGxY401ZRa9iFN+dhgMXNIihxAA2O2lr6DObBMRHCfrjKhii2Uho5ZwQUdF2Ye axhdJVbSGkspv/7g00Mj+uunx+OYftRtKlip4vUQbC8BvOoXMuDcK4GdWLw40OvS E1WlupU9v+N7EzbcKrbhH1cOyJll2JHqPWIazoDn6+t0OrNOAWblSzovuEPhwNDg irRXT0qBQDWVSV2XxJFyVLnWFvaMSiY09YzyC491s8Uvi2inrArN1yGdJAiVRjM= =do8G -----END PGP SIGNATURE----- --M9u+pkcMrQJw6us1--