From owner-freebsd-current@freebsd.org Thu Oct 27 01:00:12 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97711C22840 for ; Thu, 27 Oct 2016 01:00:12 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 659C75E5 for ; Thu, 27 Oct 2016 01:00:12 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id e6so6052940pfk.3 for ; Wed, 26 Oct 2016 18:00:12 -0700 (PDT) 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-disposition:in-reply-to:user-agent; bh=8t0EE3zoBz65+6+StAWvTEQ2jm2DXSBr91yISMAqnDk=; b=DUMtDyqLU8jFKjiUY6gGVnMZTJxycgm02GyO+W6tgwdZMMjeXVhYBEeO3wGzwpc3H6 hfVpVDLWDODnXA547IIrWSDfclbNT1YKdnH6qsSScaLRFljyCNfebHFoyYKtAMT3FPjl qoLwU2BN3oxy3Up/WSmh3+p4Pz63kX71T/IRQt19VkOyfjB1iSzkpd812I/j+sNnlWnc a6v8q57NDYjCB5CqaMY6Gc2oJXzMjEcUErLOyIHSl+p5Dtd65OHP83xJHLvaQLNmvpBe byKpGFmzwO7FpuiBqsHaBLv8KR2QAm2nIqgJ7o5ivXZIdTdrIyYk3tvCTd5orL+SgD+9 ejtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=8t0EE3zoBz65+6+StAWvTEQ2jm2DXSBr91yISMAqnDk=; b=T6iX9wKfJkbIRf7a/DRW+OLZw6ZvGKOtfX6jbyD2YmRmNB3KxAfvBvKzS17lPGMUmP fpj1wA7QmVj2FgyQsY2Pi4gVMpsCjFUuWVkQaoztLZxNQhzIUYqKS9ZILXNCkgUwIxy0 ZD9iwqb4ab2dULupJohNFFtg22FmaPzFj0crO+AD2TETA77Km3sVjTwFnBFVOthaPXiU /YCKisFPE/Voz/cRTsA66MbjJLSRv9XKXD/uqwnlbqjyLS8HD043HmLud/73VWJe/5R7 YLqoOWz5GrT+gRylUHetRuGG/VyUJhkGhJq0bCO38OP8ze8cLN4z/D25q6L+pGdINw/B XepA== X-Gm-Message-State: ABUngvcx6OKCHA4tNFnic54379pqufpU59BShq3M5xtYBISFtxwpzRKR2fz6VuwW/vIxpg== X-Received: by 10.98.28.206 with SMTP id c197mr9102231pfc.113.1477530010771; Wed, 26 Oct 2016 18:00:10 -0700 (PDT) Received: from localhost ([106.247.248.2]) by smtp.gmail.com with ESMTPSA id b83sm6745454pfl.41.2016.10.26.18.00.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 18:00:10 -0700 (PDT) From: YongHyeon PYUN X-Google-Original-From: "YongHyeon PYUN" Received: by localhost (sSMTP sendmail emulation); Thu, 27 Oct 2016 10:00:04 +0900 Date: Thu, 27 Oct 2016 10:00:04 +0900 To: "Hartmann, O." Cc: FreeBSD CURRENT Subject: Re: CURRENT: re(4) crashing system Message-ID: <20161027010004.GA1215@michelle.fasterthan.co.kr> Reply-To: pyunyh@gmail.com References: <20161023132538.6bf55fb2@hermann> <20161024051359.GA1185@michelle.fasterthan.co.kr> <20161024140337.47af924e@freyja.zeit4.iv.bundesimmobilien.de> <20161025020538.GA1238@michelle.fasterthan.co.kr> <20161025070338.76ad6711@hermann> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161025070338.76ad6711@hermann> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 01:00:12 -0000 On Tue, Oct 25, 2016 at 07:03:38AM +0200, Hartmann, O. wrote: > On Tue, 25 Oct 2016 11:05:38 +0900 > YongHyeon PYUN wrote: > [...] > > I'm not sure but it's likely the issue is related with EEE/Green > > Ethernet handling. EEE is negotiated feature with link partner. If > > you directly connect your laptop to non-EEE capable link partner > > like other re(4) box without switches you may be able to tell > > whether the issue is EEE/Green Ethernet related one or not. > > Me either since when I discovered a problem the first time with > CURRENT, that was the Friday before last week's Friday, there was a > unlucky coicidence: I got the new switch, FreeBSD introduced a serious > bug and I changed the NICs. > > The laptop, the last in the row of re(4) equipted systems on which I > use the Realtek NIC, does well now with Green IT technology, but > crashes on plugging/unplugging - not on each event, but at least in one > of ten. Hmm, it seems you know how to trigger the issue. When you unplug UTP cable was there active network traffic on re(4) device? It would be helpful to know which event triggers the crash(e.g. unplugging or plugging). And would you show me backtrace of panic? > I guess the Green IT issue is more a unlucky guess of mine and went > hand in hand with the problem I face with CURRENT right now on some > older, Non UEFI machines. > Ok. [...] > > As requested the informations about re0 and rgephy0 on the laptop > (Lenovo E540) > > [...] > > rgephy0: PHY 1 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, > 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow > > re0: port > 0x3000-0x30ff mem 0xf0d04000-0xf0d04fff,0xf0d00000-0xf0d03fff at device > 0.0 on pci2 re0: Using 1 MSI-X message re0: ASPM disabled > re0: Chip rev. 0x50800000 > re0: MAC rev. 0x00100000 This looks like 8168GU controller. [...] > I use options netmap in kernel config, but the problem is also present > without this option - just for the record. > Yup, netmap(4) has nothing to do with the crash. Thanks.