Subject: Re: wm0 mediachange panic
To: None <current-users@NetBSD.org>
From: haad <haaaad@gmail.com>
List: current-users
Date: 12/03/2006 13:10:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernd Ernesti wrote:
> On Sun, Dec 03, 2006 at 12:02:45PM +0100, haad wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi
>>
>> When I boot 4.99.4 newly compiled kernel I got this panic message.
>>
>> wm0_gmii_mediachange: bad media 0x22.
> 
> Hmm, 0x22 == IFM_ETHER + ????
> The ethernet defines start at 3 and ends at 20.
> 
> Thats strange, but
> 
>> 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
> 
> Bernd
> 
> 
Thx after recompiling kernel with makphy works fine for me :D

Regards
- --
- ---------------------------------------------------------------
Adam Hamsik
ICQ 249727910
jabber haad@jabber.org
- ---------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
				
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcr7G9Wt2FT7y228RAmoSAJ9O5cGMVuWr7Bf1DBoMKtqv3Jad8QCfbbQb
2vL6noVcl5EKwCjIqALxc0c=
=pHW0
-----END PGP SIGNATURE-----