Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 17:00:12 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Peter Much <pmc@citylink.dinoex.sub.org>
Subject:   Re: "s/stable/broken/g"
Message-ID:  <200803261700.12851.jhb@freebsd.org>
In-Reply-To: <Jy75oC.Es7@citylink.dinoex.sub.org>
References:  <Jy5EA6.1n3@citylink.dinoex.sub.org> <Jy75oC.Es7@citylink.dinoex.sub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 23 March 2008 02:50:36 pm Peter Much wrote:
> 
> And the party continues... 
> When starting my usual environment, there is already the next pagefault 
> kernel panic!
> 
> Tracking it down... it's the "type" keyword in devfs rules. According
> to the manpage, support for this was _not_ withdrawn. 
> But actually, entering something like
> 	devfs rule apply type tape WHATEVER
> crashes the system.

Try this patch for de(4).  You need to supply the panic details for the devfs 
one (I've used devfs rules w/o issue on lots of machines 
via /etc/devfs.conf).

Index: if_de.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/de/if_de.c,v
retrieving revision 1.183
diff -u -r1.183 if_de.c
--- if_de.c	7 Jun 2007 00:28:47 -0000	1.183
+++ if_de.c	26 Mar 2008 20:58:19 -0000
@@ -4053,7 +4053,8 @@
     /*
      * bounce a copy to the bpf listener, if any.
      */
-    BPF_MTAP(sc->tulip_ifp, m);
+    if (!(sc->tulip_flags & TULIP_DEVICEPROBE))
+	    BPF_MTAP(sc->tulip_ifp, m);
 
     /*
      * The descriptors have been filled in.  Now get ready

-- 
John Baldwin



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