From: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
To: Yinghai Lu <yinghai@kernel.org>
Cc: linux-pci@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 3.2.11: PCI Express card cannot be re-detected withing cca 60sec timeframe
Date: Thu, 19 Apr 2012 19:32:07 +0200 [thread overview]
Message-ID: <4F904C17.6010705@fold.natur.cuni.cz> (raw)
In-Reply-To: <CAE9FiQVcJbPub1O6nwyNsiijHFpHN0jMsGO4MmKugybPL7Wnug@mail.gmail.com>
Yinghai Lu wrote:
> On Wed, Apr 18, 2012 at 10:53 AM, Martin Mokrejs
> <mmokrejs@fold.natur.cuni.cz> wrote:
>>> After you remove USB3 expresscard, you need to
>>>
>>> echo 1 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
>>> then
>>> echo 0 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
>>
>> So without these two echo commands the is no improvement/fix.
>>
>> [ 686.701306] pciehp 0000:00:1c.7:pcie04: pcie_isr: intr_loc 8
>> [ 686.701316] pciehp 0000:00:1c.7:pcie04: Presence/Notify input change
>> [ 686.701319] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
>> [ 686.701357] pciehp 0000:00:1c.7:pcie04: Surprise Removal
>> [ 686.701390] pciehp 0000:00:1c.7:pcie04: check_link_active: lnk_status = 7011
>> [ 686.809763] pciehp 0000:00:1c.7:pcie04: pciehp_check_link_status: lnk_status = 7011
> ...
>> [ 686.833678] hub 6-0:1.0: 2 ports detected
>>
>> echo 1 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
>>
>> [ 716.999938] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 53
>> [ 717.024647] pciehp 0000:00:1c.7:pcie04: pcie_isr: intr_loc 8
>> [ 717.024657] pciehp 0000:00:1c.7:pcie04: Presence/Notify input change
>> [ 717.024665] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)
>> [ 717.024723] pciehp 0000:00:1c.7:pcie04: Surprise Removal
>> [ 717.024753] pciehp 0000:00:1c.7:pcie04: Disabling domain:bus:device=0000:11:00
>> [ 717.024756] pciehp 0000:00:1c.7:pcie04: pciehp_unconfigure_device: domain:bus:dev = 0000:11:00
> ..
>> [ 717.045197] pci 0000:11:00.0: freeing pci_dev info
>>
>> echo 0 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
>>
>> [ 748.456914] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 40
>>
>
> so it is chipset problem, it does not detect and report the presence
> of the card after that link is removed.
Hi Yinghai,
this brought me to and issue with "Intel® 6 Series Express Chipset B2 stepping" chips
having enabled SATA ports 2-5. This is my case:
[ 3.037832] ahci 0000:00:1f.2: version 3.0
[ 3.037880] ahci 0000:00:1f.2: irq 44 for MSI/MSI-X
[ 3.037906] ahci: SSS flag set, parallel bus scan disabled
[ 3.048233] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x31 impl SATA mode
[ 3.048335] ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part ems sxs apst
[ 3.048371] ahci 0000:00:1f.2: setting latency timer to 64
[ 3.088902] scsi0 : ahci
[ 3.089010] scsi1 : ahci
[ 3.089098] scsi2 : ahci
[ 3.089185] scsi3 : ahci
[ 3.089272] scsi4 : ahci
[ 3.089361] scsi5 : ahci
[ 3.090528] ata1: SATA max UDMA/133 abar m2048@0xf7f06000 port 0xf7f06100 irq 44
[ 3.091400] ata2: DUMMY
[ 3.092262] ata3: DUMMY
[ 3.093112] ata4: DUMMY
[ 3.093952] ata5: SATA max UDMA/133 abar m2048@0xf7f06000 port 0xf7f06300 irq 44
[ 3.094803] ata6: SATA max UDMA/133 abar m2048@0xf7f06000 port 0xf7f06380 irq 44
Is this bug anyhow related to this already known chipset issue?
http://support.dell.com/support/topics/global.aspx/support/kcs/document?c=us&cs=04&docid=389728&l=en&s=bsd
http://www.intel.com/support/chipsets/6/sb/CS-032521.htm
http://www.intel.com/support/chipsets/6/sb/CS-032521.htm
>
So you found two issues, right?
Issue 1:
Yinghai Lu wrote:
> for USB 3.0:
> SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
> Changed: MRL- PresDet- LinkState+
>
> PresDet+: mean that card is still there. so no interrupt is generated
> by chipset.
>
> that present bit is decide by by inband link or out of band.
>
> sometimes when out of band pres is no, present bit could be keep flip
> around because in root port try to retrain to detect ...
> but it is not the case.
>
> the pin "CPPE# PCI Express interface presence detect" should get into
> hotplug FPGA in motherboard.
>
> You may need to check with vendor about if there is any problem with
> that hotplug FPGA.
Issue 2:
>>> Can you try to use acpiphp instead of pciehp?
>
> looks your BIOS does not support acpiphp.
>
> Maybe you have to stay with
>
> echo 1 > .../pcie_link_disable
> echo 0 > .../pcie_link_disable
>
> after removal every time.
>
> Yinghai
Does it make sense to report this to Dell (that it does not support ACPI hotplug)?
Can they fix it with BIOS or whatever? Thay will anyways replace my motherboard
in the laptop if my system is really affected.
Can I just return the thing after 2.5 months completely?
Thanks,
Martin
next prev parent reply other threads:[~2012-04-19 17:32 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4F6A483D.50702@fold.natur.cuni.cz>
[not found] ` <CAE9FiQVnErU-cska4gpinyj-LOup-U+3vsEG2z_-7h6kyREYtw@mail.gmail.com>
[not found] ` <4F6A5A53.305@fold.natur.cuni.cz>
[not found] ` <CAE9FiQXP7fO9OGN557jdofFFiFj96wL--ZA8X3UPEJ6o9JLvBw@mail.gmail.com>
[not found] ` <4F8BEB1D.9080903@fold.natur.cuni.cz>
[not found] ` <CAE9FiQXoX3J6P_9Tun_XbkK3egvSeBZxAtC13HacFDO0fwmZaA@mail.gmail.com>
[not found] ` <4F8C6E4E.1000205@fold.natur.cuni.cz>
2012-04-16 20:53 ` Yinghai Lu
2012-04-17 1:42 ` Yinghai Lu
2012-04-17 2:48 ` Yinghai Lu
2012-04-17 7:27 ` Martin Mokrejs
2012-04-17 8:46 ` Yinghai Lu
2012-04-17 8:58 ` Yinghai Lu
2012-04-17 9:34 ` Martin Mokrejs
2012-04-17 17:07 ` Yinghai Lu
2012-04-17 19:02 ` Yinghai Lu
2012-04-18 17:53 ` Martin Mokrejs
2012-04-18 19:48 ` Yinghai Lu
2012-04-18 20:29 ` Martin Mokrejs
2012-04-18 20:58 ` Yinghai Lu
2012-04-18 22:55 ` Martin Mokrejs
2012-04-19 1:57 ` Yinghai Lu
2012-04-19 3:16 ` Mark Lord
2012-04-19 23:16 ` Martin Mokrejs
2012-04-19 21:48 ` Yinghai Lu
2012-04-20 2:06 ` Yinghai Lu
2012-04-20 11:23 ` Martin Mokrejs
2012-04-20 16:01 ` Yinghai Lu
2012-04-20 17:25 ` Martin Mokrejs
2012-04-20 17:28 ` Martin Mokrejs
2012-04-20 18:47 ` Yinghai Lu
2012-04-20 23:17 ` Sarah Sharp
2012-04-21 0:09 ` Yinghai Lu
2012-04-21 4:46 ` Yinghai Lu
2012-04-21 9:01 ` Martin Mokrejs
2012-04-21 9:12 ` Martin Mokrejs
2012-04-21 13:25 ` Sarah Sharp
2012-04-21 18:46 ` Yinghai Lu
2012-04-24 20:47 ` Martin Mokrejs
2012-04-24 20:48 ` Martin Mokrejs
2012-04-26 16:08 ` Yinghai Lu
2012-04-26 22:08 ` Martin Mokrejs
2012-04-26 22:44 ` Yinghai Lu
2012-04-26 23:26 ` Martin Mokrejs
2012-04-27 3:51 ` Yinghai Lu
2012-04-20 23:50 ` Martin Mokrejs
2012-04-21 0:04 ` Yinghai Lu
2012-05-04 16:16 ` Martin Mokrejs
2012-04-19 17:32 ` Martin Mokrejs [this message]
2012-04-19 18:13 ` Yinghai Lu
2012-05-04 15:58 ` Martin Mokrejs
2012-05-04 20:43 ` Martin Mokrejs
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=4F904C17.6010705@fold.natur.cuni.cz \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=yinghai@kernel.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
all inboxes | Powered by JetHome®