Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2003 13:25:36 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jhb@FreeBSD.org
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: IRQ 2 problem
Message-ID:  <20031231.132536.38326387.imp@bsdimp.com>
In-Reply-To: <XFMail.20031231141216.jhb@FreeBSD.org>
References:  <20031231185358.66023.qmail@web14812.mail.yahoo.com> <XFMail.20031231141216.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <XFMail.20031231141216.jhb@FreeBSD.org>
            John Baldwin <jhb@FreeBSD.org> writes:
: 
: On 31-Dec-2003 Rostislav Krasny wrote:
: > --- "M. Warner Losh" <imp@bsdimp.com> wrote:
: >> In message: <20031230.190927.108191769.imp@bsdimp.com>
: >>             "M. Warner Losh" <imp@bsdimp.com> writes:
: >> : The reason that it iasn't been committed is because it is
: >> incorrect.
: >> : 
: >> :
: >>
: > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15473+0+archive/2003/freebsd-arch/20030831.freebsd-ar
: > ch
: >> : 
: >> : has the particulars.
: >> 
: >> Does your machine have an APIC?  My laptop doesn't seem to exhibit
: >> the problem.
: > 
: > No, it doesn't seem to have an APIC. This is Pentium MMX 200MHz machine
: > based on Intel's 430TX chipset.
: > 
: > What is the correct way to fix this IRQ 2 problem? I can help to test it.
: 
: IRQ 2 in FreeBSD is spelled IRQ 9.  If a PNP device wants to use IRQ 2, it
: can be set to IRQ 2 in hardware, but it must use IRQ 9 when doing the
: bus_alloc_resource() and bus_setup_intr().

Actually the problem appears to be that the hardware wants 9 too.  '2'
shouldn't be used at all, nor given out in allocation when we're using
AT PIC because that's the chaining IRQ.  That's the current problem.
Eg, the isa bus is handing out '2' when it has no buisness doing so.

Warner








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