From owner-freebsd-questions@FreeBSD.ORG Tue May 23 15:56:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DC4916A556 for ; Tue, 23 May 2006 15:56:14 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2697343D49 for ; Tue, 23 May 2006 15:56:13 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.147] (helo=anti-virus03-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1FiZEx-0006L1-W7; Tue, 23 May 2006 16:56:12 +0100 Received: from [80.192.24.108] (helo=[192.168.0.2]) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1FiZEx-0006P4-D8; Tue, 23 May 2006 16:56:11 +0100 Message-ID: <4473309A.5010205@dial.pipex.com> Date: Tue, 23 May 2006 16:56:10 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Charles Howse , FreeBSD Questions References: <302D38D7-E688-47B7-859F-5DDB56E2A2EB@charter.net> <20060523173827.0f925695@localhost> In-Reply-To: <20060523173827.0f925695@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Best Practices - interrupt storm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:56:18 -0000 Charles Howse wrote: >FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet > >I've found quite a bit of information about how to deal with: >"Interrupt storm detected in "irq7:"; throttling interrupt source" > >Problem is, it's a little confusing. > From what I've gathered, the options are: >Use the BIOS to set the printer port to ECP, >Use lptcontrol to set the port to polled mode, >Use device.hints to do both > >IIRC, in the past, I have used lptcontrol to set polled mode, but >that resulted in: >"too many stray irq7's, not logging any more" > >Can anyone suggest a method to make both "interrupt storm" and "too >many stray irq7's" go away? > I always set to EPP in BIOS and device.hints to 0x24 (used to compile into kernel pre 5.X). (I suspect one or the other would do, and ECP would do instead of EPP, or 0x28 instead of 0x24). Haven't had an interrupt storm or stray interrupt since. man ppc for the flags to use and get into practice converting hex to binary and vice versa :-) Never used lptcontrol. --Alex