Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Feb 1999 17:14:43 -0800
From:      Julian Elischer <julian@whistle.com>
To:        hackers@FreeBSD.ORG
Subject:   Seen fxp or mbuf problems?
Message-ID:  <36BA4603.1CFBAE39@whistle.com>

next in thread | raw e-mail | index | archive | help
Anyone seen bugs in fxp driver or mbuf related code recently?

Here is a crash dump from a system about 10 days old (3.x series)

We are willing to believe that we've done this (we do enough 
networking stuff but I'm just looking to see if there
is anyone else that has seen this.

julian


(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
#1  0xf0110508 in at_shutdown (function=0xf019544f <sysarch+255>, 
    arg=0xf318cfa0, queue=-266129176) at ../../kern/kern_shutdown.c:446
#2  0xf0196155 in trap_fatal (frame=0xf3249d8c, eva=4031301104)
    at ../../i386/i386/trap.c:942
#3  0xf0195beb in trap_pfault (frame=0xf3249d8c, usermode=0,
eva=4031301104)
    at ../../i386/i386/trap.c:835
#4  0xf0195862 in trap (frame={tf_es = -216203248, tf_ds = 187039760, 
      tf_edi = -264698464, tf_esi = -1073342976, tf_ebp = -215704104, 
      tf_isp = -215704140, tf_ebx = -264698496, tf_edx = 1441264, 
      tf_ecx = -264654846, tf_eax = -265107456, tf_trapno = 12, 
      tf_err = -215744512, tf_eip = -266996960, tf_cs = -267059192, 
      tf_eflags = 66054, tf_esp = -264698880, tf_ss = -262550016})
    at ../../i386/i386/trap.c:437
#5  0xf015f320 in fxp_add_rfabuf (sc=0xf059ce00, oldm=0xf0390400)
    at ../../pci/if_fxp.c:1535
#6  0xf015e7cc in fxp_intr (arg=0xf059ce00) at ../../pci/if_fxp.c:1000
#7  0xf0103342 in intr_mux (arg=0xf0599f20) at ../../kern/kern_intr.c:99
#8  0xf0181034 in vm_map_lookup (var_map=0xf3249f0c, vaddr=135299072, 
    fault_typea=3 '\003', out_entry=0xf3249f10, object=0xf3249f04, 
    pindex=0xf3249f08, out_prot=0xf3249ef3 "", wired=0xf3249eec)
    at ../../vm/vm_map.c:2538
#9  0xf017c7ef in vm_fault (map=0xf3279700, vaddr=135299072, 
    fault_type=3 '\003', fault_flags=8) at ../../vm/vm_fault.c:198
#10 0xf0195b7e in trap_pfault (frame=0xf3249fbc, usermode=1,
eva=135299072)
    at ../../i386/i386/trap.c:816
#11 0xf01956fe in trap (frame={tf_es = 39, tf_ds = 39, tf_edi =
135299072, 
      tf_esi = 2, tf_ebp = -272640432, tf_isp = -215703580, tf_ebx =
8192, 
      tf_edx = 0, tf_ecx = 2048, tf_eax = -791621424, tf_trapno = 12, 
      tf_err = 6, tf_eip = 672599431, tf_cs = 31, tf_eflags = 66054, 
      tf_esp = -272640484, tf_ss = 39}) at ../../i386/i386/trap.c:358
#12 0x28170d87 in ?? ()
#13 0x281701ee in ?? ()
#14 0x281708fe in ?? ()
#15 0x804a27f in ?? ()
#16 0x804aa70 in ?? ()
#17 0x804bc30 in ?? ()

---------------------------------------------

fxp_add_rfabuf(sc, oldm)
        struct fxp_softc *sc;
        struct mbuf *oldm;
{
        u_int32_t v;
        struct mbuf *m;
        struct fxp_rfa *rfa, *p_rfa;
 
        MGETHDR(m, M_DONTWAIT, MT_DATA);
        if (m != NULL) { 
                MCLGET(m, M_DONTWAIT);   <-------- error here.
                if ((m->m_flags & M_EXT) == 0) {
                        m_freem(m);
                        if (oldm == NULL)
                                return 1;
                        m = oldm;
                        m->m_data = m->m_ext.ext_buf;
                }
        } else {

(kgdb) p mclfree
$3 = (union mcluster *) 0xa0225000

*cough*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36BA4603.1CFBAE39>