panic: invalid bcd 194
Matthias Apitz
guru at unixarea.de
Sun Dec 31 08:36:36 UTC 2017
El día sábado, diciembre 30, 2017 a las 10:48:19p. m. +0100, Matthias Apitz escribió:
> El día sábado, diciembre 30, 2017 a las 11:11:54p. m. +0200, Konstantin Belousov escribió:
>
> > > > > static inline u_char
> > > > > bcd2bin(int bcd)
> > > > > {
> > > > >
> > > > > KASSERT(bcd >= 0 && bcd < LIBKERN_LEN_BCD2BIN,
> > > > > ("invalid bcd %d", bcd));
> > > > > return (bcd2bin_data[bcd]);
> > > > > }
> > > > >
> > For an immediate relief, enter the BIOS setup and set up the date. Try to
> > change it even if the BIOS date looks fine.
> >
> > artc(4) should do more validation of the date read from CMOS, but this is
> > a known issue.
>
> The problem with this hardware (Acer C720 Chromebook) is, there is no
> BIOS setup, only somekind of SeaBIOS w/o any setup. Btw: An older
> CURRENT from an USB key r285885 boots fine.
I have got a hint about that the problem showed up already in March this
year, even with some comment of mine in this thread:
http://freebsd.1045724.x6.nabble.com/panic-invalid-bcd-xxx-td6170480.html
In this tread is mentioned a patch as:
> cem@ posted this patch:
>
> http://dpaste.com/1K2W05E
>
> If someone can test it, I'll gladly commit it. The real-time clock will
> likely be wrong, but it won't panic with INVARIANTS.
but the link is expired. Has got someone this patch? I checked the SVN
for the file sys/sys/libkern.h there is no relevant change since March
2017. (cc'ed cem@)
I will let the C720 over night under power while sitting in the boot menu,
maybe this will fix the RTC battery issue.
Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20171231/28c63470/attachment.sig>
More information about the freebsd-current
mailing list