Date: Sun, 13 Apr 2008 20:47:17 -0700 From: David Wolfskill <david@catwhisker.org> To: Sam Leffler <sam@errno.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: CFT: 802.11 vap code Message-ID: <20080414034717.GG9080@bunrab.catwhisker.org> In-Reply-To: <480294E2.1000907@errno.com> References: <480294E2.1000907@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--GUPx2O/K0ibUojHx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > http://www.freebsd.org/~sam/vap-2008051300.sh.gz >=20 > Note this is a shell script that overlays the CVS contents for HEAD. > To apply it you do something like: >=20 > cvs -d /usr/ncvs co src > cd src > gzcat ../vap-2008051300.sh.gz | sh >=20 > 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=20 FreeBSD g1-37.catwhisker.org 8.0-CURRENT FreeBSD 8.0-CURRENT #745: Sun Apr = 13 08:43:32 PDT 2008 root@g1-37.catwhisker.org:/common/S4/obj/usr/src/s= ys/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 =2E.. >>> Kernel build for CANARY started on Sun Apr 13 20:03:34 PDT 2008 =2E.. >>> stage 3.1: making dependencies =2E.. =3D=3D=3D> 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 =3D=3D=3D> 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_firmwar= e.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]=20 Checking for files of similar name: g1-37(8.0-C)[16] find . -type f -name vnode_if.\* =2E/sys/kern/vnode_if.src =2E/sys/tools/vnode_if.awk g1-37(8.0-C)[17]=20 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 --=20 David H. Wolfskill david@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. --GUPx2O/K0ibUojHx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkgC08QACgkQmprOCmdXAD3fSwCfV0esj3o1843U7KOCgSudSpuc XtgAn0XXBadF6NxGRRZJRu0BHr5SQIqH =ce7O -----END PGP SIGNATURE----- --GUPx2O/K0ibUojHx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080414034717.GG9080>