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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Apr 2012 09:27:46 +0200
From:	Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
To:	Yinghai Lu <yinghai@...nel.org>
CC:	Thomas Gleixner <tglx@...utronix.de>, 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

Yinghai Lu wrote:
> On Mon, Apr 16, 2012 at 6:42 PM, Yinghai Lu <yinghai@...nel.org> wrote:
>> On Mon, Apr 16, 2012 at 1:53 PM, Yinghai Lu <yinghai@...nel.org> wrote:
>>> On Mon, Apr 16, 2012 at 12:09 PM, Martin Mokrejs
>>> <mmokrejs@...d.natur.cuni.cz> wrote:
>>>>>>> On Wed, Mar 21, 2012 at 3:46 PM, Martin Mokrejs
>>>>>>   I had some Ooopses with 3.4-rc2 but now I have tested 3.4-rc3. Still, linux
>>>>>> does NOT realize that I have removed an ExpressCard from the slot. It realizes
>>>>>> that only when I pluging the card back again. Actually, this is a case of a
>>>>>> NEC chipset base USB3.0 card.
>>>>>>
>>>>>>  In contrast, kernel DOES recognize that I unplugged a FireWire card from the
>>>>>> same slot.
>>>>>>
>>>>>>  This is a Dell Vostro 3550 laptop. Below is what syslog logged with my comment.
>>>>>> Empty lines between the log entries are inserted whe I either inserted or removed
>>>>>> a card. Probably a bit more will be in the attached dmesg file.
>>>
>>> so the interrupt for removal get generated, but pcie_isr() is delayed
>>> when another surprise is generated...
>>>
>>
>> please try to revert
>> commit 486b10b9f43500741cd63a878d0ef23cd87fc66d
>> Author: Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>
>> Date:   Mon Nov 7 20:56:50 2011 +0900
>>
>>    PCI: pciehp: Handle push button event asynchronously
>>
>>    Use non-ordered workqueue for attention button events.
>>
>>    Attention button events on each slot can be handled asynchronously. So
>>    we should use non-ordered workqueue. This patch also removes ordered
>>    workqueue in pciehp as a result.
>>
>> to see if there is any difference.
> 
> can you send out lspci -vvxxxx -s 00:1c.7 after removing USB 3.0 express card?

No, that did not help (tried on 3.4-rc3). First I plugged in the NEC uPD720200 USB3.0 card
and unplugged it (card removal not reported :(), saved the lspci output.
Then I inserted the FireWire card, unplugged, again saved the lspci output.
Finally, saved the dmesg. All three files are attached.

Thank you for your time,
Martin

View attachment "lspci_00.1c.7__after_USB3_card_removal.txt" of type "text/plain" (16465 bytes)

View attachment "lspci_00.1c.7__after_FireWire_card_removal.txt" of type "text/plain" (16457 bytes)

View attachment "dmesg__3.4-rc3-reverted-486b10b9f43500741cd63a878d0ef23cd87fc66d" of type "text/plain" (67260 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ