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]
Message-ID: <CAE9FiQWhbXPnxCAtsgL4FYqTZgqzosSdzEJCW7-11ooDNY2g8w@mail.gmail.com>
Date:	Wed, 18 Apr 2012 18:57:59 -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 Wed, Apr 18, 2012 at 3:55 PM, Martin Mokrejs
<mmokrejs@...d.natur.cuni.cz> wrote:
>
>>>> Can you try to use acpiphp instead of pciehp?
>>>
>>> Umm. I do have acpiphp in my kernel already. I am rather attaching my .config,
>>> please me know what you want me to do. My kernel command line could be seen
>>> in my previous posts in the dmesg file.
>>
>> remove
>>
>> CONFIG_HOTPLUG_PCI_PCIE=y
>
> The express card slot seems "dead", nothing happens when I plugin the card.
> I have attached the lspci of the bridge (when card p[lugged in), in case there is
> something of interest to you. ;-) Same for dmesg.
>
>
>
> # grep HOTPLUG /usr/src/linux-3.4-rc3__patches_yinghai_jeff_garzik/.config
> CONFIG_HOTPLUG=y
> # CONFIG_MEMORY_HOTPLUG is not set
> CONFIG_HOTPLUG_CPU=y
> CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
> CONFIG_ACPI_HOTPLUG_CPU=y
> # CONFIG_HOTPLUG_PCI_PCIE is not set
> CONFIG_HOTPLUG_PCI=y
> # CONFIG_HOTPLUG_PCI_FAKE is not set
> CONFIG_HOTPLUG_PCI_ACPI=y
> # CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
> # CONFIG_HOTPLUG_PCI_CPCI is not set
> CONFIG_HOTPLUG_PCI_SHPC=m
> #
>
>
> The echo commands just do:
>
> [  616.477711] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 53
> [  637.242990] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 43
> [  641.791748] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 52
> [  654.317009] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 42
> [  664.238154] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 52
> [  686.101576] pcieport 0000:00:1c.7: pcie_link_disable_set: lnk_ctrl = 43
>

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
--
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