CFT: 802.11 vap code

David Wolfskill david at catwhisker.org
Mon Apr 14 03:47:20 UTC 2008


On Sun, Apr 13, 2008 at 04:18:58PM -0700, Sam Leffler wrote:
> A patch to integrate my multi-bss (aka vap) support for wireless can be
> found here:
> 
> http://www.freebsd.org/~sam/vap-2008051300.sh.gz
> 
> Note this is a shell script that overlays the CVS contents for HEAD.
> To apply it you do something like:
> 
> cvs -d /usr/ncvs co src
> cd src
> gzcat ../vap-2008051300.sh.gz | sh
> 
> The changes are extensive and require a full buildworld and kernel
> rebuild.....

> Please report problems to the public mailing lists.  My time is scarce
> so please investigate fixes and not just report problems.
>...

I'm afraid this is more of a report, as I've poked around, but
solving the apparent order-of-operations problem requires knowledge I
lack.

I started with 

FreeBSD g1-37.catwhisker.org 8.0-CURRENT FreeBSD 8.0-CURRENT #745: Sun Apr 13 08:43:32 PDT 2008     root at g1-37.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

fetched the patch & applied it (without apparent issue -- patch(1)
reported success for each patch, certainly).

The "make buildworld" proceeded without incident, but "make kernel"
died during "make depend" in "firmware":

>>> World build completed on Sun Apr 13 20:03:34 PDT 2008
...
>>> Kernel build for CANARY started on Sun Apr 13 20:03:34 PDT 2008
...
>>> stage 3.1: making dependencies
...
===> firewire/sbp_targ (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
ln -sf /common/S2/obj/usr/src/sys/CANARY/opt_cam.h opt_cam.h
ln -sf /common/S2/obj/usr/src/sys/CANARY/opt_scsi.h opt_scsi.h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/common/S2/obj/usr/src/sys/CANARY /usr/src/sys/modules/firewire/sbp_targ/../../../dev/firewire/sbp_targ.c
===> firmware (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/common/S2/obj/usr/src/sys/CANARY /usr/src/sys/modules/firmware/../../kern/subr_firmware.c
In file included from /usr/src/sys/modules/firmware/../../kern/subr_firmware.c:47:
@/sys/vnode.h:540:22: error: vnode_if.h: No such file or directory
mkdep: compile failed
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
g1-37(8.0-C)[15] 


Checking for files of similar name:

g1-37(8.0-C)[16] find . -type f -name vnode_if.\*
./sys/kern/vnode_if.src
./sys/tools/vnode_if.awk
g1-37(8.0-C)[17] 

So it *looks* to me as if sys/tools/vnode_if.awk might have needed to be
fed to awk(1), eating sys/kern/vnode_if.src & creating vnode_if.{c,h},
perhaps, but that apparently needs to happen before "make depend" is run?

I'm willing to experiment (as I'm able).

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080414/db02471c/attachment.pgp


More information about the freebsd-current mailing list