From owner-freebsd-hardware@FreeBSD.ORG Tue Jul 27 17:22:35 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AD30106566C for ; Tue, 27 Jul 2010 17:22:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBC418FC08 for ; Tue, 27 Jul 2010 17:22:34 +0000 (UTC) Received: by pzk7 with SMTP id 7so1726890pzk.13 for ; Tue, 27 Jul 2010 10:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=NrUiPMwuknvAwLzDvyWfwqTD1V1ZL8/fn31P++r3dgg=; b=a3Dey1nOXMBC8t+Ufbkw/yGKLNY25HradbfNpjOUetunP0GAvlOXPicrQITGYoUKU2 XbbwfwIxhJ6/TSVautFuAgLb0m9964oNSibRPJabjVngtWwBqlNyfuBoJ5aY6kQxvhcy BIUt3lbcDb4x5914+RCC6Jwp4bWCQjHNiUcAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=V0N0CVjMWPTm1dVlSljIGzqjkJNHShfYVSw3auXUXe44JHyjGJOLHnF7GfqlxwwMNd 8wv6SHHSDgyi44u/hDLaU1te8bLnlBPKawg1c78UQQRntRbqDrZNFzHWiqmpyqMBEYS/ W7/JJr9v/CdFksJoVfwhyEPP2iJxp4jHJ+2y8= Received: by 10.142.142.15 with SMTP id p15mr4822268wfd.254.1280251353937; Tue, 27 Jul 2010 10:22:33 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 23sm5901681wfa.22.2010.07.27.10.22.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 10:22:32 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 27 Jul 2010 10:21:49 -0700 From: Pyun YongHyeon Date: Tue, 27 Jul 2010 10:21:49 -0700 To: =?utf-8?B?0JDQu9C10LrRgdC10Lkg0KnQtdGA0LHQsNC60L7Qsg==?= Message-ID: <20100727172149.GB6209@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-hardware@freebsd.org Subject: Re: Trables with RTL8169/8119 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 17:22:35 -0000 On Tue, Jul 27, 2010 at 04:10:20PM +0600, ?????????????? ???????????????? wrote: > I have old machine with: > FreeBSD data-srv.HOME 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Sun Jul 25 > 17:49:20 YEKST 2010 > root@data-srv.HOME:/usr/src/sys/i386/compile/GENERIC i386 > > and 2 NIC interfaces: > > re0@pci0:0:10:0: class=0x020000 card=0x816910ec chip=0x816910ec > rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'Single Gigabit LOM Ethernet Controller (RTL8119)' > class = network > subclass = ethernet > rl0@pci0:0:12:0: class=0x020000 card=0x813911f6 chip=0x813910ec > rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'Realtek RTL8139 Family PCI Fast Ethernet NIC > (RTL-8139/8139C/8139C)' > class = network > subclass = ethernet > > In the beginning rl0 had conflict with onboard sound, as result sound > was disabled. > After that both card begin work, but re0 don’t reaction on any action > (plug|unplug cable) in dmesg and don’t ping from other PC in local. > It's hard to guess what's going in here mainly because I'm not familiar with vendor code. > data-srv# grep ^re /var/run/dmesg.boot > real memory = 402653184 (384 MB) > re0: port 0xd000-0xd0ff mem > 0xe7001000-0xe70010ff irq 12 at device 10.0 on pci0 > re0: version:1.80 > re0: Ethernet address: 00:e0:52:95:90:99 > re0: Ethernet address: 00:e0:52:95:90:99 > re0: [ITHREAD] > > data-srv# grep ^rl /var/run/dmesg.boot > rl0: port 0xd400-0xd4ff mem > 0xe7003000-0xe70030ff irq 10 at device 12.0 on pci0 > rlphy0: PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:80:48:26:a0:3a > rl0: [ITHREAD] > > re0: flags=8843 metric 0 mtu 1500 > ether 00:e0:52:95:90:99 > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect > status: no carrier > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:80:48:26:a0:3a > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > Driver taken from Realteck site (v 1.8), builded as kernel module. > Why you want to use vendor driver? 8.1-RELEASE should support almost all RealTek variants. Also note, vendor code effectively disables all offload features of controller and make it work like dumb RTL8139.