Re: 11.0 -r300944 build attempted WITH_META_MODE failed [amd64 targeting powerpc64 via devel/powerpc64-gcc use]

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Tue, 31 May 2016 00:26:49 +0000
On Mon, May 30, 2016 at 05:23:35PM -0700, David Wolfskill wrote:
> 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 - not available or version mismatch
> > > > May 30 11:29:31 g1-252 kernel: linker_load_file: Unsupported file type
> > > 
> > > Your kernel was built from older sources than you used to build the nvidia
> > > module.  I mean, the kernel headers used for the module build where
> > > updated comparing with binaries that are installed into /boot/kernel.
> > 
> > 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.
> > 
> > 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_at_g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  amd64
> g1-252(11.0)[2] kldstat 
> 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] 
> 
> 
> Sorry for the false alarm.
> 

I'd much prefer a false alarm over an unreported true alarm.  :-)

Thanks for the followup, glad it is working now.

Glen


Received on Mon May 30 2016 - 22:26:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC