From: Thomas Renninger <trenn@suse.de>
To: linux-kernel@vger.kernel.org
Cc: jbarnes@virtuousgeek.org, shaohua.li@intel.com,
Rafael Wysocki <rwysocki@suse.de>,
shemminger@linux-foundation.org, netdev@vger.kernel.org
Subject: PCIe ASPM causes machine (HP Compaq 6735s) to sometimes freeze hard at boot at PCI initialization time
Date: Fri, 28 Nov 2008 13:28:54 +0100 [thread overview]
Message-ID: <200811281328.55259.trenn@suse.de> (raw)
Hi,
The hang does not always happen.
On latest vanilla 2.6.28-rc6 it nearly always hangs, on a .27 SUSE kernel
maybe 1 out for 3 times.
I very much expect (I am pretty sure now) it is PCIE ASPM.
I tried to compile out:
CONFIG_PCIEAER=y
CONFIG_PCIEASPM=y
Both disabled survived a reasonable amount of reboots, but when enabling
CONFIG_PCIEASPM it did not boot anymore on the second try.
The machine is hanging at the network card's PCI initialization rather early,
here is a photo of the hang:
ftp.suse.com/pub/people/trenn/HP_pci_aspm_hang.jpg
This is the network card:
Marvell 11ab:4357 (PCI ID) using the sky2 driver.
Once the machine booted (even with aspm enabled, the network device works
properly).
Possibly unrelated, because the machine hangs far before the sky2 driver kicks
in or does PCI subsystem already need to set something similar?:
The sky2 driver has some extra ASPM poking in its power_on routine:
/* set all bits to 0 except bits 15..12 and 8 */
reg &= P_ASPM_CONTROL_MSK;
sky2_pci_write32(hw, PCI_DEV_REG4, reg);
It seem to be this Marval/Yukon card:
CHIP_ID_YUKON_UL_2 = 0xba, /* YUKON-2 Ultra 2 */
Oh wait,
The SubDevice PCI ID (via hwinfo --netcard) is 0xba, but the driver thinks it
is a (via dmesg):
CHIP_ID_YUKON_FE_P = 0xb8, /* YUKON-2 FE+ */
Any ideas from people with more knowledge in the PCI(e) area is very much
appreciated.
Thanks,
Thomas
next reply other threads:[~2008-11-28 12:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-28 12:28 Thomas Renninger [this message]
2008-12-05 12:41 ` Identified: PCIe ASPM causes machine (HP Compaq 6735s) to sometimes hang in endless loop Thomas Renninger
2008-12-05 13:07 ` [PATCH] PCIe ASPM causes machine (HP Compaq 6735s) to sometimes freeze hard at boot at PCI initialization time Thomas Renninger
2008-12-05 18:21 ` Matthew Garrett
2008-12-08 1:32 ` Shaohua Li
2008-12-08 14:56 ` Thomas Renninger
2008-12-08 15:04 ` Thomas Renninger
2008-12-08 15:09 ` Matthew Garrett
2008-12-08 15:17 ` Thomas Renninger
2008-12-09 1:19 ` Shaohua Li
2008-12-09 12:05 ` Thomas Renninger
2008-12-09 23:05 ` Jesse Barnes
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=200811281328.55259.trenn@suse.de \
--to=trenn@suse.de \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rwysocki@suse.de \
--cc=shaohua.li@intel.com \
--cc=shemminger@linux-foundation.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).