public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul Rolland" <rol@as2917.net>
To: "'David Brownell'" <david-b@pacbell.net>
Cc: "'Adrian Bunk'" <bunk@stusta.de>, <linux-kernel@vger.kernel.org>,
	<a.zummo@towertech.it>, <rtc-linux@googlegroups.com>
Subject: RE: 2.6.21-rc2 : Oops in rtc_cmos...
Date: Wed, 7 Mar 2007 05:42:13 +0100	[thread overview]
Message-ID: <051e01c76072$fcdae290$4b00a8c0@donald> (raw)
In-Reply-To: <200703061132.29331.david-b@pacbell.net>

Hello,

> > Yes, it does, so it's a Good One (tm),
> 
> And points out that $SUBJECT is misleading; the root cause of
> the oops isn't rtc_cmos.  Workaround, don't enable the legacy
> driver for this hardware.

Well, sorry for that, but my point was that without enabling
CONFIG_DRV_RTC_CMOS and only using CONFIG_RTC, my dmesg says :

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Having seem that, I got thru all the options, trying to find what I
could have forgot as an option, and added the RTC_CMOS one, that resulted
in an Oops... 

> One of the good things about getting rtc-cmos merged:  it
> exposes this new RTC framework to new mistakes, which helps
> fix some of the remaining rough spots.  

Good ;)
 
> > pnp: Device 00:03 does not support disabling.
> 
> Blame the PNP stack for that particular useless message.
> I'l send a fix for that one too.
OK, ready to test ! 

> > drivers/rtc/hctosys.c: unable to open rtc device (rtc0) 
> Because probing 00:03 failed, was never fully usable.
> So then rtc0 couldn't be found.  You'd get the same
> message if, say, the RTC was loaded as a module.

It seems to me that the DRV_RTC_CMOS and the "standard" CONFIG_RTC
shouldn't be used at the same time... Am I correct on that ? 
Wouldn't it be better to have this dependancy enforced ?

Regards,
Paul


  parent reply	other threads:[~2007-03-07  4:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 18:43 2.6.21-rc2 : Oops in rtc_cmos Paul Rolland
2007-03-04 23:48 ` Adrian Bunk
2007-03-06  7:29   ` Paul Rolland
2007-03-06 19:32     ` David Brownell
2007-03-06 20:50       ` [rtc-linux] " Alessandro Zummo
2007-03-06 22:23         ` David Brownell
2007-03-07  4:42       ` Paul Rolland [this message]
2007-03-07  5:26         ` David Brownell
2007-03-07  8:16         ` Alessandro Zummo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='051e01c76072$fcdae290$4b00a8c0@donald' \
    --to=rol@as2917.net \
    --cc=a.zummo@towertech.it \
    --cc=bunk@stusta.de \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rtc-linux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox