From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 16 12:44:04 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 AD9BE16A4C1 for ; Mon, 16 Jul 2007 12:44:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 5D61D13C4C3 for ; Mon, 16 Jul 2007 12:44:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.7b8) with ESMTP id 196926982 for multiple; Mon, 16 Jul 2007 08:36:39 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6GCSBkI031595; Mon, 16 Jul 2007 08:28:20 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Mon, 16 Jul 2007 07:56:40 -0400 User-Agent: KMail/1.9.6 References: <1183942480.6901.15.camel@joe.realss.com> <200707111431.52840.jhb@freebsd.org> <1184484990.9138.4.camel@joe.realss.com> In-Reply-To: <1184484990.9138.4.camel@joe.realss.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707160756.41133.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 16 Jul 2007 08:28:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3680/Mon Jul 16 01:49:06 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Zhang Weiwu 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: Mon, 16 Jul 2007 12:44:04 -0000 On Sunday 15 July 2007 03:36:30 am Zhang Weiwu wrote: > On Wed, 2007-07-11 at 14:31 -0400, John Baldwin wrote: > > No, we only route things once. Look at /sys/i386/pci/pci_pir.c. It keeps > > track of which IRQ a link is routed to, and we only use the BIOS call if it > > didn't look like the BIOS had already routed it, and we haven't routed it > > before. I think we are actually trying to route 0x61 btw, not 0x60 since > > it's device 2.1 (and thus probably INTB) that is keeling over. > > > > You can try using a hint like 'hw.pci0.2.INTB.irq=11' and seeing if it works. > > Thank you for the insight and suggested solution. After having that > setting in /boot/device.hints I still cannot make the second card work, > just in case you are interested in this issue too, I have attached the > dmesg after used suggested hint. This dmesg is obtained by first insert > both cards and then boot. You got an interrupt storm on IRQ 10, so try setting the hint to 10 rather than 11. -- John Baldwin