Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 17:28:17 +0100 (CET)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   alpha/46831: vr NIC crashes machine on ifconfig (maybe miibus)
Message-ID:  <200301071628.h07GSH1f007034@theater.dynamic.foldr.org>

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

>Number:         46831
>Category:       alpha
>Synopsis:       vr NIC crashes machine on ifconfig (maybe miibus)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 08:30:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.7-STABLE alpha
>Organization:
>Environment:
System: FreeBSD varphi.theater.foldr.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 3 17:22:51 CET 2023 root@varphi.theater.foldr.org:/usr/obj/usr/src/sys/VARPHI alpha


>Description:
The following NIC crashes the system on invoking "ifconfig vr0" after producing
two lines of output (after MAC):

vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x10000-0x100ff mem 0x81050000-0x810500ff irq 9 at device 12.0 on pci0
vr0: interrupting at ISA irq 9
vr0: Ethernet address: 00:05:5d:5f:55:d3
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  no media present
...
fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0x10
    a1         = 0x1
    a2         = 0x0
    pc         = 0xfffffc00006aaa18
    ra         = 0xfffffc000036f384
    curproc    = 0xfffffe0003992980
        pid = 336, comm = ifconfig

panic: trap

(kgdb) where
#0  0xfffffc00003a9b00 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:486
#1  0xfffffc00003a9648 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xfffffc00003a9ef0 in panic (fmt=0xfffffc00005b4c9c "trap") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xfffffc000055663c in trap (a0=16, a1=1, a2=18446741874755137120, entry=0, framep=0xfffffe000470bb10)
    at /usr/src/sys/alpha/alpha/trap.c:551
#4  0xfffffc00005482dc in XentMM ()
#5  0xfffffc000036f384 in mii_pollstat (mii=0xfffffe000045f380) at /usr/src/sys/dev/mii/mii.c:328
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x4
(kgdb) up 5
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x4
#5  0xfffffc000036f384 in mii_pollstat (mii=0xfffffe000045f380) at /usr/src/sys/dev/mii/mii.c:328
328                     (void) (*child->mii_service)(child, mii, MII_POLLSTAT);
(kgdb) list
323             mii->mii_media_status = 0;
324             mii->mii_media_active = IFM_NONE;
325     
326             for (child = LIST_FIRST(&mii->mii_phys); child != NULL;
327                  child = LIST_NEXT(child, mii_list))
328                     (void) (*child->mii_service)(child, mii, MII_POLLSTAT);
329     }
(kgdb) print child
$3 = (struct mii_softc *) 0xfffffe000045f380
(kgdb) print child->mii_service
$4 = 0xfffffc00006aa9c0

I'll extract more information if somebody wants to walk through it
(or I put up the files somewhere).

>How-To-Repeat:
100% reproducible on this machine, no trouble in 4.6-STABLE.
ifconfig vr0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200301071628.h07GSH1f007034>