From owner-freebsd-stable@FreeBSD.ORG Mon Mar 18 11:08:48 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5423B69B for ; Mon, 18 Mar 2013 11:08:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by mx1.freebsd.org (Postfix) with ESMTP id 323EECD1 for ; Mon, 18 Mar 2013 11:08:48 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id xb4so6323712pbc.1 for ; Mon, 18 Mar 2013 04:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:date:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=OH7XbxW4KYRkv1tPWSmeMOpYcWbhVR2hTpPMB6FACC4=; b=oBVx74GKjN0bOXEaBuH3SIDWZ9+BC9GY2LS3u1+IAegTCIeGyUm+tYRONZhPH9IQHt /2JtGbRXtXetiYxPqo3wAzwO6Uxec1IhH4wmExaxcOztS9vLCDo03lTZ44jiLzYmXgoR 2PxGYBZqERNifKagAV/fenaKEMI988WTemgogjk8I0Ddt3Eg8DZe3WxoZIMSahbXHJCg Np8oeF+W+Ro39qRgyWnuyVNT083+82hKbdL8LZEi1W/07rldnVjlN7obvG+hI2CfpOla qkjHE3wt2upSzIcMLDShRGXaxuFEVE9pXNJNd81gNTAA5rtdAT37Qta+k9m+hUmPV7qI iIMg== X-Received: by 10.66.120.99 with SMTP id lb3mr8824717pab.173.1363589984753; Sun, 17 Mar 2013 23:59:44 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id ce16sm7120371pac.5.2013.03.17.23.59.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Mar 2013 23:59:43 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 18 Mar 2013 15:59:38 +0900 From: YongHyeon PYUN Date: Mon, 18 Mar 2013 15:59:38 +0900 To: Michael BlackHeart Subject: Re: A few problems Message-ID: <20130318065938.GB1459@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 11:08:48 -0000 On Sat, Mar 16, 2013 at 01:08:06PM +0400, Michael BlackHeart wrote: > Hello there. I've got a couple of things I don't get or can't handle. > [...] > re0@pci0:4:0:0: class=0x020000 card=0x512c1462 chip=0x816810ec rev=0x02 hdr=0x00 > vendor = 'Realtek Semiconductor Co., Ltd.' > device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > class = network > subclass = ethernet > bar [10] = type I/O Port, range 32, base 0xd800, size 256, enabled > bar [18] = type Memory, range 64, base 0xfeaff000, size 4096, enabled > bar [20] = type Prefetchable Memory, range 64, base 0xf8ff0000, > size 65536, enabled > cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit > cap 10[70] = PCI-Express 1 endpoint IRQ 1 max data 128(256) link x1(x1) > speed 2.5(2.5) > cap 11[b0] = MSI-X supports 2 messages in map 0x20 enabled > cap 03[d0] = VPD > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 2 corrected > ecap 0002[140] = VC 1 max VC0 > ecap 0003[160] = Serial 1 01000000684ce000 > > re0: flags=8843 metric 0 mtu 1500 > description: ToISP > options=8218b > ether 00:21:85:1c:24:fa > media: Ethernet autoselect (100baseTX ) > status: active [...] > One is that re0 doesn't neogatiate direct link with a connected PC > (using non-crossover UTP), but sk0 does that easy. It seems to me that > according to RTL8111 chip specification there shouldn't be any > problem, probably it's a driver problem? > What is your link parter for re0? I don't remember whether the PHY hardware really supports automatic MDI crossover detection. Even if the PHY hardware does not support it, the link partner would be able to do that. And could you show me the output of dmesg(re(4) and rgephy(4) only) and "devinfo -rv | grep rgephy"?