From owner-freebsd-hardware@FreeBSD.ORG Fri Mar 21 08:12:41 2008 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 3248E106566B for ; Fri, 21 Mar 2008 08:12:41 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 953B38FC15 for ; Fri, 21 Mar 2008 08:12:40 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m2L7lKPj064537; Fri, 21 Mar 2008 00:47:21 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Greg Mars" , , Date: Thu, 20 Mar 2008 23:48:20 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Fri, 21 Mar 2008 00:47:21 -0700 (PDT) Cc: Subject: RE: Realtek 811B LAN card on FreeBSD 7.0 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 08:12:41 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Greg Mars > Sent: Monday, March 17, 2008 6:51 PM > To: freebsd-questions@freebsd.org; freebsd-hardware@freebsd.org > Subject: Realtek 811B LAN card on FreeBSD 7.0 > > > A few months ago, I posted asking about how good support the Realtek 8111B > PCI Express LAN chipset is. > The conclusion was that its behavior was rather flaky on FreeBSD 7.0 > > Anyway, I got the motherboard with the chip integrated because the MOBO > otherwise did what I needed. > After installation of FreeBSD/i386 the chip was detected and the re driver > attached but DHCP configuration wouldn't work. After searching on the > internet, I found some patches at > > http://lists.freebsd.org/pipermail/freebsd-amd64/2007-December/010545.html > > http://people.freebsd.org/~yongari/re/if_re.c > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > > and applied them. > > After rebuilding the kernel, everything worked. > Shortly after I decided I was going to run the FreeBSD/amd64 version > instead. > I had not kept the patches that worked on i386, so I downloaded from the > same URL again. > However, this time, applying the patch resulted in no change: DHCP > configuration still wouldn't work. > > Now, I'm not sure what variable is responsible for this, the > change to amd64 > or whether there was another version of the patch. Interestingly, in the > thread where I found those links, people were running amd64 and had their > problems resolved. I noticed that the version of if_re.c file was 107 the > second time whereas the post said it was 101. > I'm guessing the file was updated at the URL and this resulted in a > regression. > The problem is, I'm not in a position to say exactly which version worked. > > Is there anyone on the list close to this work and would have an idea of > what happened? > I am currently using a PCI lan card that works with the rl driver but it > would be nice to have the integrated chip work too. This sad story is an excellent example of why patches like this need to be run through the standard development using the PR system, not someone's personal website. If they had been you could use cvs to see what was changed. E-mail the person who created the patches. If your lucky he can help you. And for God's sake, once you get a running system, submit a PR with the patches if the person who created them isn't willing to do so. Ted