From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 11 22:50:03 2005 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 6FB7316A4CE for ; Fri, 11 Mar 2005 22:50:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D628943D2F for ; Fri, 11 Mar 2005 22:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2BMo2aS050730 for ; Fri, 11 Mar 2005 22:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2BMo2AW050729; Fri, 11 Mar 2005 22:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 11 Mar 2005 22:50:02 GMT Resent-Message-Id: <200503112250.j2BMo2AW050729@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, Jason Bacon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDEE216A4CE for ; Fri, 11 Mar 2005 22:42:12 +0000 (GMT) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.144.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3681E43D4C for ; Fri, 11 Mar 2005 22:42:12 +0000 (GMT) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) j2BMgBW2066754 for ; Fri, 11 Mar 2005 16:42:11 -0600 (CST) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.13.1/8.13.1/Submit) id j2BMgArp066753; Fri, 11 Mar 2005 16:42:10 -0600 (CST) (envelope-from bacon) Message-Id: <200503112242.j2BMgArp066753@smithers.neuro.mcw.edu> Date: Fri, 11 Mar 2005 16:42:10 -0600 (CST) From: Jason Bacon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/78711: Parallel printer incredibly slow X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jason Bacon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 22:50:03 -0000 >Number: 78711 >Category: kern >Synopsis: Parallel printer incredibly slow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 11 22:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: FreeBSD 5.3-RELEASE i386 >Organization: Medical College of Wisconsin >Environment: FreeBSD sculpin.tds.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Dec 19 15:26:36 CST 2004 bacon@sculpin.tds.net:/usr/obj/usr/src/sys/sculpin i386 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER ESCPL2,BDC plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 >Description: The parallel printer runs ridiculously slow. It prints normally for about 30 seconds, then prints one line every 5 or 10 minutes. One photo from an iBook client to a Stylus 640 took about 12 hours using lpd server to a raw printer queue. A page from konqueror using stc_h driver with apsfilter took over an hour. >How-To-Repeat: Print any lengthy document to the parallel printer. >Fix: lptcontrol -s resolves the problem. This looks to me much like a timing issue that plagued some googlers in the late 1990s. Running in polled mode on this system does not impact the system (ASUS P5A, K6-2 500Mhz) significantly, 66 processes: 1 running, 65 sleeping CPU states: 1.6% user, 0.0% nice, 7.0% system, 0.0% interrupt, 91.4% idle although it might on a faster, higher volume parallel printer. For this reason, forcing the mode to something other than COMPATIBLE via /boot/device.hints might be a better alternative for some people. Check your BIOS to see what modes are supported for the parallel port, and "man ppc" for details on port settings in device.hints. >Release-Note: >Audit-Trail: >Unformatted: