Okay, you guys are absolutely correct.  Since the old COMPAT_ settings
got moved out of GENERIC and into compat_netbsd15.config, I had
completely missed them in my diff :(.

Sorry for the noise!  It's been a while and I'm obviously gotten VERY rusty....

-Dustin

On Mon, Feb 10, 2020 at 9:51 PM Paul Goyette <[email protected]> wrote:
>
> As Robert Elz said in previous reply, you're most likely missing some
> compatability code.  Since you initially indicated that it worked on
> 9.99.10, you most likely don't have COMPAT_90 in your config.
>
> COMPAT_90 brings in stuff for compatability with the 9.0 release.  The
> contents of COMPAT_90 will grow as new ABI changes occur, but these
> changes in content don't result in changes to the kernel configuration
> description files such as GENERIC or ALL.  The ABI changes are sort of
> buried inside the kernel configuration _definition_ files, typically
> named src/sys/.../files*   :)
>
> For a quick test, just add ``options COMPAT_90'' to your MYCONFIG
> kernel description.
>
>
>
> On Mon, 10 Feb 2020, Dustin Marquess wrote:
>
> > So as part of my nasty process, after I do a 'cvs update', I diff the
> > old GENERIC and the new GENERIC and look for any major changes and
> > then replicate those into my local config file.  The only config
> > changes I saw where for the various *san(itiziers).
> >
> > I'll attempt to reproduce on GENERIC, and if I can reproduce it, I'll
> > try and ktrace/kdump/ktruss to figure out where it's broken.
> >
> > Thanks all,
> > -Dustin
> >
> > On Mon, Feb 10, 2020 at 9:28 PM Robert Elz <[email protected]> wrote:
> >>
> >>     Date:        Mon, 10 Feb 2020 19:07:50 -0600
> >>     From:        Dustin Marquess <[email protected]>
> >>     Message-ID:  
> >> <cajpshy5cagfpzhkzbnlogdymopbanz-scbqqfu5m5n30uux...@mail.gmail.com>
> >>
> >>   | Looking at my history, I did:
> >>   |
> >>   | ./build.sh -O ../obj -T ../tools tools distribution kernel=MYCONFIG 
> >> modules
> >>
> >> As Kamil suggested, this will be your problem.
> >>
> >> To start with, use a GENERIC kernel which will have all the correct
> >> COMPAT_xxx options defined.   Once you have the new userland installed
> >> you can build your own tailored kernel and run that.
> >>
> >> You can also add the needed COMPAT_xxx options to your kernel config
> >> file, but doing it that way can take more try & retry until you finally
> >> get everything needed.
> >>
> >> kre
> >>
> >
> > !DSPAM:5e42233b188721095115340!
> >
> >
>
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | [email protected]     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | [email protected]   |
> +--------------------+--------------------------+-----------------------+

Reply via email to