On 30/01/2020 22:27:37+1100, JH wrote: > Hi Alexandre, > > On 1/30/20, Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> wrote: > > On 30/01/2020 13:36:26+1100, JH wrote: > >> Hi Alexandre, > >> > >> Thanks for your response. > >> > >> On 1/12/20, Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> wrote: > >> > Hi, > >> > > >> > On 02/01/2020 19:40:10+1100, JH wrote: > >> >> Hi, > >> >> > >> >> I am running kernel 4.19 on imx6, could anyone help for clues what > >> >> that error is about? What I could be missing and how to fix it? > >> >> > >> > > >> > I'd say that you have an issue with the 32k clock or tamper detection, > >> > have a look at this commit: > >> > > >> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd7f3a249dbed2858e6c2f30e5be7f1f7a709ee2 > >> > >> Is that a patch for 4.19.75? Or where can I download the patch for > >> 4.19.75? > >> > > > > This patch was included in 4.19. It introduced the message you are > > seeing and the commit message explains why you are seeing it. > > So it was already included in 4.19, I don't need to patch it, that is > good :-). Sorry I am still not clear how to stop that error message of > "rtc rtc0: Timeout trying to get valid LPSRT Counter read", the > message says "To avoid kernel hangs, put in timeouts", I am running > kernel 4.19.75 on iMX6, where should I put in timeouts? > The patch is adding the timeouts, without them, your kernel would be freezing. I'd say your issue is the 32k clock. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com