kernel: cs: pcmcia_socket: unable to apply power

Mark Statham mark.statham at gmail.com
Sat Jul 9 15:36:22 EDT 2005


Looks like yet another machine which has problems with its PCMCIA 
subsystem, these are for one of my laptops running FC4, I'll try it on 
another as well to see if it is an issue.

Details as requested are below.  Good luck working out what the problem is.

Machine Type: Panasonic CF-72 Mk3

OS: Linux 2.6.12-1.1387_FC4 #1 Fri Jul 1 12:41:40 EDT 2005 i686 GNU/Linux

CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)

lspci -vv output:
=================
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset 
Host Bridge (rev 04)
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
   Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort+ >SERR- <PERR-
   Latency: 0
   Region 0: Memory at ec000000 (32-bit, prefetchable) [size=64M]
   Capabilities: [e4] Vendor Specific Information
   Capabilities: [a0] AGP version 2.0
       Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 
64bit- FW+ AGP3- Rate=x1,x2,x4
       Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1

00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP 
Bridge (rev 04) (prog-if 00 [Normal decode])
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
   Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
   Latency: 96
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 00002000-00002fff
   Memory behind bridge: e8100000-e81fffff
   Prefetchable memory behind bridge: f0000000-f7ffffff
   Secondary status: 66Mhz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR-
   BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 
02) (prog-if 00 [UHCI])
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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: 0
   Interrupt: pin A routed to IRQ 9
   Region 4: I/O ports at 1800 [size=32]

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) 
(prog-if 00 [Normal decode])
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
   Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
   Latency: 0
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
   I/O behind bridge: 00003000-00003fff
   Memory behind bridge: e8200000-e82fffff
   Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR-
   BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
   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: 0

00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02) 
(prog-if 8a [Master SecP PriP])
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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: 0
   Interrupt: pin A routed to IRQ 9
   Region 0: I/O ports at <ignored>
   Region 1: I/O ports at <ignored>
   Region 2: I/O ports at <ignored>
   Region 3: I/O ports at <ignored>
   Region 4: I/O ports at 1820 [size=16]
   Region 5: Memory at e8000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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 B routed to IRQ 9
   Region 4: I/O ports at 1840 [size=32]

00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 
Audio Controller (rev 02)
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8346
   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: 0
   Interrupt: pin B routed to IRQ 9
   Region 0: I/O ports at 1c00 [size=256]
   Region 1: I/O ports at 1880 [size=64]

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 
M7 LW [Radeon Mobility 7500] (prog-if 00 [VGA])
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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: 66 (2000ns min), Cache Line Size 08
   Interrupt: pin A routed to IRQ 9
   Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
   Region 1: I/O ports at 2000 [size=256]
   Region 2: Memory at e8100000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: [58] AGP version 2.0
       Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 
64bit- FW- AGP3- Rate=x1,x2,x4
       Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1
   Capabilities: [50] Power Management version 2
       Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
       Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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: 168
   Interrupt: pin A routed to IRQ 9
   Region 0: Memory at 30000000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
   Memory window 0: 30400000-307ff000 (prefetchable)
   Memory window 1: 30800000-30bff000
   I/O window 0: 00004000-000040ff
   I/O window 1: 00004400-000044ff
   BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
   16-bit legacy interface ports at 0001

02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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: 168
   Interrupt: pin B routed to IRQ 9
   Region 0: Memory at 30001000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
   Memory window 0: 30c00000-30fff000 (prefetchable)
   Memory window 1: 31000000-313ff000
   I/O window 0: 00004800-000048ff
   I/O window 1: 00004c00-00004cff
   BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
   16-bit legacy interface ports at 0001

02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
   Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 8338
   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 (8000ns min, 16000ns max)
   Interrupt: pin A routed to IRQ 9
   Region 0: I/O ports at 3400 [size=256]
   Region 1: Memory at e8200400 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] Power Management version 2
       Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
       Status: D0 PME-Enable- DSel=0 DScale=0 PME-

07:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 
802.11abg NIC (rev 01)
   Subsystem: 3Com Corporation: Unknown device 6002
   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: 168 (2500ns min, 7000ns max), Cache Line Size 20
   Interrupt: pin A routed to IRQ 9
   Region 0: Memory at 31000000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: [44] Power Management version 2
       Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
       Status: D0 PME-Enable- DSel=0 DScale=2 PME-

cbdump output:
==============
02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II
 -- generic cardbus config registers
 Vendor ID                      [00] : 0x1180
 Device ID                      [02] : 0x0476
 PCI command                    [04] : 0x0007
 Base address                   [10] : 0x30000000
 Memory Base 0                  [1c] : 0x30400000
 Memory Limit 0                 [20] : 0x307ff000
 Memory Base 1                  [24] : 0x30800000
 Memory Limit 1                 [28] : 0x30bff000
 IO Base 0                      [2c] : 0x00004000
 IO Limit 0                     [30] : 0x000040fc
 IO Base 1                      [34] : 0x00004400
 IO Limit 1                     [38] : 0x000044fc
 Bridge control                 [3e] : 0x0580
 Subsystem vendor ID            [40] : 0x10f7
 Subsystem device ID            [42] : 0x8338
 Legacy mode base               [44] : 0x0001
 -- Ricoh RL5c476II specific config registers
 System configuration           [80] : 0x0001
 Misc Control                   [82] : 0x00a0
 16-bit Interface Control       [84] : 0x0300
 16-bit I/O Timing 0            [88] : 0x0463
 16-bit Memory Timing 0         [8a] : 0x0463
 DMA Slave                      [90] : 0x0000
 Misc Control 2                 [a0] : 0x0000
 Misc Control 3                 [a2] : 0x0002
 Misc Control 4                 [a4] : 0x0000
 GPIO 1                         [aa] : 0x0f
 -- cardbus registers
 CB_SOCKET_EVENT                [00] : 0x00000000
 CB_SOCKET_MASK                 [04] : 0x00000006
 CB_SOCKET_STATE                [08] : 0x30000006
 CB_SOCKET_FORCE                [0c] : 0x00000000
 CB_SOCKET_CONTROL              [10] : 0x00000400
 CB_SOCKET_POWER                [20] : 0x00000000
 -- exca registers
 I365_IDENT                     [00] : 0x83
 I365_STATUS                    [01] : 0x33
 I365_POWER                     [02] : 0x40
 I365_INTCTL                    [03] : 0x40
 I365_CSC                       [04] : 0x00
 I365_CSCINT                    [05] : 0x08
 I365_ADDRWIN                   [06] : 0x00
 I365_IOCTL                     [07] : 0x00
 I365_GENCTL                    [16] : 0x0000
 I365_GBLCTL                    [1e] : 0x0000
 I365_IO0_START                 [08] : 0x0000
 I365_IO0_STOP                  [0a] : 0x0001
 I365_IO1_START                 [0c] : 0x0000
 I365_IO1_STOP                  [0e] : 0x0001
 I365_MEM0_START                [10] : 0x0000
 I365_MEM0_STOP                 [12] : 0x0000
 I365_MEM0_OFF                  [14] : 0x0000
 I365_MEM0_PAGE                 [40] : 0x00
 I365_MEM1_START                [18] : 0x0000
 I365_MEM1_STOP                 [1a] : 0x0000
 I365_MEM1_OFF                  [1c] : 0x0000
 I365_MEM1_PAGE                 [41] : 0x00
 I365_MEM2_START                [20] : 0x0000
 I365_MEM2_STOP                 [22] : 0x0000
 I365_MEM2_OFF                  [24] : 0x0000
 I365_MEM2_PAGE                 [42] : 0x00
 I365_MEM3_START                [28] : 0x0000
 I365_MEM3_STOP                 [2a] : 0x0000
 I365_MEM3_OFF                  [2c] : 0x0000
 I365_MEM3_PAGE                 [43] : 0x00
 I365_MEM4_START                [30] : 0x0000
 I365_MEM4_STOP                 [32] : 0x0000
 I365_MEM4_OFF                  [34] : 0x0000
 I365_MEM4_PAGE                 [44] : 0x00

02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II
 -- generic cardbus config registers
 Vendor ID                      [00] : 0x1180
 Device ID                      [02] : 0x0476
 PCI command                    [04] : 0x0007
 Base address                   [10] : 0x30001000
 Memory Base 0                  [1c] : 0x30c00000
 Memory Limit 0                 [20] : 0x30fff000
 Memory Base 1                  [24] : 0x31000000
 Memory Limit 1                 [28] : 0x313ff000
 IO Base 0                      [2c] : 0x00004800
 IO Limit 0                     [30] : 0x000048fc
 IO Base 1                      [34] : 0x00004c00
 IO Limit 1                     [38] : 0x00004cfc
 Bridge control                 [3e] : 0x0500
 Subsystem vendor ID            [40] : 0x10f7
 Subsystem device ID            [42] : 0x8338
 Legacy mode base               [44] : 0x0001
 -- Ricoh RL5c476II specific config registers
 System configuration           [80] : 0x0001
 Misc Control                   [82] : 0x00a0
 16-bit Interface Control       [84] : 0x0300
 16-bit I/O Timing 0            [88] : 0x0463
 16-bit Memory Timing 0         [8a] : 0x0463
 DMA Slave                      [90] : 0x0000
 Misc Control 2                 [a0] : 0x0000
 Misc Control 3                 [a2] : 0x0002
 Misc Control 4                 [a4] : 0x0000
 GPIO 1                         [aa] : 0x0f
 -- cardbus registers
 CB_SOCKET_EVENT                [00] : 0x00000000
 CB_SOCKET_MASK                 [04] : 0x00000006
 CB_SOCKET_STATE                [08] : 0x30000828
 CB_SOCKET_FORCE                [0c] : 0x00000000
 CB_SOCKET_CONTROL              [10] : 0x00000433
 CB_SOCKET_POWER                [20] : 0x00000000
 -- exca registers
 I365_IDENT                     [00] : 0x83
 I365_STATUS                    [01] : 0x6e
 I365_POWER                     [02] : 0x13
 I365_INTCTL                    [03] : 0x00
 I365_CSC                       [04] : 0x00
 I365_CSCINT                    [05] : 0x00
 I365_ADDRWIN                   [06] : 0x00
 I365_IOCTL                     [07] : 0x00
 I365_GENCTL                    [16] : 0x0000
 I365_GBLCTL                    [1e] : 0x0000
 I365_IO0_START                 [08] : 0x0000
 I365_IO0_STOP                  [0a] : 0x0001
 I365_IO1_START                 [0c] : 0x0000
 I365_IO1_STOP                  [0e] : 0x0001
 I365_MEM0_START                [10] : 0x0000
 I365_MEM0_STOP                 [12] : 0x0000
 I365_MEM0_OFF                  [14] : 0x0000
 I365_MEM0_PAGE                 [40] : 0x00
 I365_MEM1_START                [18] : 0x0000
 I365_MEM1_STOP                 [1a] : 0x0000
 I365_MEM1_OFF                  [1c] : 0x0000
 I365_MEM1_PAGE                 [41] : 0x00
 I365_MEM2_START                [20] : 0x0000
 I365_MEM2_STOP                 [22] : 0x0000
 I365_MEM2_OFF                  [24] : 0x0000
 I365_MEM2_PAGE                 [42] : 0x00
 I365_MEM3_START                [28] : 0x0000
 I365_MEM3_STOP                 [2a] : 0x0000
 I365_MEM3_OFF                  [2c] : 0x0000
 I365_MEM3_PAGE                 [43] : 0x00
 I365_MEM4_START                [30] : 0x0000
 I365_MEM4_STOP                 [32] : 0x0000
 I365_MEM4_OFF                  [34] : 0x0000
 I365_MEM4_PAGE                 [44] : 0x00



More information about the linux-pcmcia mailing list