Received: by 10.213.65.68 with SMTP id h4csp403858imn; Tue, 20 Mar 2018 06:15:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELt4CgdYtP7D0LDBI2WGUID0fFgTDx2DQHHALRxkxqMdrHV4P8wiUK6wXxCJ9NNBJ1+8xiiE X-Received: by 10.99.43.70 with SMTP id r67mr1021283pgr.422.1521551759790; Tue, 20 Mar 2018 06:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521551759; cv=none; d=google.com; s=arc-20160816; b=w0z3w4dTCrH8fVeiLYWR/wxBHH4qThFA6YKVJ1vDABRV7gr4TuMwkAk9Uri+wEuEoz awlUxv46shMmp3x6h58iOMOd7KQfMWhDVECjvS/kHqp/3c9bvV6gPmHOF2gACjjDyyN7 DQA8QnpI/UcvBwx8fWE+VRuEHhx7F507KNtpbR8gRBaC5dCOGUWLE4YRiNwEjlP79u+H Tz8TM6np79U5z/Reg87reNHGjppIqbBa+dzvAm5wjbSEYrawID0xZV+wYVhEVCw93rNn WXB9pEydRPLy7dpRcItH6wreWaV1S7fiEd2YENQhgMxN1PaI99QIW4iwPHHbBKhmt/u9 0rzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=Fa2qM7lGzSGORV9c1hWqHiB+oQtOnpIcRoh0zlEPJIA=; b=MLRYAIZm8l6MvotlnWhrgNyJqYl82AY2cvNf2QtfNIJLaKvvyN2naJFd6bxmjqAuYG 4tHvQNwzDGpQRUuCS7wd3aMnibR+qUyhYZaA2Qz0bAZwmxSMTvylHsp5e6HlTOA77Kmo p2YfiUzftGFOhCzJ/lMDs4fOvIc5f44UnpcpaV0FW+NaL/ogUJUoaxzxkr0HgPn+ImBZ Pnpb8c+DF7zW3y8h8OtIns2I0cnEH8baJjGFDRsQzM5qIK5mgBA41bl1R/ZwNOGRHqh3 LU6T3dF6EOy8V2lo9CdHNYh/Jm7gdbEFKs8LtAFXDvwdxZGP8+ikOiXkmhPp2UMD67yj IMJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j25si1153354pgn.592.2018.03.20.06.15.45; Tue, 20 Mar 2018 06:15:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753443AbeCTNMx (ORCPT + 99 others); Tue, 20 Mar 2018 09:12:53 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56540 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753019AbeCTNMv (ORCPT ); Tue, 20 Mar 2018 09:12:51 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5E77C406805B; Tue, 20 Mar 2018 13:12:50 +0000 (UTC) Received: from ovpn-112-27.rdu2.redhat.com (ovpn-112-27.rdu2.redhat.com [10.10.112.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C32450330; Tue, 20 Mar 2018 13:12:49 +0000 (UTC) Message-ID: <1521551568.16848.5.camel@redhat.com> Subject: Re: linux-next on x60: network manager often complains "network is disabled" after resume From: Dan Williams To: Pavel Machek Cc: Woody Suwalski , "Rafael J. Wysocki" , kernel list , Linux-pm mailing list , Netdev list Date: Tue, 20 Mar 2018 08:12:48 -0500 In-Reply-To: <20180320080334.GA31772@amd> References: <20180318104023.GA10392@amd> <70721f83-344a-0f23-223b-9c81f6e9e32a@gmail.com> <20180319092106.GA5683@amd> <1521474008.20208.2.camel@redhat.com> <20180319173356.GA28462@amd> <1521481549.20208.8.camel@redhat.com> <20180320080334.GA31772@amd> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 20 Mar 2018 13:12:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 20 Mar 2018 13:12:50 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dcbw@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-03-20 at 09:03 +0100, Pavel Machek wrote: > On Mon 2018-03-19 12:45:49, Dan Williams wrote: > > On Mon, 2018-03-19 at 18:33 +0100, Pavel Machek wrote: > > > On Mon 2018-03-19 10:40:08, Dan Williams wrote: > > > > On Mon, 2018-03-19 at 10:21 +0100, Pavel Machek wrote: > > > > > On Mon 2018-03-19 05:17:45, Woody Suwalski wrote: > > > > > > Pavel Machek wrote: > > > > > > > Hi! > > > > > > > > > > > > > > With recent linux-next, after resume networkmanager often > > > > > > > claims > > > > > > > that > > > > > > > "network is disabled". Sometimes suspend/resume clears > > > > > > > that. > > > > > > > > > > > > > > Any ideas? Does it work for you? > > > > > > > > > > > > > > > > > > > > > Pavel > > > > > > > > > > > > Tried the 4.16-rc6 with nm 1.4.4 - I do not see the issue. > > > > > > > > > > Thanks for testing... but yes, 4.16 should be ok. If not > > > > > fixed, > > > > > problem will appear in 4.17-rc1. > > > > > > > > Where does the complaint occur? In the GUI, or with nmcli, or > > > > somewhere else? Also, what's the output of "nmcli dev" after > > > > resume? > > > > > > In the GUI. I click in place where I'd select access point, and > > > menu > > > does not show up, telling me that "network is disabled". > > > > Ok, what does 'nmcli dev' and 'nmcli radio' show? > > Broken state. > > pavel@amd:~$ nmcli dev > DEVICE TYPE STATE CONNECTION > eth1 ethernet unavailable -- > lo loopback unmanaged -- > wlan0 wifi unmanaged -- If the state is "unmanaged" on resume, that would indicate a problem with sleep/wake and likely not a kernel network device issue. We should probably move this discussion to the NM lists to debug further. Before you suspend, run "nmcli gen log level trace" to turn on full debug logging, then reproduce the issue, and send a pointer to those logs (scrubbed for anything you consider sensitive) to the NM mailing list. Dan > pavel@amd:~$ nmcli radio > WIFI-HW WIFI WWAN-HW WWAN > enabled enabled enabled enabled > pavel@amd:~$ uname -a > Linux amd 4.16.0-rc5-next-20180314+ #31 SMP Thu Mar 15 14:27:19 CET > 2018 i686 GNU/Linux > > Let me suspend/resume. I was lucky and got it into working state: > > pavel@amd:~$ nmcli dev > DEVICE TYPE STATE CONNECTION > wlan0 wifi connected openwireless.org > eth1 ethernet unavailable -- > lo loopback unmanaged -- > pavel@amd:~$ nmcli radio > WIFI-HW WIFI WWAN-HW WWAN > enabled enabled enabled enabled > paveamd:~$ > > Best regards, > > Pavel >