From owner-freebsd-questions@FreeBSD.ORG Wed Jul 19 21:46:22 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 1B5B216A4DD for ; Wed, 19 Jul 2006 21:46:22 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DCA943D66 for ; Wed, 19 Jul 2006 21:46:16 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.13.7/8.13.7) with ESMTP id k6JLkEKY002140 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 19 Jul 2006 14:46:14 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.13.6/8.13.7/Submit) id k6JLkEfl005689; Wed, 19 Jul 2006 14:46:14 -0700 (PDT) Date: Wed, 19 Jul 2006 14:46:14 -0700 (PDT) Message-Id: <200607192146.k6JLkEfl005689@m5p.com> From: george+freebsd@m5p.com To: freebsd-questions@freebsd.org X-Spam-Score: -1.735 () AWL,BAYES_00,NO_RELAYS X-Scanned-By: MIMEDefang 2.56 on IPv6:2001:418:3fd::f7 Subject: FreeBSD 6.1: open(/dev/lpt0, O_WRONLY) hangs up 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: Wed, 19 Jul 2006 21:46:22 -0000 Print jobs get into my print queu, but they don't get out. So I started debugging lpd. After a lot of screwing around, I discovered that the program was hanging up on line 1875 of printjob.c: pfd = open(pp->lp, pp->rw ? O_RDWR : O_WRONLY); pp->lp is "/dev/lpt0" pp->rw is 0 So then I returned to my shell prompt and typed in: cat /dev/null >/dev/lpt0 and that hung up uninterruptibly. What's going on? FreeBSD 6.1-RELEASE, unmodified generic kernel. All this worked normally under 5.3, though that needed 'hw.intr_storm_threshold="2000"'.