On Thu, Feb 03, 2000 at 08:34:00PM +0100, Bernard Pidoux wrote:
> "Brian J. McCarthy" wrote:
> >
> > I've created the following init file:
> >
> > [root@gateway /proc]# cat /etc/rc.d/rc.serial
> > SETSERIAL=/bin/setserial
> > echo "Configuring serial ports...."
> > #
> > ${SETSERIAL} /dev/ttyS0 uart 16550a port 0x3f0 irq 4 ^fourport
^^^^^^^^
> > ${SETSERIAL} /dev/ttyS1 uart 16550a port 0x2f0 irq 3 ^fourport
^^^^^^^^
Rather unusual for ttyS[01] - are you shure these are the right addresses?
You said they're onboard, am I right?
> > ${SETSERIAL} /dev/ttyS2 uart 16550a port 0x3e0 irq 10 ^fourport
^^^^
> > ${SETSERIAL} /dev/ttyS3 uart 16550a port 0x2e0 irq 10 ^fourport
^^^^
Just to be sure: Are these ___modified___ ISA ports or are they PCI so
you try to share the interrupts?
Emm - what does 'cat /proc/interrupts' tell us?
> > #
> > echo "done"
[...]
> >
> > But aprsd and other apps still cannot use any ports except ttyS0. Below is
> > the output from ioports.
> >
> > [root@gateway /proc]# cat ioports
> > 0000-001f : dma1
> > 0020-003f : pic1
> > 0040-005f : timer
> > 0060-006f : keyboard
> > 0080-008f : dma page reg
> > 00a0-00bf : pic2
> > 00c0-00df : dma2
> > 00f0-00ff : fpu
> > 01f0-01f7 : ide0
> > 02e0-02e7 : serial(set)
> > 02f0-02f7 : serial(set)
> > 03c0-03df : vga+
> > 03e0-03e7 : serial(set)
>
> Is'nt ttyS0 address 3f0-3f7 overlapping
> with 3f6 of ide0 ?
Well spotted :-) - That may be the reason why _only_ his /dev/ttyS0 works:
setserial _fails_ to set that weird address (because of the overlap) and
keeps the default 0x3e8 .. 0x3ef, which is much more sensible for an
onboard standard ttyS port :-))
Brian: maybe you should change the '0' at the end of your port addresses
to '8' and doublecheck that the address is correct then.
> > 03f6-03f6 : ide0
> > ec80-ecff : eth1
> > ef80-ef9f : Intel Speedo3 Ethernet
> > ffa0-ffa7 : ide0
> > ffa8-ffaf : ide1
> > [root@gateway /proc]#
> >
> > Brian McCarthy
> > N7TUQ
> >
>
> 73 de Bernard, f6bvp.
>
--
| Thorsten Kranzkowski Internet: [EMAIL PROTECTED] |
| Mobile: ++49 161 7210230 Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, [EMAIL PROTECTED] [44.130.8.19] |