From owner-freebsd-mobile Sun Feb 16 3:10:28 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C2AF37B401 for ; Sun, 16 Feb 2003 03:10:16 -0800 (PST) Received: from mail.tiscali.cz (stateless1.tiscali.cz [213.235.135.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86D7043F3F for ; Sun, 16 Feb 2003 03:10:14 -0800 (PST) (envelope-from vaclav.kares@tiscali.cz) Received: from Kares.server (213.235.138.118) by mail.tiscali.cz (6.0.044) id 3E1C7FF8007F967D; Sun, 16 Feb 2003 12:07:14 +0100 Received: by Kares.server (Postfix, from userid 1001) id 25CB01FF8; Sun, 16 Feb 2003 12:12:14 +0100 (CET) Date: Sun, 16 Feb 2003 12:12:13 +0100 From: Vaclav Kares To: "M. Warner Losh" Cc: freebsd-mobile@freebsd.org Subject: Re: cbb: Unable to map IRQ... Message-ID: <20030216111213.GA1057@Kares.server> References: <20030215095646.GA955@Kares.server> <20030215.194620.42058237.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030215.194620.42058237.imp@bsdimp.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > If PCIBIOS won't route interrupts (which is what the unable to map IRQ > messages mean when running w/o acpi), then you are SOL (out of luck). I forgot to note that the card works without acpi on Linux. I am not sure if this can prove the possibility to route interrupts with PCIBIOS but I think that yes. Moreover there is the line in verbose boot pci_cfgintr_virgin: using routable PCI-only interrupt 11 > boot verbose might give more insight into the failure mode, and it The verbose boot for GENERIC without acpi is: Copyright (c) 1992-2003 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-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0628000. Calibrating clock(s) ... TSC clock: 232087518 Hz, i8254 clock: 1193090 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 232106532 Hz CPU: Pentium/P55C (quarter-micron) (232.11-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x581 Stepping = 1 Features=0x8001bf real memory = 100466688 (95 MB) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0064f000 - 0x05fc7fff, 93818880 bytes (22905 pages) avail memory = 90959872 (86 MB) bios32: Found BIOS32 Service Directory header at 0xc00fd800 bios32: Entry = 0xfd820 (c00fd820) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd880+0x0 pnpbios: Found PnP BIOS data at 0xc00fe700 pnpbios: Entry = f0000:e724 Rev = 1.0 pnpbios: Event flag at 415 Other BIOS signatures found: Intel Pentium detected, installing workaround for F00F bug Initializing GEOMetry subsystem null: random: mem: npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x80000050 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71008086) Using $PIR table, 4 entries at 0xc00f9e10 PCI-Only Interrupts: 11 Location Bus Device Pin Link IRQs embedded 0 1 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 1 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 D 0x63 3 4 5 6 7 9 10 11 12 14 15 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x8086, dev=0x7100, revid=0x01 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2200, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x7110, revid=0x01 bus=0, slot=1, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000fcf0, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=1, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x30 (1440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 00008400, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=1, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x30 (1440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=11 map[90]: type 4, range 32, base 0000efa0, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x01 bus=0, slot=1, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base 20301000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 20300000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=b, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base e0000000, size 24, enabled map[14]: type 1, range 32, base 20000000, size 21, enabled map[18]: type 1, range 32, base 20200000, size 20, enabled found-> vendor=0x10c8, dev=0x0004, revid=0x01 bus=0, slot=3, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x10 (4000 ns), maxlat=0xff (63750 ns) intpin=a, irq=11 PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff at device 1.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfcf0 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfcf8 ata1: mask=01 ostat0=51 ostat2=fd ata1-master: ATAPI 14 eb ata1: mask=01 stat0=10 stat1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x8400-0x841f irq 11 at device 1.2 on pci0 usb0: 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: at device 1.3 (no driver attached) cbb0: mem 0x20301000-0x20301fff at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci_cfgintr_virgin: using routable PCI-only interrupt 11 pci_cfgintr: ROUTE_INTERRUPT failed. cbb: Unable to map IRQ... device_probe_and_attach: cbb0 attach returned 12 cbb0: mem 0x20300000-0x20300fff at device 2.1 on pci0 cardbus1: on cbb0 pccard1: <16-bit PCCard bus> on cbb0 pci_cfgintr_virgin: using routable PCI-only interrupt 11 pci_cfgintr: ROUTE_INTERRUPT failed. cbb: Unable to map IRQ... device_probe_and_attach: cbb0 attach returned 12 pci0: at device 3.0 (no driver attached) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it 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 ex_isa_identify() pnpbios: 23 devices, largest 980 bytes PNP0000: adding fixed io range 0x20-0x21, size=0x2, align=0x1 PNP0000: adding fixed io range 0xa0-0xa1, size=0x2, align=0x1 PNP0000: adding irq mask 0x4 pnpbios: handle 0 device ID PNP0000 (0000d041) PNP0200: adding fixed io range 0-0xf, size=0x10, align=0x1 PNP0200: adding fixed io range 0x80-0x8f, size=0x10, align=0x1 PNP0200: adding fixed io range 0xc0-0xdf, size=0x20, align=0x1 PNP0200: adding dma mask 0x10 pnpbios: handle 1 device ID PNP0200 (0002d041) PNP0100: adding irq mask 0x1 PNP0100: adding fixed io range 0x40-0x43, size=0x4, align=0x1 pnpbios: handle 2 device ID PNP0100 (0001d041) PNP0b00: adding irq mask 0x100 PNP0b00: adding fixed io range 0x70-0x73, size=0x4, align=0x1 pnpbios: handle 3 device ID PNP0b00 (000bd041) PNP0800: adding fixed io range 0x61-0x61, size=0x1, align=0x1 pnpbios: handle 4 device ID PNP0800 (0008d041) PNP0303: adding irq mask 0x2 PNP0303: adding fixed io range 0x60-0x60, size=0x1, align=0x1 PNP0303: adding fixed io range 0x64-0x64, size=0x1, align=0x1 pnpbios: handle 5 device ID PNP0303 (0303d041) IBM3780: adding irq mask 0x1000 pnpbios: handle 6 device ID IBM3780 (80374d24) PNP0c04: adding fixed io range 0xf0-0xff, size=0x10, align=0x1 PNP0c04: adding irq mask 0x2000 pnpbios: handle 7 device ID PNP0c04 (040cd041) PNP0700: adding irq mask 0x40 PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x80 PNP0700: adding dma mask 0x4 pnpbios: handle 8 device ID PNP0700 (0007d041) PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0 pnpbios: handle 9 device ID PNP0a03 (030ad041) PNP0c02: adding io range 0x22-0x22, size=0x1, align=0 PNP0c02: adding io range 0x2e-0x2f, size=0x2, align=0 PNP0c02: adding io range 0x92-0x92, size=0x1, align=0 PNP0c02: adding io range 0xb2-0xb3, size=0x2, align=0 PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0 PNP0c02: adding io range 0x15e0-0x15ef, size=0x10, align=0 PNP0c02: adding io range 0xef00-0xefaf, size=0xb0, align=0 PNP0c02: adding fixed memory32 range 0-0x9ffff, size=0xa0000 PNP0c02: adding fixed memory32 range 0xf0000-0xfffff, size=0x10000 PNP0c02: adding fixed memory32 range 0x100000-0x5ffffff, size=0x5f00000 PNP0c02: adding fixed memory32 range 0xffff0000-0xffffffff, size=0x10000 pnpbios: handle 10 device ID PNP0c02 (020cd041) pnpbios: handle 11 device ID PNP0400 (0004d041) PNP0501: adding irq mask 0x10 PNP0501: adding io range 0x3e8-0x3ef, size=0x8, align=0 pnpbios: handle 13 device ID PNP0501 (0105d041) CSC0000: adding io range 0x530-0x537, size=0x8, align=0 CSC0000: adding io range 0x388-0x38b, size=0x4, align=0 CSC0000: adding io range 0x220-0x233, size=0x14, align=0x20 CSC0000: adding irq mask 0x20 CSC0000: adding dma mask 0x2 CSC0000: adding dma mask 0x1 pnpbios: handle 14 device ID CSC0000 (0000630e) CSC0010: adding io range 0x538-0x53f, size=0x8, align=0 pnpbios: handle 15 device ID CSC0010 (1000630e) pnpbios: handle 16 device ID CSC0001 (0100630e) pnpbios: handle 17 device ID CSC0003 (0300630e) IBM3760: adding io range 0x130-0x13f, size=0x10, align=0 IBM3760: adding io range 0x2f8-0x2ff, size=0x8, align=0 IBM3760: adding irq mask 0x8 IBM3760: adding irq mask 0x400 IBM3760: adding dma mask 0x80 pnpbios: handle 18 device ID IBM3760 (60374d24) pnpbios: handle 19 device ID IBM0071 (71004d24) PNP0e03: adding io range 0-0x1, size=0x2, align=0 pnpbios: handle 20 device ID PNP0e03 (030ed041) PNP0680: adding irq mask 0x4000 PNP0680: adding io range 0x1f0-0x1f7, size=0x8, align=0 PNP0680: adding io range 0x3f6-0x3f7, size=0x2, align=0 PNP0680: adding io range 0xfcf0-0xfcf7, size=0x8, align=0 pnpbios: handle 23 device ID PNP0680 (8006d041) PNP0680: adding irq mask 0x8000 PNP0680: adding io range 0x170-0x177, size=0x8, align=0 PNP0680: adding io range 0x376-0x376, size=0x1, align=0 PNP0680: adding io range 0xfcf8-0xfcff, size=0x8, align=0 pnpbios: handle 25 device ID PNP0680 (8006d041) PNP0c02: adding fixed memory32 range 0xca000-0xcbfff, size=0x2000 pnpbios: handle 27 device ID PNP0c02 (020cd041) sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: