sio driver sucks

Sergey Matveychuk sem at
Mon Nov 13 02:01:45 PST 2006

Matthew Jacob wrote:
> YMMV and your message is content free. I use sio all the time as a
> console at 115200 w/o any problems.
> On 11/12/06, Sergey Matveychuk <sem at> wrote:
>> Do you know an old sio driver is hardly usable?
>> There are many silo overflows, working with a terminal device is a
>> nightmare. There was a report about one crash with a message about a
>> spinlock holed more than 5 seconds (there is no core dump because it has
>> not repeated).
>> After a discussion in a Russian FIDO group I've change it on uart and
>> the problems gone.
>> I think a default driver should be changed from sio to uart until it
>> will be fixed.

On Proliant DL360 I had a problem with sio. Input/output was jammed for
20-40 seconds every 1-3 minutes. On the FIDO group I found a few reports
like mine. After a discussion it was offered to change sio driver with
uart. After I do so, the problem gone.

It's a common serial port. Nothing special. Now it detects as
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

Copyright (c) 1992-2006 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #1: Sat Nov 11 14:57:30 MSK 2006
    root at xxx:/usr/obj/usr/src/sys/XXX
ACPI APIC Table: <COMPAQ 00000083>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3065.81-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5

  Logical CPUs per core: 2
real memory  = 1073717248 (1023 MB)
avail memory = 1041727488 (993 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
ioapic3 <Version 1.1> irqs 48-63 on motherboard
acpi0: <COMPAQ P31> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 3.0 (no driver attached)
ciss0: <Compaq Smart Array 5i> port 0x2800-0x28ff mem
df0000-0xf5df3fff irq 31 at device 4.0 on pci0
pci0: <base peripheral> at device 5.0 (no driver attached)
pci0: <base peripheral> at device 5.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 UDMA100 controller> port
7,0x376,0x2000-0x200f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xf5e70000-0xf5e70fff irq 10
at devic
e 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
bge0: <Broadcom BCM5703 A2, ASIC rev. 0x1002> mem 0xf7ef0000-0xf7efffff
irq 30 a
t device 2.0 on pci1
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
-FDX, auto
bge0: Ethernet address: 00:11:85:d5:ba:6b
pcib2: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib2
bge1: <Broadcom BCM5703 A2, ASIC rev. 0x1002> mem 0xf7ff0000-0xf7ffffff
irq 29 a
t device 2.0 on pci4
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
-FDX, auto
bge1: Ethernet address: 00:11:85:d5:ba:47
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROMs> at iomem
,0xee000-0xeffff on isa0
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
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
ugen0: American Power Conversion Smart-UPS 1500 RM FW:617.3.I USB
FW:1.5, rev 1.
10/0.06, addr 2
Timecounter "TSC" frequency 3065813092 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding
enabled, defau
lt to deny, logging unlimited
acd0: CDROM <CRN-8245B/2.19> at ata0-master PIO4
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 140006MB (286734240 512 byte sectors: 255H 32S/T 35139C)


More information about the freebsd-stable mailing list