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: <47150565.5090102@rtr.ca>
Date:	Tue, 16 Oct 2007 14:39:33 -0400
From:	Mark Lord <lkml@....ca>
To:	Kristen Carlson Accardi <kristen.c.accardi@...el.com>
Cc:	pcihpd-discuss@...ts.sourceforge.net,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: PCIe Hotplug:  NFG unless I boot with card already inserted.

Kristen Carlson Accardi wrote:
>
> Hi Mark,
> So, just to make sure I understand, your reproducer for the failing case is:
> 1.  Boot laptop with no card.
> 2.  Load pciehp

Note that at this point I can insert/remove cards and they work fine.
If I suspend with card inserted, then lspci still shows the card on resume
but pciehp no longer functions (doesn't notice insert/removal events).

> 3.  Suspend laptop (slot is still empty)
> 4.  Resume laptop (slot is still empty)
> 5.  insert card - card is not detected.

Correct.  Then rmmod pciehp; modprobe pciehp;  and it works again.

Another thing:  if a card is already in the slot before pciehp is loaded
(under any circumstances), then pciehp does *not* see the card until I
unplug/replug it.

I also checked my modprobe.d/ options, and I am using pciehp_force=1.
Without that flag, none of this ever works.

> Can you tell me which Dell laptop you have, and also send me the dmesg
> output of the failing case after loading pciehp with pciehp_debug=1.

I'm attaching a syslog capture (if you just want the kernel stuff,
then just do:  grep 'kernel|logger' syslog.txt

Also attached is a full  lspci -vv  for this machine,
which happens to be a Dell Inspiron 9400 with 2.1GHz Core2Duo
and 2GB of RAM.

Cheers

View attachment "syslog.txt" of type "text/plain" (71939 bytes)

View attachment "lspci_vv.txt" of type "text/plain" (19940 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ