From owner-freebsd-stable@FreeBSD.ORG Wed Mar 21 08:12:21 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BF2616A418 for ; Wed, 21 Mar 2007 08:12:21 +0000 (UTC) (envelope-from eilko@bos-zuidema.nl) Received: from hobbes.brasapen.org (tafkam.xs4all.nl [82.92.76.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0162513C44C for ; Wed, 21 Mar 2007 08:12:20 +0000 (UTC) (envelope-from eilko@bos-zuidema.nl) Received: from localhost (localhost [127.0.0.1]) by hobbes.brasapen.org (Postfix) with ESMTP id 71CFB114B8; Wed, 21 Mar 2007 09:12:49 +0100 (CET) X-Virus-Scanned: amavisd-new at bos-zuidema.nl Received: from hobbes.brasapen.org ([127.0.0.1]) by localhost (wilma.brasapen.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vOzq6+TZQXj7; Wed, 21 Mar 2007 09:12:38 +0100 (CET) Received: from webmail.home.brasapen.org (webmail.home.brasapen.org [172.20.1.10]) by hobbes.brasapen.org (Postfix) with ESMTP id 6C43D1142D; Wed, 21 Mar 2007 09:12:38 +0100 (CET) Received: by webmail.home.brasapen.org (Postfix, from userid 1001) id 0EC991CC49; Wed, 21 Mar 2007 09:12:08 +0100 (CET) Date: Wed, 21 Mar 2007 09:12:07 +0100 From: Eilko Bos To: Tom Samplonius Message-ID: <20070321081207.GA98311@webmail.home.brasapen.org> References: <20070320225622.GA98185@webmail.home.brasapen.org> <23548459.691174449417873.JavaMail.root@ly.sdf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23548459.691174449417873.JavaMail.root@ly.sdf.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-stable@freebsd.org, Eilko Bos Subject: Re: interface re0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 08:12:21 -0000 Hi, >From the keyboard of Tom Samplonius, written on Tue, Mar 20, 2007 at 08:56:57PM -0700: > > re0: port > > 0xb800-0xb8ff mem 0xf7000000-0xf70000ff irq 11 at device 15.0 on pci0 > > re0: MII without any phy! > > device_attach: re0 attach returned 6 > > > > Does anybody have an idea how this can be fixed? This is my complete > ... > > I recommend you do a rebose boot (which will print the PCI id of the card), and attach it to a PR. Perhaps the re maintainer can hack the driver for a special exception for your NIC. Spooky, I removed the other cards (xl0/3com and ed0), rebooted and the card was recognized. Then I inserted the NICS again, one by one, each time followed by a reboot to see if the card keeps working. Now it works every time I boot the system: ed0: port 0xd400-0xd41f at device 13.0 on pci0 ed0: Ethernet address: 52:54:05:df:a6:4e ed0: type RTL8029 (16 bit) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd000-0xd07f mem 0xf7800000-0xf780 007f at device 14.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:5a:cb:2f:c7 re0: port 0xb800-0xb8ff mem 0xf7000000-0xf70000ff at device 15.0 on pci0 miibus1: on re0 rgephy0: on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-F DX, auto re0: Ethernet address: 00:16:0a:05:71:5f re0: [FAST] However, this behaviour does not give me a real good feeling... > But em cards (Intel Pro1000GT Desktop) cards are very cheap, and do work. Why buy RealTek? RealTek has been outputting overly simplistic hardware since the beginning. If there was a corner that could be cut when building a NIC, a RealTek engineer thought of it first. I asked a friend to buy me a 100Mbit NIC (he works next to a computer store), but those were out of stock. So he bought me this one and since it is recognized (as re0) I assumed it would work :) And because it does right now, I can live with it. It is not a critical interface, if it happens again that it does not work, I will post the pciconf -lv output. Grtz, -- Eilko.