*BSD News Article 10718


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA534 ; Thu, 04 Feb 93 20:00:16 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc.edu!elroy.jpl.nasa.gov!ames!nsisrv!Pt!postmaster@hq.af.mil!rick
From: rick@postmaster@hq.af.mil
Newsgroups: comp.unix.bsd
Subject: [386BSD] "pr file | lpr" reboots box
Message-ID: <16980@hq.hq.af.mil>
Date: 3 Feb 93 13:30:29 GMT
Sender: news@Pt.hq.af.mil
Reply-To: rick@hq.af.mil
Organization: 7TH Communications Group
Lines: 34

In article <16842@hq.hq.af.mil> I wrote:
>I recently installed the polling lp driver.
>It seems lpr works fine by itself, but when I pipe
>something to it, it causes the machine to reboot.:-(

I receieved a couple of responses saying that I had not
gotten the interruptless driver from agate. 
 
It is the interruptless driver, lp.c. I got it off of agate in
Terry's subdir (I think). I had installed lpt.c (interrupt driven) at one time
and got that to work-- The machine rebooted after I installed it
whenever I piped to lpr. So I recompiled everything and the
problem went away. Well I recently installed a new system on
the same machine, this time I used lp.c. 
When I ran "pr file | lpr"-- BOOM.  So I recompiled 
everything and still BOOM. Hmmm. 
Some things I have noticed. When I do "cat file | lpr"
it works. It seems that pr may be causing the problems.
I still have to dig into this some more. Its not much fun 
rebooting the hard way while I try to figure out who the 
culprit is.  The only thing I haven't tried is installing lpt.c
again and see if this cures the problem. I will do this next.
If this clears things up then this would point to some problem
in the polling driver perhaps.

If anyone has already run into this and knows the fix
please let me know.

Thanks,

-- 
Rick Weldon     I-NET Inc. (Pentagon, 7TH Com Group)
E-mail: rick@hq.af.mil
Phone:  703-695-5060