From owner-freebsd-current@FreeBSD.ORG Wed Nov 6 04:24:47 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E8753B7F; Wed, 6 Nov 2013 04:24:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B806A2FEA; Wed, 6 Nov 2013 04:24:46 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id fa1so9947543pad.41 for ; Tue, 05 Nov 2013 20:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ZzZFhpR7n5xpYdjuIxubbM/8ves8fWU3pIwVc4GxPak=; b=VCXrSYSdzZDCjXq8fK3u3QXAc+taYyRGEW+31eb9LOl4BMz+vBmhkiaLBp3ni9RN8t ZWj9Z7un+96DKfKPx+4g8b2DaPKmAGSFoq9pJaO3P9GIx6zndEIeVqYC2FzRYiss0Wqi B7jWXd+jGZ3Kwy/Sx2ljeIOVVN3Bzl4l4xCzwL1dBMJ5LOGZ3Ij1L9P2NnIRAE4jKWRV CBXzv4E3mxswmVSOuoMdjTicBM6W0ahhWPqyiFr+r6HPvcHm6JJLfV/G3Ge4yu91at0j dQiAoKG46sBA5v+neLO83YP+urT7VMk0H2pf+ZtDHx/6Pu9cCfUcgfLgpVfmi/8vhr7x E+FQ== X-Received: by 10.66.159.234 with SMTP id xf10mr1767657pab.139.1383711886205; Tue, 05 Nov 2013 20:24:46 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id 7sm44534475paf.22.2013.11.05.20.24.43 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Nov 2013 20:24:45 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 06 Nov 2013 13:24:41 +0900 From: Yonghyeon PYUN Date: Wed, 6 Nov 2013 13:24:41 +0900 To: Thomas Mueller Subject: Re: dhclient failure with Realtek 8111E Ethernet on new MSI motherboard Message-ID: <20131106042441.GA1401@michelle.cdnetworks.com> References: <20130925063610.GA1507@michelle.cdnetworks.com> <36.52.26070.28C93425@cdptpa-oedge03> <20130926050038.GA1494@michelle.cdnetworks.com> <75.B0.09602.0CBE3425@cdptpa-oedge03> <20130926083326.GB1494@michelle.cdnetworks.com> <20131104021727.GB3610@michelle.cdnetworks.com> <1A.D8.19454.71BA9725@cdptpa-oedge03> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1A.D8.19454.71BA9725@cdptpa-oedge03> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 04:24:47 -0000 On Wed, Nov 06, 2013 at 02:36:07AM +0000, Thomas Mueller wrote: > from Yonghyeon PYUN: > > Thomas, would you try attached patch on your system? > > > [-- Attachment #2: re.8168evl.diff --] > [-- Type: text/x-diff, Encoding: 7bit, Size: 3.6K --] > Content-Type: text/x-diff; charset=us-ascii > Content-Disposition: attachment; filename="re.8168evl.diff" > > Index: sys/dev/re/if_re.c > =================================================================== > --- sys/dev/re/if_re.c (revision 257422) > +++ sys/dev/re/if_re.c (working copy) > @@ -295,6 +295,8 @@ > static int re_miibus_writereg (device_t, int, int, int); > static void re_miibus_statchg (device_t); > > +static void re_eri_write (struct rl_softc *, bus_size_t, uint32_t, int); > + > static void re_set_jumbo (struct rl_softc *, int); > static void re_set_rxmode (struct rl_softc *); > static void re_reset (struct rl_softc *); > @:10,32s/^/@ -641,6 +643,32 @@ > } > (snip) > > Which version/branch of FreeBSD is this for? > I guess the diff would apply to CURRENT and any stable. > 9.2_STABLE, 10-stable or 11-head? > > Does it require a specific svn revision? > No. > I just updated FreeBSD-current on new MSI motherboard (svn revision 257695). > > dhclient re0 still gives same error. > That's expected behavior since there is no code to activate the workaround at this moment. Given that you have CURRENT at this moment, apply the diff and let me know how it goes. > Now I have to update FreeBSD-current amd64 on same computer. > > I go through this in the hope of being able to configure wifi with Hiro 50191 USB-stick-type WLAN adapter, driver rsu. > > So far, can't see wifi network. I see what more I need to do, or maybe no wifi signal? > Sorry, I'm dumb on wireless drivers so have nothing to comment. :-( > Tom >