Subject: Re: 1.6_RC1 panic: ifmedia_set (nsphy0)
To: Rick Byers <rb-netbsd@BigScaryChildren.net>
From: Luke Mewburn <email@example.com>
Date: 08/15/2002 00:21:24
On Wed, Aug 14, 2002 at 10:18:38AM -0400, Rick Byers wrote:
| > I've seen this problem on a NetFinity 5000 with 1.6_BETA3.
| > I thought Jason's commit in rev 1.10 of sys/dev/pci/if_pcn.c had
| > fixed this (which I pulled up to -1-6 as rev 220.127.116.11), but obviously
| > not.
| > Try booting the machine on 1.6_RC1 without the cable plugged in, and
| > then plugging the cable in after boot. It is still likely to fail,
| > but it may not panic immediately.
| Wow. If I boot up with the cable unplugged, it boots up fine and the phy
| gets all the possible media types:
| pcn0 at pci1 dev 5 function 0: AMD PCnet-PCI Ethernet
| pcn0: Am79c971 PCnet-FAST rev 5, Ethernet address 00:60:94:57:3b:b9
| pcn0: interrupting at irq 14
| nsphy0 at pcn0 phy 1: DP83840 10/100 media interface, rev. 1
| nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
| Then I can plug the cable in and configure the interface, and it
| appears to work fine! What else can I do to help debug this problem?
Does the interface actually work after you configure it?
(I.e, can you use it?)