Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 02:30:57 +0300
From:      Maxim Mazurok <maxim@km.ua>
To:        ticso@cicely.de
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: additional com-port
Message-ID:  <20030613233057.GM338@km.ua>
In-Reply-To: <20030613232116.GC7279@cicely8.cicely.de>
References:  <20030613210519.GH338@km.ua> <20030613224912.GB7279@cicely8.cicely.de> <20030613225959.GI338@km.ua> <20030613230232.GJ338@km.ua> <20030613232116.GC7279@cicely8.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 14, 2003 at 01:21:16AM +0200, Bernd Walter wrote:

>> >>> i have small trouble
>> >>> i need to add subj to alpha
>> >>> 164SX mainboard
>> >>> i insert ISA com port width port 0x3e8 and irq 4
>> >>> 
>> >>> root@chinger:~#uname -a
>> >>> FreeBSD chinger.km.ua 4.8-STABLE FreeBSD 4.8-STABLE #10: Sun Jun  1 13:41:11 EEST 2003     root@chinger.km.ua:/var/opt/src/sys/compile/ALEPH  alpha
>> >>> root@chinger:~#cat /sys/alpha/conf/ALEPH | grep COM
>> >>> # Serial (COM) ports (required)
>> >>> device          sio0    at isa? port IO_COM1 irq 4
>> >>> device          sio1    at isa? port IO_COM2 irq 3 flags 0x50
>> >>> device          sio2    at isa? port IO_COM3 irq 4
>> >>> root@chinger:~#cat /var/run/dmesg.boot | grep sio[0-2]
>> >>> sio0 at port 0x3f8-0x3ff irq 4 on isa0
>> >>> sio0: type 16550A, console
>> >>> sio0: interrupting at ISA irq 4
>> >>> sio1: reserved for low-level i/o
>> >>> sio2: configured irq 4 not in bitmap of probed irqs 0
>> >>> sio2 at port 0x3e8-0x3ef irq 4 on isa0
>> >>> sio2: type 16450
>> >>> 
>> >>> where i wrong?
>> >>
>> >>You can't share ISA IRQs.
>> >
>> >ok, can i deactivate one of onboard port.
>> 
>> sorry. it's question. "ok, can i deactivate one of onboard port?"
>
>There is a iscgfg command in SRM, which can be used to disable onboard
>isa components.
>The best would be to download the pdf manual from hp, because the
>syntax is not that simple.

tnx

>> >i need only serial console and my additional card.
>
>What is wrong with the second onboard serial?
>You just have to remove the flags which declare it to be a special
>debug interface for to kernel.
>See sio(4) manpage for details on flags.

hmmm
sio2 - it's no traditional com-port
it's ISA Cisco router console (cisco AP-EC)
i no need second onboard com-port, but i need access to cisco console

if i deactivated sio1 in SRM, change settings of cisco console to IO_COM2
and irq 3, can i use next kernel config for worked serial console to freebsd
and worked console to cisco:

device          sio0    at isa? port IO_COM1 irq 4
device          sio1    at isa? port IO_COM2 irq 3

?
and one more: now console to server connected to second com-port on
board(upper). it's right?

-- 
Maxim Mazurok  (MMP2-RIPE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613233057.GM338>