Thanks for the response, Nick, I'm almost there and just one further query:

On 18/02/07, Nick Holland <[EMAIL PROTECTED]> wrote:

[snip]


Been there, seen that, kicked self in butt once I realized the port I
was trying to use as a serial terminal was also configured as a serial
console for the terminal machine (D'oh!).  Basically, the two machines
start bouncing back and forth off each other, and nothing works as
desired.


Yup, makes perfect sense now.

[snip]

> pccom1: irq 3 already in use
> pccom2: irq 5 already in use

And that tells us more.

Note that it's pccom1 and pccom2, but no pccom0...  pccom devices are
ISA devices, so they can't share IRQs with PCI devices (though, of
course, PCI devices can share IRQs with each other).  So that's why
com0 didn't work, and the IRQ conflict won't make com1 and com2 work
very well...

Take a close look at your machine config (most likely, the BIOS setup
program), you will probably find non-standard configs for the two
serial ports.  You might need to "tag" IRQ 3 as "Reserved for ISA" or
similar.

The Aptiva has an anaemic BIOS program, but by disabling one of the
two serial interfaces I now appear to have eliminated IRQ conflicts
and acquired a working serial console - BUT I lose nearly all of the
dmesg(8) and init(8) output at boot, with it being directed to the
screen instead. I also note that boot(8) tells me I have com0 and no
com1 (which is expected since I disabled it in the BIOS) whereas
dmesg(8) tells me I have pccom1 but no pccom0 and this seems a little
strange to me.

To clarify, boot(8) tells me I have com0 available at boot. So in
/etc/boot.conf I tell it:

set tty com0

and it switches to the console but all that is output to the console is:

OpenBSD/i386 BOOT 2.10
boot>
booting hd0a:/bsd: 4966344+867848 [52+255872+237161]=0x608d64
entry point at 0x100120

That's it for the output seen on the terminal, at this point the
dmesg(8) and init(8) output is directed to the screen. Then when
getty(8) is executed interactivity for _both_ the keyboard and the
serial console are restored.

Any further thoughts will be appreciated; dmesg(8) and ttys(5) are
included below:

# dmesg
OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 549 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX
,FXSR,SSE
cpu0: disabling processor serial number
real mem  = 66625536 (65064K)
avail mem = 53170176 (51924K)
using 838 buffers containing 3432448 bytes (3352K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ff) BIOS, date 06/30/99, BIOS32 rev. 0 @ 0xf0210
pcibios0 at bios0: rev 2.1 @ 0xf0200/0xb00
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9e00/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xa000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "S3 Savage 4" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wi
red to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 91021U2>
wd0: 16-sector PIO, LBA, 9770MB, 20010816 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX100E, 2.0h> SCSI0 5/cdrom removabl
e
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: polling
iic0 at piixpm0
eso0 at pci0 dev 11 function 0 "ESS SOLO-1 AudioDrive" rev 0x01: ES1946, irq 10
eso0: mapping Audio 1 DMA using VC I/O space at 0x8cc0
audio0 at eso0
opl0 at eso0: model OPL3
midi0 at opl0: <ESO Yamaha OPL3>
"Conexant 56k Winmodem" rev 0x08 at pci0 dev 13 function 0 not configured
sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00, DP83815C: irq 10, a
ddress 00:a0:cc:74:48:46
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
rl0 at pci0 dev 16 function 0 "Accton MPX 5030/5038" rev 0x10: irq 9, address 00
:10:b5:08:5c:32
rlphy0 at rl0 phy 0: RTL internal PHY
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f9f5 netmask fff5 ttymask fff7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

# head -n 20 /etc/ttys
#
#       $OpenBSD: ttys,v 1.17 2002/06/09 06:15:14 todd Exp $
#
# name  getty                           type    status          comments
#
console "/usr/libexec/getty Pc"         vt220   off secure
ttyC0   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC1   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC2   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC3   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC4   "/usr/libexec/getty Pc"         vt220   off secure
ttyC5   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC6   "/usr/libexec/getty Pc"         vt220   off secure
ttyC7   "/usr/libexec/getty Pc"         vt220   off secure
ttyC8   "/usr/libexec/getty Pc"         vt220   off secure
ttyC9   "/usr/libexec/getty Pc"         vt220   off secure
ttyCa   "/usr/libexec/getty Pc"         vt220   off secure
ttyCb   "/usr/libexec/getty Pc"         vt220   off secure
tty00   "/usr/libexec/getty std.9600"   vt220    on secure
tty01   "/usr/libexec/getty std.9600"   vt220    on secure

Reply via email to