Subject: kern/19504: panic with fxp (i82557) at ifmedia_set
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mjr318@psu.edu>
List: netbsd-bugs
Date: 12/23/2002 02:18:23
>Number:         19504
>Category:       kern
>Synopsis:       panic with fxp (i82557) at ifmedia_set
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 23 02:19:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matt Rickard
>Release:        1.6_STABLE
>Organization:
>Environment:
NetBSD 1.6_STABLE (INSTALL)
>Description:
I'm setting up an old Compaq Deskpro P166MMX system with a PCI Intel NIC
based on the i82557 chipset.  When booting the kernel, the NIC is detected properly, but panics on ifmedia_set.  The relevant output is shown below.


fxp0 at pci dev 4 function 0: Intel i82557 Ethernet, rev 1
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:a0:c9:19:0a:0a
iophy0 at fxp0 phy 1: i82553 10/100 media interface, rev. 0
iophy0: 10baseT, 10baseT-FDX, 100baseT4
ifmedia_set: no match for 0x20/0xfffffff
panic: ifmedia_set
Stopped in pid 0 (swapper) at 0xc027bb0c:   leave


It seems like it isn't negotiating the link speed properly.  I'm pretty
sure this particular card can't do 100baseTX, but it should definitely
work at 10baseT.  It did run properly at 10mbps under OpenBSD, so I know
the card is good.

Any ideas on what's going wrong here?  Is there some way to skip the
ifmedia detection and force it into 10mbps?  Is this a bug in the code for the driver itself?

>How-To-Repeat:
To repeat you need only to boot a system using this particular NIC card.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: