Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 1996 20:55:45 +1000 (EST)
From:      Carey Nairn <cp_nairn@cc.utas.edu.au>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        questions@freebsd.org
Subject:   Re: multiport serial question
Message-ID:  <Pine.SOL.3.91.960510204831.12290A-100000@wedge.its.utas.edu.au>
In-Reply-To: <199605100627.PAA08019@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 1996, Michael Smith wrote:

> Carey Nairn stands accused of saying:
> > 
> > Hi,
> > 
> > I just installed a multiport serial card in a Pentium 75 running 
> > 2.1-RELEASE and am getting the following errors on bootup for 3 of the ports.
> > 
> > sio4: 64 events for device with no tp
> > sio4: 64 events for device with no tp
> > sio5: 64 events for device with no tp
> > sio5: 64 events for device with no tp
> > sio6: 64 events for device with no tp
> > sio6: 64 events for device with no tp
> > 
> > The card (and all of the ports) is detected OK as this extract from dmesg 
> > output shows:
> > 
> > sio2: type 16550A (multiport)
> > sio3 at 0x108-0x10f flags 0x905 on isa
> > sio3: type 16550A (multiport)
> > sio4 at 0x110-0x117 flags 0x905 on isa
> > sio4: type 16550A (multiport)
> > sio5 at 0x118-0x11f flags 0x905 on isa
> > sio5: type 16550A (multiport)
> > sio6 at 0x120-0x127 flags 0x905 on isa
> > sio6: type 16550A (multiport)
> > sio7 at 0x128-0x12f flags 0x905 on isa
> > sio7: type 16550A (multiport)
> > sio8 at 0x130-0x137 flags 0x905 on isa
> > sio8: type 16550A (multiport)
> > sio9 at 0x138-0x13f irq 9 flags 0x905 on isa
> > sio9: type 16550A (multiport master)
> > 
> > can anyone tell me what the errors mean and maybe how to fix them ?
> 
> Stuff is happening on the ports before they've been opened.
> 4,5,6 cover the address space 0x110-0x127; it wouldn't surprise me if you
> had another device probing in that area crapping on the ports.
> 
> What ethernet drivers do you have?
> 
> > Carey Nairn                     ! email : Carey.Nairn@its.utas.edu.au
> 
> -- 
> ]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
> ]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
> ]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
> ]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
> ]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[
>

The only ethernet driver I have in the kernel is the ed0 driver for an
SMC Ethercard Elite16T Ultra at IRQ 10 port 0x300 and iomem 0xcc000.

The kernel config file looks like this:

#
# JUNIORLIB -- Generic machine with WD/AHx/NCR/BTx family disks
#
#       $Id: JUNIORLIB,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $
#

machine         "i386"
cpu             "I386_CPU"
cpu             "I486_CPU"
cpu             "I586_CPU"
ident           JUNIORLIB 
maxusers        20

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         "SCSI_DELAY=15"         #Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS          #include support for DMA bounce 
buffers
options         UCONSOLE                #Allow users to grab the console

options         "COM_MULTIPORT"         #Multiport serial card

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

config          kernel  root on wd0

controller      isa0
controller      pci0

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

controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM

controller      scbus0

device          cd0     #Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                "PCVT_FREEBSD=210"      # pcvt running on FreeBSD 2.1
#options                XSERVER                 # include code for XFree86

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

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          sio2    at isa? port  0x100 tty flags 0x905
device          sio3    at isa? port  0x108 tty flags 0x905
device          sio4    at isa? port  0x110 tty flags 0x905
device          sio5    at isa? port  0x118 tty flags 0x905
device          sio6    at isa? port  0x120 tty flags 0x905
device          sio7    at isa? port  0x128 tty flags 0x905
device          sio8    at isa? port  0x130 tty flags 0x905
device          sio9    at isa? port  0x138 tty flags 0x905 irq 9 vector 
siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
device          lpt1    at isa? port? tty
device          lpt2    at isa? port? tty
#device         mse0    at isa? port 0x23c tty irq 5 vector mseintr
device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector 
psmint

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
device ed0 at isa? port 0x300 net irq  10 iomem 0xca000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 
vector ixint
r
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   sl      1
# ijppp uses tun instead of ppp device
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

thanks,
Carey


=========================================================================     
Carey Nairn                     ! email : Carey.Nairn@its.utas.edu.au
Networks and Communications     ! phone : (002) 20 7419
Information Technology Services ! fax   : (002) 20 7898
University of Tasmania.         !
=========================================================================






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.960510204831.12290A-100000>