Subject: LPT0 causing RESET?
To: None <>
From: Andrew Cagney <>
List: current-users
Date: 08/28/1994 18:15:41

I'm trying to get a printer to correctly work on an x86 computer's
parallel port.  To test it I was using:

	# cp post-script-file /dev/lpt0

Depending on how the remote printer is configured, the computer would
reset (no core dump and no panic message).

		Is this normal?

More info ....

	Lexmark 4039 10R
		Parallel Protocol/Honor Init: STANDARD/ON
		Parallel Protocol/Honor Init: STANDARD/OFF
		Parallel Protocol/Honor Init: FASTBYTES/ON
			cp: /dev/lpt0: Operation not permitted
		Parallel Protocol/Honor Init: FASTBYTES/OFF
			Prints ok!

LPT Card:
	GMIO-470 (An all singing all dancing video+fd+com+lpt+isa + .... )

Dmesg output:

	NetBSD 1.0_BETA (GENERICAHA) #3: Mon Aug  1 16:48:16 PDT 1994
	CPU: i486DX (486-class CPU)
	real mem  = 16384000
	avail mem = 14352384
	using 225 buffers containing 921600 bytes of memory
	pc0 at isa0 port 0x60-0x6f irq 1: color
	com0 at isa0 port 0x3f8-0x3ff irq 4: ns82450 or ns16450, no fifo
	com1 at isa0 port 0x2f8-0x2ff irq 3: ns82450 or ns16450, no fifo
	lpt0 at isa0 port 0x378-0x37f irq 7
	fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
	fd0 at fdc0 drive 0: 1.2MB 80 cyl, 2 head, 15 sec
	fd1 at fdc0 drive 1: 1.44MB 80 cyl, 2 head, 18 sec
	aha0 at isa0 port 0x330-0x333 irq 11 drq 5
	scsibus0 at aha0
	aha0 targ 0 lun 0: <SEAGATE ST3655N         9550> SCSI2 direct fixed
	sd0 at scsibus0: 520MB, 2493 cyl, 5 head, 85 sec, 512 bytes/sec
	ed2 at isa0 port 0x300-0x31f irq 10: address 00:40:c7:21:b2:f2, type
NE2000 (16-bit)
	ie0: unknown AT&T board type code 0
	ie0: can't map 3C507 RAM in high memory
	npx0 at isa0 port 0xf0-0xff: using exception 16
	biomask 840 netmask 41a ttymask 1a
	changing root device to sd0a