From owner-freebsd-questions  Thu Mar 21 16:53:35 2002
Delivered-To: freebsd-questions@freebsd.org
Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12])
	by hub.freebsd.org (Postfix) with ESMTP id D7DF137B41E
	for <questions@FreeBSD.ORG>; Thu, 21 Mar 2002 16:53:28 -0800 (PST)
Received: from barbish ([63.70.155.60]) by mail.mango-bay.com
          (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35)
          with SMTP id com for <questions@FreeBSD.ORG>;
          Thu, 21 Mar 2002 19:53:27 -0500
From: "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To: "FBSDQ" <questions@FreeBSD.ORG>
Subject: solution for stray irq 7 messages
Date: Thu, 21 Mar 2002 19:53:25 -0500
Message-ID: <LPBBIGIAAKKEOEJOLEGOEEJFCLAA.barbish@a1poweruser.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

For the archives

To stop the annoying bogus stray irq 7 messages you can hack the source
where these messages originate from and change the counter value 5 to 0 so
the messages will no longer be issued.

isa_strayintr lives in  /usr/src/sys/i386/isa/intr_machdep.c

cd /usr/src/sys/i386/isa/
cp intr_machdep.c intr_machdep.c.org  # make bkup of original
ee intr_machdep.c

Find isa_strayintr to locate start of stray irq 7 logic

change this

	if (intrcnt[1 + intr] <= 5)

To  this

	if (intrcnt[1 + intr] <= 0)


Recompile your kernel source and those stray irq 7 messages are gone.
Document this some place for your self just in case you reinstall from
cdrom.



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