lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQU7gnKiwazN_2ykbXSkcuDqWMZNt0CHiGvae2L+rTVGug@mail.gmail.com>
Date:	Thu, 19 Apr 2012 14:48:25 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
Cc:	linux-pci@...r.kernel.org,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: 3.2.11: PCI Express card cannot be re-detected withing cca 60sec timeframe

On Thu, Apr 19, 2012 at 4:16 PM, Martin Mokrejs
<mmokrejs@...d.natur.cuni.cz> wrote:
>
>
> Yinghai Lu wrote:
>> On Wed, Apr 18, 2012 at 1:29 PM, Martin Mokrejs
>> <mmokrejs@...d.natur.cuni.cz> wrote:
>>> Yinghai Lu wrote:
>>>> On Wed, Apr 18, 2012 at 10:53 AM, Martin Mokrejs
>>>> <mmokrejs@...d.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ