de0 doze off
Robert Watson
rwatson at freebsd.org
Fri Sep 17 11:43:06 PDT 2004
On Fri, 17 Sep 2004, Raphael H. Becker wrote:
> > Another possible testing avenue (which might be slightly unstable but
> > would illustrate the point) would be to leave debug.mpsafenet=1,
>
> ok
>
> > disable preemption,
>
> Sorry, how exactly do I do this?
"options PREEMPTION" may appear in your kernel configuration file -- if it
does, comment it out and re-config/re-compile.
> > and remove the IFF_NEEDSGIANT flag from the if_de driver flags.
>
> edited as following
>
> --- if_de.c.orig Fri Sep 17 18:53:41 2004
> +++ if_de.c Fri Sep 17 18:54:00 2004
> @@ -4758,7 +4758,7 @@
> /* XXX: driver name/unit should be set some other way */
> ifp->if_dname = "de";
> ifp->if_dunit = sc->tulip_unit;
> - ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_MULTICAST|IFF_NEEDSGIANT;
> + ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_MULTICAST;
Looks good. This may result in reduced stability, but it may also tell us
specifically if there's a problem with the IFF_NEEDSGIANT mechanism.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org Principal Research Scientist, McAfee Research
More information about the freebsd-current
mailing list