From owner-freebsd-alpha Tue Jan 7 8:30: 9 2003 Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5625037B401 for ; Tue, 7 Jan 2003 08:30:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1DC543ED1 for ; Tue, 7 Jan 2003 08:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h07GU4NS034640 for ; Tue, 7 Jan 2003 08:30:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h07GU4a6034638; Tue, 7 Jan 2003 08:30:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDD3337B401 for ; Tue, 7 Jan 2003 08:28:28 -0800 (PST) Received: from lambda.foldr.org (lambda.foldr.org [198.78.66.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5237843E4A for ; Tue, 7 Jan 2003 08:28:28 -0800 (PST) (envelope-from vs@foldr.org) Received: from theater.foldr.org (root@pD9509CBD.dip.t-dialin.net [217.80.156.189]) by lambda.foldr.org (8.12.3/8.11.6) with ESMTP id h07GSKbc056033 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Tue, 7 Jan 2003 17:28:22 +0100 (CET) (envelope-from vs@foldr.org) Received: from theater.dynamic.foldr.org (vs@localhost.foldr.org [127.0.0.1]) by theater.foldr.org (8.12.5/8.12.5) with ESMTP id h07GSI6m007035 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Tue, 7 Jan 2003 17:28:19 +0100 (CET) (envelope-from vs@theater.dynamic.foldr.org) Received: (from vs@localhost) by theater.dynamic.foldr.org (8.12.5/8.12.5/Submit) id h07GSH1f007034; Tue, 7 Jan 2003 17:28:17 +0100 (CET) (envelope-from vs) Message-Id: <200301071628.h07GSH1f007034@theater.dynamic.foldr.org> Date: Tue, 7 Jan 2003 17:28:17 +0100 (CET) From: Volker Stolz Reply-To: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: alpha/46831: vr NIC crashes machine on ifconfig (maybe miibus) Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: 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: on vr0 ukphy0: 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