Re: hwclock problems still present in 2.6.27-rc4

From: Norbert Preining
Date: Thu Aug 21 2008 - 14:43:02 EST


On Do, 21 Aug 2008, adobriyan@xxxxxxxxx wrote:
> > CONFIG_HPET_TIMER=y
> > CONFIG_HPET_EMULATE_RTC=y
> > CONFIG_HPET=y
> > CONFIG_HPET_MMAP=y
> > CONFIG_RTC_LIB=y
> > CONFIG_RTC_CLASS=y
> > CONFIG_RTC_HCTOSYS=y
> > CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
> > CONFIG_RTC_INTF_SYSFS=y
> > CONFIG_RTC_INTF_PROC=y
> > CONFIG_RTC_INTF_DEV=y
> > CONFIG_RTC_DRV_CMOS=y
> > (all rtc and hpet related config vars).
>
> > What is the recommended way to fix that, or do you need some more
> > information?
>
> Remove CONFIG_RTC_* options for start. Unless you knowingly selected
> them, of course.

Removing all of them also removes CONFIG_HPET_EMULATE_RTC which makes me
a bit nervous. The reason is:
config HPET_EMULATE_RTC
def_bool y
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
so I have to have RTC and RTC_DRV_CMOS turned on.

Is turning of CONFIG_HPET_EMULATE_RTC a good idea? Then I will not have
a rtc at all, right?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@xxxxxxxx> Vienna University of Technology
Debian Developer <preining@xxxxxxxxxx> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
RAMSGATE (n.)
All institutional buildings must, by law, contain at least twenty
ramsgates. These are doors which open the opposite way to the one you
expect.
--- Douglas Adams, The Meaning of Liff
--
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/