Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  2 Nov 2000 15:28:49 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        wpaul@freebsd.org
Cc:        freebsd-alpha@freebsd.org
Subject:   if_dc panics -stable machine on ifconfig
Message-ID:  <14849.51386.947190.275539@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

Bill,

Your recent changes to if_dc cause my alpha to panic upong ifconfig'ing
dc0, which is a DE500-BA:



FreeBSD 4.2-BETA #4: Thu Nov  2 13:48:21 EST 2000
    gallatin@thunder.cs.duke.edu:/.amd_mnt/muffin/export/ari_scratch2/gallatin/stable/sys/compile/THUNDER
UP1000
<...>
dc0: <Intel 21143 10/100BaseTX> port 0x10100-0x1017f mem 0x41353100-0x4135317f irq 10 at device 9.0 on pci0
dc0: interrupting at ISA irq 10
dc0: Ethernet address: 00:00:f8:07:b6:45
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
<...>

/dev/ad0e: clean, 1049997 free (1429 frags, 131071 blocks, 0.1% fragmentation)
Doing initial network setup: hostname domain.

fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0xefefefefefefefef
    a1         = 0x1
    a2         = 0x0
    pc         = 0xfffffc00004eebd0
    ra         = 0xfffffc00004ed000
    curproc    = 0xfffffe0006526c40
        pid = 49, comm = ifconfig



According to gdb on a debug kernel, this maps to:
(gdb) l *0xfffffc00004eebd0
0xfffffc00004eebd0 is in dc_apply_fixup (../../pci/if_dc.c:1501).
1496
1497            if (m == NULL)
1498                    return;
1499
1500            for (i = 0, p = m->dc_reset_ptr; i < m->dc_reset_len; i++, p += 2) {
1501                    reg = (p[0] | (p[1] << 8)) << 16;
1502                    CSR_WRITE_4(sc, DC_WATCHDOG, reg);
1503            }
1504
1505            for (i = 0, p = m->dc_gp_ptr; i < m->dc_gp_len; i++, p += 2) {



Cheers,

Drew


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




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