From owner-freebsd-current@freebsd.org Sun Sep 30 08:27:52 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 3F71D10B88A0 for ; Sun, 30 Sep 2018 08:27:52 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 A4A6F793BB for ; Sun, 30 Sep 2018 08:27:51 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id u12-v6so10485211wrr.4 for ; Sun, 30 Sep 2018 01:27:51 -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=h5f1sVsjKUYUlZXdpX4i/65SkuLalIab8ydZjXd3hHo=; b=Ou3D/WmASYI35Mumt/9sZvJapprQ6xkBcSlPv/wqrh1k+paNqjLS3eoSUPnjCOmNBw xl/ThcYOcXdTaZIR9FTvLzdvc297U5P40ptKX7CyL3vD1oIGkcVFhrDa5YmlmGIbIbb6 3ztNVzB8YEDj+zDVixBr+x/x9WGF8xuS//kchs5Iez3SJShMOxCCgPcnW0k/6tdx4NAZ Er5iolnIdlinyb0DHhXvzjq7jdPSIEFOgph8yphGUsUaAxR7PItUfPtK+0VwzxwckFZi FKiky6VE8XEz/Mhm9o0AyR/FMcUcaKPugxZHVIhWWCpxaWAuXfQoc6Y7SxFdiptOR0LX ULUw== 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=h5f1sVsjKUYUlZXdpX4i/65SkuLalIab8ydZjXd3hHo=; b=KL/jxjz6mgCEo6iayxjTW+46w1m9LkEpbEpUmzxWoRwWZMaFam/Hll71CoK7ZUq9lu 7kW5xnTljZWdta1oOLtQvjkHsfN7HCnzdDoNTpbGP2t96+6gPKUqxeVFUCRSFnrhVqBg NQjxmVwZWWRjup3x/f0n1Gr0pFW9tHtxooqfuEW8x6niYyu+DutQBsSlyD0zO5A/MR3z jPrk/mAL0bgu9X636559zIyMf78bmX/3tvrW0hRtwLpoknbb8HpxjeWjHhydAPz0bdU2 3DLpr2FkfndZGOJBlIek2PvFiiBs8Cm1p6iIs5/1bj3/MohidS3g2suiQfc6P+0OvKq4 RIYw== X-Gm-Message-State: ABuFfoh3GkJMwez/QugYce1llWaUNH2chWHF5kZ0brFVUrUhtOeBkFsU Y/PTLbg7AhmbdvicNq94/1K7kaYtMyb5bHPgeQfEzg== X-Google-Smtp-Source: ACcGV62xLWYdJuDuBz59Bx/vxoTXZxN0TYMTv+5//kmZzRaNbRVz7Cc7jq/CKWQ/7x1yEbUUyS4aySGY29MvR04lSo0= X-Received: by 2002:adf:f701:: with SMTP id r1-v6mr3724540wrp.85.1538296069700; Sun, 30 Sep 2018 01:27:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Sun, 30 Sep 2018 09:27:09 +0100 Message-ID: Subject: Re: Resume Issue with em(4) ALPHA7 To: Ali Abdallah Cc: Pete Wright , 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 08:27:52 -0000 On Sun, Sep 30, 2018 at 8:24 AM Ali Abdallah wrote: > 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. > > Hi I've been having the same problem for at least several months with if_em, hw I218-LM and I219-LM. Need to unload and reload if_em to make it work again after resume. /Johannes 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" > > > _______________________________________________ > 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" >