Public bug reported:

Binary package hint: linux-source-2.6.24

I performed a clean installation of 8.04 and quickly noticed that the
ACPI wakeup feature provided by /proc/acpi/alarm in Ubuntu 7.10 (with
2.6.22 kernel) is now deprecated and should be replaced by
/sys/class/rtc/rtc0/wakealarm. However, I have nothing in the
/sys/class/rtc directory, i.e. rtc0 was not detected.

http://www.mythtv.org/wiki/index.php/ACPI_Wakeup says this:


Warning: The wakealarm interface is incompatible with the kernel's old 
"Enhanced Real Time Clock Support" and "Generic /dev/rtc emulation" options. If 
your kernel was built with these enabled your kernel log will contain messages 
such as

rtc_cmos: probe of 00:03 failed with error -16

The solution is to rebuild your kernel with the above two options
excluded (find them under Drivers -> Character Devices) and the various
RTC interfaces (found under Drivers -> Real Time Clock) included. From a
.config point of view CONFIG_RTC and CONFIG_GEN_RTC must be unset and,
at a minimum, RTC_INTF_SYSFS must be set.


I don't see that probe failure on my PC but I have 
"/build/buildd/linux-2.6.24/drivers/rtc/hctosys.c: unable to open rtc device 
(rtc0)". Taking a quick look at /boot/config-2.6.24-5-generic shows that I have 
incorrectly(?) CONFIG_RTC set even though CONFIG_RTC_INTF_SYSFS is also set. I 
will try to compile my own kernel and see if rtc0 is detected when CONFIG_RTC 
is unset.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Regression: No replacement for /proc/acpi/alarm due to missing rtc0
https://bugs.launchpad.net/bugs/186297
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to