hang during suspend to RAM
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
We seem to have problems with cpufreq_suspend and later with hres_timers_resume on the Jake's machine:
Quoted 98 lines · On Wednesday 04 February 2009, [email protected] wrote:
------- Comment #15 from [email protected] 2009-02-04 07:38 ------- 2.6.29-rc3 without acpi_sleep=old_ordering -> still freezes during suspend
2.6.29-rc3 with acpi_sleep=old_ordering produces the same symptoms as 2.6.28.2, and the dmesg includes the following errors:
BUG: sleeping function called from invalid context at kernel/workqueue.c:440 in_atomic(): 0, irqs_disabled(): 1, pid: 2431, name: pm-suspend Pid: 2431, comm: pm-suspend Not tainted 2.6.29-rc3 #1 Call Trace: [<c04286fc>] __might_sleep+0xdf/0xe4 [<c043c6a4>] flush_work+0x1a/0x93 [<c06c2d9e>] ? _spin_unlock_irqrestore+0x22/0x38 [<c043c871>] ? __queue_work+0x26/0x2b [<c043c926>] work_on_cpu+0x3c/0x46 [<c043bf75>] ? do_work_for_cpu+0x0/0x12 [<f045144a>] ? do_drv_read+0x0/0x3e [acpi_cpufreq] [<f0451391>] get_cur_val+0x9a/0xbf [acpi_cpufreq] [<f045140a>] get_cur_freq_on_cpu+0x54/0x94 [acpi_cpufreq] [<c0626b80>] cpufreq_suspend+0x9c/0x114 [<c05a4c98>] sysdev_suspend+0x3e/0x175 [<c05a8e04>] device_power_down+0xb4/0xf0 [<c045037d>] suspend_devices_and_enter+0xcf/0x16d [<c0450570>] enter_state+0x130/0x190 [<c045065f>] state_store+0x8f/0xa2 [<c04505d0>] ? state_store+0x0/0xa2 [<c0527bc1>] kobj_attr_store+0x1a/0x22 [<c04d3a7b>] sysfs_write_file+0xb4/0xdf [<c04d39c7>] ? sysfs_write_file+0x0/0xdf [<c04973da>] vfs_write+0x84/0xdf [<c04974ce>] sys_write+0x3b/0x60 [<c04038df>] sysenter_do_call+0x12/0x34 ------------[ cut here ]------------ WARNING: at kernel/hrtimer.c:618 hres_timers_resume+0x2f/0x45() Hardware name: CF-51LCMDDBM
hres_timers_resume()called with IRQs enabled!Modules linked in: i915 drmi2c_algo_bitip6t_REJECTnf_conntrack_ipv6ip6table_filterip6_tablesipv6cpufreq_ond
emandacpi_cpufreqdm_multipathuinputsnd_intel8x0snd_intel8x0msnd_seq_dummysnd_ac97_codecac97_bussnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_pcmsnd_timerppdevparport_pcsnd soundcoreyenta_s
ocketsnd_page_alloci2c_i801rsrc_nonstaticipw2200serio_rawfirewire_ohcipar
port videoi2c_coreiTCO_wdtiTCO_vendor_supportlibipw sky2 pcspkrfirewire_cor
ecrc_itu_toutput lib80211 joydevata_genericpata_acpi[last unloaded:
microco
de]
Pid: 2431, comm: pm-suspend Not tainted 2.6.29-rc3 #1Call Trace: [<c042e4e1>] warn_slowpath+0x71/0xa8 [<c0414740>] ? lapic_next_event+0x13/0x17 [<c044769b>] ? clockevents_program_event+0xdb/0xea [<c044848d>] ? tick_dev_program_event+0x28/0x95 [<c0448544>] ? tick_program_event+0x22/0x29 [<c0447b2e>] ? tick_notify+0x2e1/0x2f0 [<c043c21f>] ? insert_work+0x3d/0x45 [<c06c4e4c>] ? notifier_call_chain+0x2b/0x4a [<c04416ef>] hres_timers_resume+0x2f/0x45 [<c0444d3a>] timekeeping_resume+0x13c/0x142 [<c05a4b4c>] __sysdev_resume+0x14/0x38 [<c05a4b91>] sysdev_resume+0x21/0x54 [<c05a915a>] device_power_up+0xb/0x15 [<c04503b1>] suspend_devices_and_enter+0x103/0x16d [<c0450570>] enter_state+0x130/0x190 [<c045065f>] state_store+0x8f/0xa2 [<c04505d0>] ? state_store+0x0/0xa2 [<c0527bc1>] kobj_attr_store+0x1a/0x22 [<c04d3a7b>] sysfs_write_file+0xb4/0xdf [<c04d39c7>] ? sysfs_write_file+0x0/0xdf [<c04973da>] vfs_write+0x84/0xdf [<c04974ce>] sys_write+0x3b/0x60 [<c04038df>] sysenter_do_call+0x12/0x34 ---[ end trace 104058e15f9549d5 ]---
pcmcia_socketpcmcia_socket0: *** DANGER *** unable to remove socket powerpcmcia_socketpcmcia_socket1: *** DANGER *** unable to remove socket powerfirewire_ohci: Failed to reset ohci card.pm_op():pci_pm_resume+0x0/0x4freturns -16
PM: Device 0000:06:00.2 failed to resume: error -16
irq 23: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Tainted: G W 2.6.29-rc3 #1Call Trace: [<c04653e6>] __report_bad_irq+0x2e/0x6f [<c0465517>] note_interrupt+0xf0/0x149 [<c0465a4d>] handle_fasteoi_irq+0x8f/0xb5 [<c04659be>] ? handle_fasteoi_irq+0x0/0xb5 <IRQ> [<c0403fac>] ? common_interrupt+0x2c/0x34 [<c0574e13>] ? acpi_idle_enter_simple+0x150/0x18b [<c0628658>] ? cpuidle_idle_call+0x60/0x94 [<c0402a23>] ? cpu_idle+0x7f/0xa0 [<c06b2116>] ? rest_init+0x4e/0x50handlers:
[<c05e441b>] (usb_hcd_irq+0x0/0xa3)
[<c05e441b>] (usb_hcd_irq+0x0/0xa3)
Disabling IRQ #23