Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jun 2000 08:23:47 EEST
From:      "Leonid Lukiyanets" <stalwar78@hotmail.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   sio number cannot be over 25???
Message-ID:  <20000603052347.26386.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
I am upgrading from 3.4 to 4.0 version.
In my system 3 Moxa multiport adapters are used.
So my usual setup is sio0 for com1, sio25 for com2 and sio1 to sio 24 
assigned to multiports.
Everything worked perfectly fine with FreeBSD 3.4, but when I tried to 
compile such a kernel under 4.0 version my keyboard stopped working after 
reboot.
After numerous kernel experiments I have discovered that when I assign sio 
with number over 24 to com2 the system fails to load keyboard driver.
ok
Here go some facts.
###
My Kernel config concerning sios
############################################################
# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio25   at isa? port IO_COM2 irq 3
#device         sio2    at isa? disable port IO_COM3 irq 5
#device         sio3    at isa? disable port IO_COM4 irq 9

# MOXA multiport serial board C168P
options         "COM_MULTIPORT"
device          sio1    at isa? port 0x100 flags 0x805
device          sio2    at isa? port 0x108 flags 0x805
device          sio3    at isa? port 0x110 flags 0x805
device          sio4    at isa? port 0x118 flags 0x805
device          sio5    at isa? port 0x120 flags 0x805
device          sio6    at isa? port 0x128 flags 0x805
device          sio7    at isa? port 0x130 flags 0x805
device          sio8    at isa? port 0x138 flags 0x805 irq 12

# second MOXA multiport serial board C168P
device          sio9    at isa? port 0x180 flags 0x1005
device          sio10   at isa? port 0x188 flags 0x1005
device          sio11   at isa? port 0x190 flags 0x1005
device          sio12   at isa? port 0x198 flags 0x1005
device          sio13   at isa? port 0x1a0 flags 0x1005
device          sio14   at isa? port 0x1a8 flags 0x1005
device          sio15   at isa? port 0x1b0 flags 0x1005
device          sio16   at isa? port 0x1b8 flags 0x1005 irq 11

# third MOXA multiport serial board C168P
device          sio17   at isa? port 0x400 flags 0x1805
device          sio18   at isa? port 0x408 flags 0x1805
device          sio19   at isa? port 0x410 flags 0x1805
device          sio20   at isa? port 0x418 flags 0x1805
device          sio21   at isa? port 0x420 flags 0x1805
device          sio22   at isa? port 0x428 flags 0x1805
device          sio23   at isa? port 0x430 flags 0x1805
device          sio25   at isa? port 0x438 flags 0x1805 irq 5
###########################################################
I repeat again there are no possible errors as it worked perfectly fine with 
3.4 version.
Now when I compile the kernel with this config I do not get my keyboard
This is how com ports initialize:
###########################################################
Jun  3 07:26:12 prokk /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on 
isa0
Jun  3 07:26:12 prokk /kernel: sio0: type 16550A
Jun  3 07:26:12 prokk /kernel: sio25 at port 0x2f8-0x2ff irq 3 on isa0
Jun  3 07:26:12 prokk /kernel: sio25: type 16550A
############################################################
But I should aslo receive the following lines:
##########################################################
Jun  3 07:21:18 prokk /kernel: atkbdc0: <keyboard controller (i8042)> at 
port 0x60-0x6f on isa0
Jun  3 07:21:18 prokk /kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
##########################################################
And the required keyboard driver is only loaded when I set sio24 (or less) 
for com2. Although the com ports initialization goes the same way:
##########################################################
Jun  3 07:21:18 prokk /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on 
isa0
Jun  3 07:21:18 prokk /kernel: sio0: type 16550A
Jun  3 07:21:18 prokk /kernel: sio24 at port 0x2f8-0x2ff irq 3 on isa0
Jun  3 07:21:18 prokk /kernel: sio24: type 16550A
##########################################################
Any 1 has any ideas??????



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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