From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 9 21:00:49 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DC0216A4CE for ; Tue, 9 Nov 2004 21:00:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C60443D49 for ; Tue, 9 Nov 2004 21:00:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9L0nhM012750 for ; Tue, 9 Nov 2004 21:00:49 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA9L0n6w012734; Tue, 9 Nov 2004 21:00:49 GMT (envelope-from gnats) Resent-Date: Tue, 9 Nov 2004 21:00:49 GMT Resent-Message-Id: <200411092100.iA9L0n6w012734@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bob frazier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4458F16A4D8 for ; Tue, 9 Nov 2004 20:52:08 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2045143D1F for ; Tue, 9 Nov 2004 20:52:07 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9Kq7Dr098862 for ; Tue, 9 Nov 2004 20:52:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id iA9Kq7o7098861; Tue, 9 Nov 2004 20:52:07 GMT (envelope-from nobody) Message-Id: <200411092052.iA9Kq7o7098861@www.freebsd.org> Date: Tue, 9 Nov 2004 20:52:07 GMT From: bob frazier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/73744: printing via cups causes "Interrupt storm" warning, throttles output X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 21:00:49 -0000 >Number: 73744 >Category: kern >Synopsis: printing via cups causes "Interrupt storm" warning, throttles output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 09 21:00:48 GMT 2004 >Closed-Date: >Last-Modified: >Originator: bob frazier >Release: 5.3-STABLE #1 (RELENG_5) >Organization: SFT Inc >Environment: FreeBSD BSDServer.SFT.local 5.3-STABLE FreeBSD 5.3-STABLE #1: Tue Oct 26 20:13:16 PDT 2004 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: following a very recent portupgrade to RELEASE_5_3_0, printing via cups now causes the following error message to appear on the console: Interrupt storm detected on "irq7:lpt0": throttling interrupt source This caused printing to be GROSSLY unacceptably slow stopping cups, then using 'lptcontrol -p /dev/lpt0', then restarting it again worked around the problem and restored acceptable print performance. This is the first time I have seen this happen, and I have been printing on this machine for quite some time. >How-To-Repeat: a) install FBSD 5.3-STABLE #1, cups, and samba. lpt0 is set up for IRQ 7 (this may be an automatic setting as I didn't enter anything in 'device.hints' for lpt0). b) configure for 'RAW' output on /dev/lpt0 (in this case, with an HP DeskJet 660C connected to the port). c) from a windows machine, print something to the printer via the SAMBA share using the correct windows driver and 'RAW' output. This may also be possible using the 'print test page' options from the http "printer admin" interface for cups via the cups 'deskjet' driver (for postscript - I did not specifically test this). d) Observe 'interrupt storm' warning on console e) observe piss poor printing performance f) shut down cups, enter command 'lptcontrol -p /dev/lpt0' g) repeat the printer test, printing resumes normally >Fix: disable interrupt-driven printing via 'lptcontrol' >Release-Note: >Audit-Trail: >Unformatted: