Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbaBIWIJ (ORCPT ); Sun, 9 Feb 2014 17:08:09 -0500 Received: from mail-ea0-f178.google.com ([209.85.215.178]:38645 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752081AbaBIWHS (ORCPT ); Sun, 9 Feb 2014 17:07:18 -0500 From: Peter Wu To: Bastien Traverse Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, francis.moro@gmail.com, Linux PM list Subject: Re: 3.12: ethernet controller missing after resuming from suspend to RAM Date: Sun, 09 Feb 2014 23:07:14 +0100 Message-ID: <2182978.C0zdYi5cqX@al> User-Agent: KMail/4.12.2 (Linux/3.13.2-custom; KDE/4.12.2; x86_64; ; ) In-Reply-To: <52F7CC8B.1020209@gmail.com> References: <52F2CC7B.80406@gmail.com> <2087423.Qy7HQIx1X6@vostro.rjw.lan> <52F7CC8B.1020209@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday 09 February 2014 19:44:27 Bastien Traverse wrote: > You'll find them attached, but I got a strange error when I wanted to > run it as root: > $ sudo lspci -vv > lspci_vv_before > pcilib: sysfs_read_vpd: read failed: Connection timed out > $ sudo -i > # lspci -vv > pcilib: sysfs_read_vpd: read failed: Connection timed out > > So I only got the unpriviledge output. This seems to be an issue of the rtsx driver / hardware, I also see it on a small Shuttle computer that runs at work. (off-topic lspci post:) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5289] (rev 01) Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:5289] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Some complementary lines from my journal: > > kernel: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded > kernel: r8169 0000:03:00.2: can't disable ASPM; OS doesn't have ASPM control > kernel: pcieport 0000:00:1c.3: driver skip pci_set_master, fix it! kernel: > r8169 0000:03:00.2: irq 44 for MSI/MSI-X > kernel: r8169 0000:03:00.2 eth0: RTL8411 at 0xffffc90016ed4000, > 00:90:f5:d7:34:53, XID 08800800 IRQ 44 > kernel: r8169 0000:03:00.2 eth0: jumbo features [frames: 9200 bytes, tx > checksumming: ko] > kernel: rtsx_pci 0000:03:00.0: irq 45 for MSI/MSI-X > kernel: rtsx_pci 0000:03:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, > pci->irq = 45 > ... > > And one I thought of interest: > > kernel: rtsx_pci 0000:03:00.0: vpd r/w failed. This is likely a > firmware bug on this device. Contact the card vendor for a firmware update. I think I have seen such an error before, but I cannot find it in the logs that were obtained a while ago. Failure to read VPD should not cause issues. > That came three times before suspend. > > Only two lines about hotplug, none special. I think this is relevant. See also my test with 3.13.2 and different kernel configs[1]. A workaround that triggers a scan was also posted[2]. Peter [1]: http://lkml.org/lkml/2014/2/8/264 [2]: http://lkml.org/lkml/2014/2/7/809 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/