All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
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 14:48:25 -0700	[thread overview]
Message-ID: <CAE9FiQU7gnKiwazN_2ykbXSkcuDqWMZNt0CHiGvae2L+rTVGug@mail.gmail.com> (raw)
In-Reply-To: <4F909CEB.3060407@fold.natur.cuni.cz>

On Thu, Apr 19, 2012 at 4:16 PM, Martin Mokrejs
<mmokrejs@fold.natur.cuni.cz> wrote:
>
>
> Yinghai Lu wrote:
>> On Wed, Apr 18, 2012 at 1:29 PM, Martin Mokrejs
>> <mmokrejs@fold.natur.cuni.cz> wrote:
>>> 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
>>>>>
>>
>> sometimes it report correctly. sometime it does not.
>
> I realized with Win 7 that if the Express Card with the two USB 3.0 ports has an external drive
> connected, its removal gets "always" detected. Probably because USB is polling for the disk and
> realizes that is is gone?
>
> Second observation is that in Device manager if I open the USB controllers list, I see for
> this card a USB HUB and a USB controller (two lines in the listig). If I remove the card
> the listing doesn't get updated. When I open the ROOT HUB properties, on the General tab
> is claimed that it is working well and the system does not realize the card is unplugged
> a long while already. But, if I open properties of the HOST CONTROLLER, it I think updates
> the "General tab" and says something about code 45. And after closing tgis HOST CONTROLLER
> window, the Device manager windows gets refreshed and the two lines related to the card
> disappear.

ok, other OS have same problem.

>
>
>
> I just tried something similar under linux, with all the patches I accumulated for 3.4-rc3
> and posted in my previous emails. It seems linux flips some value so on every second card
> removal it really does realize it was just unplugged.
...

that is really looks like silicon problem.

> Maybe the above is helpful?
> Martin
> P.S.: Meanwhile am waiting for an answer from Dell.

thinkpad 420 only can use acpiphp, because bios does give PCI CAP
control to OS via _OSC, pciehp could not used.

Yinghai

  reply	other threads:[~2012-04-19 21:48 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 21:29 3.2.11: PCI Express card cannot be re-detected withing cca 60sec timeframe Martin Mokrejs
2012-03-21 22:29 ` Yinghai Lu
     [not found]   ` <4F6A5A53.305@fold.natur.cuni.cz>
2012-03-22  0:08     ` Yinghai Lu
     [not found]       ` <4F8BEB1D.9080903@fold.natur.cuni.cz>
2012-04-16 10:53         ` Martin Mokrejs
2012-04-16 11:05           ` Martin Mokrejs
2012-04-16 18:07         ` Yinghai Lu
2012-04-16 19:39           ` Martin Mokrejs
2012-04-16 19:45             ` Martin Mokrejs
2012-04-16 21:04             ` Yinghai Lu
2012-04-17  8:56               ` Martin Mokrejs
     [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 [this message]
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
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=CAE9FiQU7gnKiwazN_2ykbXSkcuDqWMZNt0CHiGvae2L+rTVGug@mail.gmail.com \
    --to=yinghai@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mmokrejs@fold.natur.cuni.cz \
    /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.