Bug 199801 - rtc_cmos nvmem registration failed message on boot
Summary: rtc_cmos nvmem registration failed message on boot
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-22 17:45 UTC by Timur Kristóf
Modified: 2018-06-25 04:24 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.17.0-0.rc5.git3.2.fc29.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Timur Kristóf 2018-05-22 17:45:33 UTC
I'm using kernel 4.17 rc5 on Fedora 28 on a Dell XPS 13 9370 machine. Since upgrading to this kernel, I get the following message on boot:

rtc_cmos 00:01: nvmem registration failed

There is no indication of why it failed, and I'm not exactly sure what this means.
After some digging, I found that 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

There is also a user who reported it against Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1568276
In the bug report the user says he uses a Msi z370 pc pro motherboard, so I would assume the problem is not specific to my machine.
Comment 1 Frank 2018-06-11 08:13:42 UTC
T have the same message. Lenovo T440p.
Comment 2 Christian Stadelmann 2018-06-21 05:42:12 UTC
Same issue here on Fedora 28 as regression between kernel 4.16.16 and 4.17.2.

My machine has an Intel core i5 650 cpu with a H55 chipset on an ASUS p7h55-m/usb3 mainboard.

According to the downstream bug report, there's been a discussion:
https://marc.info/?t=152724036300005&r=1&w=2

And a proposed patch:
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-next&id=c59b3715ac16544f8f68ab7af03f108e339b36aa

This patch was already merged into the 4.18 development branch by linus: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/include/linux/rtc.h
Comment 3 heliosstyx 2018-06-24 17:59:20 UTC
I have the same error message on my HP HDX-18 1310eg machine at booting, since the upgrade from kernel 4.16.x to kernel 4.17.2 on Fedora 28 Kde-spin(64-bit, Intel platform). The machine runs without any further troubles and errors, this is the only one message.
Comment 4 Mustafa Mehmed 2018-06-25 04:24:00 UTC
Same error on 4.17.2-200.fc28.x86_64 kernel (AMD platform)


rtc_cmos 00:02: nvmem registration failed

Note You need to log in before you can comment on or make changes to this bug.