Panic in socreate (Re: override for mpd)

Matthew Dillon dillon at apollo.backplane.com
Wed Apr 7 09:11:29 PDT 2004


    Well, this is one for Jeff.  Proto 47 must be something that is being
    dynamically created.  The crash is occuring here in socreate():

        if (proto)
                prp = pffindproto(dom, proto, type);
        else
                prp = pffindtype(dom, type);

        if (prp == 0 || prp->pr_usrreqs->pru_attach == 0)
                return (EPROTONOSUPPORT);

    My assumption is that prp->pr_usrreqs is NULL.  Jeff?

						-Matt

:Fatal trap 12: page fault while in kernel mode
:fault virtual address	= 0x10
:fault code		= supervisor read, page not present
:instruction pointer	= 0x8:0xc01769d8
:stack pointer		= 0x10:0xc7d9ebdc
:frame pointer		= 0x10:0xc7d9ebf4
:code segment		= base 0x0, limit 0xfffff, type 0x1b
:...
:#5  0xc0216468 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0,
:      tf_esi = -1071185964, tf_ebp = -942019596, tf_isp = -942019640,
:      tf_ebx = -942019539, tf_edx = -1071185964, tf_ecx = -1071185856,
:      tf_eax = -1071182144, tf_trapno = 12, tf_err = 0, tf_eip = -1072207400,
:      tf_cs = 8, tf_eflags = 66182, tf_esp = -942019539, tf_ss = -968006600})
:    at /home/source/dragonfly/src/sys/i386/i386/trap.c:550
:#6  0xc01769d8 in socreate (dom=2, aso=0xc64d6440, type=3, proto=47,
:    td=0xc026e2e0) at /home/source/dragonfly/src/sys/kern/uipc_socket.c:141
:#7  0xc01a1e87 in ng_ksocket_newhook (node=0xc6529118, hook=0xc0f41ec0,
:    name0=0xc650957c "inet/raw/gre")
:    at /home/source/dragonfly/src/sys/netgraph/ksocket/ng_ksocket.c:605
:#8  0xc019af96 in ng_add_hook (node=0xc6529118,
:    name=0xc650957c "inet/raw/gre", hookp=0xc7d9ec70)
:    at /home/source/dragonfly/src/sys/netgraph/netgraph/ng_base.c:702
:...





More information about the Bugs mailing list