From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 24 04:30:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5604B1065673 for ; Wed, 24 Jun 2009 04:30:02 +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 30D1F8FC0C for ; Wed, 24 Jun 2009 04:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5O4U24F080070 for ; Wed, 24 Jun 2009 04:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5O4U2JS080062; Wed, 24 Jun 2009 04:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 24 Jun 2009 04:30:02 GMT Resent-Message-Id: <200906240430.n5O4U2JS080062@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Rashid N. Achilov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42B6E1065670 for ; Wed, 24 Jun 2009 04:21:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 25C318FC0C for ; Wed, 24 Jun 2009 04:21:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5O4L9iX099650 for ; Wed, 24 Jun 2009 04:21:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5O4L952099649; Wed, 24 Jun 2009 04:21:09 GMT (envelope-from nobody) Message-Id: <200906240421.n5O4L952099649@www.freebsd.org> Date: Wed, 24 Jun 2009 04:21:09 GMT From: "Rashid N. Achilov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/135989: device vr support D-Link DFE-520TX, but none notified this X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 04:30:02 -0000 >Number: 135989 >Category: kern >Synopsis: device vr support D-Link DFE-520TX, but none notified this >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 24 04:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rashid N. Achilov >Release: 7.2-RELEASE >Organization: LLC "AS-System Complex" >Environment: FreeBSD 7.2-RELEASE #0: Wed Jun 10 14:19:08 NOVST 2009 glance kernel: root@glance.askd.gmbh:/usr/obj/usr/src/sys/Glance >Description: I had NIC D-Link DFE-520TX, but I could not detect, which driver supports this. NOTES file does not mark anything about this NIC svr-63:[root] 251>cd /sys/conf && grep 520 * NOTES:hint.uart.0.baud="115200" svr-63:[root] 255>cd /sys/i386/conf && grep 520 * LINT:options CONSPEED=115200 NOTES:# CPU_ELAN enables support for AMDs ElanSC520 CPU. NOTES:options CONSPEED=115200 # Speed for serial console I have to reload server with GENERIC kernel and this way I have detect, that this NIC supported by vr driver Jun 24 10:38:14 glance kernel: vr0: port 0xd800-0xd8ff mem 0xff8ffc00-0xff8ffcff irq 22 at device 1.0 on pci1 Jun 24 10:38:14 glance kernel: vr0: Quirks: 0x0 Jun 24 10:38:14 glance kernel: vr0: Revision: 0x8b Jun 24 10:38:14 glance kernel: miibus0: on vr0 Jun 24 10:38:14 glance kernel: ukphy0: PHY 1 on miibus0 Jun 24 10:38:14 glance kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Jun 24 10:38:14 glance kernel: vr0: Ethernet address: 00:1b:11:c3:8e:cc Jun 24 10:38:14 glance kernel: vr0: [ITHREAD] manual page about vr doesn't know anything about DFE-520TX (but claims about support DFE530-TX). So, only way to detect right driver for NIC is load server with GENERIC kernel, that's incorrect. I had done a coulpe simply patches, which included notification about supporting D-Link DFE-520TX NIC's >How-To-Repeat: Install D-Link DFE-520TX and try to guess, which driver support it without reloading GENERIC kernel or loading all available NIC drivers >Fix: Patches included Patch attached with submission follows: --- sys/conf/NOTES.old 2009-03-22 22:27:14.000000000 +0600 +++ sys/conf/NOTES 2009-06-24 11:11:13.000000000 +0700 @@ -1824,8 +1824,8 @@ # txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset # vr: Support for various fast ethernet adapters based on the VIA # Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips, -# including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking -# Technologies PN102TX, and the AOpen/Acer ALN-320. +# including the D-Link DFE520TX and D-Link DFE530TX (see 'rl' for DFE530TX+), +# the Hawking Technologies PN102TX, and the AOpen/Acer ALN-320. # vx: 3Com 3C590 and 3C595 # wb: Support for fast ethernet adapters based on the Winbond W89C840F chip. # Note: this is not the same as the Winbond W89C940F, which is a --- share/man/man4/vr.4.old 2008-04-11 10:49:47.000000000 +0700 +++ share/man/man4/vr.4 2009-06-24 11:16:35.000000000 +0700 @@ -130,6 +130,8 @@ .It AOpen/Acer ALN-320 .It +D-Link DFE520-TX +.It D-Link DFE530-TX .It Hawking Technologies PN102TX >Release-Note: >Audit-Trail: >Unformatted: