NetBSD Problem Report #7101

Received: (qmail 24701 invoked from network); 7 Mar 1999 23:05:27 -0000
Message-Id: <199903072305.SAA04118@snarf.thnet.com>
Date: Sun, 7 Mar 1999 18:05:03 -0500 (EST)
From: Brett Slager <bds@snarf.thnet.com>
Reply-To: bds@snarf.thnet.com
To: gnats-bugs@gnats.netbsd.org
Subject: lpt(4) driver "no prime" issues
X-Send-Pr-Version: 3.95

>Number:         7101
>Category:       kern
>Synopsis:       lpt(4) driver "no prime" issues
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 07 15:20:00 +0000 1999
>Closed-Date:    
>Last-Modified:  Tue Jun 06 01:42:57 +0000 2000
>Originator:     Brett Slager
>Release:        1.3
>Organization:
>Environment:
System: NetBSD snarf.thnet.com 1.3G NetBSD 1.3G (SNARF) #0: Sun Aug 30 16:42:17 EST 1998 bds@snarf.thnet.com:/home/tortise/netbsd/src/sys/arch/i386/compile/SNARF i386


>Description:
	Richard Rauch's <rauch@eecs.ukans.edu> recent mail to netbsd-users
	reminded me of this problem...  this pr is so no one forgets.

	Attempts to send a job to a parallel printer while another job is
	printing out of the printer's buffer can initialize the printer and
	ruin both print jobs.  There are probably printers out there
	unaffected by this but every printer I've used would do this.
>How-To-Repeat:
	Try to set up a printer and find that multiple jobs step on each
	other.  Get angry.  Read driver source and the workaround is revealed.
>Fix:
	man 4 lpt mentions minor bit 64 as disabling init on the port,
	perhaps this should be made the default device behavior
	(principle of least suprise) or possibly only the first open
	on a printer device should signal an INIT.
	At the very least this whole affair should be documented and
	MAKEDEV should make "no prime" device nodes too.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.