From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 12 17:56:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02692106566C for ; Thu, 12 Jun 2008 17:56:41 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 798D48FC0A for ; Thu, 12 Jun 2008 17:56:40 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so3042958fgb.35 for ; Thu, 12 Jun 2008 10:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=w0N4c0YiIcixcLMe7oXOsyk474U62tNAz/udalbQHPk=; b=CUrR7jTx/U5d0H/xKeTdch7oE2Y6Ar36qKj1Ejo0Hl8fVNCrWj2mjIIfOdnotemJGJ /QQuvwA6R5IossIEJxb3F8kuT4ls5a7jGpGUHib0FWu0tCi2Riad2Q5+XMO2lHUyCIDh Gh7qXKlabRRh/u87iybRGNLFcRSg1jyOxQ/a0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DMHBiLuGv5Pvkocj85Wx0ClO5OJF0D1lJUN/wmLriHv64USWR8QQBRkb7DQZ35XlG4 lYQ2Sc6lULd31g4Cg+5ax4xioN376RcqHcu8fo3hh4ZpPe0dfMDEcUrFupIe1XFGX94L kuhCLOCSpR/+upggHkoSDTcp5bn8FTlV0+iKQ= Received: by 10.86.60.14 with SMTP id i14mr2643703fga.75.1213293399324; Thu, 12 Jun 2008 10:56:39 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Thu, 12 Jun 2008 10:56:39 -0700 (PDT) Message-ID: <1bd550a00806121056n5ac49766mab68f015907f4a47@mail.gmail.com> Date: Thu, 12 Jun 2008 19:56:39 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: pyunyh@gmail.com In-Reply-To: <20080612024441.GC7250@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1bd550a00806101408xb9925b6wcc027d58f7fccf78@mail.gmail.com> <20080610221122.GA81166@eos.sc1.parodius.com> <20080611004650.GA3485@cdnetworks.co.kr> <1bd550a00806110013u7b5c3f40wf4114d06638705a4@mail.gmail.com> <20080612024441.GC7250@cdnetworks.co.kr> Cc: FreeBSD Hackers , Jeremy Chadwick Subject: Re: RTL8168/8111 PCI express support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 17:56:41 -0000 On Thu, Jun 12, 2008 at 4:44 AM, Pyun YongHyeon wrote: > On Wed, Jun 11, 2008 at 09:13:24AM +0200, Fernando Apestegu?a wrote: > > On 6/11/08, Pyun YongHyeon wrote: > > > On Tue, Jun 10, 2008 at 03:11:22PM -0700, Jeremy Chadwick wrote: > > > > On Tue, Jun 10, 2008 at 11:08:05PM +0200, Fernando Apestegu?a wrote: > > > > > I sent this mail to freebsd-questions but I got no answer. I hope you > > > > > can help me. > > > > > > > > > > I got a computer with an RTL8168/8111 PCI Express NIC. It is shown in > > > > > pciconf but it is not seen by FreeBSD 7. I'm using i386 arch. > > > > > > > > > > I have re and rl drivers compiled in the kernel (stock GENERIC kernel, > > > > > actually). > > > > > > > > > > What do I need to make the NIC work properly? > > > > > > > > CC'ing PYUN YongHyeon, who should be able to help, since he helps > > > > maintain the driver. :-) > > > > > > I don't know which revision of RealTek controller you have. Just > > > knowing "pciconf -lv" is not enough. Since 7.0 didn't recognize > > > your controller I guess it could be newer revision from RealTek. > > > There is a WIP version that try to add support for newer > > > controllers. In order to try the WIP version you have to update to > > > latest 7-stable first and apply the following patch. > > > > > > http://people.freebsd.org/~yongari/re/re.HEAD.20080610 > > > > > > The patch still have some issues but it should detect/recognize > > > your controller. > > > > > > It makes sense what you say about the new revision cause the whole > > computer is quite new. In any case I will paste the "pciconf -lv" > > output just to be sure of the controller I have. > > > > I already have the 7-stable system installed with the kernel sources > > installed from sysinstall. Do I need any update of the source code? > > > > If you use 7-stable, you may not have to update again. > Just apply patche above and let me know the result. Sorry. I was wrong. I'm using 7.0 Release and my sources are those (taken from ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/src/) Since I don't have NIC, I can't update my system to 7.0 stable. If the changes involved are only on those two files (sys/dev/re/if_re.c and sys/pci/if_rlreg.h) and no more -stable changes are required, could it be possible to get the diff generated against the -release sources? I already tried to apply the patch against my sources, but I get a bunch of errors. Otherwise I think I am a bit stuck unless you tell me how to update my system without a working network. Thanks in advance > > > Thanks in advance. > > > > > > > > > > > > > I'd recommend you start by providing pciconf -lv output here. > > > > > > > > -- > > > > | Jeremy Chadwick jdc at parodius.com | > > > > | Parodius Networking http://www.parodius.com/ | > > > > | UNIX Systems Administrator Mountain View, CA, USA | > > > > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > > > > > -- > Regards, > Pyun YongHyeon >