*BSD News Article 58129


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!andrewg
From: andrewg@netcom.com (Andrew Ghali)
Subject: Boca 8 port (multiport) configuration problems
Message-ID: <andrewgDKpBAq.3xM@netcom.com>
Summary: can not get serial IO from multiport board
Keywords: Boca, multiport, serial
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Fri, 5 Jan 1996 09:20:50 GMT
Lines: 148
Sender: andrewg@netcom10.netcom.com

Yeah, another multiport serial board problem, sorry.  I am at a loss and I
need help.

The story: 486 running 2.0R, Boca 8 port board (BB1008).  /dev/cua01 which
is a standard, plain vanilla cheapy pc dual serial/parallel port works fine
I can "cat ttys > /dev/cua01" and watch the lights blink.  However, this does
not work for /dev/cua[4..b] - it does delay the proper amount of time before
returning but the lights no blinky!

I've tried "stty -f /dev/cua0[4..b] crtscts" to no avail.  I have no rc.serial
nor anything tricky in rc.local.

I remember that I did have this problem a long time ago when I configured
/duv/cua01 for minicom and pppd but I got it working some how.

Below are the ugly details - please tell me what I have done wrong!  Thanx.

Andrew

Configuration:
------------------------------------------------------------------------------
#
# ANDREW2 -- Based on generic kernel suitable for building an IP firewall.
#

machine		"i386"
cpu		"I486_CPU"
ident		"ANDREW2"
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast File System
options		NFS			#Network File system
options		LKM			#Loadable Kernel Modules
options		PROCFS			#Process filesystem
options		"CD9660"		#ISO 9660 filesystem
options		MSDOSFS			#MS DOS File System

options		"COMPAT_43"		#Compatible with BSD 4.3
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		USERCONFIG		#Allow user configuration with -c
options		GATEWAY			#Pass packets
options		MROUTING		# Multicast routing
options		IPFIREWALL		#firewall code
options		IPFIREWALL_VERBOSE	#print information about dropped packets
options		IPBROADCASTECHO=1       #send reply to broadcast pings
options		IPMASKAGENT=1           #send reply to icmp mask requests

config		kernel	root on wd0 swap on wd0 and wd1 and sd0 and sd1 dumps on wd0

controller	isa0

... other boring stuff

options		"COM_MULTIPORT"
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr
device		sio4	at isa? port 0x100 tty flags 0xb05
device		sio5	at isa? port 0x108 tty flags 0xb05
device		sio6	at isa? port 0x110 tty flags 0xb05
device		sio7	at isa? port 0x118 tty flags 0xb05
device		sio8	at isa? port 0x120 tty flags 0xb05
device		sio9	at isa? port 0x128 tty flags 0xb05
device		sio10	at isa? port 0x130 tty flags 0xb05
device		sio11	at isa? port 0x138 tty flags 0xb05 irq12 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
device		lpt2	at isa? port? tty

... other boring stuff

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	ppp	8
#pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker
pseudo-device	gzip		# Exec gzipped a.out's
-----------------------------------------------------------------------------

The dmesg output:
-----------------------------------------------------------------------------
FreeBSD 2.0-RELEASE #0: Mon Dec 18 20:48:44 PST 1995
    andrewg@my.house.net:/usr/src/sys/compile/ANDREW2
CPU: i486DX (486-class CPU)
real memory  = 7995392 (1952 pages)
avail memory = 6791168 (1658 pages)
using 120 buffers containing 983040 bytes of memory
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <4 virtual consoles>
ed0 not found at 0x280
ed1 at 0x300-0x31f irq 5 on isa
ed1: address 00:40:95:05:84:3d, type NE2000 (16 bit) 
bpf: ed1 attached
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
sio2 not found at 0x3e8
sio3 not found at 0x2e8
sio4 at 0x100-0x107 flags 0xb05 on isa
sio4: type 16550A (multiport)
sio5 at 0x108-0x10f flags 0xb05 on isa
sio5: type 16550A (multiport)
sio6 at 0x110-0x117 flags 0xb05 on isa
sio6: type 16550A (multiport)
sio7 at 0x118-0x11f flags 0xb05 on isa
sio7: type 16550A (multiport)
sio8 at 0x120-0x127 flags 0xb05 on isa
sio8: type 16550A (multiport)
sio9 at 0x128-0x12f flags 0xb05 on isa
sio9: type 16550A (multiport)
sio10 at 0x130-0x137 flags 0xb05 on isa
sio10: type 16550A (multiport)
sio11 at 0x138-0x13f irq 12 flags 0xb05 on isa
sio11: type 16550A (multiport master)
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
pca0 PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: [0: fd0: 1.44MB 3.5in] [1: fd1: 1.2MB 5.25in]
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Conner Peripherals 240MB - CP30254>
wd0: 240MB (492250 total sec), 895 cyl, 10 head, 55 sec, bytes/sec 512
wdc0: unit 1 (wd1): <WDC AC2850F>
wd1: 814MB (1667232 total sec), 1654 cyl, 16 head, 63 sec, bytes/sec 512
wdc1 not found at 0x170
aic0 at 0x340-0x35f irq 11 on isa
aic0 waiting for scsi devices to settle
aic0 targ 0 lun 0: type 5(readonly) removable SCSI2
aic0 targ 0 lun 0: <TOSHIBA CD-ROM XM-3401TA2873>
cd0: cd present.[208702 x 2048 byte records]
npx0 on motherboard
-----------------------------------------------------------------------------