Received: by 10.213.65.68 with SMTP id h4csp1494357imn; Mon, 26 Mar 2018 08:35:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELtNNpH8fJ+k4DZr6WLwJUpAhbPjJBZCPWIbSK4Rl/1DRzhdbFh90AL5Ja5+GvVUo6hECXFS X-Received: by 10.99.140.14 with SMTP id m14mr16072121pgd.320.1522078537337; Mon, 26 Mar 2018 08:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522078537; cv=none; d=google.com; s=arc-20160816; b=guTUARmoPWKCoSKaIxXAkwxxjSRfBN9hXv7ednqROsRxLNGm0MRWea1mB2GQu70GZX 3/HUCCKuR9/duvDEik9ghUP8Bz+de2xIa9MuFYC60bMI9q7AOOYB6TW6BwzoBLMHlzHx HmcjQmRXqsaVFpEKSZ11QqW+HubD8vUl0pQqEod648Rk7r8KXh3Aq98DlIdWJgD9L8QQ OqkGNnUFFUvLZkuFbgNpPtdOYO0seVK3NuDcB7RTHJ6pehcBhaQKwgdm1H75d+9o7oxQ ni7Rnoj91DLMxlRDsGRckJyYTEwl8jX9N2uhxf8+azXrSCOQL9v7ibwA0AQBLlJVox5H X1mw== 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=O74QL4/qhguuFChOpns77O+XTgszT5ddrAOtEsC6iyM=; b=TXXsqqNMdfh8h386iOpR8MuJcGJvGdbvZkxEjmu7Hd78JVwaIlIpIf4kF0lG+5gBnW I1x+S/1LJJ6nAJzTXIVmX/mVFDYs0HDg4JQy6/a5WxzooMnA7YEWbCra7+68KaTssVCg ymYEmTLSjxId7UrTbeH+7RunInhyFo1BDo+nuwDDYnEtm8cYaQwtTo2zes2RcPuZ2Ara bwVptGMYaE7xySLo1nyFzBXvQXmh0/MjwlmlLul48ennorKvCRi0JbEuEVkou0v9II0u P2Bpa73bbF6ImYTVt0K/0eYWD7wZ8bBcjZZ3Jqci2TmZKoo84M6Y0roLI8/yZ2HZgTta oCyg== 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 bi1-v6si2348456plb.184.2018.03.26.08.35.21; Mon, 26 Mar 2018 08:35:37 -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 S1752306AbeCZPeA (ORCPT + 99 others); Mon, 26 Mar 2018 11:34:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44076 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752197AbeCZPd6 (ORCPT ); Mon, 26 Mar 2018 11:33:58 -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 B5D988D682; Mon, 26 Mar 2018 15:33:57 +0000 (UTC) Received: from ovpn-112-44.rdu2.redhat.com (ovpn-112-44.rdu2.redhat.com [10.10.112.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D9D7D7DFA; Mon, 26 Mar 2018 15:33:56 +0000 (UTC) Message-ID: <95efbba35c3389015d4919a59f8d01bc2d375a19.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: Mon, 26 Mar 2018 10:33:55 -0500 In-Reply-To: <20180325061927.GA2148@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> <1521551568.16848.5.camel@redhat.com> <20180325061927.GA2148@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.2]); Mon, 26 Mar 2018 15:33:57 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Mon, 26 Mar 2018 15:33:57 +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 Sun, 2018-03-25 at 08:19 +0200, Pavel Machek wrote: > > > > 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. > > Hmm :-) > > root@amd:/data/pavel# nmcli gen log level trace > Error: Unknown log level 'trace' What NM version? 'trace' is pretty old (since 1.0 from December 2014) so unless you're using a really, really old version of Debian I'd expect you'd have it. Anyway, debug would do. > root@amd:/data/pavel# nmcli gen log level help > Error: Unknown log level 'help' nmcli gen help > root@amd:/data/pavel# nmcli gen log level > Error: value for 'level' argument is required. > root@amd:/data/pavel# nmcli gen log level debug This should be OK. > root@amd:/data/pavel# cat /var/log/sys/log It routes it to whatever the syslog 'daemon' facility logs to (however that's configured on your system). Usually /var/log/messages or /var/log/daemon.log or sometimes your distro configures it to /var/log/NetworkManager.log. Or if you're using a systemd-based distro, it would probably be in the systemd journal so "journalctl -b -u NetworkManager" > Where do I get the logs? I don't see much in the syslog... > And.. It seems that it is "every other suspend". One resume results > in > broken network, one in working one, one in broken one... Does your distro use pm-utils, upower, or systemd for suspend/resume handling? Dan