Subject: kern/16346: pcn driver panics on startup in IBM PC/325
To: None <>
From: Jim Wise <>
List: netbsd-bugs
Date: 04/14/2002 01:12:23
>Number:         16346
>Category:       kern
>Synopsis:       pcn driver panics on startup in IBM PC/325
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 13 22:13:00 PDT 2002
>Originator:     Jim Wise
>Release:        NetBSD 1.5ZA
				Jim Wise
System: NetBSD 1.5ZA NetBSD 1.5ZA (HIMRING) #6: Sun Feb 24 15:18:05 EST 2002 i386
Architecture: i386
Machine: i386
The controller is the onboard AMD PCnet-FAST in an IBM PC/Server
325.  Using the le driver, it works fine with one quirk:  ifconfig
-m only lists 10baseT and 10base5 (there is no 10base5 connector
present, btw) as media options, and consequently it cannot be
explicitly set to 100baseTX.  If set to `media autoselect', however,
it correctly selects 100baseTX, and runs fine.

Kernel config includes pcn at pci, and all phy variants.  With the
pcn driver, here's what I get.  This is hand-copied, so forgive

On console:

pcn0 at pci1 dev 5 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c971 PCnet-FAST rev 5, Ethernet address 00:06:29:05:8c:91
pcn0: interrupting at irq 15
nsphy0 at pcn0 phy 1: DP83840 media interface, rev 1
nsphy0: no media present
ifmedia_set: no match for 0x20/0xffffffff
panic: ifmedia_set

Relevant part of traceback is:


	configure a kernel with pcn0 instead of le0 in an IBM PC Server 325
	no idea