"s/stable/broken/g"

John Baldwin jhb at freebsd.org
Wed Mar 26 14:00:40 PDT 2008


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


More information about the freebsd-stable mailing list