From nobody@FreeBSD.org  Fri Dec  1 03:20:38 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1474137B401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Dec 2000 03:20:38 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eB1BKcq90510;
	Fri, 1 Dec 2000 03:20:38 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200012011120.eB1BKcq90510@freefall.freebsd.org>
Date: Fri, 1 Dec 2000 03:20:38 -0800 (PST)
From: jmcl@shadowbox.ie
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: lptcontrol -e causes panic
X-Send-Pr-Version: www-1.0

>Number:         23205
>Category:       kern
>Synopsis:       lptcontrol -e causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 01 03:30:01 PST 2000
>Closed-Date:    Sun Nov 18 09:12:58 PST 2001
>Last-Modified:  Sun Nov 18 09:13:18 PST 2001
>Originator:     John McLaughlin
>Release:        4.x stable
>Organization:
Shadowbox Systems Ltd
>Environment:
FreeBSD jmcl.gamesnow.ie 4.2-BETA FreeBSD 4.2-BETA #13: Mon Nov 20 17:25:04 GMT 2000     root@jmcl.gamesnow.ie:/opt/FreeBSD/src/sys/compile/JMCL  i386
>Description:
On my system (Dell PowerEdge 1300 dual PIII), switching lpt0 to extended
mode using lptcontrol -e and attempting to print anything causes an 
immediate panic and reboot. The printer is a HP 2100M.

I tried using extended mode to fix another problem where the printer 
occasionally hangs necessitating a reboot after a suggestion in PR 14787
(no PR submitted for the original problem as I want to investigate a bit
further)

dmesh output:
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 2100 Series> PJL,MLC,PCL,PCLXL,POSTSCRIPT
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

>How-To-Repeat:
# lptcontrol -e
# lpr -Plp somefile.ps
>Fix:
None known

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Nov 18 04:26:34 PST 2001 
State-Changed-Why:  

Does this problem still occur in more recent releases? If so, could 
you try to get a crashdump and a gdb backtrace as per the instructions 
in the FreeBSD developers handbook? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23205 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Nov 18 09:12:58 PST 2001 
State-Changed-Why:  

Mail to submitter bounces. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23205 
>Unformatted:
