From owner-freebsd-current@freebsd.org Sat Sep 29 17:04:05 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3724210A566D for ; Sat, 29 Sep 2018 17:04:05 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A91B180CCF for ; Sat, 29 Sep 2018 17:04:04 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.190] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 0153267a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Sat, 29 Sep 2018 10:04:02 -0700 (PDT) To: FreeBSD-current From: Pete Wright Subject: Resume Issue with em(4) ALPHA7 Message-ID: Date: Sat, 29 Sep 2018 10:04:02 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Sat, 29 Sep 2018 17:04:05 -0000 Hello, More suspend/resume testing on my end.  This system is a desktop, so not critical for my daily workflow but wanted to flag it regardless.  The system is a Lenovo m900 with skylake and em(4) NIC.  Entering suspend works without issues, resuming seems to mostly work as well.  I.e. no issues with display or input from keyboard or mouse. The one issue I am running into is my NIC is non-functional after resume.  restarting the network stack via "service netif restart" does not work - as in no DHCP lease is aquired and no link is detected.  Nor does manually down'ing and up'ing the interface work.  I see these messages in my dmesg buffer after resume: in6_purgeaddr: err=65, destination address delete failed lo0: link state changed to DOWN lo0: link state changed to UP Link state changed to down em0: link state changed to DOWN em0: TX(0) desc avail = 1024, pidx = 0 em0: TX(0) desc avail = 1024, pidx = 0 em0: TX(0) desc avail = 1024, pidx = 0 em0: TX(0) desc avail = 1024, pidx = 0 Another thing I noticed is that after resume "ifconfig" hangs for a couple seconds printing after printing the first line of my em0 device (after the flags).  Not sure if that's helpful but thought it could be a useful datapoint. It is easy to reproduce this, so I am happy to do any additional debugging or testing on this. Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA