Date: 15 May 2004 10:45:17 -0400 From: Lowell Gilbert <freebsd-current-local@be-well.ilk.org> To: freebsd-current@freebsd.org Subject: cardbus power problems still occurring Message-ID: <44vfix7nr6.fsf@be-well.ilk.org>
next in thread | raw e-mail | index | archive | help
--=-=-= 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. Please give me a hand with this; I know there are other people trying to track -CURRENT on similar hardware. Be well. Lowell --=-=-= Content-Disposition: attachment; filename=dmesg.boot Content-Description: dmesg.boot for Omnibook XE2 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 #3: Sat Apr 3 16:26:42 EST 2004 root@lowell-laptop-unconfigured:/usr/src/sys/i386/compile/LAPTOP-5.x Preloaded elf kernel "/boot/kernel.works/kernel" at 0xc0793000. 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 = 191438848 (182 MB) Pentium Pro MTRR support enabled cpu0 on motherboard npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Found $PIR table, 6 entries at 0xc00fdf60 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 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 at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 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: [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: PCI Memory allocated: 88000000 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <TI1225 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0 cbb1: PCI Memory allocated: 88001000 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci0: <multimedia, audio> at device 13.0 (no driver attached) pci0: <simple comms> at device 13.1 (no driver attached) 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: <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 0x30000006 Status is 0x30000820 cbb1: card inserted: event=0x00000000, state=30000820 cbb1: cbb_power: 3V cardbus1: Resource not specified in CIS: id=10, size=100 cardbus1: Resource not specified in CIS: id=14, size=400 dc0: <Netgear FA511 10/100BaseTX> port 0x1000-0x10ff mem 0x88002000-0x880023ff irq 10 at device 0.0 on cardbus1 miibus0: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:09:5b:8d:b6:0d dc0: [GIANT-LOCKED] 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 dc0: TX underrun -- increasing TX threshold dc0: TX underrun -- increasing TX threshold dc0: TX underrun -- increasing TX threshold dc0: TX underrun -- using store and forward mode Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks, buffers remaining... 9 9 9 9 9 2 2 done Uptime: 13h18m47s cbb1: cbb_power: 0V Rebooting... 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@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 --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44vfix7nr6.fsf>