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:	Fri, 27 Apr 2012 00:08:13 +0200
From:	Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
To:	Yinghai Lu <yinghai@...nel.org>
CC:	Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
	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 Tue, Apr 24, 2012 at 1:48 PM, Martin Mokrejs
> <mmokrejs@...d.natur.cuni.cz> wrote:
>> (sorry for the re-send, now with the attached dmesg)
>>
>>
>> With the express card itself (no USB devices attached to it) I do not see
>> a difference. Is this what you wanted me to test?
>>
> 
> so disabling autosuspend make no difference.
> 
> Can you try boot the system without loading xhci driver ?

Bingo! Physical express card removal started to be notified correctly.

inserted

Apr 27 00:01:33 vostro kernel: [   75.608352] pciehp 0000:00:1c.7:pcie04: lnk_status = 7011
Apr 27 00:01:33 vostro kernel: [   75.608356] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
Apr 27 00:01:34 vostro kernel: [   75.737878] pci 0000:11:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6c01fff 64bit]
Apr 27 00:01:34 vostro kernel: [   75.737923] pcieport 0000:00:1c.7: PCI bridge to [bus 11-16]
Apr 27 00:01:34 vostro kernel: [   75.737927] pcieport 0000:00:1c.7:   bridge window [io  0xc000-0xdfff]
Apr 27 00:01:34 vostro kernel: [   75.737932] pcieport 0000:00:1c.7:   bridge window [mem 0xf6c00000-0xf7cfffff]
Apr 27 00:01:34 vostro kernel: [   75.737936] pcieport 0000:00:1c.7:   bridge window [mem 0xf0000000-0xf10fffff 64bit pref]

removed

Apr 27 00:01:40 vostro kernel: [   81.925638] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
Apr 27 00:01:40 vostro kernel: [   81.925643] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)

inserted

Apr 27 00:01:44 vostro kernel: [   86.061848] pciehp 0000:00:1c.7:pcie04: lnk_status = 7011
Apr 27 00:01:44 vostro kernel: [   86.061852] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
Apr 27 00:01:44 vostro kernel: [   86.182332] pci 0000:11:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6c01fff 64bit]
Apr 27 00:01:44 vostro kernel: [   86.182366] pcieport 0000:00:1c.7: PCI bridge to [bus 11-16]
Apr 27 00:01:44 vostro kernel: [   86.182380] pcieport 0000:00:1c.7:   bridge window [io  0xc000-0xdfff]
Apr 27 00:01:44 vostro kernel: [   86.182385] pcieport 0000:00:1c.7:   bridge window [mem 0xf6c00000-0xf7cfffff]
Apr 27 00:01:44 vostro kernel: [   86.182389] pcieport 0000:00:1c.7:   bridge window [mem 0xf0000000-0xf10fffff 64bit pref]

removed

Apr 27 00:01:49 vostro kernel: [   91.591185] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
Apr 27 00:01:49 vostro kernel: [   91.591189] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)

inserted

Apr 27 00:01:52 vostro kernel: [   94.377955] pciehp 0000:00:1c.7:pcie04: lnk_status = 7011
Apr 27 00:01:52 vostro kernel: [   94.377960] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
Apr 27 00:01:52 vostro kernel: [   94.499944] pci 0000:11:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6c01fff 64bit]
Apr 27 00:01:52 vostro kernel: [   94.499980] pcieport 0000:00:1c.7: PCI bridge to [bus 11-16]
Apr 27 00:01:52 vostro kernel: [   94.499996] pcieport 0000:00:1c.7:   bridge window [io  0xc000-0xdfff]
Apr 27 00:01:52 vostro kernel: [   94.500001] pcieport 0000:00:1c.7:   bridge window [mem 0xf6c00000-0xf7cfffff]
Apr 27 00:01:52 vostro kernel: [   94.500005] pcieport 0000:00:1c.7:   bridge window [mem 0xf0000000-0xf10fffff 64bit pref]

removed

Apr 27 00:01:56 vostro kernel: [   98.005164] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
Apr 27 00:01:56 vostro kernel: [   98.005168] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)

inserted

Apr 27 00:01:58 vostro kernel: [  100.394715] pciehp 0000:00:1c.7:pcie04: lnk_status = 7011
Apr 27 00:01:58 vostro kernel: [  100.394718] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
Apr 27 00:01:58 vostro kernel: [  100.520988] pci 0000:11:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6c01fff 64bit]
Apr 27 00:01:58 vostro kernel: [  100.521034] pcieport 0000:00:1c.7: PCI bridge to [bus 11-16]
Apr 27 00:01:58 vostro kernel: [  100.521037] pcieport 0000:00:1c.7:   bridge window [io  0xc000-0xdfff]
Apr 27 00:01:58 vostro kernel: [  100.521041] pcieport 0000:00:1c.7:   bridge window [mem 0xf6c00000-0xf7cfffff]
Apr 27 00:01:58 vostro kernel: [  100.521046] pcieport 0000:00:1c.7:   bridge window [mem 0xf0000000-0xf10fffff 64bit pref]

removed

Apr 27 00:02:01 vostro kernel: [  103.401375] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
Apr 27 00:02:01 vostro kernel: [  103.401379] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)

inserted

Apr 27 00:02:04 vostro kernel: [  106.089626] pciehp 0000:00:1c.7:pcie04: lnk_status = 7011
Apr 27 00:02:04 vostro kernel: [  106.089630] pciehp 0000:00:1c.7:pcie04: Card present on Slot(7)
Apr 27 00:02:04 vostro kernel: [  106.212517] pci 0000:11:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6c01fff 64bit]
Apr 27 00:02:04 vostro kernel: [  106.212561] pcieport 0000:00:1c.7: PCI bridge to [bus 11-16]
Apr 27 00:02:04 vostro kernel: [  106.212564] pcieport 0000:00:1c.7:   bridge window [io  0xc000-0xdfff]
Apr 27 00:02:04 vostro kernel: [  106.212569] pcieport 0000:00:1c.7:   bridge window [mem 0xf6c00000-0xf7cfffff]
Apr 27 00:02:04 vostro kernel: [  106.212574] pcieport 0000:00:1c.7:   bridge window [mem 0xf0000000-0xf10fffff 64bit pref]

removed

Apr 27 00:02:07 vostro kernel: [  108.854629] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
Apr 27 00:02:07 vostro kernel: [  108.854633] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)


Attached is dmesg and lspci of the express card bridge when the card is removed.
Martin

View attachment "dmesg-3.4-rc3-patched_no_xhci_hcd" of type "text/plain" (71263 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ