Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Oct 2002 13:03:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Oct 2002 13:03:38 -0400 Received: from smtp.urbanet.ch ([195.202.193.135]:44963 "HELO smtp.urbanet.ch") by vger.kernel.org with SMTP id ; Thu, 10 Oct 2002 13:03:37 -0400 From: Sylvain Pasche MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15781.46151.531066.683163@yahoo.fr> Date: Thu, 10 Oct 2002 19:09:27 +0200 To: linux-kernel@vger.kernel.org Subject: 2.5.41 Autofs4: bad: scheduling while atomic! X-Mailer: VM 7.04 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1583 Lines: 40 bad: scheduling while atomic! Call Trace: [] schedule+0x3d/0x4d4 [] smp_apic_timer_interrupt+0x111/0x124 [] need_resched+0x1f/0x2a [] sysvipc_sem_read_proc+0x1b0/0x227 [] serial_in+0x45/0x4c [] serial8250_console_write+0x5d/0x1cc [] __call_console_drivers+0x3e/0x50 [] _call_console_drivers+0x53/0x58 [] call_console_drivers+0xb5/0xe0 [] release_console_sem+0xc3/0x164 [] printk+0x1a7/0x1f4 [] __might_sleep+0x4f/0x58 [] kmalloc+0x5a/0x324 [] wake_up_buffer+0xb/0x28 [] autofs4_wait+0x8f/0x330 [autofs4] [] try_to_fill_dentry+0x3b/0x178 [autofs4] [] autofs4_root_revalidate+0x152/0x1a4 [autofs4] [] autofs4_root_lookup+0xe9/0x1e0 [autofs4] [] real_lookup+0x60/0xe8 [] do_lookup+0xe8/0x2d0 [] link_path_walk+0x666/0xa8c [] path_lookup+0x207/0x20c [] __user_walk+0x28/0x40 [] vfs_lstat+0x16/0x44 [] sys_lstat64+0x13/0x30 [] sys_brk+0xc4/0xf0 [] error_code+0x2d/0x38 [] syscall_call+0x7/0xb Really not sure about it, but there is a lock_kernel() call in the autofs4_root_lookup(). Maybe that's what is creating the atomic context ? - 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/