Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 04:22:19 +0100 (MET)
From:      "Julian Stacey jhs@freebsd.org" <jhs@vector.jhs.local>
To:        hardware@freebsd.org
Cc:        gj@freebsd.org, n1epo4tl@ibmmail.com, rgrimes@freebsd.org
Subject:   16550 not recognised, & masks lpt0 recognition, Ideas appreciated.
Message-ID:  <199601040322.EAA02273@vector.jhs.local>

next in thread | raw e-mail | index | archive | help
--------

Hi hardware@freebsd.org people,
	(& CC'd to Gary J, Stuart A, Rod G)

Ideas would be appreciated on this serial & parallel sensing problem:

Preamble:
	I've built a 2nd FreeBSD box out of proven motherboard & 1542A & SVGA
	components that have done years of service already with FreeBSD.
	I cloned my disc from my working current (of mid december)

	I added a 2 serial + 2 parallel card given me by a friend (who's 
	never used the card, he in turn was given it by another friend)

	The card is config'd for the normal 3f8 4, 2f8 3, 378 , 278
	& is marked 
		MADE N TAIWAN R.O.C RTA-03H(V2)
	The system boots fine with the card's own 2 Winbond W86C451 SIO ICs,
	& the 1st parallel works fine too (2nd untried).

	When I remove a SIO I get
		sio0 not found at 0x3f8
		sio1 at 0x2f8-0x2ff irq 3 on isa

The Problem:
When in the 1st Serial IC socket I put a new
	S9442AF PC16550DN PATENTED
I sometimes get
	sio0 not found at 0x3f8
	sio1 not found at 0x2f8
	lpt0 not found at 0x378
and sometimes
	sio0 not found at 0x3f8
	sio1 at 0x2f8-0x2ff irq 3 on isa
	sio1: type 16450
	lpt0 not found at 0x378
(& what causes the difference I've not discovered yet, but that's minor)

I've tested the 2 16550s, 1 at a time, in a spare 1 serial + 1 parallel card
they report OK:
	sio0 at 0x3f8-0x3ff irq 4 on isa
	sio0: type 16550A
	sio1 not found at 0x2f8
	lpt0 at 0x378-0x37f irq 7 on isa
	lpt0: Interrupt-driven port

Perhaps there's something weird about my 2+2 card, as I'm seeing 2 errors:
	- 16550 not recognised on this card (but same IC OK on another card)
	- the parallel port recognition fails too 
	- A 16550 in sio0 seems to obscure recognition of sio1 16450
... this may be a card associated weirdity, or just possibly FreeBSD 
recognition code is weak here ?

I've used a 2.1.0 boot flop as well as my own custom kernel & see
same behaviour.

I've checked dmesg, & there's no IRQ clashes:
	------
	FreeBSD 2.2-CURRENT #0: Sun Dec 17 23:22:35 MEZ 1995
	    jhs@gate:/usr/obj/src/sys/compile/GATE
	CPU: i486DX (486-class CPU)
	real memory  = 16777216 (16384K bytes)
	avail memory = 14888960 (14540K bytes)
	Probing for devices on the ISA bus:
	sc0 at 0x60-0x6f irq 1 on motherboard
	sc0: VGA color <16 virtual consoles, flags=0x0>
	ed0 at 0x300-0x31f irq 5 maddr 0xd8000 msize 8192 on isa
	ed0: address 00:00:c0:50:cc:64, type WD8003EP (8 bit) 
	sio0 not found at 0x3f8
	sio1 not found at 0x2f8
	lpt0 not found at 0x378
	fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
	fdc0: NEC 765
	fd0: 1.44MB 3.5in
	aha0 at 0x330-0x333 irq 11 drq 5 on isa
	aha0 waiting for scsi devices to settle
	(aha0:0:0): "HP 97548S 8928" type 0 fixed SCSI 1
	sd0(aha0:0:0): Direct-Access 633MB (1296512 512 byte sectors)
	(aha0:6:0): "  " type 1 removable SCSI 1
	st0(aha0:6:0): Sequential-Access density code 0x5,  drive empty
	npx0 on motherboard
	npx0: INT 16 interface
	new masks: bio c0000840, tty c0030022, net c0030022
	sd0: rejecting partition in BSD label: it isn't entirely within the slice
	sd0: start 20480, end 1296383, size 1275904
	sd0d: start 0, end 1296511, size 1296512
	sd0: rejecting partition in BSD label: it isn't entirely within the slice
	sd0e: start 32, end 20479, size 20448
	--------------

Ideas most welcome :-)

Julian
--
Julian H. Stacey	jhs@freebsd.org  	http://www.freebsd.org/~jhs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601040322.EAA02273>