Re: [CFT] Hopefully fix PCMCIA boot deadlocks

From: Valdis.Kletnieks@vt.edu
Date: Mon Apr 14 2003 - 21:03:27 EST


On Tue, 15 Apr 2003 00:55:03 +0200, Felipe Alfaro Solana said:
> On Mon, 2003-04-14 at 17:50, Russell King wrote:
> > Ok,
> >
> > Here's my latest patch against 2.5.67 which introduces a proper state
> > machine into the PCMCIA layer for handling the sockets. Unfortunately,
> > I fear that this isn't the answer for the following reasons:
>
> Well, maybe it's not the answer, but it's working for me with
> 2.5.67-mm3. Besides being too verbose, I have tried booting with the
> card plugged, booting with the card unplugged and then plugging it, and
> plugging/unplugging it several time to check that hotplug is working.

Confirmed under vanilla 2.5.67 on a Dell C840. It's chatty, and I'll
not comment on the neatness of implementation. But... ;)

It now boots with the offending card, without it, insert it, eject it, I
haven't been able to confuse it (though I admit I havent tried a very fast
insert/eject cycle so the eject arrives before the insert finishes). And yes,
the card in question was a multifunction (abbreviated lspci -vv output):

03:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
        Subsystem: Xircom Cardbus Ethernet 10/100
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (5000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1000 [size=128]
        Region 1: Memory at 10800000 (32-bit, non-prefetchable) [size=2K]
        Region 2: Memory at 10800800 (32-bit, non-prefetchable) [size=2K]
        Expansion ROM at 10400000 [disabled] [size=16K]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

03:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03) (prog-if 02 [16550])
        Subsystem: Xircom CBEM56G-100 Ethernet + 56k Modem
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1080 [size=8]
        Region 1: Memory at 10801000 (32-bit, non-prefetchable) [size=2K]
        Region 2: Memory at 10801800 (32-bit, non-prefetchable) [size=2K]
        Expansion ROM at 10404000 [disabled] [size=16K]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Thanks Russell!



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:34 EST