All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Boszormenyi Zoltan <zboszor@pr.hu>
To: Andreas Mohr <andi@lisas.de>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: ACPI regression? Was Re: Ethernet chip disappeared from lspci
Date: Sun, 21 Jun 2015 12:34:17 +0200	[thread overview]
Message-ID: <55869329.4040908@pr.hu> (raw)
In-Reply-To: <12950452.K8inU2UIYe@vostro.rjw.lan>

[-- Attachment #1: Type: text/plain, Size: 2095 bytes --]

Hi,

please, cc me, I am not subscribed to lkml.

> Hi,
>
> [lkml.org still broken --> no accurate mail header info possible...]
>
> Just to ask the obvious:
> I assume using /sys/bus/pci/rescan does not help once it's broken?
> (since the machine comes up empty at initial-boot scan, too)

I will try it, too, but I am not sure it would work.

Currently I can't test it because the last time I completely discharged
the battery. I also disconnected it to be able to get the realtek chip back
immediately for faster testing. Now, that I have reconnected the battery,
I need to wait for it to be charged somewhat to be able to reproduce
losing the network chip.

> Also, you could try diffing lspci -vvxxx -s.... output
> of working vs. "distorting" kernel version - perhaps some register setup
> has been changed (e.g. due to power management improvements or some such),
> which may encourage the card
> to get a problematic/corrupt state.

I attached a tarball that contains lspci -vvxxx for
- all devices / only the network chip
- before / after "modprobe r8169"
- for all 3 kernel versions tested.

I figured out that if I type the modprobe and lspci in the same command line,
I can get diagnostics out of the machine, after all.

It's not just the Realtek chip that has changed parameters.

(Vague idea) I noticed that some devices have changed like this:

-       Memory behind bridge: 80000000-801fffff
-       Prefetchable memory behind bridge: 0000000080200000-00000000803fffff
+       Memory behind bridge: ff000000-ff1fffff
+       Prefetchable memory behind bridge: 00000000ff200000-00000000ff3fffff

Can't this cause a problem? E.g. programming the bridge with an address range
that the bridge doesn't actually support?

>
> > Upon powering off the system,
> > the r8169 driver compained about "rtl_eriar_cond = 1 loop 100"
>
> Yup, that seems to be
> rtl_eri_read() in ethernet/realtek/r8169.c
> waiting on low condition of
>     RTL_R32(ERIAR) & ERIAR_FLAG;

I found that, too, and I think it is a symptom of instead of the cause.

Thanks for your efforts,
Zoltán Böszörményi


[-- Attachment #2: lspci.tgz --]
[-- Type: application/x-compressed-tar, Size: 22851 bytes --]

  parent reply	other threads:[~2015-06-21 10:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 13:24 Ethernet chip disappeared from lspci Boszormenyi Zoltan
2015-06-19 13:31 ` Boszormenyi Zoltan
2015-06-19 13:46   ` ACPI regression? Was " Boszormenyi Zoltan
2015-06-19 23:13     ` Rafael J. Wysocki
2015-06-19 23:13       ` Rafael J. Wysocki
2015-06-20  6:38       ` Boszormenyi Zoltan
2015-06-21 10:34       ` Boszormenyi Zoltan [this message]
2015-06-21 14:03         ` Bjorn Helgaas
2015-06-21 14:03           ` Bjorn Helgaas
2015-06-21 14:03           ` Bjorn Helgaas
2015-06-21 14:19           ` Boszormenyi Zoltan
2015-06-21 15:37             ` Boszormenyi Zoltan
2015-06-21 15:37               ` Boszormenyi Zoltan
2015-06-21 17:25             ` Jiang Liu
2015-06-21 17:25               ` Jiang Liu
2015-06-21 17:55               ` Jiang Liu
2015-06-21 17:55                 ` Jiang Liu
2015-06-21 17:55                 ` Jiang Liu
2015-06-21 18:55                 ` Boszormenyi Zoltan
2015-06-21 19:59                   ` Boszormenyi Zoltan
2015-06-21 19:59                     ` Boszormenyi Zoltan
2015-06-23  4:12                     ` [Patch v1] PCI, ACPI: Fix regressions caused by resource_size_t overflow with 32bit kernel Jiang Liu
2015-06-23  4:12                       ` Jiang Liu
2015-06-23  7:35                       ` Ingo Molnar
2015-06-23  7:35                         ` Ingo Molnar
2015-06-21 18:28               ` ACPI regression? Was Re: Ethernet chip disappeared from lspci Boszormenyi Zoltan
  -- strict thread matches above, loose matches on Subject: below --
2015-06-20  7:45 Andreas Mohr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55869329.4040908@pr.hu \
    --to=zboszor@pr.hu \
    --cc=andi@lisas.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.