From owner-freebsd-hackers Fri Jan 19 16:48:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id CC1EC37B698 for ; Fri, 19 Jan 2001 16:48:38 -0800 (PST) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.1/8.11.1) with ESMTP id f0K13P600858; Fri, 19 Jan 2001 17:03:25 -0800 (PST) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200101200103.f0K13P600858@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Howie Xu" Cc: freebsd-hackers@freebsd.org Subject: Re: ISR not triggered upon the interrupts and OS hangs In-reply-to: Your message of "Fri, 19 Jan 2001 19:27:29 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Jan 2001 17:03:25 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The bug was solved and it was because the BIOS advertises wrong interrupt > line. It should be 5, not 12. So I registered ISR for line 12, of course > never triggered. Er, can you be more specific here? Where is the interrupt line "advertised"? Is the BIOS incorrectly populating the intline register? Are you certain that the BIOS is doing this? (It would completely violate the PCI specification and cause the system to fail under almost every OS in existence.) > On the other hand, if no one registers for an interrupt line, how come the > OS just hangs, is this a feature or bug? I know that Linux would disable > that interrupt line if no driver ever registers a certain intr line when the > first interrupt comes in. FreeBSD doesn't do this, so you get an interrupt storm (PCI interrupts are a persistent condition). It's a violation of the PCI specification for a device to interrupt until it's initialised, so it should be unncessary. Arguably, we could do this. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message