Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 13:31:59 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: panic: inthand_add: Can't initialize ICU
Message-ID:  <Pine.BSF.4.21.0109271321490.3806-100000@sasami.jurai.net>
In-Reply-To: <200109271621.f8RGLGu20020@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Sep 2001, Maxim Sobolev wrote:
> I found that I am no longer able to boot -current kernel on my machine. The
> system panices right after initialising ed0 driver:
> 
> [...]
> ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xe800-0xe81f irq 9 at device 9.0 on pci0
> panic: inthand_add: can't initialize ICU
> 
> Attached please find verbose kernel bootup messages obtained from the last
> good kernel from about a week ago.

Revision 1.59 of sys/i386/isa/intr_machdep.c added the return to the
following block of code (in icu_setup()).

#if defined(APIC_IO)
        if ((u_int)intr >= ICU_LEN)     /* no 8259 SLAVE to ignore */
#else
        if ((u_int)intr >= ICU_LEN || intr == ICU_SLAVEID)
#endif /* APIC_IO */
+                return (EINVAL);
        if (intr_handler[intr] != isa_strayintr)
                return (EBUSY);

I'm not sure if the above change is correct but I'd be interested to see
if the problem goes away if you prevent IRQ 9 from being assigned.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109271321490.3806-100000>