[Bug 266990] FreeBSD 13.1 can not drive 16950 chip correctly
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266990] FreeBSD 13.1 can not drive 16950 chip correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266990] FreeBSD can not drive 16950 chip correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266990] FreeBSD can not drive 16950 chip correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266990] FreeBSD can not drive 16950 chip correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266990] FreeBSD can not drive 16950 chip correctly"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 11:23:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266990
Bug ID: 266990
Summary: FreeBSD 13.1 can not drive 16950 chip correctly
Product: Base System
Version: 13.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: 16109226@qq.com
Created attachment 237234
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237234&action=edit
dmesg.boot
I have an industrial control computer, which uses 16950 chips. This chip is
used for the serial port of the computer.
I installed FreeBSD version 13.1. When the computer starts, the information
detected in the dmesg is as follows:
-------------------- Split line -------------
uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0
uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
-------------------- Split line -------------
This is the configuration content of /etc/ttys:
-------------------- Split line -------------
console none unknown off insecure
ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure
ttyu1 "/usr/libexec/getty std.115200" vt100 on secure
-------------------- Split line -------------
This is the configuration content of/boot/loader.conf:
-------------------- Split line -------------
beastie_disable=YES
boot_multicons=YES
comconsole_speed=115200
console=comconsole
-------------------- Split line -------------
Kernel Parameters:
-------------------- Split line -------------
[root@myhost ~]# sysctl kern.console
kern.console: ttyv0,/ttyv0,
[root@myhost ~]# sysctl kern.console=ttyv0,ttyu1
kern.console: ttyv0,/ttyv0,
sysctl: kern.console=ttyv0,ttyu1: Device not configured
[root@myhost ~]# sysctl -a|grep uart
uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0
uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0
uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
device uart_ns8250
device uart
debug.uart_force_poll: 0
debug.uart_poll_freq: 50
irq3: uart1:5 @cpu0(domain0): 3
dev.uart.1.rx_overruns: 0
dev.uart.1.pps_mode: 2
dev.uart.1.%parent: isa0
dev.uart.1.%pnpinfo:
dev.uart.1.%location:
dev.uart.1.%driver: uart
dev.uart.1.%desc: 16950 or compatible
dev.uart.%parent:
-------------------- Split line -------------
Fault phenomenon:
My laptop(MacOS) is connected to this machine through the serial port (RS232),
and the console cannot be opened, command line:
-------------------- Split line -------------
screen -S aio /dev/tty.usbserial-1410 115200
-------------------- Split line -------------
--
You are receiving this mail because:
You are the assignee for the bug.