From muir@idiom.com Tue Aug 8 17:42:25 1995 Received: from idiom.com (idiom.com [140.174.82.4]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id RAA25760 for ; Tue, 8 Aug 1995 17:42:24 -0700 Received: (from muir@localhost) by idiom.com (8.6.11/8.6.10) id RAA16730; Tue, 8 Aug 1995 17:42:22 -0700 Message-Id: <199508090042.RAA16730@idiom.com> Date: Tue, 8 Aug 1995 17:42:22 -0700 From: David Muir Sharnoff Reply-To: muir@idiom.com To: FreeBSD-gnats-submit@freebsd.org Subject: LINT kernel config line for for parallel port doesn't work X-Send-Pr-Version: 3.2 >Number: 662 >Category: kern >Synopsis: LINT kernel config line for for parallel port doesn't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 8 17:50:00 PDT 1995 >Closed-Date: Sat Aug 12 19:27:49 MET DST 1995 >Last-Modified: Sat Aug 12 10:30:01 PDT 1995 >Originator: David Muir Sharnoff >Release: FreeBSD 2.0-BUILT-19950603 i386 >Organization: Idiom Consulting >Environment: >Description: I build my kernel configs by starting with the LINT kernel and cutting out everything that I don't think I'll need. The GENERIC kernel doesn't have everything one might want so this is really the only way to do it. In the process, I kept the LINT kernel's config line for the parallel port. It didn't probe. >How-To-Repeat: >Fix: Use the GENERIC kernel's parallel port config line instead >Release-Note: >Audit-Trail: From: J Wunsch To: muir@idiom.com Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/662: LINT kernel config line for for parallel port doesn't work Date: Wed, 9 Aug 1995 08:58:53 +0200 (MET DST) As David Muir Sharnoff wrote: > > > I build my kernel configs by starting with the LINT kernel > and cutting out everything that I don't think I'll need. The > GENERIC kernel doesn't have everything one might want so this > is really the only way to do it. > > In the process, I kept the LINT kernel's config line for the > parallel port. It didn't probe. Hmm, pilot error. j@uriah 72% fgrep LPT3 /sys/i386/isa/* /sys/i386/isa/isa.h:#define IO_LPT3 0x3BC /* Monochome Adapter Printer Port */ What's ``more generic''? The MDA printer port, or the non-MDA default of 0x378? IMHO, this has been chosen since the BIOS does also probe 0x3BC first, and will assign it to LPT1: under DOS if present (so the 0x378 port will become LPT2: then). David, can i close this? Other opinions? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From: David Muir Sharnoff To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: Re: kern/662: LINT kernel config line for for parallel port doesn't work Date: Wed, 9 Aug 1995 10:04:50 -0700 * As David Muir Sharnoff wrote: * > * > * > I build my kernel configs by starting with the LINT kernel * > and cutting out everything that I don't think I'll need. The * > GENERIC kernel doesn't have everything one might want so this * > is really the only way to do it. * > * > In the process, I kept the LINT kernel's config line for the * > parallel port. It didn't probe. * * Hmm, pilot error. * * j@uriah 72% fgrep LPT3 /sys/i386/isa/* * /sys/i386/isa/isa.h:#define IO_LPT3 0x3BC /* Monochome Adapter Printer Port */ * * What's ``more generic''? The MDA printer port, or the non-MDA default * of 0x378? * * IMHO, this has been chosen since the BIOS does also probe 0x3BC first, * and will assign it to LPT1: under DOS if present (so the 0x378 port * will become LPT2: then). * * David, can i close this? Other opinions? If there is some utility in what the LINT kernel does, then I would request that there be comment in there explaining the difference so that other people who build kernel configs from the LINT kernel rather than the (rather stripped) GENERIC kernel don't run into the same problem. Builing from the LINT kernel isn't the right idea. Perhaps the kernel that is on the boot floppy should be a GENERIC.small as opposed to a GENERIC that has all the things that someone sane might want. -Dave From: J Wunsch To: muir@idiom.com (David Muir Sharnoff) Cc: joerg_wunsch@uriah.heep.sax.de, FreeBSD-gnats-submit@freebsd.org Subject: Re: Re: kern/662: LINT kernel config line for for parallel port doesn't work Date: Thu, 10 Aug 1995 08:22:41 +0200 (MET DST) As David Muir Sharnoff wrote: > > If there is some utility in what the LINT kernel does, then I would > request that there be comment in there explaining the > difference so that other people who build kernel configs from the > LINT kernel rather than the (rather stripped) GENERIC kernel > don't run into the same problem. The LINT kernel should probably mention both, the `port?' and the explicit port address variants. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) State-Changed-From-To: open->closed State-Changed-By: joerg State-Changed-When: Sat Aug 12 19:27:49 MET DST 1995 State-Changed-Why: Comment added in: revision 1.192 date: 1995/08/11 17:18:42; author: joerg; state: Exp; lines: +8 -2 Document two specials of the `lpt' driver: the port address can be specified as `?', and the irq and vector clauses may be omitted, forcing the port into polled mode. of sys/i386/conf/LINT. From: J Wunsch To: muir@idiom.com (David Muir Sharnoff) Cc: joerg_wunsch@uriah.heep.sax.de, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: Re: kern/662: LINT kernel config line for for parallel port doesn't work Date: Sat, 12 Aug 1995 19:21:25 +0200 (MET DST) As David Muir Sharnoff wrote: > > * IMHO, this has been chosen since the BIOS does also probe 0x3BC first, > * and will assign it to LPT1: under DOS if present (so the 0x378 port > * will become LPT2: then). > * > * David, can i close this? Other opinions? > > If there is some utility in what the LINT kernel does, then I would > request that there be comment in there explaining the > difference so that other people who build kernel configs from the > LINT kernel rather than the (rather stripped) GENERIC kernel > don't run into the same problem. Documented in LINT. I'm going to close the PR now. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) >Unformatted: