Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 5 Oct 2002 15:56:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 5 Oct 2002 15:56:21 -0400 Received: from svr-ganmtc-appserv-mgmt.ncf.coxexpress.com ([24.136.46.5]:47378 "EHLO svr-ganmtc-appserv-mgmt.ncf.coxexpress.com") by vger.kernel.org with ESMTP id ; Sat, 5 Oct 2002 15:56:18 -0400 Subject: Re: Some backtraces (2.5.40-bk4 smp+preempt) From: Robert Love To: Helge Hafting Cc: linux-kernel@vger.kernel.org In-Reply-To: <3D9F4A8A.190A6B5F@broadpark.no> References: <3D9F4A8A.190A6B5F@broadpark.no> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 05 Oct 2002 16:02:25 -0400 Message-Id: <1033848146.11402.4066.camel@phantasy> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3535 Lines: 102 On Sat, 2002-10-05 at 16:24, Helge Hafting wrote: Thanks for the report... > bad: scheduling while atomic! > Call Trace: > [] schedule+0x3d/0x4f4 > [] wait_for_completion+0x111/0x1c4 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] set_cpus_allowed+0x217/0x240 > [] migration_thread+0x50/0x53c > [] migration_thread+0x0/0x53c > [] kernel_thread_helper+0x5/0xc Known. Not a problem but needs to be fixed. set_cpus_allowed() sleeps with preemption disabled. > bad: scheduling while atomic! > Call Trace: [] schedule+0x3d/0x4f4 > [] wait_for_completion+0x111/0x1c4 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] set_cpus_allowed+0x217/0x240 > [] ksoftirqd+0x51/0xe0 > [] ksoftirqd+0x0/0xe0 > [] kernel_thread_helper+0x5/0xc Same thing. > bad: scheduling while atomic! > Call Trace: > [] schedule+0x3d/0x4f4 > [] wait_for_completion+0x111/0x1c4 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] set_cpus_allowed+0x217/0x240 > [] worker_thread+0x9e/0x4ac > [] worker_thread+0x0/0x4ac > [] ret_from_fork+0x5/0x14 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] kernel_thread_helper+0x5/0xc Same. > mtrr: v2.0 (20020519) > mtrr: your CPUs had inconsistent fixed MTRR settings > mtrr: probably your BIOS does not setup all CPUs This is really an annoying "message". Nearly every machine I see prints this. Can we just get rid of this? > bad: scheduling while atomic! > Call Trace: > [] schedule+0x3d/0x4f4 > [] wait_for_completion+0x111/0x1c4 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] set_cpus_allowed+0x217/0x240 > [] worker_thread+0x9e/0x4ac > [] worker_thread+0x0/0x4ac > [] ret_from_fork+0x5/0x14 > [] default_wake_function+0x0/0x34 > [] default_wake_function+0x0/0x34 > [] kernel_thread_helper+0x5/0xc Same. > Debug: sleeping function called from illegal context at > /usr/src/linux/include/a > sm/semaphore.h:119 > Call Trace: > [] __might_sleep+0x54/0x58 > [] snd_trident_alloc_pages+0x4b/0xdc > [] snd_trident_playback_hw_params+0xc5/0x190 > [] snd_pcm_hw_params+0xca/0x294 > [] snd_pcm_hw_params_user+0x6b/0xb4 > [] snd_pcm_common_ioctl1+0x15c/0x2bc > [] snd_pcm_playback_ioctl1+0x41e/0x42c > [] snd_pcm_kernel_playback_ioctl+0x27/0x30 > [] snd_pcm_kernel_ioctl+0x23/0x40 > [] snd_pcm_oss_change_params+0x429/0x66c > [] sym_queue_scsiio+0x1fa/0x204 > [] sym_start_next_ccbs+0xd7/0x10c > [] snd_pcm_oss_get_active_substream+0x32/0x50 > [] snd_pcm_oss_get_block_size+0x10/0x28 > [] snd_pcm_oss_ioctl+0x38a/0x768 > [] sys_ioctl+0x27f/0x2fb > [] syscall_call+0x7/0xb I believe this is known, too. Thank you, Robert Love - 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/