I looked at NetBSD/Xen howto but don't see how to build my own custom
kernel.
(Something changed and even though I used the PF module for two
weeks I
can't use it any more.)
I copied sys/arch/i386/conf/XEN2_DOMU to sys/arch/i386/conf/
XEN2_DOMU_PF.
(I am using XEN2 since I am currently using XENU.)
Then I ran:
./build.sh -m xen -a i386 tools kernel=XEN2_DOMU_PF
It failed after building tools with:
===> Tools built to /usr/src/netbsd-3/src/obj/
tooldir.NetBSD-3.99.21-i386
===> Building kernel: XEN2_DOMU_PF
===> Build directory:
/usr/src/netbsd-3/src/sys/arch/xen/compile/obj/XEN2_DOMU_PF
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
config: cannot read /usr/src/netbsd-3/src/sys/arch/xen/conf/
XEN2_DOMU_PF:
No such file or directory
ERROR: nbconfig failed for XEN2_DOMU_PF
*** BUILD ABORTED ***
I see it is using wrong directory above.
What is correct way to build NetBSD/Xen kernels?
Am I not supposed to use "-m xen"?
How does the release team build them?
Thanks,
Jeremy C. Reed
p.s. Once I figure this out, I can add to the NetBSD/Xen howto.