From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754577AbZEQR0f (ORCPT ); Sun, 17 May 2009 13:26:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752461AbZEQR0Y (ORCPT ); Sun, 17 May 2009 13:26:24 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:47827 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893AbZEQR0X (ORCPT ); Sun, 17 May 2009 13:26:23 -0400 From: "Rafael J. Wysocki" To: Fabio Comolli Subject: Re: 2.6.29.2 - WARNING: at kernel/hrtimer.c:625 hres_timers_resume+0x2f/0x45() Date: Sun, 17 May 2009 19:25:53 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.30-rc5-rjw; KDE/4.2.2; x86_64; ; ) Cc: Linux Kernel Mailing List , Pavel Machek , ACPI Devel Maling List , Len Brown References: <200905162255.55548.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905171925.54391.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday 17 May 2009, Fabio Comolli wrote: > Hi Rafael. > > On Sat, May 16, 2009 at 10:55 PM, Rafael J. Wysocki wrote: > > On Monday 04 May 2009, Fabio Comolli wrote: > >> Hi. > >> After a successful resume from disk I get this warning: > >> > >> May 4 22:53:15 hawking kernel: ------------[ cut here ]------------ > >> May 4 22:53:15 hawking kernel: WARNING: at kernel/hrtimer.c:625 > >> hres_timers_resume+0x2f/0x45() > >> May 4 22:53:15 hawking kernel: Hardware name: Pavilion dv4000 (ES973EA#ABZ) > >> May 4 22:53:15 hawking kernel: hres_timers_resume() called with IRQs > >> enabled!Modules linked in: radeon(N) drm(N) michael_mic(N) arc4(N) > >> ecb(N) lib80211_crypt_tkip(N) af_packet(N) snd_pcm_oss(N) > >> snd_mixer_oss(N) snd_seq(N) microcode(N) snd_seq_device(N) edd(N) > >> cpufreq_conservative(N) cpufreq_userspace(N) cpufreq_powersave(N) > >> acpi_cpufreq(N) speedstep_lib(N) fuse(N) loop(N) dm_mod(N) > >> snd_intel8x0m(N) snd_intel8x0(N) snd_ac97_codec(N) pcmcia(N) > >> ac97_bus(N) sdhci_pci(N) sdhci(N) snd_pcm(N) thermal(N) snd_timer(N) > >> yenta_socket(N) btusb(N) iTCO_wdt(N) mmc_core(N) ipw2200(N) > >> tifm_7xx1(N) ohci1394(N) rsrc_nonstatic(N) 8139too(N) snd(N) > >> rtc_cmos(N) iTCO_vendor_support(N) video(N) processor(N) soundcore(N) > >> thermal_sys(N) i2c_i801(N) intel_agp(N) wmi(N) libipw(N) output(N) > >> led_class(N) battery(N) ac(N) 8139cp(N) tifm_core(N) ieee1394(N) > >> pcmcia_core(N) rtc_core(N) sr_mod(N) button(N) snd_page_alloc(N) > >> pcspkr(N) rtc_lib(N) i2c_core(N) hwmon(N) bluetooth(N) agpgart(N) > >> cdrom(N) joydev(N) sg(N) ext4(N) mbcache(N) jbd2(N) crc16( > >> May 4 22:53:15 hawking kernel: N) sd_mod(N) crc_t10dif(N) ata_piix(N) > >> libata(N) scsi_mod(N) ehci_hcd(N) uhci_hcd(N) usbcore(N) > >> May 4 22:53:15 hawking kernel: Supported: Yes > >> May 4 22:53:15 hawking kernel: Pid: 3533, comm: s2disk Tainted: G > >> N 2.6.29.2-6-pae #1 > >> May 4 22:53:15 hawking kernel: Call Trace: > >> May 4 22:53:15 hawking kernel: [] try_stack_unwind+0x51/0x11d > >> May 4 22:53:15 hawking kernel: [] dump_trace+0x55/0xca > >> May 4 22:53:15 hawking kernel: [] show_trace_log_lvl+0x33/0x3e > >> May 4 22:53:15 hawking kernel: [] show_trace+0x10/0x14 > >> May 4 22:53:15 hawking kernel: [] dump_stack+0x57/0x61 > >> May 4 22:53:15 hawking kernel: [] warn_slowpath+0x71/0xa8 > >> May 4 22:53:16 hawking kernel: [] hres_timers_resume+0x2f/0x45 > >> May 4 22:53:16 hawking kernel: [] timekeeping_resume+0x11f/0x125 > >> May 4 22:53:16 hawking kernel: [] __sysdev_resume+0x14/0x38 > >> May 4 22:53:16 hawking kernel: [] sysdev_resume+0xcb/0x105 > >> May 4 22:53:16 hawking kernel: [] hibernation_snapshot+0xf1/0x189 > >> May 4 22:53:16 hawking kernel: [] snapshot_ioctl+0x214/0x4c5 > >> May 4 22:53:16 hawking kernel: [] vfs_ioctl+0x22/0x67 > >> May 4 22:53:16 hawking kernel: [] do_vfs_ioctl+0x444/0x47d > >> May 4 22:53:16 hawking kernel: [] sys_ioctl+0x67/0x81 > >> May 4 22:53:16 hawking kernel: [] sysenter_do_call+0x12/0x2f > >> May 4 22:53:17 hawking kernel: [] 0xffffe430 > >> May 4 22:53:17 hawking kernel: ---[ end trace 8cd3b732941f0f91 ]--- > >> > >> > >> This causes a second hibernate-resume cycle to hang solid during > >> resume. Power cycle is needed. > >> > >> I'm not sure if this is a regression wrt 2.6.28.7 (my previous kernel) > >> because I changed the DRI driver from fglrx to radeon and also > >> upgraded the X.org userspace. I didn't have any hibernation-related > >> problem with any previous kernels for sure. > >> > >> It may be related to http://lkml.org/lkml/2009/4/19/133 but the > >> backtrace is somewhat different. > >> > >> Please let me know if you need more details. > > > > I think this is a cpufreq problem. > > > > Indeed it is. I managed to "solve" it by rmmod-ing acpi-cpufreq before > hibernating and reloading it after resume. With this trick I had no > further problems. Thanks for this information, it's quite important. > > Please try to reproduce the problem with the appended patch applied. > > I'm sorry but I don't have access to that laptop anymore. No problem, we should be able to find the bug in acpi-cpufreq anyway. Thanks, Rafael