From owner-freebsd-bugs@freebsd.org Thu Apr 12 21:42:35 2018 Return-Path: Delivered-To: freebsd-bugs@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 CBF23F9393F for ; Thu, 12 Apr 2018 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3FD7B5DF for ; Thu, 12 Apr 2018 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1EFCDF9393E; Thu, 12 Apr 2018 21:42:35 +0000 (UTC) Delivered-To: bugs@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 0CEF1F9393D for ; Thu, 12 Apr 2018 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EF497B5BF for ; Thu, 12 Apr 2018 21:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E19916425 for ; Thu, 12 Apr 2018 21:42:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3CLgX5l014116 for ; Thu, 12 Apr 2018 21:42:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3CLgXTa014115 for bugs@FreeBSD.org; Thu, 12 Apr 2018 21:42:33 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 203129] syslogd: /dev/console: Interrupted system call Date: Thu, 12 Apr 2018 21:42:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adam@electricembers.coop X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2018 21:42:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203129 --- Comment #12 from Adam Bernstein --- Sorry for my untidy commenting, but two additions to make: 1. The workaround of removing any /dev/console logging from syslog.conf did= do the trick for us, it's just not really an ideal or complete fix. 2. It took us a long time to identify syslogd as the root cause among all t= he symptoms and to notice the right error message (the interrupted system call) that led us to this bug. Instead, the only visible error message we were aw= are of for a while was this one, repeated every 30 seconds in the messages log whenever we attempted to connect to the serial console: init: getty repeating too quickly on port /dev/ttyu0, sleeping 30 secs But a web search on that error turned up a lot of stuff, none of it relevan= t. FWIW, 'ps' showed the getty process for the serial port with just "-" in it= s TT column instead of "u0", and lacking the "s+" in its STAT column that the healthy gettys had. I hope that will help someone else find this bug quicker. --=20 You are receiving this mail because: You are the assignee for the bug.=