[opensuse] hwclock problem: "select() to /dev/rtc to wait for clock tick timed out"
Sorry in advance if this has been answered previously, but I haven't found an answer which works for me to this point. The problem is this: under openSUSE 10.3 (2.6.22.17-0.1-default) 'hwclock' used to work for reading and setting my Dell Latitude 830's hardware clock via /dev/rtc, but it seems to have stopped functioning at some point and I hadn't realized it till now. I've already tried using the '--directisa' alternative to /dev/rtc, but that doesn't seem to work either. I can set the HW clock OK manually via the BIOS on startup, so it seems to be functioning at that level. I've attached some output below which may be of assistance in diagnosing the problem. Thanks for any help. --ted ========================================================= madeye:~ # hwclock --show ; date ; date -u select() to /dev/rtc to wait for clock tick timed out Mon May 12 14:52:39 EDT 2008 Mon May 12 18:52:39 UTC 2008 madeye:~ # hwclock --debug --show hwclock from util-linux-2.13-rc2 Using /dev interface to clock. Assuming hardware clock is kept in local time. Waiting for clock tick... select() to /dev/rtc to wait for clock tick timed out ...got clock tick madeye:~ # cat /etc/sysconfig/clock SYSTOHC="yes" HWCLOCK="--localtime" DEFAULT_TIMEZONE="US/Eastern" TIMEZONE="US/Eastern" ZONE="America/New_York" madeye:~ # cat /proc/driver/rtc rtc_time : 20:38:33 rtc_date : 2008-05-10 rtc_epoch : 1900 alarm : 10:55:02 DST_enable : no BCD : yes 24hr : yes square_wave : no alarm_IRQ : no update_IRQ : no periodic_IRQ : no periodic_freq : 1024 batt_status : okay madeye:~ # ll /dev/rtc* crw-rw-rw- 1 root root 10, 135 2008-05-12 08:39 /dev/rtc madeye:~ # cat /proc/interrupts CPU0 CPU1 0: 1346664 767189 IO-APIC-edge timer 1: 8303 18 IO-APIC-edge i8042 7: 0 0 IO-APIC-edge parport0 8: 3507 2899 IO-APIC-edge rtc 9: 29 30 IO-APIC-fasteoi acpi 12: 540213 1005 IO-APIC-edge i8042 14: 51 21938 IO-APIC-edge libata 15: 0 0 IO-APIC-edge libata 16: 815 875364 IO-APIC-fasteoi nvidia 17: 292061 3406 IO-APIC-fasteoi libata 18: 4 5 IO-APIC-fasteoi ohci1394, yenta 19: 113811 399 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb6 20: 1155 728201 IO-APIC-fasteoi uhci_hcd:usb2, uhci_hcd:usb4, ehci_hcd:usb7 21: 76 76383 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb5, HDA Intel 217: 6 818875 PCI-MSI-edge eth0 218: 1475 1106 PCI-MSI-edge iwl4965 NMI: 0 0 LOC: 1071532 1247461 ERR: 0 MIS: 0 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-05-12 at 14:59 -0400, Ted Markowitz wrote:
Sorry in advance if this has been answered previously, but I haven't found an answer which works for me to this point. The problem is this: under openSUSE 10.3 (2.6.22.17-0.1-default) 'hwclock' used to work for reading and setting my Dell Latitude 830's hardware clock via /dev/rtc, but it seems to have stopped functioning at some point and I hadn't realized it till now. I've already tried using the '--directisa' alternative to /dev/rtc, but that doesn't seem to work either. I can set the HW clock OK manually via the BIOS on startup, so it seems to be functioning at that level.
...
madeye:~ # hwclock --show ; date ; date -u select() to /dev/rtc to wait for clock tick timed out Mon May 12 14:52:39 EDT 2008 Mon May 12 18:52:39 UTC 2008
I see randomly the error: hwclock: open() of /dev/rtc failed, errno=16: Device or resource busy. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIKMTDtTMYHG2NR9URAm96AKCS5K9d8OGCMBoFpMThRjwVy4AyDQCeLOJc eYY8jxaO3DFc6/MSXSmCtRk= =NHB/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos, Never saw that error msg myself. Only the "select() to /dev/rtc to wait for clock tick timed out" one ever appears and now it always happens when I run hwclock. I've seen some references to this being a problem with Dell machines in particular, but none of the fixes I've tried seems to have cured it. Thanks. --ted Carlos E. R. said the following on 05/12/2008 06:29 PM:
The Monday 2008-05-12 at 14:59 -0400, Ted Markowitz wrote:
Sorry in advance if this has been answered previously, but I haven't found an answer which works for me to this point. The problem is this: under openSUSE 10.3 (2.6.22.17-0.1-default) 'hwclock' used to work for reading and setting my Dell Latitude 830's hardware clock via /dev/rtc, but it seems to have stopped functioning at some point and I hadn't realized it till now. I've already tried using the '--directisa' alternative to /dev/rtc, but that doesn't seem to work either. I can set the HW clock OK manually via the BIOS on startup, so it seems to be functioning at that level.
...
madeye:~ # hwclock --show ; date ; date -u select() to /dev/rtc to wait for clock tick timed out Mon May 12 14:52:39 EDT 2008 Mon May 12 18:52:39 UTC 2008
I see randomly the error:
hwclock: open() of /dev/rtc failed, errno=16: Device or resource busy.
-- Cheers, Carlos E. R.
================================================================= T E D M A R K O W I T Z Chief Architect, Cognosys LLC http://www.cognosys.net 203-655-2400 (phone/fax) 203-984-6565 (cell) tjm@cognosys.net (email) TJMarkowitz (AIM) ================================================================= Cognosys accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided herein, unless that information is sub- sequently confirmed in writing. If you are not the intended recipient of this message, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please inform us of any erroneous delivery by return email and also delete the message and any attachments from your system. The company accepts no liability for any damage caused by any viruses inadvertently transmitted by this email. Thank you. ================================================================= -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Ted Markowitz