3.7.10: acpiphp with pcie_aspm=off and eSATA card Sil 3132

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
  while testing how acpiphp behaves when an eSATA express card is repeatedly
inserted and removed from a slot, I realized few new things. The 

while true; do echo -n "$(date +%T) SlotStatus "; setpci -s1c.7 0x5a.w; sleep 1; done

reveals that when I cold boot with a card in a slot, it reports 0040. When I boot with
an empty slot, we start with 0000 instead.

The first insertion of the card moves us to 0140.

If the mechanics works well, value stays at 0140 and upon sucessfull eject it falls down to 0100.

If the card slips out (like in this case) the value reports 0140 while the
slot is actually empty. Then the next insert in unnoticed, value is still 0140, and following
eject (even eject) rescues us and the slot reports 0100 properly.

The above is a "general" behavior I would say. I haven't seen the 0040 status before
but could be I did not test coldplug with pciehp yet while using the setpci shell
command.


A side note:
To prepare for even dimmer future, let me tell you that I already saw more values!
During eject there is also 0148 possible and that falls down to 0108 upon eject.
Funny was that I left the eSATA card in the slot while starring at the new numbers
and meanwhile they started due to some background activity changing back and forth
(I am not showing it here). Probably because of the sata_sil24 being half dead.



I am placing a file http://195.113.57.32/~mmokrejs/tmp/3.7.10_acpiphp_pcie_aspm_off.tar.bz2 (200kB)
which contains lspci outputs every second and lsusb, dmesg:

while true; do lspci -vvvxxx > "lspci_loop.$(date +%T)"; sleep 1; done

It seems lspci does not always report all changes in sufficient detail unless
I use -vvvxxx. Below is tracking by every second when I inserted a card and
it slipped out, followed by another (successful) insertion into the slot.

I am showing some of the diffs here but open along this email a file slot_status.txt
from the tar.bz2 above. Definitely, below you can see PresDet is changed on the SltSta
Status: line only while NOT on the Changed: line. From other threads I opened I conclude
this is a common bug to pciehp and acpiphp, or is a lspci bug, or a hardware/bios bug.

I speculate the "SltSta: Changed:" line of lspci is not updated properly, or at all,
not only the PresDet in it.

I am curious whether the below hex diffs could be transformed into some readable
line in default, "lspci -vv" output.


# diff -u -w lspci_loop.20:17:32 lspci_loop.20:17:33
--- lspci_loop.20:17:32 2013-03-11 20:17:32.000000000 +0100
+++ lspci_loop.20:17:33 2013-03-11 20:17:33.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:17:33 lspci_loop.20:17:34
--- lspci_loop.20:17:33 2013-03-11 20:17:33.000000000 +0100
+++ lspci_loop.20:17:34 2013-03-11 20:17:34.000000000 +0100
@@ -516,15 +516,15 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:34 lspci_loop.20:17:35
--- lspci_loop.20:17:34 2013-03-11 20:17:34.000000000 +0100
+++ lspci_loop.20:17:35 2013-03-11 20:17:35.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
+e0: 00 00 00 00 80 8d 0d 00 00 c0 00 d6 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:35 lspci_loop.20:17:37
--- lspci_loop.20:17:35 2013-03-11 20:17:35.000000000 +0100
+++ lspci_loop.20:17:37 2013-03-11 20:17:37.000000000 +0100
@@ -519,12 +519,12 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 80 8d 0d 00 00 c0 00 d6 04 33 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:37 lspci_loop.20:17:38
--- lspci_loop.20:17:37 2013-03-11 20:17:37.000000000 +0100
+++ lspci_loop.20:17:38 2013-03-11 20:17:38.000000000 +0100
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:39 lspci_loop.20:17:40
--- lspci_loop.20:17:39 2013-03-11 20:17:39.000000000 +0100
+++ lspci_loop.20:17:40 2013-03-11 20:17:40.000000000 +0100
@@ -519,12 +519,12 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 80 8d 0d 80 00 c0 00 d6 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:40 lspci_loop.20:17:41
--- lspci_loop.20:17:40 2013-03-11 20:17:40.000000000 +0100
+++ lspci_loop.20:17:41 2013-03-11 20:17:41.000000000 +0100
@@ -519,12 +519,12 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 80 8d 0d 80 00 c0 00 d6 04 33 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:17:41 lspci_loop.20:17:42
--- lspci_loop.20:17:41 2013-03-11 20:17:41.000000000 +0100
+++ lspci_loop.20:17:42 2013-03-11 20:17:42.000000000 +0100
@@ -453,12 +453,12 @@
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
                        Slot #7, PowerLimit 10.000W; Interlock- NoCompl+
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
-               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
+               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
                        Changed: MRL- PresDet- LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
@@ -482,7 +482,7 @@
 20: c0 f6 c0 f7 01 f0 01 f1 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 08
-50: 40 00 11 50 60 b2 3c 00 00 00 00 01 00 00 00 00
+50: 40 00 11 70 60 b2 3c 00 00 00 40 01 00 00 00 00
 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
 70: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
 
 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
@@ -799,3 +799,56 @@
 e0: 00 00 40 63 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
+11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
+       Subsystem: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller
+       Physical Slot: 1
+       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
+       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
+       Latency: 0, Cache Line Size: 32 bytes
+       Interrupt: pin A routed to IRQ 19
+       Region 0: Memory at f6c04000 (64-bit, non-prefetchable) [size=128]
+       Region 2: Memory at f6c00000 (64-bit, non-prefetchable) [size=16K]
+       Region 4: I/O ports at c000 [size=128]
+       [virtual] Expansion ROM at f0000000 [disabled] [size=512K]
+       Capabilities: [54] Power Management version 2
+               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
+               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
+       Capabilities: [5c] MSI: Enable- Count=1/1 Maskable- 64bit+
+               Address: 0000000000000000  Data: 0000
+       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
+               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
+                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
+               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
+                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
+                       MaxPayload 128 bytes, MaxReadReq 4096 bytes
+               DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
+               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 unlimited
+                       ClockPM- Surprise- LLActRep- BwNot-
+               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
+                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
+       Capabilities: [100 v1] Advanced Error Reporting
+               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
+               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
+               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
+               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
+               AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
+       Kernel driver in use: sata_sil24
+00: 95 10 32 31 07 01 10 00 01 00 80 01 08 00 00 00
+10: 04 40 c0 f6 00 00 00 00 04 00 c0 f6 00 00 00 00
+20: 01 c0 00 00 00 00 00 00 00 00 00 00 95 10 32 31
+30: 00 00 00 00 54 00 00 00 00 00 00 00 00 01 00 00
+40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+50: 00 00 00 00 01 5c 22 06 00 20 00 0c 05 70 80 00
+60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+70: 10 00 11 00 03 00 00 00 00 50 0a 00 11 f4 03 00
+80: 40 00 11 10 00 00 00 00 00 00 00 00 00 00 00 00
+90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:17:42 lspci_loop.20:17:43
--- lspci_loop.20:17:42 2013-03-11 20:17:42.000000000 +0100
+++ lspci_loop.20:17:43 2013-03-11 20:17:43.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00


Then things do not change as long as the card is thought to be in
the slot because it went unnoticed that it slipped out accidentally,
and that inserted it back again. Below we are maybe at about the time
when I inserted the card back again, I am not 100% sure. Maybe from
the values changing back and forth you can infer something.

# diff -u -w lspci_loop.20:17:44 lspci_loop.20:18:06
--- lspci_loop.20:17:44 2013-03-11 20:17:44.000000000 +0100
+++ lspci_loop.20:18:06 2013-03-11 20:18:06.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:09 lspci_loop.20:18:10
--- lspci_loop.20:18:09 2013-03-11 20:18:09.000000000 +0100
+++ lspci_loop.20:18:10 2013-03-11 20:18:10.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:10 lspci_loop.20:18:11
--- lspci_loop.20:18:10 2013-03-11 20:18:10.000000000 +0100
+++ lspci_loop.20:18:11 2013-03-11 20:18:11.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:13 lspci_loop.20:18:14
--- lspci_loop.20:18:13 2013-03-11 20:18:13.000000000 +0100
+++ lspci_loop.20:18:14 2013-03-11 20:18:14.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:15 lspci_loop.20:18:16
--- lspci_loop.20:18:15 2013-03-11 20:18:15.000000000 +0100
+++ lspci_loop.20:18:16 2013-03-11 20:18:16.000000000 +0100
@@ -519,7 +519,7 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:16 lspci_loop.20:18:17
--- lspci_loop.20:18:16 2013-03-11 20:18:16.000000000 +0100
+++ lspci_loop.20:18:17 2013-03-11 20:18:17.000000000 +0100
@@ -519,7 +519,7 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:17 lspci_loop.20:18:19
--- lspci_loop.20:18:17 2013-03-11 20:18:17.000000000 +0100
+++ lspci_loop.20:18:19 2013-03-11 20:18:19.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:18 lspci_loop.20:18:19
--- lspci_loop.20:18:18 2013-03-11 20:18:18.000000000 +0100
+++ lspci_loop.20:18:19 2013-03-11 20:18:19.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:21 lspci_loop.20:18:22
--- lspci_loop.20:18:21 2013-03-11 20:18:21.000000000 +0100
+++ lspci_loop.20:18:22 2013-03-11 20:18:22.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:23 lspci_loop.20:18:24
--- lspci_loop.20:18:23 2013-03-11 20:18:23.000000000 +0100
+++ lspci_loop.20:18:24 2013-03-11 20:18:24.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
# diff -u -w lspci_loop.20:18:24 lspci_loop.20:18:25
--- lspci_loop.20:18:24 2013-03-11 20:18:24.000000000 +0100
+++ lspci_loop.20:18:25 2013-03-11 20:18:25.000000000 +0100
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00


Finally, here is the even eject of the card which sycnhronizes the reality with kernel's
idea whether a slot is occupied or not. ;)

20:18:28 SlotStatus 0140
20:18:29 SlotStatus 0100

# diff -u -w lspci_loop.20:18:28 lspci_loop.20:18:29
--- lspci_loop.20:18:28 2013-03-11 20:18:28.000000000 +0100
+++ lspci_loop.20:18:29 2013-03-11 20:18:29.000000000 +0100
@@ -453,13 +453,13 @@
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
                        Slot #7, PowerLimit 10.000W; Interlock- NoCompl+
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
-               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
-                       Changed: MRL- PresDet- LinkState+
+               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
+                       Changed: MRL- PresDet+ LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
@@ -482,7 +482,7 @@
 20: c0 f6 c0 f7 01 f0 01 f1 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 08
-50: 40 00 11 70 60 b2 3c 00 00 00 40 01 00 00 00 00
+50: 40 00 11 50 60 b2 3c 00 00 00 08 01 00 00 00 00
 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
 70: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -490,7 +490,7 @@
 a0: 01 00 02 c8 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-d0: 00 00 00 01 02 0b 00 00 02 80 11 c1 00 00 00 00
+d0: 00 00 00 01 02 0b 00 00 02 80 11 c1 00 00 00 40
 e0: 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 87 0f 05 08 00 00 00 00
 
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
 
 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
@@ -799,56 +799,23 @@
 e0: 00 00 40 63 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
-11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
-       Subsystem: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller
-       Physical Slot: 1
-       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
-       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
-       Latency: 0, Cache Line Size: 32 bytes
-       Interrupt: pin A routed to IRQ 19
-       Region 0: Memory at f6c04000 (64-bit, non-prefetchable) [size=128]
-       Region 2: Memory at f6c00000 (64-bit, non-prefetchable) [size=16K]
-       Region 4: I/O ports at c000 [size=128]
-       [virtual] Expansion ROM at f0000000 [disabled] [size=512K]
-       Capabilities: [54] Power Management version 2
-               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
-               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
-       Capabilities: [5c] MSI: Enable- Count=1/1 Maskable- 64bit+
-               Address: 0000000000000000  Data: 0000
-       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
-               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
-                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
-               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
-                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
-                       MaxPayload 128 bytes, MaxReadReq 4096 bytes
-               DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
-               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 unlimited
-                       ClockPM- Surprise- LLActRep- BwNot-
-               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
-                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
-       Capabilities: [100 v1] Advanced Error Reporting
-               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
-               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
-               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
-               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
+11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev ff) (prog-if ff)
+       !!! Unknown header type 7f
        Kernel driver in use: sata_sil24
-00: 95 10 32 31 07 01 10 00 01 00 80 01 08 00 00 00
-10: 04 40 c0 f6 00 00 00 00 04 00 c0 f6 00 00 00 00
-20: 01 c0 00 00 00 00 00 00 00 00 00 00 95 10 32 31
-30: 00 00 00 00 54 00 00 00 00 00 00 00 00 01 00 00
-40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-50: 00 00 00 00 01 5c 22 06 00 20 00 0c 05 70 80 00
-60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-70: 10 00 11 00 03 00 00 00 00 50 0a 00 11 f4 03 00
-80: 40 00 11 10 00 00 00 00 00 00 00 00 00 00 00 00
-90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
# diff -u -w lspci_loop.20:18:29 lspci_loop.20:18:30
--- lspci_loop.20:18:29 2013-03-11 20:18:29.000000000 +0100
+++ lspci_loop.20:18:30 2013-03-11 20:18:30.000000000 +0100
@@ -459,7 +459,7 @@
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
-                       Changed: MRL- PresDet+ LinkState+
+                       Changed: MRL- PresDet- LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
@@ -482,7 +482,7 @@
 20: c0 f6 c0 f7 01 f0 01 f1 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 08
-50: 40 00 11 50 60 b2 3c 00 00 00 08 01 00 00 00 00
+50: 40 00 11 50 60 b2 3c 00 00 00 00 01 00 00 00 00
 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
 70: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -490,7 +490,7 @@
 a0: 01 00 02 c8 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-d0: 00 00 00 01 02 0b 00 00 02 80 11 c1 00 00 00 40
+d0: 00 00 00 01 02 0b 00 00 02 80 11 c1 00 00 00 00
 e0: 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 87 0f 05 08 00 00 00 00
 
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 33 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
 
 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
@@ -799,23 +799,3 @@
 e0: 00 00 40 63 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
-11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev ff) (prog-if ff)
-       !!! Unknown header type 7f
-       Kernel driver in use: sata_sil24
-00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
-f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
# diff -u -w lspci_loop.20:18:30 lspci_loop.20:18:31
--- lspci_loop.20:18:30 2013-03-11 20:18:30.000000000 +0100
+++ lspci_loop.20:18:31 2013-03-11 20:18:31.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP-
+               AFStatus: TP+
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
@@ -516,7 +516,7 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
 90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:18:31 lspci_loop.20:18:32
--- lspci_loop.20:18:31 2013-03-11 20:18:31.000000000 +0100
+++ lspci_loop.20:18:32 2013-03-11 20:18:32.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP+
+               AFStatus: TP-
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:32 lspci_loop.20:18:33
--- lspci_loop.20:18:32 2013-03-11 20:18:32.000000000 +0100
+++ lspci_loop.20:18:33 2013-03-11 20:18:33.000000000 +0100
@@ -519,7 +519,7 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:33 lspci_loop.20:18:34
--- lspci_loop.20:18:33 2013-03-11 20:18:33.000000000 +0100
+++ lspci_loop.20:18:34 2013-03-11 20:18:34.000000000 +0100
@@ -516,10 +516,10 @@
 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00
-60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
+60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 00 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Below I am inserting the card into slot, and it will be notified properly
because system knows it was unplugged few seconds ago:

# diff -u -w lspci_loop.20:18:36 lspci_loop.20:18:37
--- lspci_loop.20:18:36 2013-03-11 20:18:36.000000000 +0100
+++ lspci_loop.20:18:37 2013-03-11 20:18:37.000000000 +0100
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 a4 32 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:18:37 lspci_loop.20:18:38
--- lspci_loop.20:18:37 2013-03-11 20:18:37.000000000 +0100
+++ lspci_loop.20:18:38 2013-03-11 20:18:38.000000000 +0100
@@ -453,12 +453,12 @@
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
                        Slot #7, PowerLimit 10.000W; Interlock- NoCompl+
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
-               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
+               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
                        Changed: MRL- PresDet- LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
@@ -482,7 +482,7 @@
 20: c0 f6 c0 f7 01 f0 01 f1 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 08
-50: 40 00 11 50 60 b2 3c 00 00 00 00 01 00 00 00 00
+50: 40 00 11 70 60 b2 3c 00 00 00 40 01 00 00 00 00
 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
 70: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 a4 32 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
 
 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
@@ -799,3 +799,56 @@
 e0: 00 00 40 63 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
+11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
+       Subsystem: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller
+       Physical Slot: 1
+       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
+       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
+       Latency: 0, Cache Line Size: 32 bytes
+       Interrupt: pin A routed to IRQ 19
+       Region 0: Memory at f6c04000 (64-bit, non-prefetchable) [size=128]
+       Region 2: Memory at f6c00000 (64-bit, non-prefetchable) [size=16K]
+       Region 4: I/O ports at c000 [size=128]
+       [virtual] Expansion ROM at f0000000 [disabled] [size=512K]
+       Capabilities: [54] Power Management version 2
+               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
+               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
+       Capabilities: [5c] MSI: Enable- Count=1/1 Maskable- 64bit+
+               Address: 0000000000000000  Data: 0000
+       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
+               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
+                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
+               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
+                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
+                       MaxPayload 128 bytes, MaxReadReq 4096 bytes
+               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
+               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 unlimited
+                       ClockPM- Surprise- LLActRep- BwNot-
+               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
+                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
+       Capabilities: [100 v1] Advanced Error Reporting
+               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
+               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
+               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
+               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
+       Kernel driver in use: sata_sil24
+00: 95 10 32 31 07 01 10 00 01 00 80 01 08 00 00 00
+10: 04 40 c0 f6 00 00 00 00 04 00 c0 f6 00 00 00 00
+20: 01 c0 00 00 00 00 00 00 00 00 00 00 95 10 32 31
+30: 00 00 00 00 54 00 00 00 00 00 00 00 00 01 00 00
+40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+50: 00 00 00 00 01 5c 22 06 00 20 00 0c 05 70 80 00
+60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+70: 10 00 11 00 03 00 00 00 00 50 00 00 11 f4 03 00
+80: 40 00 11 10 00 00 00 00 00 00 00 00 00 00 00 00
+90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:39 lspci_loop.20:18:40
--- lspci_loop.20:18:39 2013-03-11 20:18:39.000000000 +0100
+++ lspci_loop.20:18:40 2013-03-11 20:18:40.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP-
+               AFStatus: TP+
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
@@ -519,12 +519,12 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:18:40 lspci_loop.20:18:41
--- lspci_loop.20:18:40 2013-03-11 20:18:40.000000000 +0100
+++ lspci_loop.20:18:41 2013-03-11 20:18:41.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP+
+               AFStatus: TP-
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:42 lspci_loop.20:18:43
--- lspci_loop.20:18:42 2013-03-11 20:18:42.000000000 +0100
+++ lspci_loop.20:18:43 2013-03-11 20:18:43.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP+
+               AFStatus: TP-
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
@@ -519,12 +519,12 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20


And another eject of the card:

# diff -u -w lspci_loop.20:18:44 lspci_loop.20:18:45
--- lspci_loop.20:18:44 2013-03-11 20:18:44.000000000 +0100
+++ lspci_loop.20:18:45 2013-03-11 20:18:45.000000000 +0100
@@ -453,12 +453,12 @@
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
+               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
                        Slot #7, PowerLimit 10.000W; Interlock- NoCompl+
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
-               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
+               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
                        Changed: MRL- PresDet- LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
@@ -482,7 +482,7 @@
 20: c0 f6 c0 f7 01 f0 01 f1 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 08
-50: 40 00 11 70 60 b2 3c 00 00 00 40 01 00 00 00 00
+50: 40 00 11 50 60 b2 3c 00 00 00 00 01 00 00 00 00
 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
 70: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -799,56 +799,3 @@
 e0: 00 00 40 63 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
-11:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
-       Subsystem: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller
-       Physical Slot: 1
-       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
-       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
-       Latency: 0, Cache Line Size: 32 bytes
-       Interrupt: pin A routed to IRQ 19
-       Region 0: Memory at f6c04000 (64-bit, non-prefetchable) [size=128]
-       Region 2: Memory at f6c00000 (64-bit, non-prefetchable) [size=16K]
-       Region 4: I/O ports at c000 [size=128]
-       [virtual] Expansion ROM at f0000000 [disabled] [size=512K]
-       Capabilities: [54] Power Management version 2
-               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
-               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
-       Capabilities: [5c] MSI: Enable- Count=1/1 Maskable- 64bit+
-               Address: 0000000000000000  Data: 0000
-       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
-               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
-                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
-               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
-                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
-                       MaxPayload 128 bytes, MaxReadReq 4096 bytes
-               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
-               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 unlimited
-                       ClockPM- Surprise- LLActRep- BwNot-
-               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
-                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
-       Capabilities: [100 v1] Advanced Error Reporting
-               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
-               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
-               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
-               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
-       Kernel driver in use: sata_sil24
-00: 95 10 32 31 07 01 10 00 01 00 80 01 08 00 00 00
-10: 04 40 c0 f6 00 00 00 00 04 00 c0 f6 00 00 00 00
-20: 01 c0 00 00 00 00 00 00 00 00 00 00 95 10 32 31
-30: 00 00 00 00 54 00 00 00 00 00 00 00 00 01 00 00
-40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-50: 00 00 00 00 01 5c 22 06 00 20 00 0c 05 70 80 00
-60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-70: 10 00 11 00 03 00 00 00 00 50 00 00 11 f4 03 00
-80: 40 00 11 10 00 00 00 00 00 00 00 00 00 00 00 00
-90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:45 lspci_loop.20:18:46
--- lspci_loop.20:18:45 2013-03-11 20:18:45.000000000 +0100
+++ lspci_loop.20:18:46 2013-03-11 20:18:46.000000000 +0100
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20
# diff -u -w lspci_loop.20:18:46 lspci_loop.20:18:47
--- lspci_loop.20:18:46 2013-03-11 20:18:46.000000000 +0100
+++ lspci_loop.20:18:47 2013-03-11 20:18:47.000000000 +0100
@@ -519,7 +519,7 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:47 lspci_loop.20:18:48
--- lspci_loop.20:18:47 2013-03-11 20:18:47.000000000 +0100
+++ lspci_loop.20:18:48 2013-03-11 20:18:48.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP-
+               AFStatus: TP+
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
@@ -519,7 +519,7 @@
 60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 00 08 40
 70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00
-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
+90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# diff -u -w lspci_loop.20:18:48 lspci_loop.20:18:49
--- lspci_loop.20:18:48 2013-03-11 20:18:48.000000000 +0100
+++ lspci_loop.20:18:49 2013-03-11 20:18:49.000000000 +0100
@@ -508,7 +508,7 @@
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
-               AFStatus: TP+
+               AFStatus: TP-
        Kernel driver in use: ehci_hcd
 00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00
 10: 00 70 f0 f7 00 00 00 00 00 00 00 00 00 00 00 00
@@ -524,7 +524,7 @@
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00
-e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 32 00 d6
+e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 30 00 d6
 f0: 00 00 00 00 88 85 80 00 87 0f 05 08 08 17 5b 20


Another insert ...
# diff -u -w lspci_loop.20:18:49 lspci_loop.20:18:52

etc.

Now, maybe somebody have the guts to look into the held locks in hung tasks
as shown in dmesg_after_alt_sysrq_w.txt. ;-)

[  361.740663] INFO: task kworker/u:4:1615 blocked for more than 120 seconds.
[  361.740670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  361.740675] kworker/u:4     D ffffffff81ca46c0     0  1615      2 0x00000000
[  361.740688]  ffff88040b3b9c88 0000000000000046 0000000000000096 ffff88040d2f5d00
[  361.740698]  ffffffff815e48c1 ffff88040b8a6c80 ffff88040b3b9fd8 ffff88040b3b9fd8
[  361.740707]  0000000000011700 ffff88040b8a6c80 0000000000000292 ffff880405d08000
[  361.740718] Call Trace:
[  361.740738]  [<ffffffff815e48c1>] ? _raw_spin_unlock_irqrestore+0x3a/0x41
[  361.740741]  [<ffffffff815e3b27>] schedule+0x5f/0x61
[  361.740745]  [<ffffffff8134a71e>] ata_port_wait_eh+0x6d/0xcb
[  361.740750]  [<ffffffff81090712>] ? __init_waitqueue_head+0x4c/0x4c
[  361.740752]  [<ffffffff813463ae>] ata_port_probe+0x25/0x32
[  361.740754]  [<ffffffff813463eb>] async_port_probe+0x30/0x4d
[  361.740758]  [<ffffffff81095a38>] async_run_entry_fn+0xc0/0x1a4
[  361.740760]  [<ffffffff8108b7da>] process_one_work+0x1ae/0x2d2
[  361.740762]  [<ffffffff8108b770>] ? process_one_work+0x144/0x2d2
[  361.740771]  [<ffffffff81095978>] ? async_schedule+0x12/0x12
[  361.740773]  [<ffffffff8108c4d2>] worker_thread+0x13e/0x1d5
[  361.740774]  [<ffffffff8108c394>] ? manage_workers+0x23d/0x23d
[  361.740776]  [<ffffffff8108ff0a>] kthread+0xac/0xb4
[  361.740778]  [<ffffffff8108fe5e>] ? __init_kthread_worker+0x54/0x54
[  361.740781]  [<ffffffff815e542c>] ret_from_fork+0x7c/0xb0
[  361.740783]  [<ffffffff8108fe5e>] ? __init_kthread_worker+0x54/0x54
[  361.740785] 2 locks held by kworker/u:4/1615:
[  361.740785]  #0:  (events_unbound){.+.+.+}, at: [<ffffffff8108b770>] process_one_work+0x144/0x2d2
[  361.740790]  #1:  ((&entry->work)){+.+.+.}, at: [<ffffffff8108b770>] process_one_work+0x144/0x2d2

Sure, acpiphp (but also pciehp) should prevent any drivers to pickup the newly formed
device and force 6sec delay, because the cards sometimes slip out of the slot. It is
meaningless to introduce the delay in every PCI driver, that should be handled by those
handling express slot hotplug. Until then, we will see in logs things like this.
The eSATA used to OOPs my kernel hardly in 3.4 and the Firewire still kills the kernel
with 3.7 and 3.9-rc1 (stacks not shown, were posted already in the past). Compared with
that, the kworker hung task is an improvement as it does not kill my running kernel
and my work. ;-)

Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux