RELENG_5 and CL10000 serial ports not working

From: Mike Tancsa <mike_at_sentex.net>
Date: Tue, 24 Aug 2004 14:01:23 -0400
I have a VIA CL10000 MB with a C3 CPU.  RELENG_5 does not seem to be able 
to talk to any of the serial ports other than cuaa0.

I confirmed that the device.hints file does indeed match what the BIOS says 
about the ports

hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="10"

yet

%dmesg | grep "sio[0-4]"
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio2 port 0x3e8-0x3ef irq 5 on acpi0
sio2: type 16550A
sio3: configured irq 10 not in bitmap of probed irqs 0
sio3: port may not be enabled
sio3 port 0x2e8-0x2ef irq 10 on acpi0
sio3: type 16550A
%

there are complaints about sio3 and I am unable to talk to anything on cuaa 
ports 1,2,3. Complete dmesg below

         ---Mike

mini-itx-4serial# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA1 #0: Tue Aug 24 13:09:59 EDT 2004
     root_at_mini-itx-4serial.sentex.ca:/usr/obj/usr/src/sys/itx
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C3 Nehemiah (1002.28-MHz 686-class CPU)
   Origin = "CentaurHauls"  Id = 0x691  Stepping = 1
   Features=0x380b035<FPU,DE,TSC,MSR,MTRR,PGE,CMOV,MMX,FXSR,SSE>
real memory  = 251592704 (239 MB)
avail memory = 236556288 (225 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VT9174 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI link \\_SB_.PCI0.LNKB has invalid initial irq 9, ignoring
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xe6000000-0xe63fffff at device 
0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0xd000-0xd0ff mem 
0xe6400000-0xe64000ff irq 12 at device 15.0 on pci0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:40:63:c9:fa:99
vr0: [GIANT-LOCKED]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 16.0 
on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 16.1 
on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 7 at device 16.2 
on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 
0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
vr1: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe400-0xe4ff mem 
0xe6402000-0xe64020ff irq 11 at device 18.0 on pci0
miibus1: <MII bus> on vr1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: Ethernet address: 00:40:63:c9:fa:98
vr1: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio2 port 0x3e8-0x3ef irq 5 on acpi0
sio2: type 16550A
sio3: configured irq 10 not in bitmap of probed irqs 0
sio3: port may not be enabled
sio3 port 0x2e8-0x2ef irq 10 on acpi0
sio3: type 16550A
orm0: <ISA Option ROM> at iomem 0xc0000-0xcdfff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1002279342 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 28629MB <QUANTUM FIREBALLP AS30.0/A1Y.1500> [58168/16/63] at 
ata0-master UDMA100
ATAPI_RESET time = 13580us
ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
acd0: CDRW <CD-RW IDE5232/VER 050R> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
mini-itx-4serial#


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike_at_sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike
Received on Tue Aug 24 2004 - 15:57:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC