Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762594AbXKNESa (ORCPT ); Tue, 13 Nov 2007 23:18:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761251AbXKNESN (ORCPT ); Tue, 13 Nov 2007 23:18:13 -0500 Received: from fk-out-0910.google.com ([209.85.128.189]:30788 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758840AbXKNESK (ORCPT ); Tue, 13 Nov 2007 23:18:10 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=eBHagI8rPG/7fpj2OU0ecxIShCL0J0hplaZFQG+96Q9ug8APHiS+Pu8O9fvHytJDlP4W5WhBgMKyyUg36XY92rsvID/vI4RHCkjiIJGWJ/sBz27vvJwaQYX5Hcehiin/L+P1mie2XyYlq+35cuX+19NJgGE5fNOPEva4rd4MSAU= Message-ID: <473A76FA.4050701@googlemail.com> Date: Wed, 14 Nov 2007 05:18:02 +0100 From: Gabriel C User-Agent: Thunderbird 2.0.0.6 (X11/20071004) MIME-Version: 1.0 To: Andrew Morton CC: linux-kernel@vger.kernel.org, Mark Gross Subject: Re: 2.6.24-rc2-mm1 References: <20071113175906.497a1a6a.akpm@linux-foundation.org> <473A678C.2020507@googlemail.com> In-Reply-To: <473A678C.2020507@googlemail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11379 Lines: 200 Gabriel C wrote: > Andrew Morton wrote: >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc2/2.6.24-rc2-mm1/ > > I got it to boot but .. > > ... > [ 45.030261] input: Power Button (CM) as /devices/virtual/input/input4 > [ 45.031331] BUG: sleeping function called from invalid context at kernel/rwsem.c:47 > [ 45.031560] in_atomic():0, irqs_disabled():1 > [ 45.031569] 1 lock held by modprobe/2105: > [ 45.031574] #0: (pm_qos_lock){....}, at: [] pm_qos_add_notifier+0x14/0x3c > [ 45.031606] irq event stamp: 4036 > [ 45.031612] hardirqs last enabled at (4035): [] debug_check_no_locks_freed+0xf9/0x105 > [ 45.031632] hardirqs last disabled at (4036): [] _spin_lock_irqsave+0x10/0x55 > [ 45.031653] softirqs last enabled at (3710): [] __do_softirq+0xe9/0xf1 > [ 45.031670] softirqs last disabled at (3703): [] do_softirq+0x3a/0x52 > [ 45.031685] [] show_trace_log_lvl+0x12/0x25 > [ 45.031702] [] show_trace+0xd/0x10 > [ 45.031717] [] dump_stack+0x16/0x18 > [ 45.031728] [] __might_sleep+0xc2/0xc9 > [ 45.031740] [] down_write+0x17/0x6f > [ 45.031754] [] blocking_notifier_chain_register+0x26/0x3f > [ 45.031766] [] pm_qos_add_notifier+0x27/0x3c > [ 45.031778] [] acpi_processor_power_init+0x4d/0x164 [processor] > [ 45.031802] [] acpi_processor_start+0x503/0x556 [processor] > [ 45.031820] [] acpi_start_single_object+0x20/0x3d > [ 45.031837] [] acpi_device_probe+0x78/0x88 > [ 45.031850] [] driver_probe_device+0xb2/0x12d > [ 45.031866] [] __driver_attach+0x76/0xaf > [ 45.031878] [] bus_for_each_dev+0x3e/0x60 > [ 45.031889] [] driver_attach+0x14/0x16 > [ 45.031899] [] bus_add_driver+0x7a/0x180 > [ 45.031909] [] driver_register+0x57/0x5c > [ 45.031918] [] acpi_bus_register_driver+0x3a/0x3c > [ 45.031929] [] acpi_processor_init+0x73/0xc5 [processor] > [ 45.031943] [] sys_init_module+0x14e3/0x15ae > [ 45.031958] [] sysenter_past_esp+0x5f/0xa5 > [ 45.031969] ======================= > [ 45.032213] ACPI: Invalid PBLK length [0] > [ 45.032465] ACPI: Invalid PBLK length [0] > [ 45.032656] ACPI: Invalid PBLK length [0] > > ... > > ... > [ 102.331554] BUG: sleeping function called from invalid context at kernel/rwsem.c:20 > [ 102.331575] in_atomic():0, irqs_disabled():1 > [ 102.331583] 1 lock held by artsd/4385: > [ 102.331589] #0: (pm_qos_lock){....}, at: [] pm_qos_add_requirement+0x5a/0x98 > [ 102.331619] irq event stamp: 19022 > [ 102.331624] hardirqs last enabled at (19021): [] _spin_unlock_irqrestore+0x36/0x3c > [ 102.331641] hardirqs last disabled at (19022): [] _spin_lock_irqsave+0x10/0x55 > [ 102.331655] softirqs last enabled at (18846): [] __do_softirq+0xe9/0xf1 > [ 102.331672] softirqs last disabled at (18839): [] do_softirq+0x3a/0x52 > [ 102.331688] [] show_trace_log_lvl+0x12/0x25 > [ 102.331704] [] show_trace+0xd/0x10 > [ 102.331715] [] dump_stack+0x16/0x18 > [ 102.331727] [] __might_sleep+0xc2/0xc9 > [ 102.331739] [] down_read+0x16/0x6a > [ 102.331750] [] __blocking_notifier_call_chain+0x24/0x4c > [ 102.331761] [] blocking_notifier_call_chain+0xc/0xe > [ 102.331773] [] update_target+0x3e/0x43 > [ 102.331784] [] pm_qos_add_requirement+0x76/0x98 > [ 102.331795] [] snd_pcm_hw_params_user+0x2b1/0x302 > [ 102.331811] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.331825] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.331840] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.331853] [] vfs_ioctl+0x22/0x67 > [ 102.331867] [] do_vfs_ioctl+0x25a/0x268 > [ 102.331878] [] sys_ioctl+0x2c/0x45 > [ 102.331889] [] sysenter_past_esp+0x5f/0xa5 > [ 102.331901] ======================= > [ 102.331911] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask() > [ 102.331920] [] show_trace_log_lvl+0x12/0x25 > [ 102.331932] [] show_trace+0xd/0x10 > [ 102.331944] [] dump_stack+0x16/0x18 > [ 102.331955] [] native_smp_call_function_mask+0x39/0x11d > [ 102.331970] [] smp_call_function+0x18/0x1d > [ 102.331984] [] acpi_processor_latency_notify+0x13/0x1a [processor] > [ 102.332011] [] notifier_call_chain+0x2b/0x4a > [ 102.332023] [] __blocking_notifier_call_chain+0x37/0x4c > [ 102.332035] [] blocking_notifier_call_chain+0xc/0xe > [ 102.332047] [] update_target+0x3e/0x43 > [ 102.332058] [] pm_qos_add_requirement+0x76/0x98 > [ 102.332070] [] snd_pcm_hw_params_user+0x2b1/0x302 > [ 102.332085] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.332097] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.332111] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.332123] [] vfs_ioctl+0x22/0x67 > [ 102.332134] [] do_vfs_ioctl+0x25a/0x268 > [ 102.332146] [] sys_ioctl+0x2c/0x45 > [ 102.332156] [] sysenter_past_esp+0x5f/0xa5 > [ 102.332167] ======================= > [ 102.357016] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask() > [ 102.357034] [] show_trace_log_lvl+0x12/0x25 > [ 102.357058] [] show_trace+0xd/0x10 > [ 102.357072] [] dump_stack+0x16/0x18 > [ 102.357083] [] native_smp_call_function_mask+0x39/0x11d > [ 102.357100] [] smp_call_function+0x18/0x1d > [ 102.357113] [] acpi_processor_latency_notify+0x13/0x1a [processor] > [ 102.357141] [] notifier_call_chain+0x2b/0x4a > [ 102.357155] [] __blocking_notifier_call_chain+0x37/0x4c > [ 102.357166] [] blocking_notifier_call_chain+0xc/0xe > [ 102.357178] [] update_target+0x3e/0x43 > [ 102.357190] [] pm_qos_remove_requirement+0x65/0x87 > [ 102.357200] [] snd_pcm_hw_params_user+0x276/0x302 > [ 102.357215] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.357227] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.357239] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.357251] [] vfs_ioctl+0x22/0x67 > [ 102.357264] [] do_vfs_ioctl+0x25a/0x268 > [ 102.357276] [] sys_ioctl+0x2c/0x45 > [ 102.357286] [] sysenter_past_esp+0x5f/0xa5 > [ 102.357296] ======================= > [ 102.357325] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask() > [ 102.357332] [] show_trace_log_lvl+0x12/0x25 > [ 102.357345] [] show_trace+0xd/0x10 > [ 102.357356] [] dump_stack+0x16/0x18 > [ 102.357367] [] native_smp_call_function_mask+0x39/0x11d > [ 102.357378] [] smp_call_function+0x18/0x1d > [ 102.357391] [] acpi_processor_latency_notify+0x13/0x1a [processor] > [ 102.357409] [] notifier_call_chain+0x2b/0x4a > [ 102.357421] [] __blocking_notifier_call_chain+0x37/0x4c > [ 102.357433] [] blocking_notifier_call_chain+0xc/0xe > [ 102.357443] [] update_target+0x3e/0x43 > [ 102.357454] [] pm_qos_add_requirement+0x76/0x98 > [ 102.357465] [] snd_pcm_hw_params_user+0x2b1/0x302 > [ 102.357477] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.357488] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.357500] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.357511] [] vfs_ioctl+0x22/0x67 > [ 102.357521] [] do_vfs_ioctl+0x25a/0x268 > [ 102.357532] [] sys_ioctl+0x2c/0x45 > [ 102.357542] [] sysenter_past_esp+0x5f/0xa5 > [ 102.357552] ======================= > [ 102.366346] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask() > [ 102.366358] [] show_trace_log_lvl+0x12/0x25 > [ 102.366380] [] show_trace+0xd/0x10 > [ 102.366393] [] dump_stack+0x16/0x18 > [ 102.366404] [] native_smp_call_function_mask+0x39/0x11d > [ 102.366420] [] smp_call_function+0x18/0x1d > [ 102.366434] [] acpi_processor_latency_notify+0x13/0x1a [processor] > [ 102.366460] [] notifier_call_chain+0x2b/0x4a > [ 102.366473] [] __blocking_notifier_call_chain+0x37/0x4c > [ 102.366486] [] blocking_notifier_call_chain+0xc/0xe > [ 102.366498] [] update_target+0x3e/0x43 > [ 102.366509] [] pm_qos_remove_requirement+0x65/0x87 > [ 102.366521] [] snd_pcm_hw_params_user+0x276/0x302 > [ 102.366537] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.366550] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.366563] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.366574] [] vfs_ioctl+0x22/0x67 > [ 102.366588] [] do_vfs_ioctl+0x25a/0x268 > [ 102.366600] [] sys_ioctl+0x2c/0x45 > [ 102.366611] [] sysenter_past_esp+0x5f/0xa5 > [ 102.366622] ======================= > [ 102.366690] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask() > [ 102.366698] [] show_trace_log_lvl+0x12/0x25 > [ 102.366711] [] show_trace+0xd/0x10 > [ 102.366722] [] dump_stack+0x16/0x18 > [ 102.366733] [] native_smp_call_function_mask+0x39/0x11d > [ 102.366747] [] smp_call_function+0x18/0x1d > [ 102.366759] [] acpi_processor_latency_notify+0x13/0x1a [processor] > [ 102.366778] [] notifier_call_chain+0x2b/0x4a > [ 102.366792] [] __blocking_notifier_call_chain+0x37/0x4c > [ 102.366805] [] blocking_notifier_call_chain+0xc/0xe > [ 102.366817] [] update_target+0x3e/0x43 > [ 102.366829] [] pm_qos_add_requirement+0x76/0x98 > [ 102.366840] [] snd_pcm_hw_params_user+0x2b1/0x302 > [ 102.366853] [] snd_pcm_common_ioctl1+0x17a/0xda3 > [ 102.366865] [] snd_pcm_playback_ioctl1+0x3ab/0x3c2 > [ 102.366879] [] snd_pcm_playback_ioctl+0x27/0x35 > [ 102.366892] [] vfs_ioctl+0x22/0x67 > [ 102.366902] [] do_vfs_ioctl+0x25a/0x268 > [ 102.366913] [] sys_ioctl+0x2c/0x45 > [ 102.366922] [] sysenter_past_esp+0x5f/0xa5 > [ 102.366932] ======================= > [ 108.552031] printk: 31 messages suppressed. All this BUG / WARNINGS are caused by *-qos* patches. Reverting this 3 patches makes the BUGs go away : latencyc-use-qos-infrastructure.patch pm-qos-infrastructure-and-interface.patch pm-qos-infrastructure-and-interface-static-initialization-with-blocking-notifiers.patch Gabriel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/