From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-148119-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id EBAC91381F3
	for <garchives@archives.gentoo.org>; Tue, 11 Jun 2013 17:51:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3D451E0950;
	Tue, 11 Jun 2013 17:51:09 +0000 (UTC)
Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E6C4DE087D
	for <gentoo-user@lists.gentoo.org>; Tue, 11 Jun 2013 17:51:07 +0000 (UTC)
Received: by mail-ob0-f169.google.com with SMTP id up14so12032349obb.28
        for <gentoo-user@lists.gentoo.org>; Tue, 11 Jun 2013 10:51:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=UBmRiwUnHBPYN0kxkiHvJ1Vv5mPvsOID5ACdLmjeABk=;
        b=YA8tD1HOLKonkXiPWN3EeECgKpQGBnyWUdC51eVsA5JR3cAOP9gN7M75LCPcUQyXaz
         /GPhBrR4ks5G00tV6evddOEVzL1rk2snQYxGeV4XoYlZIaqNsSthtYN/SMo8a4LjZWFa
         KFORd2MewRjFL8Cgt6z2IrDJ8FCvydz7iJZAp163fPat8uYWcJc12//L15+5mEUeRM8e
         3jrO3ZttKFXABhaVbSp/xQ69mVXqkJRUqMCwgkYX5UvlltTkgFcTY4Mr0xlyiCVQgAL4
         ZvzfU+Ha68kQ37sefi8RZJMenaui5VUpCPM6tjbd+v1uKYtoFV2X/dIFpTDvGewQHbdd
         20Aw==
X-Received: by 10.60.102.230 with SMTP id fr6mr12596990oeb.141.1370973067014;
 Tue, 11 Jun 2013 10:51:07 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.60.51.162 with HTTP; Tue, 11 Jun 2013 10:50:46 -0700 (PDT)
In-Reply-To: <CAEH5T2NNRR950hUT_wZZqy-25ntCOw4E0CBsmqvi9dYmgLngVA@mail.gmail.com>
References: <kp5r4h$o14$1@ger.gmane.org> <CAEH5T2NNRR950hUT_wZZqy-25ntCOw4E0CBsmqvi9dYmgLngVA@mail.gmail.com>
From: Francisco Ares <frares@gmail.com>
Date: Tue, 11 Jun 2013 14:50:46 -0300
Message-ID: <CAHH9eM72WkxHdf-mVcJFw7AhoUZzYJsT9JuQURmWEytB735h2g@mail.gmail.com>
Subject: Re: [gentoo-user] [OT] Recent git kernels break rtc (real-time-clock)
To: gentoo-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary=089e011830d6a912f604dee48a59
X-Archives-Salt: 1492ce41-0f2b-4933-8819-9579843658f2
X-Archives-Hash: 4747cb27b9cd9cc9128cf4e31be4258a

--089e011830d6a912f604dee48a59
Content-Type: text/plain; charset=UTF-8

2013/6/11 Paul Hartman <paul.hartman+gentoo@gmail.com>

> On Mon, Jun 10, 2013 at 7:31 PM, walt <w41ter@gmail.com> wrote:
> > After the recent 3.9 --> 3.10 kernel merge window, udev no longer creates
> > /dev/rtc (or /dev/rtc0) during bootup on my ~amd64 machines. (The only
> > machines I have now.)
>
> Not a git-kernel nerd, but just an ordinary kernel nerd. :)
>
> The kernel RTC driver creates /dev/rtc0 and then I assume udev creates
> /dev/rtc from there, so if you are missing rtc0 that's a possible
> source of the problem. Which would coincide with your kernel upgrade.
>
> I know 3.9 introduced a couple new RTC-related option so maybe it
> changed around some more to 3.10 series. I would run menuconfig and
> see what it thinks you have enabled in that section, just in case
> something got lost in transition from one kernel to the next.
>
> In dmesg on my non-git 3.9.4 kernel it looks like:
>
> [    1.237994] rtc_cmos 00:04: RTC can wake from S4
> [    1.238158] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
> [    1.238177] rtc_cmos 00:04: alarms up to one month, y3k, 114 bytes
> nvram, hpet irqs
> [    1.241101] rtc_cmos 00:04: setting system clock to 2013-06-04
> 04:28:34 UTC (1370320114)
>
> I'm using the "PC-Style CMOS" RTC driver, and I have all of the
> RTC-related options enabled except for the debugging options.
>
>

I'm using gentoo-sources-3.8.13 - out of your scope, though, but I have
recently faced the same issue.

I rebuilt the kernel using "--menuconfig", to make sure that all RTC
options were enabled.  It works, now.

Good luck
Francisco

--089e011830d6a912f604dee48a59
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">2013/6/11 Paul Hartman <span dir=3D"ltr">&lt;<a =
href=3D"mailto:paul.hartman+gentoo@gmail.com" target=3D"_blank">paul.hartma=
n+gentoo@gmail.com</a>&gt;</span><br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On Mon, Jun 10, 2013 at 7:31 PM, walt &lt;<a href=3D"mailto:w41ter@gmail.co=
m">w41ter@gmail.com</a>&gt; wrote:<br>
&gt; After the recent 3.9 --&gt; 3.10 kernel merge window, udev no longer c=
reates<br>
&gt; /dev/rtc (or /dev/rtc0) during bootup on my ~amd64 machines. (The only=
<br>
&gt; machines I have now.)<br>
<br>
Not a git-kernel nerd, but just an ordinary kernel nerd. :)<br>
<br>
The kernel RTC driver creates /dev/rtc0 and then I assume udev creates<br>
/dev/rtc from there, so if you are missing rtc0 that&#39;s a possible<br>
source of the problem. Which would coincide with your kernel upgrade.<br>
<br>
I know 3.9 introduced a couple new RTC-related option so maybe it<br>
changed around some more to 3.10 series. I would run menuconfig and<br>
see what it thinks you have enabled in that section, just in case<br>
something got lost in transition from one kernel to the next.<br>
<br>
In dmesg on my non-git 3.9.4 kernel it looks like:<br>
<br>
[ =C2=A0 =C2=A01.237994] rtc_cmos 00:04: RTC can wake from S4<br>
[ =C2=A0 =C2=A01.238158] rtc_cmos 00:04: rtc core: registered rtc_cmos as r=
tc0<br>
[ =C2=A0 =C2=A01.238177] rtc_cmos 00:04: alarms up to one month, y3k, 114 b=
ytes<br>
nvram, hpet irqs<br>
[ =C2=A0 =C2=A01.241101] rtc_cmos 00:04: setting system clock to 2013-06-04=
<br>
04:28:34 UTC (1370320114)<br>
<br>
I&#39;m using the &quot;PC-Style CMOS&quot; RTC driver, and I have all of t=
he<br>
RTC-related options enabled except for the debugging options.<br>
<br>
</blockquote></div><br><br clear=3D"all">I&#39;m using gentoo-sources-3.8.1=
3 - out of your scope, though, but I have recently faced the same issue.<br=
><br>I rebuilt the kernel using &quot;--menuconfig&quot;, to make sure that=
 all RTC options were enabled.=C2=A0 It works, now.<br>

<br>Good luck<br>Francisco<br>

--089e011830d6a912f604dee48a59--