Subject: Re: kern/23341: panic: ifmedia_set with MII xcvr on ultra2 built-in hme
To: None <sly@mit.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 11/02/2003 14:14:51
On Sun, Nov 02, 2003 at 08:26:44AM +0000, sly@mit.edu wrote:
> 
> >Number:         23341
> >Category:       kern
> >Synopsis:       panic: ifmedia_set with MII xcvr on ultra2 built-in hme
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Sun Nov 02 08:29:00 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator:     Charlie Root
> >Release:        NetBSD 1.6.1
> >Organization:
> 	
> >Environment:
> 	
> 	
> System: NetBSD phantom.mit.edu 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Mon Apr 7 10:27:16 UTC 2003 autobuild@cs20.apochromatic.org:/autobuilder/build/netbsd-1-6/sparc64/OBJ/autobuilder/build/netbsd-1-6/src/sys/arch/sparc64/compile/GENERIC sparc64
> Architecture: sparc64
> Machine: sparc64
> >Description:
> The machine panics on boot if an MII->AUI transceiver is connected.
> The MII connector is part of the built-in hme. The machine itself
> is an Ultra2 Creator 3D.
> 
> console is keyboard/display
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
> 
> NetBSD 1.6ZD (GENERIC) #0: Sat Oct 18 15:36:21 UTC 2003
> 	autobuild@cs20.apochromatic.org:/autobuilder/build/HEAD/sparc64/OBJ/autobuilder/build/HEAD/src/sys/arch/sparc64/compile/GENERIC
> total memory = 320 MB
> avail memory = 285 MB
> using 2060 buffers containing 16480 KB of memory
> bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
> mainbus0 (root): SUNW,Ultra-2
> cpu0 at mainbus0: SUNW,UltraSPARC @ 167.995 MHz, version 0 FPU
> cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
> timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1
> sbus0 at mainbus0 addr 0xfffc8000: clock = 25 MHz
> DVMA map: ff800000 to ffffe000
> IOTSB: 1878000 to 187a000
> audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
> audio0 at audiocs0: full duplex
> auxio0 at sbus0 slot 15 offset 0x1900000
> flashprom at sbus0 slot 15 offset 0x0 not configured
> SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
> clock0 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid 80859504
> zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
> zstty0 at zs0 channel 0
> zstty1 at zs0 channel 1
> zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
> zstty2 at zs1 channel 0 (console input)
> kbd0 at zstty2 (console input)
> zstty3 at zs1 channel 1
> ms0 at zstty3
> sc at sbus0 slot 15 offset 0x1300000 not configured
> SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
> esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: FAS366/HME, 40MHz, SCSI ID 7
> scsibus0 at esp0: 16 targets, 8 luns per target
> hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: Sun Happy Meal Ethernet (SUNW,hme)
> hme0: Ethernet address 08:00:20:85:95:04
> ukphy0 at hme0 phy 0: Generic IEEE 802.3u media interface
> ukphy0: OUI 0x080020, model 0x0001, rev. 3
> ukphy0: 10baseT, 10baseT-FDX
> ifmedia_set: no match for 0x20/0xffffffff
> panic: ifmedia_set
> kdb breakpoint at 12ed110
> 
> >How-To-Repeat:
> Boot with an MII transceiver plugged in.  Note it boots
> just fine without the transceiver plugged in.

Can you also post the dmesg for a successul boot without the transceiver ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--