From owner-freebsd-questions Mon Feb 14 14: 6:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from malasada.lava.net (malasada.lava.net [199.222.42.2]) by builder.freebsd.org (Postfix) with ESMTP id D2E8C4EBC; Mon, 14 Feb 2000 14:06:03 -0800 (PST) Received: from localhost (3036 bytes) by malasada.lava.net via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) (ident using unix) id for ; Mon, 14 Feb 2000 12:06:19 -1000 (HST) (Smail-3.2.0.106 1999-Mar-31 #3 built 1999-Dec-7) Date: Mon, 14 Feb 2000 12:06:19 -1000 From: Clifton Royston To: Nik Clayton Cc: "Charles N. Owens" , questions@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: FreeBSD 3.4, Samba, HP LaserJet 5N, delays, reboots Message-ID: <20000214120619.B5378@lava.net> References: <20000211123416.A92889@catkin.nothing-going-on.org> <38A48A9C.A3BB2D75@enc.edu> <20000214115742.B19369@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000214115742.B19369@catkin.nothing-going-on.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 14, 2000 at 11:57:42AM +0000, Nik Clayton wrote: > On Fri, Feb 11, 2000 at 05:18:04PM -0500, Charles N. Owens wrote: > > I'm not 100% sure what the proper workaround is. Perhaps an added flag in > > printcap that tells lpd not to query the next hop when answering lpq > > queries. Or maybe some kind of aggressive timeout mechanism... > > Suggestions anyone? > > I think the best workaround for the time being is plug the printer in over > the parallel port, and connect that way. Then the spooler on Windows will > be talking to the BSD lpd, which can respond immediately. > > The only reason I'm not doing this is because it seemed to crash the machine. ... > However, as a data point, my home network has a couple of Win98 machines > which print to a FreeBSD machine, which has an Epson Stylus Color 760 hung > off the parallel port. The entry in that machine's kernel config file > is > > device ppc0 at isa? port? net irq 7 > > and I've never had a problem with printing from Windows, even with the > 'net' flag. This is with -stable built on Jan 17th this year. I suspect the HP-1100s would be much "chattier" than the Epson in terms of input interrupts on the parallel port, because (even if yours doesn't have one) that printer family is designed to include input attachments like scanners which send bulk data to the PC through the parallel interface. If the Epson printer is a pure output device and never tries to "talk" on the parallel port, presumably it never generates some of the interrupts which are being caught by the net driver in FreeBSD and causing the problem here. It's possible you might be able to configure your chipset in the BIOS to simply ignore any input on your parallel port; have you checked there? (Of course poking around in there and experimenting is not a *lot* less trouble than changing the kernel driver and recompiling.) -- Clifton -- Clifton Royston -- LavaNet Systems Architect -- cliftonr@lava.net "An absolute monarch would be absolutely wise and good. But no man is strong enough to have no interest. Therefore the best king would be Pure Chance. It is Pure Chance that rules the Universe; therefore, and only therefore, life is good." - AC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message