From owner-freebsd-current@freebsd.org Sun Sep 30 07:22:36 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 2AA5F10B72FF for ; Sun, 30 Sep 2018 07:22:36 +0000 (UTC) (envelope-from aliovx@gmail.com) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBB66772B5 for ; Sun, 30 Sep 2018 07:22:35 +0000 (UTC) (envelope-from aliovx@gmail.com) Received: by mail-oi1-x236.google.com with SMTP id y81-v6so8734746oia.6 for ; Sun, 30 Sep 2018 00:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UiyQy12xZPODiwP3PErRwdo9aCXJpUfeGFTkpxe7AXM=; b=ZV48uOfCIABrwXBb9fEkC7aJp0HxwEHL5hK9cT3k+yvt71Z/ARVCp0suEyKfv3UQZb MbDlNukM9de518Ma0roYHPrw5P+CbOr9t3xnk6NgnYRfPJp6xFe6doCWW8QhgaozAUX6 QscaDzq1H2LNWBsmuAdfRSVXAnL7poxSiaDrAiSDdISip0ym8Msse/Kk9zue+ah71thS rdAOr43zb4vRS91jW0VsWRBjRP2ZmsRgxKmQxcBqzJtN57MeOxO0ffsTId5hmBo7Ct04 ifnxsfq58w9RaEqi0NT8GPwgSxkQdgVWOHusmaUxQltcA01ybeSksGrmMvdxQl+vPPYN upDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UiyQy12xZPODiwP3PErRwdo9aCXJpUfeGFTkpxe7AXM=; b=rv+h3tsUpJgBXx39RwWJ/xIidAGPchPzMEEDOoL5XnEw7FjfyKe75IbyvyhQ4QlmMg SVvK484CYCe4GBEay1K9zy439qE+ci4AnSjbHdvnzYkzzZVKZkOreK1gN+O4bWvYHIzT bG3ezTXpBbxPtuHw2THVm/ddJaXDX+3GOs7tDcgPC8p5Z4svlFbNgm6iTYA4BRQJSHH0 4eWO8gUjIWUKoH/l3jBfGdC7M3iiexKMzCZgLIVI1FDWya3AhTVT0j03kCPo8QvoBLB+ aXCokD5w7sZlAsB3mwduVoGerRIAV59Y3n/QTmsSQG1SmY/LoQrfTn0eASyyJ3MwIzl2 wQoQ== X-Gm-Message-State: ABuFfohogm58LaAiPC3NZU/S9GxJipKGqeq+CL8HbvK4rhYfJl+OBpEX Mj4D972B7CFNYS/F7IWoJtv2YsyhZS6zXkEjMR52jw== X-Google-Smtp-Source: ACcGV62lzCX5OYyLA3CQmF5ub5Nssh+faUh1p6Ow3dOgUZkMY2jKVSQPT3KGspeQ46keQAKRtxJVxLpL6RrkLCaarCo= X-Received: by 2002:aca:bec2:: with SMTP id o185-v6mr2850955oif.22.1538292154871; Sun, 30 Sep 2018 00:22:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ali Abdallah Date: Sun, 30 Sep 2018 09:22:23 +0200 Message-ID: Subject: Re: Resume Issue with em(4) ALPHA7 To: pete@nomadlogic.org Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Sun, 30 Sep 2018 07:22:36 -0000 I'm having also the same problem on my Thinkpad x230. However I'm running a minimal kernel, so usually I do kldunload/kldload if_em, to reset the hardware and to avoid a reboot. Hopefully this gets fixed soon. Cheers, Ali On Sat, Sep 29, 2018 at 7:06 PM Pete Wright wrote: > 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 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >