From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 01:11:52 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 378C416A41F for ; Wed, 11 Jul 2007 01:11:52 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAB913C465 for ; Wed, 11 Jul 2007 01:11:51 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 8563B1C0005; Wed, 11 Jul 2007 09:12:00 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28600-01; Wed, 11 Jul 2007 09:11:58 +0800 (CST) Received: from [218.193.55.195] (unknown [59.61.16.82]) by bossdog.realss.com (Postfix) with ESMTP id 183B51C0003; Wed, 11 Jul 2007 09:11:57 +0800 (CST) From: Zhang Weiwu To: John Baldwin In-Reply-To: <200707101518.59366.jhb@freebsd.org> References: <1183942480.6901.15.camel@joe.realss.com> <200707101518.59366.jhb@freebsd.org> Content-Type: text/plain Organization: Real Softservice Date: Wed, 11 Jul 2007 09:06:25 +0800 Message-Id: <1184115985.13672.1.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: Ian Smith , freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 01:11:52 -0000 On Tue, 2007-07-10 at 15:18 -0400, John Baldwin wrote: > On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: > > > > cbb0: mem 0x20822000-0x20822fff at > > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 > > > > cbb1: mem 0x20821000-0x20821fff at > > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 > > > > $PIR: ROUTE_INTERRUPT failed. > > > > cbb: Unable to map IRQ... > > > > device_attach: cbb1 attach returned 12 > > We tried to set the IRQ for your device and the BIOS choked. Can you get the > output from /usr/src/tools/tools/pirtool for your machine? Thanks! Here is it: PCI Interrupt Routing Table at 0x000FB270 ----------------------------------------- 0x00: Signature: $PIR 0x04: Version: 1.0 0x06: Size: 96 bytes (4 entries) 0x08: Device: 0:6:0 0x0a: PCI Exclusive IRQs: 0x00000400 0x0c: Compatible with: 0x00000000 unknown chipset 0x10: Miniport Data: 0x00000000 0x1f: Checksum: 0x4D Entry 0: Device 0:6:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 00h (not connected) INTC: 00h (not connected) INTD: 63h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 Entry 1: Device 0:2:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTC: 00h (not connected) INTD: 00h (not connected) Entry 2: Device 0:3:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 00h (not connected) INTC: 00h (not connected) INTD: 00h (not connected) Entry 3: Device 0:7:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTC: 00h (not connected) INTD: 00h (not connected) -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112