Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Recent git kernels break rtc (real-time-clock)
Date: Tue, 11 Jun 2013 17:51:20
Message-Id: CAHH9eM72WkxHdf-mVcJFw7AhoUZzYJsT9JuQURmWEytB735h2g@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] Recent git kernels break rtc (real-time-clock) by Paul Hartman
1 2013/6/11 Paul Hartman <paul.hartman+gentoo@×××××.com>
2
3 > On Mon, Jun 10, 2013 at 7:31 PM, walt <w41ter@×××××.com> wrote:
4 > > After the recent 3.9 --> 3.10 kernel merge window, udev no longer creates
5 > > /dev/rtc (or /dev/rtc0) during bootup on my ~amd64 machines. (The only
6 > > machines I have now.)
7 >
8 > Not a git-kernel nerd, but just an ordinary kernel nerd. :)
9 >
10 > The kernel RTC driver creates /dev/rtc0 and then I assume udev creates
11 > /dev/rtc from there, so if you are missing rtc0 that's a possible
12 > source of the problem. Which would coincide with your kernel upgrade.
13 >
14 > I know 3.9 introduced a couple new RTC-related option so maybe it
15 > changed around some more to 3.10 series. I would run menuconfig and
16 > see what it thinks you have enabled in that section, just in case
17 > something got lost in transition from one kernel to the next.
18 >
19 > In dmesg on my non-git 3.9.4 kernel it looks like:
20 >
21 > [ 1.237994] rtc_cmos 00:04: RTC can wake from S4
22 > [ 1.238158] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
23 > [ 1.238177] rtc_cmos 00:04: alarms up to one month, y3k, 114 bytes
24 > nvram, hpet irqs
25 > [ 1.241101] rtc_cmos 00:04: setting system clock to 2013-06-04
26 > 04:28:34 UTC (1370320114)
27 >
28 > I'm using the "PC-Style CMOS" RTC driver, and I have all of the
29 > RTC-related options enabled except for the debugging options.
30 >
31 >
32
33 I'm using gentoo-sources-3.8.13 - out of your scope, though, but I have
34 recently faced the same issue.
35
36 I rebuilt the kernel using "--menuconfig", to make sure that all RTC
37 options were enabled. It works, now.
38
39 Good luck
40 Francisco

Replies

Subject Author
Re: [gentoo-user] [OT] Recent git kernels break rtc (real-time-clock) Walter Dnes <waltdnes@××××××××.org>