kern/66848: cardbus power support breaks cardbus support on HP Omnibook XE2

Lowell Gilbert freebsd-bugs-local at be-well.no-ip.com
Tue May 18 17:20:25 PDT 2004


>Number:         66848
>Category:       kern
>Synopsis:       cardbus power support breaks cardbus support on HP Omnibook XE2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 18 17:20:19 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lowell Gilbert
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD laptop-unix.lan 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sat Apr  3 16:26:42 EST 2004     root at lowell-laptop-unconfigured:/usr/src/sys/i386/compile/LAPTOP-5.x  i386

[That's the working kernel; any updates from the middle of April or so on do not work.]

This has been happening, apparently, since the PCI power support went into -CURRENT.

>Description:

This is on a HP Omnibook XE2; I posted about it before, but didn't get
any responses.  The problems showed up when the power support was
added to -CURRENT.  I've tried making the power manipulations in
pccbb.c respect the hw.pci.do_powerstate flag, but all I could manage
that way was to eliminate the error messages without actually getting
the cardbus to bring up any cards.

There's some other information on the system on my web site at
http://be-well.ilk.org:8088/~lowell/systuff/laptop-problems.html
from my previous battles with AGP support.

Setting hw.cbb.debug and hw.pccard.debug didn't show anything that
seemed useful to me.  Someone who knows the register definitions for
the bridge chip might well have better luck. .  I'm attaching the
dmesg.


================================================================
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #13: Sun May  9 22:26:12 EDT 2004
    root at laptop-unix.lan:/usr/obj/usr/src/sys/LAPTOP-5.x
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08f2000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (398.20-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66d  Stepping = 13
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201261056 (191 MB)
avail memory = 187265024 (178 MB)
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: 0:7 INTD routed to irq 10
$PIR: 0:10 INTA routed to irq 10
$PIR: 0:10 INTB routed to irq 10
$PIR: 0:13 INTA routed to irq 5
$PIR: 0:13 INTA routed to irq 5
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
$PIR: 1:0 INTA routed to irq 10
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfcd0-0xfcdf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfcd0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: at 0x1f0 irq 14 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 10 at device 7.2 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfce0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
cbb0: <TI1225 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0
cbb0: Found memory at 00000000
cbb0: Secondary bus is 0
cbb0: Secondary bus set to 1 subbus 2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: cbb_power: 0V
cbb0: bad Vcc request. ctrl=0xf000ff00, status=0xf000e2c3
cbb_power: 0V
cbb1: <TI1225 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x1000
cbb1: Found memory at 00001000
cbb1: Secondary bus is 0
cbb1: Secondary bus set to 3 subbus 4
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: cbb_power: 0V
pci0: <multimedia, audio> at device 13.0 (no driver attached)
pci0: <simple comms> at device 13.1 (no driver attached)
cpu0 on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <NSC6001> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
Status is 0xf000e2c3
Status is 0x200020
cbb1: card inserted: event=0x07b30020, state=00200020
cbb1: Unknown card voltage
cbb1: CardBus card activation failed
ad0: 5729MB <IBM-DARA-206000> [12416/15/63] at ata0-master UDMA33
acd0: DVDROM <MATSHITADVD-ROM SR-8173> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a


>How-To-Repeat:

I would be willing to offer access to this machine to help debug the
problem, but it isn't network-accessible when the cardbus isn't
working...

>Fix:

Not known; I tried disabling the power-setting functionality for cbb,
but that didn't fix the problem.  [It did reduce the number of
messages displayed, but otherwise the symptoms were unchanged.]
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list