Subject: Need some help with modems and tty's
To: None <port-i386@netbsd.org, netbsd-help@netbsd.org>
From: Al Urbaitis <aurbaiti@servecom.picker.com>
List: netbsd-help
Date: 06/15/1999 20:20:07
Hello All

I am putting 1.3.2 together and have come across
a few items "I should have learned in school had I been paying attention"

1. I have a legacy modem in this machine, occupying an isa slot. I would
   like to use this setup to connect to another NetBSD machine.

dmesg is as follows...
NetBSD 1.3.2 (rebellion) #0: Tue Jul 20 18:55:39 PDT 1999
    root@rebellion:/usr/src/sys/arch/i386/compile/rebellion
cpu0: family 5 model 2 step 6
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 83488768
avail mem = 79302656
using 1044 buffers containing 4276224 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439HX System Controller (TXC) (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x00)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not
configured
Matrox MGA Millennium 2064W ("Storm") (VGA display, revision 0x01) at pci0 dev 18 function 0 not
configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <QUANTUM FIREBALL_TM3200A>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 3067MB, 6281856 sec, 512 bytes/sec
wd1 at wdc0 drive 1: <Maxtor 90845D4>
wd1: using 16-sector 16-bit pio transfers, lba mode
wd1: 8063MB, 16514064 sec, 512 bytes/sec
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <GCD-R580B, , 1.03> type 5 cdrom removable
sb: setting irq mask 04 failed, got 02
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb1: Creative SB16 PnP Audio: dsp v4.13
audio0 at sb1
isapnp0: <Creative SB16 PnP, CTL2011, PNP0600, IDE> port 0x168/8,0x36e/2 irq 10 not configured
isapnp0: <Creative SB16 PnP, CTL0051, , StereoEnhance> port 0x100/1 not configured
isapnp0: <Creative SB16 PnP, CTL7001, , Game> port 0x200/8 not configured
isapnp0: <Internal Fax Data         , BRI1500, , > port 0x2e8/8 irq 3 not configured
biomask c040 netmask c040 ttymask d0c2
wd0: no disk label
boot device: wd1
root on wd1a dumps on wd1b
root file system type: ffs


Things I don't get...

It looks like the modem is occupying the same irq as com1. The port appears to be
different. Can these two devices "share" this interrupt ?

Hmmm...
After whatever seems to be necessary  here I believe I need to get one of
the ttys to interact with this device. How is that done ?

Could someone point me to a tutorial on this subject
 

2. Could someone tell me what the line ...
sb: setting irq mask 04 failed, got 02
means





Thanks Al