From nobody Wed Oct 12 11:23:54 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MnVf25lNTz4f6Lf for ; Wed, 12 Oct 2022 11:23:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MnVf208fvz3qWx for ; Wed, 12 Oct 2022 11:23:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MnVf16Kzgz1Hkw for ; Wed, 12 Oct 2022 11:23:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29CBNrFg047488 for ; Wed, 12 Oct 2022 11:23:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29CBNrh3047487 for bugs@FreeBSD.org; Wed, 12 Oct 2022 11:23:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266990] FreeBSD 13.1 can not drive 16950 chip correctly Date: Wed, 12 Oct 2022 11:23:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: 16109226@qq.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665573834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VzcrBTbLJmB5g6H5uXbUoXjpqCwjOQpJyE1dqTeuvko=; b=BfbGyBLfFoG0VnZzRKgzL8xCqyzvGPJtdHi/DhLcVBvWBfViBJdXeFW84sZmL68ZlNCZ3n w3EcPCiEuW6lGnB6q8Nvi/1M6J1G3wdptEpoLnCx3M/3M4k5kbQbpilIgZFapH5vZSZ1YZ 1eGPvZ17IigTsDDfdVvS/R4MkMps/4DNve3nRGTikJkr9o9o91AuiZ62vLa/fQGYhHa9n7 Z5yD5wlEldCKbhCYwzWex6c77TsLokwcBUNC9SICNJoVeqLkB9Gku1jZuXRBbjzAlyIq49 bN2XSzQeMt6vd/581RI9qtmnLA6bEwV7D3/slUU/TWpb5lUB/ze4KME8xO/9Qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665573834; a=rsa-sha256; cv=none; b=IirZz3HGFSlIcgBqahSm1u/MKTqbwE+pOEa2mHBVlCpBwW7kvDzLKj+7vO4qG3uH8snWGk yQgJIaw10zsf+o506JHTm/NaDygrnIJUwxwj/ND8sOXvIPxDEmz3uxT885CqY1h8jkzHCy Ru5dZ/e56otdyZWyw0e8x5vZX6RbayzOh6weHB4VyBlWuupxPqY1pP1Z0XuKgrq9oYszQw d0BVjrsVa5RWnYvly5fNwMWWhIp4Tz6a/WHcHOYIyQMsWy6f0aCb8mz519Tu5MvRpDWLLL JDXCWB4l7oQjLlUmmcnee/IL8TDwpERmaV6kxtoVQddOB2+/ECLImt5KICUQzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266990 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=3D237234&action= =3Dedit 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=3DYES boot_multicons=3DYES comconsole_speed=3D115200 console=3Dcomconsole -------------------- Split line ------------- Kernel Parameters=EF=BC=9A -------------------- Split line ------------- [root@myhost ~]# sysctl kern.console kern.console: ttyv0,/ttyv0, [root@myhost ~]# sysctl kern.console=3Dttyv0,ttyu1 kern.console: ttyv0,/ttyv0, sysctl: kern.console=3Dttyv0,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:=20 dev.uart.1.%location:=20 dev.uart.1.%driver: uart dev.uart.1.%desc: 16950 or compatible dev.uart.%parent:=20 -------------------- Split line ------------- Fault phenomenon: My laptop(MacOS) is connected to this machine through the serial port (RS23= 2), and the console cannot be opened, command line:=E2=80=A8 -------------------- Split line ------------- screen -S aio /dev/tty.usbserial-1410 115200 -------------------- Split line ------------- --=20 You are receiving this mail because: You are the assignee for the bug.=