From housley@pr-comm.com Wed Nov 13 13:30:59 1996 Received: from cyber2.servtech.com (root@cyber2.servtech.com [199.1.22.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA17645 for ; Wed, 13 Nov 1996 13:30:57 -0800 (PST) Received: from ocean.com (prcomm.roc.servtech.com [204.181.3.14]) by cyber2.servtech.com (8.7.6/8.7.5) with ESMTP id QAA23688 for ; Wed, 13 Nov 1996 16:30:45 -0500 (EST) Received: (from housley@localhost) by ocean.com (8.7.5/8.7.3) id QAA03075; Wed, 13 Nov 1996 16:26:42 -0500 (EST) Message-Id: <199611132126.QAA03075@ocean.com> Date: Wed, 13 Nov 1996 16:26:42 -0500 (EST) From: "James E. Housley" Reply-To: housley@pr-comm.com To: FreeBSD-gnats-submit@freebsd.org Subject: sio doesn't detect com port on Compaq Contura 430C X-Send-Pr-Version: 3.2 >Number: 2002 >Category: i386 >Synopsis: sio doesn't detect com port on Compaq Contura 430C >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 13 13:40:05 PST 1996 >Closed-Date: Sun Apr 19 11:41:36 PDT 1998 >Last-Modified: Sun Apr 19 11:41:55 PDT 1998 >Originator: James E. Housley >Release: FreeBSD 2.1-STABLE i386 >Organization: PR Communications, Inc. Rochester, NY 14610-0725 >Environment: I have replaced the sioprobe() code in the release sio.c with the version of sioprober() from sio.c version 1.149 from the CVS web server. >Description: sioprobe() does not fully find my com1 port. There is PCMCIA on this laptop but that is disabled in the BIOS under security management. Com1 is at location 0x3F8 and IRQ 4. DOS, Windows, OS/2 have all been able to find and use this port at it's current location. sioprobe() seems to have trouble with verification of interrupts (I think). I added a printf statement to show the contents of the failures array. If I ignore #5 and #8 the result is overflows, even with nothing attached to the port. ---------- START OF dmesg ---------- FreeBSD 2.1.5-RELEASE #5: Wed Nov 13 15:28:33 1996 root@hatchling.pr-comm.com:/usr/src/sys/compile/COMPAQ_1 CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping=0 Features=0x3 real memory = 25165824 (24576K bytes) avail memory = 22937600 (22400K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0: failures[0] = 0 sio0: failures[1] = 0 sio0: failures[2] = 0 sio0: failures[3] = 0 sio0: failures[4] = 0 sio0: failures[5] = 1 sio0: failures[6] = 0 sio0: failures[7] = 0 sio0: failures[8] = 1 sio0: failures[9] = 0 sio0 not found at 0x3f8 sio1: failures[0] = 252 sio1: failures[1] = 253 sio1: failures[2] = 247 sio1: failures[3] = 1 sio1: failures[4] = 13 sio1: failures[5] = 0 sio1: failures[6] = 14 sio1: failures[7] = 255 sio1: failures[8] = 0 sio1: failures[9] = 14 sio1 not found at 0x2f8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff psm0 at 0x60-0x63 irq 12 on motherboard fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 689MB (1411200 sectors), 1400 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface ----------- END OF dmesg ----------- >How-To-Repeat: I only have access to one Compaq Contura 430C laptop. But always on mine. >Fix: >Release-Note: >Audit-Trail: From: Bruce Evans To: FreeBSD-gnats-submit@freebsd.org, housley@pr-comm.com Cc: Subject: Re: i386/2002: sio doesn't detect com port on Compaq Contura 430C Date: Fri, 15 Nov 1996 00:11:11 +1100 >>Description: > > sioprobe() does not fully find my com1 port. There is PCMCIA on this > laptop but that is disabled in the BIOS under security management. > Com1 is at location 0x3F8 and IRQ 4. DOS, Windows, OS/2 have all been > able to find and use this port at it's current location. > > sioprobe() seems to have trouble with verification of interrupts (I think). > I added a printf statement to show the contents of the failures array. > If I ignore #5 and #8 the result is overflows, even with nothing attached > to the port. The sio behaviour might be caused by an IRQ 4 conflict with the incompletely disabled PCMCIA port. I don't know why it only affects FreeBSD. Perhaps probing sio1 or some other device causes problems. > sio1: failures[0] = 252 > sio1: failures[1] = 253 > sio1: failures[2] = 247 > sio1: failures[3] = 1 > sio1: failures[4] = 13 > sio1: failures[5] = 0 > sio1: failures[6] = 14 > sio1: failures[7] = 255 > sio1: failures[8] = 0 > sio1: failures[9] = 14 > sio1 not found at 0x2f8 These numbers show that nothing is there - each port has contents 0xff. Bruce From: pauls@etext.org To: freebsd-gnats-submit@freebsd.org, bde@zeta.org.au Cc: Subject: Re:i386/2002:siodoesn'tdetectcomportonCompaqContura430C Date: Mon, 28 Jul 1997 20:53:35 -0400 (EDT) Has anyone found a work-around for this? I find same problem on Compaq Contura Aero 4/25. Finds lpt0 but not sio0. Linux kernel and MS-DOS MSD.EXE both indicate that sio0 is where I think it should be... State-Changed-From-To: open->closed State-Changed-By: phk State-Changed-When: Sun Apr 19 11:41:36 PDT 1998 State-Changed-Why: timed out >Unformatted: