Re: [Bug 10866] /dev/rtc was missing until I disabled CONFIG_RTC_CLASS

From: David Brownell
Date: Fri Jun 13 2008 - 16:43:54 EST


On Friday 13 June 2008, Lior Dotan wrote:
> I don't know if it helps you to decide but the way I got to this
> configuration is by copying my working 2.6.25 .config file and running
> make oldconfig. I think this scenario is common when upgrading to a
> newer version so you should make sure it doesn't generate an invalid
> configuration.

It doesn't! "No /dev/rtc" is a perfectly valid config. And it's
not uncommon that new kernels require config tweaks.

To repeat what's in the bug database: your old config didn't use
one of the valid RTC configs: legacy *OR* new style (else neither).

Mixing the two was never supported ... it caused various bugs, and
much confusion. You might not have observed with your old .config
on your hardware (or might have ignored it), but other folk did.

I'm not sure anyone would have wanted to merge any patches that
would have let the two frameworks coexist/overlap, but that's a
moot point since nobody (including you) submitted such patches.
What was submitted was a patch that rejected an invalid config.

- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/