Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 12:29:58 +0900 (JST)
From:      Tod McQuillin <devin@spamcop.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Orinoco Gold trouble with SMP server
Message-ID:  <20030527120556.M48601@borosilicate.pun-pun.prv>
In-Reply-To: <20030526.142125.95894018.imp@bsdimp.com>
References:  <20030527020616.J48601@borosilicate.pun-pun.prv> <20030526.142125.95894018.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Warner,

On Mon, 26 May 2003, M. Warner Losh wrote:

> In message: <20030527020616.J48601@borosilicate.pun-pun.prv>
>             Tod McQuillin <devin@spamcop.net> writes:
> : pcic0: <Vadem 469> 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: <ServerWorks NB6536 2.0HE host to PCI bridge> on motherboard
		IOAPIC #0 intpin 19 -> irq 2
		IOAPIC #0 intpin 18 -> irq 11
		IOAPIC #0 intpin 17 -> irq 15
		pci0: <PCI bus> 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: <PCI to ISA bridge ...>
				isa0: <ISA bus> on isab0
					fdc0 (irq 6)
					atkbd0 (irq 1)
					pcic0 (irq 9)
					sio0 (irq 4)
					sio1 (irq 3)
					ppp0 (irq 7)
					sbc0 (irq 5)
	pcib1: <ServerWorks NB6536 2.0HE host to PCI bridge> on motherboard
		IOAPIC #0 intpin 23 -> irq 17
		IOAPIC #0 intpin 20 -> irq 18
		IOAPIC #0 intpin 21 -> irq 19
		pci1: <PCI bus> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527120556.M48601>