Hi, On 25/05/2018 11:23:43+0200, Timur Kristóf wrote: > Hi, > > I've used kernel 4.17 rc5 and now using rc6 on Fedora 28 on a Dell XPS > 13 9370 machine. Since upgrading to this kernel, I get the following > messages in the journal: > > máj 25 08:54:06 timur-xps kernel: rtc_cmos 00:01: RTC can wake from S4 > máj 25 08:54:06 timur-xps kernel: rtc_cmos 00:01: registered as rtc0 > máj 25 08:54:06 timur-xps kernel: rtc_cmos 00:01: nvmem registration failed > máj 25 08:54:06 timur-xps kernel: rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs > > The "nvmem registration failed" is highlighted red in the journal, and also shows up on every boot. > This is probably fixed by https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-next&id=c59b3715ac16544f8f68ab7af03f108e339b36aa > This where the error message comes from: > https://github.com/torvalds/linux/blob/master/drivers/rtc/rtc-cmos.c#L818 > And this is the commit that introduced it: > https://github.com/torvalds/linux/commit/8b5b7958fd1cac54bdca62ec5552c6be0b38def4#diff-4dcdf420d40078042c28f0f3d8d6535c > > The error message doesn't give any indication about why it failed. > How can I help diagnose the what the problem is? > My guess is that CONFIG_RTC_NVMEM is not enabled on your kernel. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com