From owner-freebsd-current@FreeBSD.ORG Sat Jun 19 19:31:37 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 A2ECE16A4CE; Sat, 19 Jun 2004 19:31:37 +0000 (GMT) Received: from lithium.plan-ix.de (lithium.plan-ix.de [212.37.39.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B1F143D48; Sat, 19 Jun 2004 19:31:36 +0000 (GMT) (envelope-from braukmann@tse-online.de) Received: from localhost (lithium.plan-ix.de [212.37.39.35]) by lithium.plan-ix.de (Postfix) with ESMTP id 86B172EDE4F; Sat, 19 Jun 2004 19:31:22 +0000 (GMT) Received: from localhost.plan-ix.de ([212.37.39.35]) by localhost (lithium.plan-ix.de [212.37.39.35]) (amavisd-new, port 10025) with ESMTP id 20801-03; Sat, 19 Jun 2004 19:31:22 +0000 (GMT) Received: from [192.168.225.100] (p50824365.dip0.t-ipconnect.de [80.130.67.101]) by lithium.plan-ix.de (Postfix) with ESMTP id F0FB62EC66F; Sat, 19 Jun 2004 19:31:21 +0000 (GMT) Date: Sat, 19 Jun 2004 21:31:21 +0200 From: Andreas Braukmann To: Bill Paul Message-ID: <247940000.1087673481@cage.int.unixxinu.de> In-Reply-To: <20040618173204.3DE7816A4D2@hub.freebsd.org> References: <20040618173204.3DE7816A4D2@hub.freebsd.org> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at plan-ix.de cc: freebsd-current@freebsd.org Subject: Re: Realtek RT8139 (onboard) - failed to receive packet in loopback mode 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: Sat, 19 Jun 2004 19:31:37 -0000 On 06/18/04 17:32:04 +0000 Bill Paul wrote: >> On 06/18/04 01:51:17 +0000 Bill Paul wrote: >> > Please try the code located at: >> > >> > http://www.freebsd.org/~wpaul/re [...] > Heh. You were able to trivally patch if_re.c but not if_rlreg.h? :) I refuse any further comments on this ;-) > I uploaded a new copy and diff of if_rlreg.h to the same URL. Please > try again. thanks. The module compiles fine now and probes the nics successfully: gate# kldload ./if_re.ko re0: port 0xdc00-0xdcff mem 0xe3400000-0xe34000ff irq 11 at device 9.0 on pci0 re0: Ethernet address: 00:90:fb:04:1b:31 re0: [GIANT-LOCKED] [... re1, re2, re3, re4 ...] The appendant PHY: miibus0: on re0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ifconfig still gives no info about the media types: gate# ifconfig re0 re0: flags=8802 mtu 1500 options=1b ether 00:90:fb:04:1b:31 media: Ethernet autoselect (none) The original driver v 1.24 with the (deactivated) old diagnostic code works quite ok (despite of teh misleading / missing ifconfig output for the media). The patched driver from your driver doesn't work anymore; all attempts to send or receive packets fail. Currently I can't tell you anything about the concrete link state of the interface. The box and the (unmanaged) switch are 36 km away from here. It's possible, that I get there tomorrow or on monday at the latest. If you need any further information beforehand, just tell me ... -Andreas