Bug 9161

Summary: suspend freezes kernel clock
Product: Power Management Reporter: Beno (benoit)
Component: Hibernation/SuspendAssignee: Rafael J. Wysocki (rjwysocki)
Status: CLOSED CODE_FIX    
Severity: normal CC: akpm, devzero, tglx
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.23 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 7216, 9056    
Attachments: config-2.6.23

Description Beno 2007-10-14 03:04:21 UTC
Hello, whenever i suspend, the kernel clock is frozen.

Last night i suspend at 01H10 and this morning i've resume at 11H30 and now:
- date displays 02H09
- openntp reports "ntpd[1853]: adjusting local clock by 35160.707563s"
- hwclock displays "Sun Oct 14 11:57:17 2007  -0.420801 seconds"
- messages displays

Oct 14 01:10:45 ibook gnome-power-manager: (benoit) Mise en veille de l'ordinateur car l'utilisateur a cliqué sur mise en veille à partir du me
nu de la zone de notification
Oct 14 01:10:45 ibook kernel: [97353.206739] ohci_hcd 0001:10:1a.0: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.
Oct 14 01:10:47 ibook kernel: [97354.933626] eth0: suspending, WakeOnLan disabled
Oct 14 01:10:47 ibook kernel: [97355.026822] bcm43xx: Suspending...
Oct 14 01:10:47 ibook kernel: [97355.040032] bcm43xx: Device suspended.
Oct 14 01:10:47 ibook kernel: [97355.041767] uninorth-agp: disabling AGP on device 0000:00:10.0
Oct 14 01:10:47 ibook kernel: [97355.041788] uninorth-agp: disabling AGP on bridge 0000:00:0b.0
Oct 14 01:10:49 ibook kernel: [97356.255702] agpgart: Putting AGP V2 device at 0000:00:0b.0 into 4x mode
Oct 14 01:10:49 ibook kernel: [97356.255725] agpgart: Putting AGP V2 device at 0000:00:10.0 into 4x mode
Oct 14 01:10:49 ibook kernel: [97356.517550] bcm43xx: Resuming...
Oct 14 01:10:49 ibook kernel: [97356.537875] PCI: Enabling device 0001:10:12.0 (0000 -> 0002)
Oct 14 01:10:49 ibook kernel: [97356.539876] bcm43xx: Device resumed.
Oct 14 01:10:49 ibook kernel: [97356.556710] PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
Oct 14 01:10:49 ibook kernel: [97356.570040] PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
Oct 14 01:10:49 ibook kernel: [97356.583380] PCI: Enabling device 0001:10:1b.2 (0000 -> 0002)
Oct 14 01:10:50 ibook kernel: [97357.600070] eth0: resuming
Oct 14 01:10:51 ibook kernel: [97358.688581] hda: Enabling Ultra DMA 5
Oct 14 01:10:51 ibook kernel: [97358.755141] hdc: Enabling MultiWord DMA 2
Oct 14 01:10:52 ibook gnome-power-manager: (benoit) Reprise de l'ordinateur
Oct 14 01:10:52 ibook kernel: [97359.542623] agpgart: Putting AGP V2 device at 0000:00:0b.0 into 4x mode
Oct 14 01:10:52 ibook kernel: [97359.542657] agpgart: Putting AGP V2 device at 0000:00:10.0 into 4x mode
Oct 14 01:10:52 ibook kernel: [97359.542729] [drm] Loading R200 Microcode
Oct 14 01:10:52 ibook kernel: [97359.581839] adb: starting probe task...
Oct 14 01:10:52 ibook kernel: [97359.849167] ADB keyboard at 2, handler 1
Oct 14 01:10:52 ibook kernel: [97359.865454] ADB mouse at 3, handler set to 4 (trackpad)
Oct 14 01:10:52 ibook kernel: [97359.926422] adb: finished probe task...
Oct 14 01:10:52 ibook kernel: [97360.066812] eth0: Link is up at 100 Mbps, full-duplex.
Oct 14 01:10:52 ibook kernel: [97360.066831] eth0: Pause is disabled

I can reproduce 100%
Comment 1 Andrew Morton 2007-10-14 11:16:02 UTC
Is this a regression from earlier kernels?  If so, what was
the latest kernel which worked OK?

Thanks.
Comment 2 Beno 2007-10-14 12:00:06 UTC
Yes it's a regression. 2.6.22.1 was OK. Do you want me to try 23-rc* ?
Comment 3 Rafael J. Wysocki 2007-10-14 12:42:55 UTC
Can you please attach your current .config?
Comment 4 Beno 2007-10-14 12:44:02 UTC
Created attachment 13155 [details]
config-2.6.23
Comment 5 Rafael J. Wysocki 2007-12-12 16:36:33 UTC
Please check the current mainline kernel and report back, thanks.
Comment 6 Roland Kletzing 2008-03-30 05:02:54 UTC
>Hello, whenever i suspend, the kernel clock is frozen.

so vmstat, top, watch don`t work anymore?
Comment 7 Beno 2008-04-01 09:29:35 UTC
Sorry, i though this bug has been closed.
It's fixed 2.6.24.