Date: Wed, 13 Nov 1996 16:26:42 -0500 (EST) From: "James E. Housley" <housley@pr-comm.com> To: FreeBSD-gnats-submit@freebsd.org Subject: i386/2002: sio doesn't detect com port on Compaq Contura 430C Message-ID: <199611132126.QAA03075@ocean.com> Resent-Message-ID: <199611132140.NAA18297@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 13 13:40:05 PST 1996
>Last-Modified:
>Originator: James E. Housley
>Organization:
PR Communications, Inc.
Rochester, NY 14610-0725
>Release: FreeBSD 2.1-STABLE i386
>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<FPU,VME>
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): <IBM-DBOA-2720>
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:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611132126.QAA03075>
