[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/51908: cinclude of xen kernel configs
Note: There was a bad value `' for the field `Confidential'.
It was set to the default value of `yes'.
>Synopsis: xen kernel configs cinclude GENERIC.local
>Arrival-Date: Mon Jan 23 04:05:00 +0000 2017
>Originator: Kyle Amon
>Release: NetBSD 7.0.2_PATCH
System: NetBSD nbsd.backwatcher.com 7.0.2_PATCH NetBSD 7.0.2_PATCH (XEN3_DOM0) amd64
The XEN3_DOM0 and XEN3_DOMU kernel config files have cinclude
lines that default to including GENERIC.local. This causes conflicts. For
example, if one wants Segvguard in a XEN kernel, one would have to add an
'options FILEASSOC' to GENERIC.local (since its a dependency of Segvguard),
and all is well with the XEN_DOM? build, but when one wants to then build
GENERIC (to keep as an emergency/maintenance kernel as well, for example),
the GENERIC build fails because FILEASSOC is alreadu in GENERIC. So, one
must manually comment and uncomment things in GENERIC.local depending upon
wheather one wants to build a GENERIC or a XEN_DOM? kernel, or modify the
XEN_DOM? kernel config cinclude line (and manage the difference therafter),
or keep seperate XEN_DOM?_FOO kernels with the modified (fixed) cinclude,
all of which are cumbersome and wholely unencessary.
Try to build both GENERIC and XEN3_DOM0 with Segvguard.
Change the XEN_DOM? kernel config cinclude lines (for both amd64 and
i386) to include .local files consistent with their own names, like so,
...so that users can create and use individual, kernel name consistent,
non-conflicting include files, instead of having to resort to some ungainly
method of fighting conflicts which shouldn't exist in the first place.
Main Index |
Thread Index |