From owner-freebsd-bugs Sat Jul 21 15:40:36 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1170537B401 for ; Sat, 21 Jul 2001 15:40:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6LMeRZ56423; Sat, 21 Jul 2001 15:40:27 -0700 (PDT) (envelope-from gnats) Date: Sat, 21 Jul 2001 15:40:27 -0700 (PDT) Message-Id: <200107212240.f6LMeRZ56423@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: i386/14135: lpt1 nolonger exists after 3.2-RELEASE Reply-To: Mike Barcroft Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/14135; it has been noted by GNATS. From: Mike Barcroft To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: i386/14135: lpt1 nolonger exists after 3.2-RELEASE Date: Sat, 21 Jul 2001 18:52:30 -0400 Adding to Audit-Trail. On Sat, Jul 21, 2001 at 03:17:12PM -0700, Jin Guojun wrote: > mike@FreeBSD.org wrote: > > > Synopsis: lpt1 nolonger exists after 3.2-RELEASE > > > > State-Changed-From-To: feedback->closed > > State-Changed-By: mike > > State-Changed-When: Fri Jul 20 19:00:54 PDT 2001 > > State-Changed-Why: > > > > Timeout; no response from originator. > > > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=14135 > > I think you have missed the replied message -- > > ------------------ Response Message ------------------ > > > In message <200106101944.f5AJiN905505@portnoy.lbl.gov>, Jin Guojun writes: > > >. > > >If another ISA parallel board is installed, this new board becomes port0 at > > >0x3BC, and the onboard becomes port-1 at 0x378. > > > > Ok, then I can partially understand why it might fail, because the > > IRQ will almost certainly be wrong. The default line in the config > > file says to use IRQ 7 for lpt0, but normally IRQ 7 is used by the > > 0x378 port. > > > > To start with, make sure that the two ports are using different IRQs; > > I'd suggest IRQ 7 for the 0x378 one, and IRQ 5 for 0x3bc. Then comment > > out the existing 'ppc0' line in the kernel config, and add these two: > > > > device ppc0 at isa? port IO_LPT3 irq 5 > > device ppc1 at isa? port IO_LPT1 irq 7 > > This works. > > > > > > > In FreeBSD, the names IO_LPT1, IO_LPT2, IO_LPT3 correspond to the > > addresses 0x378, 0x278, 0x3bc respectively. The BIOS will choose > > the port names according to which of 0x3bc, 0x378, 0x278 are present, > > in that order, so there is some room for confusion! > > > > It does seem that FreeBSD's probe code is less than ideal in this > > case, but the BIOS does not provide any IRQ hints so it may be > > difficult to fix. > > Add above configuration information with explaination into ppc(4) manpage > will help users to build custom kernel for this case. The irq 5 may vary from > case to case for IO_LPT3 line. > > Thanks, > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message