On Nov 26, 2007 10:21 AM, Rob Lytle <[EMAIL PROTECTED]> wrote: > Hi, > > Cardbus/pcmcia is dead on my laptop. I think I have identified the > dmesg lines that shows what happens. But I don't know why: > > cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xfffffff > cardslot0 at cbb0 slot 0 flags 0 > > Here is my complete dmesg. Please ignore all the azalia stuff as I > have its debug turned on. Note the same dmesg lines and behavior > were observed with the GENERIC kernel. Also, no leds turn on with any > pcmcia device I've tried so it seems that cards are not getting any > power. > > Thanks, Rob
OK, ignore the previous dmesg and look at this one with CB debug code enabled. (#define CBB_DEBUG is uncommented in pccbb.c) It appears that for whatever reason Vcc is set to 0. Sincerely, Rob OpenBSD 4.2-current (ROBKERN2) #1: Mon Nov 26 04:24:22 PST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ROBKERN2 cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36 ,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2 ,CX16,xTPR real mem = 2145415168 (2046MB) avail mem = 2067054592 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, SMBI OS rev. 2.4 @ 0xdc010 (19 entries) bios0: vendor Phoenix Technologies LTD version "R0112N0" date 04/12/2007 bios0: Sony Corporation VGN-SZ460N pcibios0 at bios0: rev 2.1 @ 0xfdbd0/0x430 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #10 is the last bus bios0: ROM list: 0xc0000/0xf000 0xdc000/0x4000! 0xe0000/0x1c00! acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT SSD T SSDT acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S 1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S 3) USB7(S3) SLT0(S4) EC0_(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 6 (RP02) acpiprt4 at acpi0: bus 7 (RP03) acpiprt5 at acpi0: bus 8 (RP04) acpiprt6 at acpi0: bus 9 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C2 acpicpu1 at acpi0: C2 acpitz0 at acpi0: critical temperature 99 degC acpitz1 at acpi0: critical temperature 100 degC acpitz2 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT1 type LION oem "Sony Corp." acpiac0 at acpi0: AC unit online acpidock at acpi0 not configured cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x060b0c2206000c22 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1244 mV): speeds: 2000, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x01d8 rev 0xa 1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 10 azalia0: codec[s]: Sigmatel 83847661, Conexant/0x2bfa, using Sigmatel 8384766 1 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02 pci3 at ppb2 bus 6 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 10, MoW1, address 00:19:d2:31:93:15 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02 pci4 at ppb3 bus 7 mskc0 at pci4 dev 0 function 0 "Marvell Yukon 88E8036" rev 0x16, Yukon-2 FE ( 0x1): irq 10 msk0 at mskc0 port A: address 00:13:a9:90:7c:69 eephy0 at msk0 phy 0: Marvell 88E3082 10/100 PHY, rev. 3 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02 pci5 at ppb4 bus 8 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 10 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 10 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 10 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci6 at ppb5 bus 9 cbb0 at pci6 dev 4 function 0 "TI PCIXX12 CardBus" rev 0x00 (chipflags 2)cbb0 : socket base address 0x7ff00000 : intrpin A, intrtag 255 : irq 10 "TI PCIXX12 FireWire" rev 0x00 at pci6 dev 4 function 1 not configured "TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci6 dev 4 function 2 not con figured CardBus latency timer 0x40 (400a0a09) PCI latency timer 0x40 (824010) pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44] cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44] cbb0: cacheline 0x10 lattimer 0x40 cbb0: bhlc 0x824010 lscp 0x400a0a09 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 10 device 0 cacheline 0x10, lattimer 0x40 pcmcia0 at cardslot0 pccbb_pcmcia_card_detect pccbbattach: found cardslot ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-852S, 1.50> SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channe l 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST9160821AS> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: polling iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask edfd netmask edfd ttymask ffff mtrr: Pentium Pro MTRR support ugen0 at uhub0 port 6 "Ricoh product 0x1835" rev 2.00/1.00 addr 2 ugen1 at uhub3 port 1 "STMicroelectronics Biometric Coprocessor" rev 1.00/0.0 1 addr 2 ugen2 at uhub4 port 2 "ALPS UGX" rev 2.00/19.15 addr 2 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b