Subject: Re: wm0 mediachange panic
To: None <current-users@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 12/03/2006 10:41:57
On Sun, 3 Dec 2006 12:24:31 +0100
Bernd Ernesti <netbsd@lists.veego.de> wrote:


> > My functional dmesg:
> > 
> > wm0 at pci2 dev 1 function 0: Intel i82540EP 1000BASE-T Ethernet,
> > rev. 3 wm0: interrupting at irq 9
> > wm0: 32-bit 33MHz PCI bus
> > wm0: 64 word (6 address bits) MicroWire EEPROM
> > wm0: Ethernet address 00:0d:60:37:3d:87
> > OUI 0x000ac2 model 0x0002 rev 4 at wm0 phy 1 not configured
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Imho, thats your problem.
> 
> My guess is that your custom kernel doesn't include makphy:
> 
> makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
> 
So why is that a reason for a panic, as opposed to returning ENXIO or
some such?


		--Steve Bellovin, http://www.cs.columbia.edu/~smb