Date: Thu, 12 Apr 2001 14:08:44 -0400 (EDT) From: Viren R.Shah <viren@cigital.com> To: Warner Losh <imp@harmony.village.org>, freebsd-mobile@FreeBSD.ORG Subject: Re: TI PCI-4451 Cardbus controller? Message-ID: <15061.61228.511165.367802@jabberwock.cigital.com> In-Reply-To: <15061.50929.210263.651840@jabberwock.cigital.com> References: <15060.23999.115770.742614@jabberwock.cigital.com> <200104120604.f3C64xI41483@harmony.village.org> <15061.50929.210263.651840@jabberwock.cigital.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[Warner, let me know if you want me to remove you from the Cc: line] >>>>> "VRS" == Viren R Shah <viren@cigital.com> writes: >>>>> "Warner" == Warner Losh <imp@harmony.village.org> writes: Warner> "Viren R.Shah" writes: Warner> : I have a Dell Latitude C800 laptop that has 2 Cardbus controllers. Warner> Cool. Warner> : TI PCI-4451 Cardbus Controllers The saga continues..... So, I added in what I thought were appropriate entries in pccbb.c and pccbbreg.h (see prior email), compiled and booted with a NEWCARD kernel (the only addition was acpi). Here's my dmesg. It now recognizes the Cardbus controllers, but it doesn't look like they got the necessary resources ("requested unsupported memory range"). Also, I'm now getting "acquring duplicate lock of same type:" msgs on boot (as can be seen at the tail end of the dmesg). Anyone have any ideas as to what I need to do next? Copyright (c) 1992-2001 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.0-CURRENT #0: Thu Apr 12 13:04:14 EDT 2001 root@slithytove.cigital.com:/usr/src/sys/compile/NEWCARD Calibrating clock(s) ... TSC clock: 848130391 Hz, i8254 clock: 1193166 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 848148209 Hz CPU: Pentium III/Pentium III Xeon/Celeron (848.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 268353536 (262064K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0062a000 - 0x0ffe3fff, 261857280 bytes (63930 pages) config> di pcic1 config> di pcic0 config> q FreeBSD Kernel Configuration Utility - Version 1.2 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> ls Device port irq drq iomem iosize unit flags enab adv0 0 0 0 0 0 0 0 Yes aha0 0 0 0 0 0 0 0 Yes aic0 0 0 0 0 0 0 0 Yes apm0 0 0 0 0 0 0 0x20 No ata0 0x1f0 14 0 0 0 0 0 Yes ata1 0x170 15 0 0 0 1 0 Yes atkbd0 0 1 0 0 0 0 0x1 Yes atkbdc0 0x60 0 0 0 0 0 0 Yes bt0 0 0 0 0 0 0 0 Yes cs0 0x300 0 0 0 0 0 0 Yes ed0 0x280 10 0 d8000 0 0 0 Yes fd0 0 0 0 0 0 0 0 Yes fd1 0 0 0 0 0 1 0 Yes fdc0 0x3f0 6 2 0 0 0 0 Yes fe0 0x300 0 0 0 0 0 0 Yes ie0 0x300 10 0 d0000 0 0 0 Yes le0 0x300 5 0 d0000 0 0 0 Yes lnc0 0x280 10 0 0 0 0 0 Yes npx0 0xf0 13 0 0 0 0 0 Yes pcic0 0x3e0 0 0 d0000 0 0 0 No pcic1 0x3e2 11 0 d4000 0 1 0 No pcm0 0 10 1 0 0 0 0 Yes Device port irq drq iomem iosize unit flags enab pmtimer0 0 0 0 0 0 0 0 Yes ppc0 0 7 0 0 0 0 0 Yes psm0 0 12 0 0 0 0 0 Yes sc0 0 0 0 0 0 0 0x100 Yes sio0 0x3f8 4 0 0 0 0 0x10 Yes sio1 0x2f8 3 0 0 0 1 0 Yes sio2 0x3e8 5 0 0 0 2 0 No sio3 0x2e8 9 0 0 0 3 0 No sn0 0x300 10 0 0 0 0 0 Yes vga0 0 0 0 0 0 0 0 Yes vt0 0 0 0 0 0 0 0 Yes Number of EISA slots to probe: 10 config> q avail memory = 255033344 (249056K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xc06e pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: Preloaded elf kernel "kernel" at 0xc0604000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc06040a8. null: <null device, zero device> random: <entropy source> mem: <memory & I/O> Pentium Pro MTRR support enabled WARNING: Driver mistake: destroy_dev on 154/0 Math emulator present ACPI debug layer 0x0 debug level 0x0 Using $PIR table, 10 entries at 0xc00fbc20 acpi0: <DELL CPi R > on motherboard acpi_tz0: <thermal zone> on acpi0 acpi_acad0: <AC adapter> on acpi0 acpi_acad0: On Line acpi_cmbat0: <Control method Battery> on acpi0 acpi_cmbat1: <Control method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Control Method Power Button Device> on acpi0 acpi_button1: <Control Method Sleep Button Device> on acpi0 acpi_pcib0: <Host-PCI bridge> on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base e4000000, size 26, enabled found-> vendor=0x8086, dev=0x1130, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x1131, revid=0x02 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found-> vendor=0x8086, dev=0x2448, revid=0x02 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found-> vendor=0x8086, dev=0x244c, revid=0x02 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0000bfa0, size 4, enabled found-> vendor=0x8086, dev=0x244a, revid=0x02 bus=0, slot=31, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base 0000dce0, size 5, enabled found-> vendor=0x8086, dev=0x2442, revid=0x02 bus=0, slot=31, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=11 pci0: <PCI bus> on acpi_pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xc000-0xcfff pcib1: memory decode 0xfc000000-0xfdffffff pcib1: prefetched decode 0xe8000000-0xebffffff pci1: physical bus=1 map[10]: type 3, range 32, base e8000000, size 26, enabled map[14]: type 4, range 32, base 0000cc00, size 8, enabled map[18]: type 1, range 32, base fcffc000, size 14, enabled found-> vendor=0x1002, dev=0x4d46, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at 0.0 (no driver attached) pcib2: <PCI-PCI bridge> at device 30.0 on pci0 pcib2: secondary bus 2 pcib2: subordinate bus 2 pcib2: I/O decode 0xe000-0xffff pcib2: memory decode 0xf4000000-0xfbffffff pcib2: prefetched decode 0xfff00000-0xfffff pci2: physical bus=2 map[10]: type 4, range 32, base 0000ec00, size 8, enabled map[14]: type 1, range 32, base f8ffe000, size 13, enabled found-> vendor=0x125d, dev=0x1998, revid=0x10 bus=2, slot=3, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000e880, size 7, enabled map[14]: type 1, range 32, base f8ffdc00, size 7, enabled found-> vendor=0x10b7, dev=0x9200, revid=0x78 bus=2, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x104c, dev=0xac42, revid=0x00 bus=2, slot=15, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x104c, dev=0xac42, revid=0x00 bus=2, slot=15, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base f8ffd000, size 11, enabled map[14]: type 1, range 32, base f8ff8000, size 14, enabled found-> vendor=0x104c, dev=0x8027, revid=0x00 bus=2, slot=15, func=2 class=0c-00-10, hdrtype=0x00, mfdev=1 intpin=a, irq=11 powerspec 2 supports D0 D2 D3 current D0 pci2: <PCI bus> on pcib2 pci2: <multimedia, audio> at 3.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe880-0xe8ff mem 0xf8ffdc00-0xf8ffdc7f irq 10 at device 8.0 on pci2 pcib2: device xl0 requested decoded I/O range 0xe880-0xe8ff xl0: Ethernet address: 00:b0:d0:a7:a4:c1 xl0: media options word: a xl0: found MII/AUTO miibus0: <MII bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: xl0 attached pccbb0: <TI4451 PCI-CardBus Bridge> irq 11 at device 15.0 on pci2 pcib2: device pccbb0 requested unsupported memory range 0x44000000-0xefffffff (decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff) pccbb0: Could not grab register memory device_probe_and_attach: pccbb0 attach returned 12 pccbb0: <TI4451 PCI-CardBus Bridge> irq 11 at device 15.1 on pci2 pcib2: device pccbb0 requested unsupported memory range 0x44000000-0xefffffff (decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff) pccbb0: Could not grab register memory device_probe_and_attach: pccbb0 attach returned 12 pci2: <serial bus, FireWire> at 15.2 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Generic PCI ATA controller> port 0xbfa0-0xbfaf at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xbfa0 ata0: mask=03 ostat0=52 ostat2=50 ata0-master: ATAPI probe 00 00 ata0-slave: ATAPI probe 14 eb ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA probe 01 a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xbfa8 ata1: mask=03 ostat0=00 ostat2=00 ata1-master: ATAPI probe 00 00 ata1-slave: ATAPI probe 00 00 ata1: mask=03 stat0=00 stat1=00 ata1: devices=00 ata1: at 0x170 irq 15 on atapci0 uhci0: <UHCI (generic) USB controller> port 0xdce0-0xdcff irq 11 at device 31.2 on pci0 uhci0: (New UHCI DeviceId=0x24428086) usb0: cannot stop usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: (0x24428086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered acpi_timer0: <24-bit timer at 3.579545MHz> on acpi0 npx0: <math processor> on motherboard npx0: INT 16 interface ata-: ata0 already exists, using ata2 instead ata-: ata1 already exists, using ata3 instead Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 too many dependant configs too many dependant configs too many dependant configs too many dependant configs ex_isa_identify() sc-: sc0 already exists, using sc1 instead vga-: vga0 already exists, using vga1 instead isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices adv0 failed to probe at port 0x330 on isa0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 ata2 failed to probe at port 0x1f0 irq 14 on isa0 ata3 failed to probe at port 0x170 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0065 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 cs0 failed to probe at port 0x300-0x31f on isa0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 pcic0: not probed (disabled) pcic1: not probed (disabled) mss_probe: no address given, try 0x530 mss_detect, busy still set (0xff) pcm0 failed to probe at port 0x530-0x537,0xf8c-0xf94,0xe0e irq 10 drq 1 on isa0 pmtimer0 on isa0 ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: irq maps: 0x41 0x41 0x41 0x41 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: Cannot allocate irq sn0 failed to probe at port 0x300-0x30f irq 10 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k vga0: vga: WARNING: video mode switching is not fully supported on this adapter VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 6f 4f 4f 93 55 c3 9e 1f 00 4f 0d 0e 00 00 06 e0 8f 82 8f 28 1f 8f 9f a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 0e 00 10 01 03 00 02 a3 5f 4f 50 82 55 81 bf 1f 00 4d 0b 0c 00 00 00 00 83 85 5d 28 1f 63 ba a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 08 00 0f 00 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 00 00 03 00 02 67 6f 4f 4f 93 55 c3 9e 1f 00 4f 0d 0e 00 00 06 e0 8f 82 8f 28 1f 8f 9f a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0 failed to probe on isa0 sc1: no video adapter is found. sc1: <System console> failed to probe on isa0 vga1: <Generic ISA VGA> failed to probe on isa0 isa_probe_children: probing PnP devices adv1: Invalid baseport of 0xcf8 specified. Nearest valid baseport is 0x330. Failing probe. unknown: <PNP0F13> can't assign resources unknown: <PNP0F13> at irq 12 on isa0 unknown: <PNP0303> can't assign resources unknown: <PNP0303> at port 0x60 on isa0 adv1: Invalid baseport of 0x70 specified. Nearest valid baseport is 0x100. Failing probe. adv1: Invalid baseport of 0x40 specified. Nearest valid baseport is 0x100. Failing probe. adv1: Invalid baseport of 0x61 specified. Nearest valid baseport is 0x100. Failing probe. unknown: <PNP0800> failed to probe at port 0x61,0x63,0x65,0x67 on isa0 adv1: Invalid baseport of 0x24 specified. Nearest valid baseport is 0x100. Failing probe. unknown: <PNP0200> can't assign resources unknown: <PNP0200> at port 0-0xf,0x88-0x97,0xc0-0xdf,0x10-0x1f,0x90-0x91 on isa0 unknown: <PNP0700> can't assign resources unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0 unknown: <PNP0501> can't assign resources unknown: <PNP0501> at port 0x2e8-0x2ef irq 3,4 on isa0 unknown: <SMCF010> can't assign resources unknown: <SMCF010> at port 0x2f8-0x2ff,0x270-0x277,0x3e8-0x3ef,0x278-0x27f,0x2e8-0x2ef,0x280-0x287,0x3e8-0x3ef irq 3,4 on isa0 adv1: Invalid baseport of 0x278 specified. Nearest valid baseport is 0x330. Failing probe. ppc1: using extended I/O port range unknown: <ECP parallel printer port> failed to probe at port 0x278-0x287,0x678-0x67b,0x3bc-0x3bf,0x7bc-0x7bf on isa0 BIOS Geometries: 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: lo0 attached bpf: ppp0 attached bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached acpi_acad0: Notify 128 acpi_acad0: On Line ad0: DMA limited to UDMA33, non-ATA66 compliant cable Creating DISK ad0 ad0: <HITACHI_DK23BA-10/00E2A0D2> ATA-5 disk at ata0-master ad0: 9590MB (19640880 sectors), 19485 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, BIOSDMA ad0: piomode=4 dmamode=2 udmamode=4 cblid=0 ata0-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata0-slave: success setting PIO4 on generic chip acd0: <TEAC CD-ROM CD-224E/3.7C> CDROM drive at ata0 as slave acd0: read 4134KB/s (34515KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable trayacd0: Medium: no/blank disc, unlocked Mounting root from ufs:/dev/ad0s2a ad0s1: type 0x7, start 63, end = 4192964, size 4192902 : OK ad0s2: type 0xa5, start 4192965, end = 9301634, size 5108670 : OK ad0s3: type 0x6, start 9301635, end = 19631429, size 10329795 : OK start_init: trying /sbin/init acquring duplicate lock of same type: "allproc" 1st @ ../../kern/kern_proc.c:584 2nd @ ../../kern/kern_proc.c:143 -- Viren R. Shah {viren @ cigital . com} "Never hire a ferret to do a weasel's job" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15061.61228.511165.367802>