From owner-freebsd-mobile@FreeBSD.ORG Mon May 26 20:30:01 2003 Return-Path: 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 0134037B401 for ; Mon, 26 May 2003 20:30:01 -0700 (PDT) Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBE543F75 for ; Mon, 26 May 2003 20:30:00 -0700 (PDT) (envelope-from devin@spamcop.net) Received: from borosilicate.pun-pun.prv ([192.168.7.29]) by mail.distalzou.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.20) id 19KV9y-000HfB-PA; Tue, 27 May 2003 12:29:58 +0900 Date: Tue, 27 May 2003 12:29:58 +0900 (JST) From: Tod McQuillin X-X-Sender: devin@borosilicate.pun-pun.prv To: "M. Warner Losh" In-Reply-To: <20030526.142125.95894018.imp@bsdimp.com> Message-ID: <20030527120556.M48601@borosilicate.pun-pun.prv> References: <20030527020616.J48601@borosilicate.pun-pun.prv> <20030526.142125.95894018.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: Orinoco Gold trouble with SMP server X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 03:30:01 -0000 Thanks Warner, On Mon, 26 May 2003, M. Warner Losh wrote: > In message: <20030527020616.J48601@borosilicate.pun-pun.prv> > Tod McQuillin writes: > : pcic0: at port 0x3e2 iomem 0xd4000 irq 9 on isa0 > : pcic0: management irq 9 > > Chances are excellent that this won't work. Polling mode seems best. OK. I've tried polling mode and it does not appear to make any difference. > : wi0 at port 0x240-0x27f irq 10 slot 0 on pccard0 > : wi0: wi_cmd: busy bit won't clear. > : wi0: wi_cmd: busy bit won't clear. > : wi0: init failed > : wi0: wi_cmd: busy bit won't clear. > : wi0: wi_cmd: busy bit won't clear. > : wi0: mac read failed 5 > : device_probe_and_attach: wi0 attach returned 5 > > Looks like irq 10 is in use. Pick anotehr one. This was my first thought too. But I've carefully examined all the information I can gather about irqs in use in my system and it looks to me like 9 and 10 are not in use. The system has two pci busses and an isa bus. Here's a map of the bus layout with allocated irq's (constructed from the dmesg): root pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 18 -> irq 11 IOAPIC #0 intpin 17 -> irq 15 pci0: on pcib0 Matrox MGA Millennium II (irq 2) Matrox MGA Millennium II (irq 11) Intel 82557/8/9 EtherExpress (irq 15) Promise TX2 ATA100 controller (irq 16) Generic PCI ATA controller (irq 15) ata0 (irq 14) ata1 (irq 15) isab0: isa0: on isab0 fdc0 (irq 6) atkbd0 (irq 1) pcic0 (irq 9) sio0 (irq 4) sio1 (irq 3) ppp0 (irq 7) sbc0 (irq 5) pcib1: on motherboard IOAPIC #0 intpin 23 -> irq 17 IOAPIC #0 intpin 20 -> irq 18 IOAPIC #0 intpin 21 -> irq 19 pci1: on pcib1 OHCI (generic) USB controller (irq 17) Compaq Netelligent 10/100 TX UTP (irq 18) sym0: <875> (scsi) (irq 19) Based on this I have these irqs in use: 1 (atkbd0) 2 (vga) 3 (sio1) 4 (sio0) 5 (sbc0) 6 (fdc0) 7 (ppc0) 8 (rtc) 9 (pcic0) (unused if I don't declare pcic0 there in kernel config) 10 (... unused ...) 11 (vga) 12 (mouse - not currently attached) 13 (npx0) 14 (ata0) 15 (ata1, fxp0) 16 (atapci0) 17 (ohci0) 18 (tl0) 19 (sym0) Is there some reason why I can't use irq 9 or irq 10? There is no mention of 9 or 10 in the dmesg or "vmstat -i" output. Full dmesg is in my previous email and at http://www.distalzou.net/freebsd/ Thanks, -- Tod McQuillin