From owner-freebsd-net@FreeBSD.ORG Wed Dec 12 21:00:08 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A353B16A420 for ; Wed, 12 Dec 2007 21:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D69F13C459 for ; Wed, 12 Dec 2007 21:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBCL08sW038721 for ; Wed, 12 Dec 2007 21:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBCL08ib038720; Wed, 12 Dec 2007 21:00:08 GMT (envelope-from gnats) Date: Wed, 12 Dec 2007 21:00:08 GMT Message-Id: <200712122100.lBCL08ib038720@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Andy Farkas" Cc: Subject: Re: kern/112654: [pcn] [patch] Kernel panic upon if_pcn module load on a Netfinity 5000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andy Farkas List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 21:00:08 -0000 The following reply was made to PR kern/112654; it has been noted by GNATS. From: "Andy Farkas" To: bug-followup@freebsd.org, keve.mail.poliod.hu@freebsd.org Cc: Subject: Re: kern/112654: [pcn] [patch] Kernel panic upon if_pcn module load on a Netfinity 5000 Date: Thu, 13 Dec 2007 06:26:18 +1000 This patch will fix the panic when loading if_pcn. It causes mii to use nsphy rather than ukphy. I am running FreeBSD 7.0-BETA4 but it should apply to RELENG_6 ok. $FreeBSD: src/sys/dev/mii/nsphy.c,v 1.28 2007/01/12 22:27:46 marius Exp $ --- /sys/dev/mii/nsphy.c-orig 2007-12-12 06:12:28.644008301 +1000 +++ /sys/dev/mii/nsphy.c 2007-12-12 22:10:08.535150808 +1000 @@ -121,6 +121,7 @@ static const struct mii_phydesc nsphys[] = { MII_PHY_DESC(NATSEMI, DP83840), + MII_PHY_DESC(NATSEMI, DP83843), MII_PHY_END }; dmesg.boot now shows: pcn0: port 0x2180-0x219f mem 0xfebfcc00-0xfebfcc1f irq 17 at device 9.0 on pci0 pcn0: Chip ID 2624 (Am79C972) miibus0: on pcn0 nsphy0: PHY 1 on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy0: PHY 31 on miibus0 ukphy0: 10baseT, 10baseT-FDX, auto pcn0: using obsoleted if_watchdog interface pcn0: Ethernet address: 00:06:29:57:27:70 pcn0: [ITHREAD] ps. hope gmail doesn't mangle the patch too much. -andyf