Hi,

For a while now I've been unable to get my cardbus controller to recognize
a card insertion or card ejection event.  Or at least the kernel does not
print out any messages that seem to indicate that the controller is even
working.  The controller recognizes a card has been inserted only if a
card is plugged in on bootup.

This problem only seems to happen when the kernel is configured to use
acpi.  If I boot and disable acpi then card insertion and ejection events
are printed out again.  I need to use acpi though since it allows me to
power throttle my cpu speed.

I compiled the kernel with CARDBUS_DEBUG and CARDSLOT_DEBUG but no messages
at all are printed out when the kernel is running with acpi when I insert
or eject a card.  The only conclusion I can make is that maybe the system
is not generating an interrupt on the cardbus events (and thus not even
getting to the cardbus/cardslot code).  Is there anyway to verify this?  I
also compiled a kernel with ACPI_DEBUG but there was so much output in the
dmesg that I was not really able to follow it.  Any hints on what to look
at next?

My dmesg is attached.

Thanks in advance,

Devin

--
OpenBSD 4.4-beta (GENERIC) #0: Mon Jul 28 22:19:00 PDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP2800+ ("AuthenticAMD" 686-class, 512KB L2
cache) 2.13 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 468217856 (446MB)
avail mem = 444387328 (423MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/19/04, BIOS32 rev. 0 @ 0xfd730,
SMBIOS rev. 2.3 @ 0xdb010 (44 entries)
bios0: vendor Phoenix Technologies Ltd. version "KAM1.59" date 04/19/2004
bios0: Hewlett-Packard Presario 2100 (PF179UA)
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT SSDT
acpi0: wakeup devices PCI0(S5) MDEM(S4) LAN_(S5) LID_(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGPB)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0xf000 0xcf000/0x800 0xdb000/0x1000! 0xdc000/0x4000!
cpu0 at mainbus0
cpu0: PowerNow! K7 2121 MHz: speeds: 2133 1667 1267 800 666 533 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI RS100 AGP" rev 0x13
ppb0 at pci0 dev 1 function 0 "ATI RS100 PCI" rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Radeon IGP 320M" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp at vga1 not configured
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237 USB" rev 0x03: irq 9,
version 1.0, legacy support
autri0 at pci0 dev 6 function 0 "Acer Labs M5451 Audio" rev 0x02: irq 5
ac97: codec id 0x43585429 (Conexant CX20468 rev 1)
ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D
Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"Acer Labs M5457 Modem" rev 0x00 at pci0 dev 8 function 0 not configured
cbb0 at pci0 dev 10 function 0 "TI PCI1410 CardBus" rev 0x02: irq 7
pciide0 at pci0 dev 16 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST9100824A>
wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, RW/DVD GCC-4241N, 0C29> ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
alipm0 at pci0 dev 17 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq
11, address 00:0f:20:1f:04:bf
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4: polled
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask e7cd netmask efcd ttymask ffdf
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
WARN:  not buffer
acpibat0: BAT1 inserted

Reply via email to