From owner-freebsd-questions@freebsd.org Tue Mar 19 16:57:53 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6268C152ABDB for ; Tue, 19 Mar 2019 16:57:53 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 352D88CDD7 for ; Tue, 19 Mar 2019 16:57:51 +0000 (UTC) (envelope-from ml@netfence.it) Received: from guardian.ventu (88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged)) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x2JGvgpi012006 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 19 Mar 2019 17:57:43 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host 88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged) claimed to be guardian.ventu To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: Resetting a serial port Message-ID: <6623dd04-822d-dbdb-d2f5-3021debc1c2a@netfence.it> Date: Tue, 19 Mar 2019 17:57:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 352D88CDD7 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.12)[ip: (0.42), ipnet: 2.44.0.0/16(0.21), asn: 30722(-0.06), country: IT(0.05)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.85)[0.850,0]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.927,0]; MX_GOOD(-0.01)[cached: mx.netfence.it]; NEURAL_SPAM_LONG(0.57)[0.573,0]; DMARC_NA(0.00)[netfence.it]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 16:57:53 -0000 Hello. I've got a box connected to an hardware device through a serial port. This is a real RS-232 on the motherboard, not an USB adapter. From time to time, the serial port will got stuck and stop communicating with the device. This is not a problem with the device, as powering it on and off won't help. Instead rebooting the whole FreeBSD server will solve. This box, however, is running several services, several jails and a couple of bhyve VMs, so rebooting it all is... somewhat troublesome at the least. Is there anything I can try (hopefully a long time from now) to get the serial port back working without a real reboot? bye & Thanks av.