From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 09:36:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9200A16A4CE for ; Sun, 25 Jul 2004 09:36:15 +0000 (GMT) Received: from thea.hmdnsgroup.com (thea.hmdnsgroup.com [63.247.141.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F5FC43D1F for ; Sun, 25 Jul 2004 09:36:15 +0000 (GMT) (envelope-from andy_lists@bananabread.net) Received: from adsl-63-207-15-39.dsl.snfc21.pacbell.net ([63.207.15.39] helo=[192.168.123.101]) by thea.hmdnsgroup.com with asmtp (Exim 4.34) id 1BofQP-0000mw-BT for freebsd-current@freebsd.org; Sun, 25 Jul 2004 05:36:09 -0400 Message-ID: <41037F09.8040704@bananabread.net> Date: Sun, 25 Jul 2004 02:36:09 -0700 From: "Andrew C. Brown" User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - thea.hmdnsgroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bananabread.net X-Source: X-Source-Args: X-Source-Dir: Subject: Netgear GA311 Gigabit eth adapt gets "re0 attach returned 6" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2004 09:36:15 -0000 I just picked up a couple of Netgear GA311 gigabit ethernet PCI adapters and am trying to get one working on my FBSD server. I'm running FBSD 5.2. The GA311 uses the RealTek 8169S Chip which I understand to be supported by the "re" driver, so I compiled "re" into my kernel but it didn't work. When I boot, a bunch of odd things happen. At power up, the 100MB/s light on the NIC immediately lights, even when cabled into either of a couple of different gigabit devices. Then during boot sequence, it correctly identifies the card chipset and matching driver type and tries to attach them but fails. It says: re0: MII without any phy! device_probe_attach: re0 attach returned 6 I've Googled aggressively but haven't found enough info to be any use and just haven't been able to get a clue of even what type of problem I'm encountering. Does it come down to a driver bug? Or can I fix this? dmesg appended below. Thanks for any ideas. Andrew For my email address see webmaster link at http://stanfordthirdward.org ---------------------------------- Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-RELEASE #3: Sat Jul 24 20:09:14 PDT 2004 root@black.home:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a33000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a331f4. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1102.51-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000 real memory = 268369920 (255 MB) avail memory = 251047936 (239 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdd90 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 11 pcib0: slot 7 INTD is routed to irq 11 pcib0: slot 7 INTC is routed to irq 5 pcib0: slot 9 INTA is routed to irq 10 pcib0: slot 11 INTA is routed to irq 11 pcib0: slot 13 INTA is routed to irq 11 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 12 pcib1: slot 0 INTA is routed to irq 12 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xb000-0xb00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0x9c00-0x9c1f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 uhub1: 4 ports with 4 removable, self powered ukbd0: ATEN 4 Port USB KVM B V1.30, rev 1.10/1.00, addr 3, iclass 3/1 kbd1 at ukbd0 ums0: ATEN 4 Port USB KVM B V1.30, rev 1.10/1.00, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0xa000-0xa01f irq 11 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhub2: port error, restarting port 1 pci0: at device 7.4 (no driver attached) pci0: at device 7.5 (no driver attached) re0: port 0x9000-0x90ff mem 0xd9105000-0xd91050ff irq 10 at device 9.0 on pci0 re0: Ethernet address: 00:ff:ff:ff:ff:ff re0: MII without any phy! device_probe_and_attach: re0 attach returned 6 atapci1: port 0xc400-0xc40f,0xc000-0xc003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 mem 0xd9100000-0xd9103fff irq 11 at device 11.0 on pci0 atapci1: [MPSAFE] ata2: at 0xb400 on atapci1 ata2: [MPSAFE] ata3: at 0xbc00 on atapci1 ata3: [MPSAFE] fxp0: port 0xc800-0xc81f mem 0xd9000000-0xd90fffff,0xd9104000-0xd9104fff irq 11 at device 13.0 on pci0 fxp0: Ethernet address 00:90:27:1c:05:fd miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: