Skip to main content.

2007-Jan-15

Built a custom kernel for XEN3_DOMU that adds pf and pflog. First I tried to do old config, make depend way, but that failed with some "error: array type has incomplete element type" in ip_var.h.

So then I used build.sh, but that failed with nbconfig not found. So I removed all my old tooldirs. So to build I used: ./build.sh -u tools kernel=XEN3_DOMU_PF "tools" target is needed because it doesn't know to build nbconfig. Once I had to make a change and so it doesn't have to rebuild by new nbmake, I told it where my tools were:

./build.sh -T tooldir.NetBSD-3.99.24-i386 -u kernel=XEN3_DOMU_PF

By the way, I tried to use pf.o kernel module from 3.1 base tarball, but no good because of DEBUG,DIAGNOSTIC. And when I made other modules with that last summer my system crashed repeatedly.