Bug 6454

Summary: cs socket<n>: Unable to apply power
Product: Drivers Reporter: Paul Farmer (pfarmer630)
Component: PCMCIAAssignee: linux-pcmcia
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: bunk
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6 Subsystem:
Regression: --- Bisected commit-id:

Description Paul Farmer 2006-04-28 13:17:46 UTC
Most recent kernel where this bug did not occur: Unknown
Distribution: Fedora Core 3 and Ubuntu (Breezy Badger)
Hardware Environment: Sony PCG-GR315MP, D-Link DWL-G650M wireless network card, 
Software Environment: Linux
Problem Description: Inserted PCMCIA card into laptop, DMESG reports cs : 
socket<n> : Unable to apply power. The laptop uses a Rioch R/RL/(5C476II) or 
compatible CARDBUS Controller (this text copied from device properties in 
Windows XP). Have attempted to use NDISWRAPPER and MADWIFI, but cannot get 
power to socket.

Steps to reproduce: Always present when inserting wireless network card
Comment 1 Dominik Brodowski 2006-05-31 01:10:51 UTC
Could you try with an updated kernel (newer version from distributon or
home-built), please? We've solved a lot of these problems in the past;
alternatively look out for the workaround at
http://kernel.org/pub/linux/utils/kernel/pcmcia/powerbugs.html#2 (yes, even
though that is about "unable to remove power").
Comment 2 Paul Farmer 2006-06-01 12:04:33 UTC
Please find below full printouts from dmesg, /proc/iomem and lspci -vv

As can be seen, no memory holes are present (not that I can detect, with limited
linux knowledge). Therefore the bug fix for power removal is not relevant.
Will attempt newer kernel verios if can work out how to do it.
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
 BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d8000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fef0000 (usable)
 BIOS-e820: 000000001fef0000 - 000000001feff000 (ACPI data)
 BIOS-e820: 000000001feff000 - 000000001ff00000 (ACPI NVS)
 BIOS-e820: 000000001ff00000 - 000000001ff80000 (usable)
 BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.

00000000-0009e7ff : System RAM
  00000000-00000000 : Crash kernel
0009e800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000cffff : Video ROM
000d8000-000dffff : reserved
000f0000-000fffff : System ROM
00100000-1feeffff : System RAM
  00100000-002dea4f : Kernel code
  002dea50-003a0503 : Kernel data
1fef0000-1fefefff : ACPI Tables
1feff000-1fefffff : ACPI Non-volatile Storage
1ff00000-1ff7ffff : System RAM
1ff80000-1fffffff : reserved
30000000-33ffffff : PCI Bus #02
  30000000-31ffffff : PCI CardBus #03
  32000000-33ffffff : PCI CardBus #07
34000000-35ffffff : PCI CardBus #03
36000000-37ffffff : PCI CardBus #07
  36000000-3601ffff : 0000:07:00.0
d0000000-d00003ff : 0000:00:1f.1
d0100000-d01fffff : PCI Bus #01
  d0100000-d010ffff : 0000:01:00.0
  d0120000-d013ffff : 0000:01:00.0
d0200000-d02fffff : PCI Bus #02
  d0200000-d0203fff : 0000:02:02.0
  d0204000-d0204fff : 0000:02:08.0
    d0204000-d0204fff : e100
  d0205000-d02057ff : 0000:02:02.0
    d0205000-d02057ff : ohci1394
  d0206000-d0206fff : 0000:02:05.0
    d0206000-d0206fff : yenta_socket
  d0207000-d0207fff : 0000:02:05.1
    d0207000-d0207fff : yenta_socket
d8000000-dfffffff : PCI Bus #01
  d8000000-dfffffff : 0000:01:00.0
e0000000-efffffff : 0000:00:00.0
ff800000-ffbfffff : reserved
fffffc00-ffffffff : reserved

02:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
        Subsystem: Sony Corporation VAIO PCG-GR214EP/GR214MP/GR215MP/GR314MP/GR315MP
        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 d0206000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: 30000000-31fff000 (prefetchable)
        Memory window 1: 34000000-35fff000
        I/O window 0: 00004400-000044ff
        I/O window 1: 00004800-000048ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

02:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
        Subsystem: Sony Corporation VAIO PCG-GR214EP/GR214MP/GR215MP/GR314MP/GR315MP
        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 d0207000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
        Memory window 0: 32000000-33fff000 (prefetchable)
        Memory window 1: 36000000-37fff000
        I/O window 0: 00004c00-00004cff
        I/O window 1: 00001400-000014ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001


07:00.0 Ethernet controller: Atheros Communications, Inc. AR5005VL 802.11bg
Wireless Chipset (rev 01)
        Subsystem: D-Link System Inc Unknown device 3a67
        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 9
        Region 0: Memory at 36000000 (32-bit, non-prefetchable) [disabled]
[size=128K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Comment 3 Dominik Brodowski 2006-11-07 19:14:28 UTC
what kernel version is this?
Comment 4 Adrian Bunk 2007-02-06 14:33:05 UTC
Please reopen this bug if it is still present with kernel 2.6.20.