*BSD News Article 17966


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!mcsun!sun4nl!philapd!apdnews!wilko
From: wilko@idca.tds.philips.nl (Wilko Bulte)
Newsgroups: comp.os.386bsd.questions
Subject: still fighting the multiport driver ;-)
Keywords: multiport
Message-ID: <570@apdnews.idca.tds.philips.nl>
Date: 5 Jul 93 18:30:46 GMT
Sender: news@idca.tds.philips.nl
Organization: Digital Equipment Enterprise bv, Apeldoorn, The Netherlands.
Lines: 130

I managed to get the multiport driver to recognize my AST/4. Strangely
this only succeeded when the board was no longer on IRQ2. But 
completely right it is not.. See the config file below:


#
# MURPHY
#

machine		"i386"
cpu		"i386"
ident		MURPHY
timezone	-1
maxusers	10
options		INET			#InterNETworking
options		ISOFS			#ISO File System
options		NFS			#Network File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"TCP_COMPAT_42"		#TCP/IP compatible with 4.2
options		XSERVER			#Xserver
options		UCONSOLE		#X Console support
options		COM_MULTIPORT		#Multiport support
options		COM_BIDIR		#Bidirect support


config		"386bsd"	root on sd0 swap on sd0 

controller	isa0

controller	fd0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fd0 drive 0
disk		fd1	at fd0 drive 1

controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
controller	scbus0

device		sd0
device		sd1
device		sd2
device		sd3

device		st0
device		st1

device		cd0
device		cd1

device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

# com ports
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
# device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

# AST/4 stuff
device		sio1	at isa? port 0x2A0 tty irq 3 flags 0x0401 vector siointr
device		sio2	at isa? port 0x2A8 tty irq 3 flags 0x0401 vector siointr
device		sio3	at isa? port 0x2B0 tty irq 3 flags 0x0401 vector siointr
device		sio4	at isa? port 0x2B8 tty irq 3 flags 0x0401 vector siointr

# device		lpt0	at isa? port "IO_LPT2" tty irq 7 vector lptintr
device		lpa0	at isa? port "IO_LPT1" tty
device		lpa1	at isa? port "IO_LPT2" tty
device		lpa2	at isa? port "IO_LPT3" tty

# SC499R QIC02 controller
device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr

# WD8003 ethernet controller
device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
pseudo-device	pty	8
pseudo-device	speaker

pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager

--- 

NB the WD8000 card was not on IRQ2/9 when I tried the AST on this
interrupt ;-). A kernel built with the above config file doesnot 
recognize the AST/4 completely right. See excerpt from /var/log/messages:


Jul  5 17:57:59 murphy /386bsd: pc0<color> at 0x60 irq 1 on isa
Jul  5 17:58:00 murphy /386bsd: sio0 <16450> at 0x3f8 irq 4 on isa
Jul  5 17:58:00 murphy /386bsd: sio2 <16450> (multiport) at 0x2a8 irq 3 flags 0x401 on isa
Jul  5 17:58:00 murphy /386bsd: sio3 <16450> (multiport) at 0x2b0 irq 3 flags 0x401 on isa
Jul  5 17:58:00 murphy /386bsd: sio4 <8250> (multiport) at 0x2b8 irq 3 flags 0x401 on isa
Jul  5 17:58:00 murphy /386bsd: fd0 drives 0: 1.44M, 1: 1.2M $Revision: 1.10 $  at 0x3f0-0x3f7 irq 6 drq 2 on isa
Jul  5 17:58:00 murphy /386bsd: aha0 reading board settings, 200 nSEC ok, use 250 nSEC 
Jul  5 17:58:01 murphy /386bsd:   **aha0 probing for scsi devices**
Jul  5 17:58:01 murphy /386bsd:   dev0,lu0: type 0:0(direct),fixed 'MICROP  1375            B08 ' scsi0
Jul  5 17:58:01 murphy /386bsd: 	    sd0: 136MB, cyls 1024, heads 8, secs 34, bytes/sec 512
Jul  5 17:58:01 murphy /386bsd:   dev1,lu0: type 0:0(direct),fixed 'MICROP  1375            B08 ' scsi0
Jul  5 17:58:01 murphy /386bsd: 	    sd1: 136MB, cyls 1024, heads 8, secs 34, bytes/sec 512
Jul  5 17:58:01 murphy /386bsd:   dev2,lu0: type 0:0(direct),fixed 'MICROP  1375            B08 ' scsi0
Jul  5 17:58:02 murphy /386bsd: 	    sd2: 136MB, cyls 1024, heads 8, secs 34, bytes/sec 512
Jul  5 17:58:02 murphy /386bsd:   dev4,lu0: type 0:1(sequential),removable 'ARCHIVE VIPER 2525 25462-005' scsi1
Jul  5 17:58:02 murphy /386bsd: st0: 0 blocks, 512 bytes, read-only, buffered, density code 0
Jul  5 17:58:02 murphy /386bsd: code0 class7 valid0
Jul  5 17:58:03 murphy /386bsd: seg0 key2 ili0 eom0 fmark0
Jul  5 17:58:03 murphy /386bsd: info: 0 0 0 0 followed by 6 extra bytes
Jul  5 17:58:03 murphy /386bsd: extra: 0 0 40 0 0 0 
Jul  5 17:58:03 murphy /386bsd: 	st0: drive empty
Jul  5 17:58:04 murphy /386bsd:   dev6,lu0: type 0:5(readonly),removable 'PHILIPS CM 210          1.04' scsi1
Jul  5 17:58:04 murphy /386bsd: aha0 at 0x330 irq 11 drq 5 on isa
Jul  5 17:58:04 murphy /386bsd: wt0 <archive><3>ISA strayintr 7
Jul  5 17:58:04 murphy /386bsd:  at 0x300 irq 5 drq 1 on isa
Jul  5 17:58:05 murphy /386bsd: we0 enetaddr 00:00:c0:c5:14:14 at 0x280-0x29f irq 9 maddr 0xd0000 msize 8192 on isa
Jul  5 17:58:05 murphy /386bsd: npx0 <Errors reported via Exception 16> on isa
Jul  5 17:58:06 murphy /386bsd: biomask 860 ttymask 21a netmask 21a
Jul  5 18:08:58 murphy /386bsd: ISA strayintr 7

So, this leaves me somewhat flabbergasted. The AST definetely has 4
16450, and no 8250. The first port isnot detected at all.

ANybody who can shed some light here?

Wilko

--
 |   / o / /  _   Wilko Bulte               mail: wilko@idca.tds.philips.nl
 |/|/ / / /( (_)  |d|i|g|i|t|a|l| Equipment Enterprise voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands