From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: RE: [Bugme-new] [Bug 11898] New: mke2fs hang on AIC79 device. Date: Thu, 30 Oct 2008 09:05:26 -0500 Message-ID: <1225375526.3250.15.camel@localhost.localdomain> References: <20081030015346.ef341e4f.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from accolon.hansenpartnership.com ([76.243.235.52]:60268 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172AbYJ3OFa (ORCPT ); Thu, 30 Oct 2008 10:05:30 -0400 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Shi, Alex" Cc: Andrew Morton , "bugme-daemon@bugzilla.kernel.org" , "linux-scsi@vger.kernel.org" , "yanming.zhang@intel.com" , "Chen, Tim C" On Thu, 2008-10-30 at 18:22 +0800, Shi, Alex wrote: > New panic output is attached after adding softlockup. New found: > 1, "strace mke2fs /dev/sdb1" works well. it just show many write(3, "\377\377...", 4096) =4096 .... > 2, when system hang, ping this machine is workable. And keyboard input works but cmd has no output. This doesn't entirely implicate the aic79xx. The trace shows: [] ? scsi_request_fn+0x31a/0x416 [] ? blk_invoke_request_fn+0x79/0x11d [] ? __blk_run_queue+0x2a/0x2e [] ? scsi_run_queue+0x2cd/0x2e4 [] ? scsi_next_command+0x3b/0x4c [] ? scsi_end_request+0x97/0xa9 [] ? scsi_io_completion+0x190/0x3a8 [] ? scsi_finish_command+0xb6/0xbf [] ? scsi_softirq_done+0x101/0x109 [] ? blk_done_softirq+0x68/0x79 [] ? __do_softirq+0x86/0x14f [] ? call_softirq+0x1c/0x28 [] ? do_softirq+0x39/0x77 [] ? irq_exit+0x44/0x46 [] ? do_IRQ+0xc8/0xe8 [] ? ret_from_intr+0x0/0xa [] ? mwait_idle+0x4a/0x4f [] ? enter_idle+0x27/0x29 [] ? cpu_idle+0x45/0x63 [] ? start_secondary+0x179/0x17d So we locked up somehow in the mid-layer trying to feed a new command from the softirq. It would greatly help to know what line in scsi_lib.c scsi_request_fn+0x31a/0x416 The trace implies SCSI is built in, so addr2line -e vmlinux -f scsi_request_fn+0x31a Should tell us (hoping you build with CONFIG_DEBUG_INFO). James