Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 22:55:35 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: wmnet-1.2 broken by if_poll_slowq
Message-ID:  <20040521055535.GA43894@xor.obsecurity.org>
In-Reply-To: <20040504133555.A69126@xorpc.icir.org>
References:  <20040504200316.GK19436@xor.obsecurity.org> <20040504133555.A69126@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 04, 2004 at 01:35:55PM -0700, Luigi Rizzo wrote:
> On Tue, May 04, 2004 at 01:03:16PM -0700, Kris Kennaway wrote:
> > Can whoever made this change please develop a patch for the port?
>=20
> looking at the code, i would just compile it with -DNDEBUG
> Alternatively, this one should work (beware of whitespace,
> i cut&pasted...)

Is this patch also appropriate for 4.x?

Kris

>=20
> 	cheers
> 	luigi
>=20
> luigi# diff -ubwr if.c.orig if.c
> --- if.c.orig   Tue May  4 22:37:31 2004
> +++ if.c        Tue May  4 22:39:56 2004
> @@ -186,7 +186,6 @@
>  #endif
>                         d.if_bpf =3D 0;
>                         d.if_linkmib =3D 0;
> -                       d.if_poll_slowq =3D 0;
>  #endif
>                         c =3D a;
>                         return &d;
>=20
> > Kris
> >=20
> > ----- Forwarded message from User Ports-i386 <ports-i386@FreeBSD.org> -=
----
> >=20
> > X-Original-To: kkenn@localhost
> > Delivered-To: kkenn@localhost.obsecurity.org
> > Delivered-To: kris@freebsd.org
> > Date: Tue, 4 May 2004 16:57:00 GMT
> > From: User Ports-i386 <ports-i386@FreeBSD.org>
> > To: kris@FreeBSD.org
> > Subject: wmnet-1.2 failed on i386 5
> > X-UIDL: \mP!!4(<"!mej!!H^p"!
> > X-Bogosity: No, tests=3Dbogofilter, spamicity=3D0.000000, version=3D0.1=
7.5
> >=20
> > building wmnet-1.2 on gohan11
> > in directory /x/tmp/5/chroot/12473
> > maintained by: ports@FreeBSD.org
> > build started at Tue May  4 16:55:21 GMT 2004
> > add_pkg
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 1: m=
ake checksum>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D>  Vulnerability check disabled
> > >> wmnet-1.2.tar.gz doesn't seem to exist in /tmp/distfiles/.
> > >> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/po=
rts/distfiles//.
> > wmnet-1.2.tar.gz                                        19 kB 1011 kBps
> > >> Checksum OK for wmnet-1.2.tar.gz.
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 2: m=
ake extract>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > add_pkg
> > =3D=3D=3D>  Vulnerability check disabled
> > =3D=3D=3D>  Extracting for wmnet-1.2
> > >> Checksum OK for wmnet-1.2.tar.gz.
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 3: m=
ake patch>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > add_pkg
> > =3D=3D=3D>  Patching for wmnet-1.2
> > =3D=3D=3D>  Applying FreeBSD patches for wmnet-1.2
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 4: m=
ake build>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > add_pkg XFree86-libraries-4.3.0_7.tbz expat-1.95.7.tbz fontconfig-2.2.2=
,1.tbz freetype2-2.1.7_3.tbz imake-4.3.0_2.tbz perl-5.8.2_5.tbz pkgconfig-0=
.15.0_1.tbz
> > adding dependencies
> > pkg_add XFree86-libraries-4.3.0_7.tbz
> > Running fc-cache to build fontconfig cache...
> > fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 13 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/CID": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/PEX": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts,=
 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/latin2": caching, 0 fonts, 2 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/100dpi": caching, 0 fonts, 0=
 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/75dpi": caching, 0 fonts, 0 =
dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 0 fonts, 0 dirs
> > fc-cache: "/usr/X11R6/lib/X11/fonts/util": caching, 0 fonts, 0 dirs
> > fc-cache: "/root/.fonts": skipping, no such directory
> > fc-cache: succeeded
> > pkg_add expat-1.95.7.tbz
> > skipping expat-1.95.7, already added
> > pkg_add fontconfig-2.2.2,1.tbz
> > skipping fontconfig-2.2.2,1, already added
> > pkg_add freetype2-2.1.7_3.tbz
> > skipping freetype2-2.1.7_3, already added
> > pkg_add imake-4.3.0_2.tbz
> > skipping imake-4.3.0_2, already added
> > pkg_add perl-5.8.2_5.tbz
> > skipping perl-5.8.2_5, already added
> > pkg_add pkgconfig-0.15.0_1.tbz
> > skipping pkgconfig-0.15.0_1, already added
> > =3D=3D=3D>   wmnet-1.2 depends on shared library: X11.6 - found
> > =3D=3D=3D>  Configuring for wmnet-1.2
> > =3D=3D=3D>  Building for wmnet-1.2
> > cc -c -O -pipe   -g -Wall -I/usr/X11R6/include main.c -o main.o
> > cc -c -O -pipe   -g -Wall -I/usr/X11R6/include if.c -o if.o
> > if.c: In function `dereference':
> > if.c:201: error: structure has no member named `if_poll_slowq'
> > *** Error code 1
> >=20
> > Stop in /tmp/a/ports/net/wmnet/work/wmnet-1.2.
> > *** Error code 1
> >=20
> > Stop in /a/ports/net/wmnet.
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > build ended at Tue May  4 16:56:57 GMT 2004
> >=20
> >=20
> > ----- End forwarded message -----
>=20
>=20
>=20

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFArZnXWry0BWjoQKURAn8bAKDI6fDPP/IVv+X+0EAZYwQcWWbeWgCePlUH
9Jy/htVyggwBsVfRvYwlcR0=
=ywuo
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040521055535.GA43894>