From owner-freebsd-questions Sun May 9 23:31:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id F09BD153DF for ; Sun, 9 May 1999 23:31:42 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id QAA16185; Mon, 10 May 1999 16:01:40 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id QAA50576; Mon, 10 May 1999 16:01:39 +0930 (CST) Date: Mon, 10 May 1999 16:01:39 +0930 From: Greg Lehey To: Michael Maxwell Cc: FreeBSD Questions Subject: HEADS UP: changes in config (was: NIC causes printing problem?) Message-ID: <19990510160139.F22791@freebie.lemis.com> References: <19990509222332.A393@drwho.xnet.com> <19990510001519.A416@drwho.xnet.com> <19990510144805.C22791@freebie.lemis.com> <19990510002912.B416@drwho.xnet.com> <19990510152905.D22791@freebie.lemis.com> <19990510010341.C416@drwho.xnet.com> <19990510154613.E22791@freebie.lemis.com> <19990510012453.A1861@drwho.xnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990510012453.A1861@drwho.xnet.com>; from Michael Maxwell on Mon, May 10, 1999 at 01:24:53AM -0500 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 10 May 1999 at 1:24:53 -0500, Michael Maxwell wrote: > On Mon, May 10, 1999 at 03:46:13PM +0930, Greg Lehey wrote: >> Hmm. It doesn't even try to find the printer. That doesn't explain >> why network printing doesn't work, but it does explain why the printer >> doesn't work. >> >> Take a look at your config file more carefully. What are the >> lpt-related things? Have you disabled the port by accident? Diff >> against the GENERIC config file. >> >> There have been some changes in the lpt driver recently; possibly >> that's your problem. Look particularly at the ppbus stuff, if it's >> there. > > Ok, I think I *may* have found the situation here. There was a definition > for "nlpt0" instead of "lpt0" from generic. I was not aware that this had > changed. So, I am compiling a kernel again as I type with "lpt0" in place > of "nlpt0". HOPEFULLY this will work. Yes, this is part of the problem. The printer driver has changed recently. There are some other things which go with it; that's why I suggested that you look at the GENERIC file. You'll need much of this: # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? > By the way, do you happen to know what the "net" definition is on the > "lpt0" line? I have been told it is advisable to use "tty" here instead > of net. I don't know what this is for. I only see one on the ppc0 line. It specifies the interrupt mask (system priority level) at which the interrupt handler runs. Don't change it. In the near future, this keyword won't just go away, it'll cause a warning or error message. In fact, it's quite likely that 3.3 will have a very different configuration mechanism. We're playing around with it (and tripping over it) at the moment in -CURRENT. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message