From: Maxim Levitsky Subject: Re: [linux-pm] ACPI/ACPICA: resume hang (battery related) Date: Sun, 22 Nov 2009 14:20:48 +0200 Message-ID: <1258892448.3231.23.camel@maxim-laptop> References: <1258664394.3611.8.camel@maxim-laptop> <200911192255.45447.rjw@sisk.pl> <1258670277.27524.4.camel@maxim-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f213.google.com ([209.85.220.213]:58482 "EHLO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbZKVMUs (ORCPT ); Sun, 22 Nov 2009 07:20:48 -0500 Received: by fxm5 with SMTP id 5so3838385fxm.28 for ; Sun, 22 Nov 2009 04:20:53 -0800 (PST) In-Reply-To: <1258670277.27524.4.camel@maxim-laptop> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: linux-pm@lists.linux-foundation.org, "linux-acpi@vger.kernel.org" Hi, I blacklisted battery driver, and now I got same backtrace in the AC driver. <7>[ 1617.430020] CPU0: Thermal monitoring handled by SMI <4>[ 1617.430020] Enabling non-boot CPUs ... <4>[ 1617.450349] lockdep: fixing up alternatives. <6>[ 1617.450569] SMP alternatives: switching to SMP code <6>[ 1617.458575] Booting processor 1 APIC 0x1 ip 0x6000 <6>[ 1617.422535] Initializing CPU#1 <6>[ 1617.422535] Calibrating delay using timer specific routine.. 3421.80 BogoMIPS (lpj=17109034) <6>[ 1617.422535] CPU: L1 I cache: 32K, L1 D cache: 32K <6>[ 1617.422535] CPU: L2 cache: 2048K <6>[ 1617.422535] CPU: Physical Processor ID: 0 <6>[ 1617.422535] CPU: Processor Core ID: 1 <6>[ 1617.422535] CPU1: Thermal monitoring enabled (TM1) <6>[ 1617.610123] CPU1: Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz stepping 0d <4>[ 1617.630722] CPU1 is up <3>[ 1800.680133] INFO: task tee:4850 blocked for more than 120 seconds. <3>[ 1800.680451] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. <6>[ 1800.680840] tee D 0000000000000000 0 4850 4231 0x00000000 <3>[ 1800.681485] BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/369 <4>[ 1800.681881] caller is show_stack_log_lvl+0x32/0x170 <4>[ 1800.682145] Pid: 369, comm: khungtaskd Not tainted 2.6.32-rc8-wl #194 <4>[ 1800.682463] Call Trace: <4>[ 1800.682648] [] debug_smp_processor_id+0xcb/0xe0 <4>[ 1800.682961] [] show_stack_log_lvl+0x32/0x170 <4>[ 1800.683272] [] ? printk+0x3c/0x41 <4>[ 1800.683538] [] show_stack+0x17/0x20 <4>[ 1800.683808] [] sched_show_task+0x92/0x100 <4>[ 1800.684089] [] watchdog+0x27d/0x2e0 <4>[ 1800.684351] [] ? watchdog+0x6d/0x2e0 <4>[ 1800.684626] [] ? _spin_unlock_irqrestore+0x6e/0x80 <4>[ 1800.684934] [] ? watchdog+0x0/0x2e0 <4>[ 1800.685202] [] kthread+0x8e/0xa0 <4>[ 1800.685456] [] child_rip+0xa/0x20 <4>[ 1800.685727] [] ? restore_args+0x0/0x30 <4>[ 1800.685999] [] ? kthread+0x0/0xa0 <4>[ 1800.686255] [] ? child_rip+0x0/0x20 <4>[ 1800.686515] ffff88007e0cf828 0000000000000046 0000000000000000 0000000000000000 <4>[ 1800.687149] 0000000000000000 0000000000000000 ffff880002213c58 0000000000000002 <4>[ 1800.687784] ffff88000220efc8 00000001000202b4 ffff88007f932218 ffff88007e0cffd8 <4>[ 1800.688421] Call Trace: <4>[ 1800.688594] [] schedule_timeout+0x205/0x270 <4>[ 1800.688888] [] ? mark_held_locks+0x6b/0xa0 <4>[ 1800.689172] [] ? _spin_unlock_irq+0x2b/0x60 <4>[ 1800.689462] [] ? trace_hardirqs_on_caller+0x145/0x190 <4>[ 1800.689781] [] __down_timeout+0x6d/0xb0 <4>[ 1800.690095] [] ? down_timeout+0x1f/0x60 <4>[ 1800.690387] [] down_timeout+0x58/0x60 <4>[ 1800.690659] [] acpi_os_wait_semaphore+0x49/0x57 <4>[ 1800.690964] [] acpi_ex_system_wait_semaphore+0x3c/0x4f <4>[ 1800.691285] [] acpi_ev_acquire_global_lock+0xbf/0xc3 <4>[ 1800.691600] [] acpi_ex_acquire_mutex_object+0x39/0x63 <4>[ 1800.691917] [] acpi_ex_acquire_global_lock+0x24/0x46 <4>[ 1800.692233] [] acpi_ex_read_data_from_field+0x121/0x16f <4>[ 1800.692566] [] ? trace_hardirqs_on+0xd/0x10 <4>[ 1800.692865] [] acpi_ex_resolve_node_to_value+0x18c/0x218 <4>[ 1800.693207] [] acpi_ex_resolve_to_value+0x203/0x20c <4>[ 1800.693521] [] acpi_ds_evaluate_name_path+0x79/0xf5 <4>[ 1800.693838] [] acpi_ds_exec_end_op+0x96/0x3d6 <4>[ 1800.694132] [] acpi_ps_parse_loop+0x7bb/0x940 <4>[ 1800.694427] [] acpi_ps_parse_aml+0x9a/0x2d9 <4>[ 1800.694716] [] acpi_ps_execute_method+0x1e4/0x2b6 <4>[ 1800.695024] [] acpi_ns_evaluate+0xe1/0x1a8 <4>[ 1800.695309] [] acpi_evaluate_object+0x13d/0x236 <4>[ 1800.695612] [] ? mark_held_locks+0x6b/0xa0 <4>[ 1800.695897] [] acpi_evaluate_integer+0x2f/0x4d <4>[ 1800.696198] [] ? trace_hardirqs_on_caller+0x145/0x190 <4>[ 1800.696516] [] acpi_ac_get_state+0x36/0x6a <4>[ 1800.696806] [] acpi_ac_resume+0x27/0x59 <4>[ 1800.697082] [] acpi_device_resume+0x25/0x2b <4>[ 1800.697373] [] dpm_resume_end+0x4aa/0x500 <4>[ 1800.697658] [] hibernation_snapshot+0xc9/0x280 <4>[ 1800.697953] [] hibernate+0xed/0x1f0 <4>[ 1800.698218] [] state_store+0xec/0x100 <4>[ 1800.698488] [] kobj_attr_store+0x17/0x20 <4>[ 1800.698780] [] sysfs_write_file+0xd4/0x150 <4>[ 1800.699066] [] vfs_write+0xb8/0x1a0 <4>[ 1800.699342] [] sys_write+0x4c/0x80 <4>[ 1800.699602] [] system_call_fastpath+0x16/0x1b <4>[ 1800.699914] 2 locks held by tee/4850: <4>[ 1800.700179] #0: (&buffer->mutex){+.+.+.}, at: [] sysfs_write_file+0x3f/0x150 <4>[ 1800.700838] #1: (pm_mutex){+.+.+.}, at: [] hibernate+0x17/0x1f0 <0>[ 1800.701438] Kernel panic - not syncing: hung_task: blocked tasks <4>[ 1800.701716] Pid: 369, comm: khungtaskd Not tainted 2.6.32-rc8-wl #194 <4>[ 1800.702009] Call Trace: <4>[ 1800.702169] [] panic+0x7d/0x13a <4>[ 1800.702408] [] watchdog+0x2a9/0x2e0 <4>[ 1800.702664] [] ? watchdog+0x6d/0x2e0 <4>[ 1800.702945] [] ? _spin_unlock_irqrestore+0x6e/0x80 <4>[ 1800.703238] [] ? watchdog+0x0/0x2e0 <4>[ 1800.703489] [] kthread+0x8e/0xa0 <4>[ 1800.703731] [] child_rip+0xa/0x20 <4>[ 1800.703975] [] ? restore_args+0x0/0x30 <4>[ 1800.704234] [] ? kthread+0x0/0xa0 <4>[ 1800.704482] [] ? child_rip+0x0/0x20 <0>[ 1800.704796] Rebooting in 60 seconds..