Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2018 16:20:35 +0000
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
Message-ID:  <bug-224813-8-booZYaSrt9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224813-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224813-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224813

Ian Lepore <ian@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@FreeBSD.org
             Status|New                         |Open
           Assignee|freebsd-bugs@FreeBSD.org    |ian@FreeBSD.org

--- Comment #1 from Ian Lepore <ian@FreeBSD.org> ---
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. 
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224813-8-booZYaSrt9>