On Mon, Jan 14, 2013 at 01:11:34PM +0100, Heiko Carstens wrote: > That patch is for x86 only and won't fix your problem. However we do have a > similar bug in the s390 kernel code. The only difference is that it will > indeed trigger after 417 days instead of 208 days. > > The reason is that we calculate with differences of the TOD clock register. > The TOD clock wraps after appr. 143 years. So far no problem... > > However when converting a difference to nanoseconds we must divide the value > by 4.096. Without floating point arithmetics in the kernel we do that by > multiplying with 125 and afterwards dividing by 512... and there you can > see when the overflow happens: > > 143 years / 125 = 1.114 years. And 365 days * 1.114 = 417.56 days. > > So, that's when we hit the overflow. > > We are working on a fix! > > Thanks again for reporting!
I'd be cool if you could followup here with the patch when it's available. For the sake of Debian and others… Thanks! Philipp Kern ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
signature.asc
Description: Digital signature
