From owner-freebsd-bugs@freebsd.org Mon Jan 1 16:20:36 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52FDEEB0E8C for ; Mon, 1 Jan 2018 16:20:36 +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 mx1.freebsd.org (Postfix) with ESMTPS id 3E1E8722D4 for ; Mon, 1 Jan 2018 16:20:36 +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 w01GKak5078908 for ; Mon, 1 Jan 2018 16:20:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w01GKapY078901 for freebsd-bugs@FreeBSD.org; Mon, 1 Jan 2018 16:20:36 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: freebsd-bugs@FreeBSD.org Subject: [Bug 224813] system panics on boot w/ "panic: invalid bcd nnn" due to broken RTC values Date: Mon, 01 Jan 2018 16:20:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ian@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ian@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status assigned_to 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: Mon, 01 Jan 2018 16:20:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224813 Ian Lepore changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian@FreeBSD.org Status|New |Open Assignee|freebsd-bugs@FreeBSD.org |ian@FreeBSD.org --- Comment #1 from Ian Lepore --- I began to work on this, with the idea of adding some common code that all = RTC drivers can use to validate the bcd. Then, when I looked at atrtc.c I discovered it already has code to validate the bcd values, added in r314936= .=20 That means that this error just shouldn't be possible now unless the current validation is incorrect (it looks okay to me), or the compiler is generating bad code (which I tried to investigate, but my x86 asm skills are 25 years = out of date). --=20 You are receiving this mail because: You are the assignee for the bug.=