Description of problem: Upgrading to kernel-2.6.10-1.737_FC3 from kernel-2.6.9-1.724_FC3 caused a regression: the clock seems to advance double (I think) on ACPI resume. Version-Release number of selected component (if applicable): kernel-2.6.10-1.737_FC3 How reproducible: Every time. Steps to Reproduce: 1. Use ACPI suspend on IBM T42 laptop. 2. Resume Actual results: On resume, clock ends up too far in the future (I think by the amount that the laptop's been suspended, although I haven't tried enough times to be sure). Expected results: No clock skew.
A few more details: I was referring to S3 suspend, and my kernel boot params include pci=noacpi acpi_sleep=s3_bios .
Having the same problem on an IBM T23 laptop with latest firmware. I noticed that the problem started with Dave Jones' test kernel 727_FC3 which I was using since it fixed an kernel panic on resume from RAM caused by my Prism 2.5 card (bug #144045). dbaron, I agree with your observation that the clock is ahead by the amount of suspend time.
Me too. Thinkpad T41, kernel-2.6.10-1.741_FC3.
Same thing. Dell 700m 2.6.10-1.760_FC3.
BTW, there is a workaround for this. I have the following in /etc/acpi/actions/sleep.sh (as suggested at thinkwiki.org): #!/bin/sh /usr/bin/logger "Software suspend to RAM." /bin/sync /sbin/hwclock --systohc /bin/echo -n mem > /sys/power/state /sbin/hwclock --adjust /sbin/hwclock --hctosys /usr/bin/logger "Resume from suspend-to-RAM." The script is invoked from /etc/acpi/events/sleep.conf: event=button/sleep action=/etc/acpi/actions/sleep.sh and from /etc/acpi/events/lid.conf: event=button/lid action=/etc/acpi/actions/sleep.sh
Can someone give this ago again, because I've read posts on the list (or on irc, more likely) that suggest newer kernels have this fixed.
Confirmed still broken on 2.6.10-1.770_FC3 with a Thinkpad T41p. Note that I also have to manually stop mysqld #!/bin/sh /bin/sync /etc/init.d/mysqld stop echo -n 3 > /proc/acpi/sleep
http://people.redhat.com/davej/kernels/Fedora/ Please test the 2.6.11 based FC3 update kernel from here. It seems to prevent clock skew on my Thinkpad T41. You must have FC3 updates udev installed for this kernel to work properly.
Confirmed fixed with 2.6.11-1.9_FC3. I still have to manually kill dhclient and restart the network service, but that's obviously another issue. This helps though. Thanks.
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which may contain a fix for your problem. Please update to this new kernel, and report whether or not it fixes your problem. If you have updated to Fedora Core 4 since this bug was opened, and the problem still occurs with the latest updates for that release, please change the version field of this bug to 'fc4'. Thank you.
The machine I saw this on has been upgraded to FC4. I'd been happily using the workaround, but I just tested and it appears to be fixed, at least with the latest FC4 kernel.