Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 11 Jan 2003 12:41:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 11 Jan 2003 12:40:56 -0500 Received: from packet.digeo.com ([12.110.80.53]:9628 "EHLO packet.digeo.com") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Sat, 11 Jan 2003 12:40:53 -0500 Content-Type: text/plain; charset=US-ASCII From: Andrew Morton To: "Paul Rolland" , Subject: Re: [BUG - 2.5.56] bad: scheduling while atomic Date: Sat, 11 Jan 2003 09:49:48 -0800 User-Agent: KMail/1.4.3 Cc: , linux-scsi@vger.kernel.org References: <003d01c2b95d$e7a6a370$2101a8c0@witbe> In-Reply-To: <003d01c2b95d$e7a6a370$2101a8c0@witbe> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200301110949.48169.akpm@digeo.com> X-OriginalArrivalTime: 11 Jan 2003 17:49:34.0299 (UTC) FILETIME=[CD29AAB0:01C2B999] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1752 Lines: 52 On Sat January 11 2003 02:40, Paul Rolland wrote: > > Hello, > > Trying 2.5.56 this morning, I ended up with the trace included below. > To get that, I simply added a > "hdd=ide-scsi" > to the append line of my lilo.conf. > Without it, Linux boots fine, but of course doesn't used my IDE > cdrom writer. > > The complete log of the boot process is after the trace. If you > need more infos, please say so. > > Regards, > Paul > > ide-scsi: abort called for 21 > bad: scheduling while atomic! > Call Trace: > [] schedule+0x301/0x306 > [] __down+0x99/0x102 > [] default_wake_function+0x0/0x3e > [] call_console_drivers+0x5d/0x114 > [] __down_failed+0x8/0xc > [] .text.lock.scsi_error+0x2d/0x52 > [] scsi_sleep_done+0x0/0x12 > [] idescsi_abort+0x102/0x10c > [] scsi_try_to_abort_cmd+0x63/0x7e > [] scsi_eh_abort_cmd+0x33/0x64 > [] scsi_unjam_host+0x9e/0xe8 > [] __down_failed_interruptible+0x7/0xc > [] scsi_error_handler+0xdb/0x10a > [] scsi_error_handler+0x0/0x10a > [] kernel_thread_helper+0x5/0xc Well this backtrace is not the reason why ide-scsi fails to work - it is being triggered as a consequence of the I/O failure. This trace is due to the following bug: scsi_try_to_abort_cmd() takes spin_lock_irqsave(scmd->host->host_lock, flags); then it calls ide_scsi_abort() ide_scsi_abort() calls scsi_sleep(), still inside ->host_lock. - 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/