Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 19:56:39 +0200
From:      "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" <fernando.apesteguia@gmail.com>
To:        pyunyh@gmail.com
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Jeremy Chadwick <koitsu@freebsd.org>
Subject:   Re: RTL8168/8111 PCI express support
Message-ID:  <1bd550a00806121056n5ac49766mab68f015907f4a47@mail.gmail.com>
In-Reply-To: <20080612024441.GC7250@cdnetworks.co.kr>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 12, 2008 at 4:44 AM, Pyun YongHyeon <pyunyh@gmail.com> wrote:
> On Wed, Jun 11, 2008 at 09:13:24AM +0200, Fernando Apestegu?a wrote:
>  > On 6/11/08, Pyun YongHyeon <pyunyh@gmail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1bd550a00806121056n5ac49766mab68f015907f4a47>