[Bug 224813] system panics on boot w/ "panic: invalid bcd nnn" due to broken RTC values

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 1 16:20:36 UTC 2018


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

Ian Lepore <ian at FreeBSD.org> changed:

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

--- Comment #1 from Ian Lepore <ian at 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.


More information about the freebsd-bugs mailing list