Subject: Re: 1.6_RC1 panic: ifmedia_set (nsphy0)
To: Luke Mewburn <email@example.com>
From: Rick Byers <rb-netbsd@BigScaryChildren.net>
Date: 08/14/2002 10:18:38
> 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 18.104.22.168), but obviously
> 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?