From nobody@FreeBSD.ORG Tue Apr  6 19:37:31 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B1A93154D4; Tue,  6 Apr 1999 19:37:31 -0700 (PDT)
Message-Id: <19990407023731.B1A93154D4@hub.freebsd.org>
Date: Tue,  6 Apr 1999 19:37:31 -0700 (PDT)
From: richw@webcom.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: lpd hangs system if printer not ready on reboot
X-Send-Pr-Version: www-1.0

>Number:         10991
>Category:       bin
>Synopsis:       lpd hangs system if printer not ready on reboot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  6 19:40:00 PDT 1999
>Closed-Date:    Sat Nov 17 09:02:00 PST 2001
>Last-Modified:  Fri Jan 25 20:00:01 PST 2002
>Originator:     Rich Wales
>Release:        3.1-RELEASE
>Organization:
>Environment:
FreeBSD grownups.richw.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Sat Mar 20 23:32:49 PST 1999     richw@grownups.richw.com:/misc/3.1/usr/src/sys/compile/GROWNUPS  i386

>Description:
My home machine froze solid (no response to keyboard, not even CTRL-ALT-
DEL) at the very end of the multi-user restart.  I hit the reset button,
and it rebooted, but then it hung again just before it would have gone
multi-user.

I eventually managed to trace the problem down to "lpd".  If I disabled
"lpd", the system came up fine.  When I started "lpd" by hand after the
system had gone multi-user, it hung again.

I noticed that my printer (an Epson Stylus Pro attached via ppc0/nlpt0
(0x378, irq7, W83877AF chipset, EPP/PS2/NIBBLE, COMPATIBLE mode) was
out of paper and offline.  I corrected this problem, and the problem
went away.

>How-To-Repeat:
Take the printer offline, then reboot and watch the system hang just as
it's finishing its multi-user startup.

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Thu Jul 19 18:18:02 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10991 
State-Changed-From-To: feedback->closed 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 17 09:02:00 PST 2001 
State-Changed-Why:  
Feedback timeout (3+ months). 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10991 

From: Peter Much <pmc@citylink.dinoex.sub.de>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: bin/10991 lpd hangs system if printer not ready on reboot
Date: Sat, 26 Jan 2002 01:47:40 +0100

 Hi together,
   just found this pr while looking for something different...
 
 I have experienced a rather similar behaviour with RELEASE-4.4:
 When paper runs empty, the system freezes. This does not happen
 always, and seems to have disappeared after upgrading from a 
 486 ASUS SP3 board to something newer.
 
 As soon as paper was refilled, system would continue to run just
 fine, so this was not a big problem.
 
 Configuration of the printer was as follows:
 device          ppc0    at isa? irq 7
 device          ppbus
 device          lpt
 
 On boot, the printer port was detected as follows:
 Oct 19 22:22:02 disp /kernel: FreeBSD 4.4-RELEASE #5: Sun Oct 14 02:37:59 CEST 2001
 Oct 19 22:22:02 disp /kernel: root@disp.oper.dinoex.org:/u1/src/sys/compile/D1R44V1
 [...]
 Oct 19 22:22:05 disp /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 Oct 19 22:22:05 disp /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 Oct 19 22:22:05 disp /kernel: lpt0: <Printer> on ppbus0
 Oct 19 22:22:05 disp /kernel: lpt0: Interrupt-driven port
 
 There was no option PPC_PROBE_CHIPSET active in that kernel. After
 adding that option, the output looks as follows (but there is no
 printer attached to the machine anymore, so I cant say if this helps
 the problem):
 
 FreeBSD 4.4-RELEASE #7: Tue Dec 18 01:07:19 CET 2001
     root@gate.oper.dinoex.org:/u1/src/sys/compile/G1R44V1
 [...]
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC FDC37C665GT chipset (PS2/NIBBLE) in COMPATIBLE mode
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 
 rgds,
 PMc
 
 -- 
 Write to: Peter Much * Fichtenstr. 28 * D-65527 Niedernhausen * +49-6127-967111
   EMail: p.much@citylink.dinoex.sub.org * Fax: +49-6127-967112 (nur manchmal)
>Unformatted:
