Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757842AbZKYPUF (ORCPT ); Wed, 25 Nov 2009 10:20:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757664AbZKYPUE (ORCPT ); Wed, 25 Nov 2009 10:20:04 -0500 Received: from cantor.suse.de ([195.135.220.2]:46512 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755655AbZKYPUB (ORCPT ); Wed, 25 Nov 2009 10:20:01 -0500 Subject: Re: BUG at scsi_lib.c:1108 [Was: mmotm 2009-11-24-16-47 uploaded] From: James Bottomley To: Jiri Slaby Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mm-commits@vger.kernel.org, linux-scsi@vger.kernel.org, Jens Axboe In-Reply-To: <4B0D4949.4090109@gmail.com> References: <200911250111.nAP1BFg5030254@imap1.linux-foundation.org> <4B0D4949.4090109@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 25 Nov 2009 09:19:59 -0600 Message-Id: <1259162399.2535.8.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3877 Lines: 91 On Wed, 2009-11-25 at 16:12 +0100, Jiri Slaby wrote: > On 11/25/2009 01:47 AM, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2009-11-24-16-47 has been uploaded to > > Hi, I'm hitting the BUG below in the past two -mmotm's > (2009-11-24-16-47, 2009-11-17-14-03): So this looks like some type of bug in the barrier code. What the BUG_ON is saying is that something sent us a REQ_TYPE_FS (which should be a filesystem read or write) with no attached data, so we can't process it. I've cc'd Jens to see what he thinks. Could you bisect this to find the offending commit? Thanks, James > kernel BUG at /home/l/latest/xxx/drivers/scsi/scsi_lib.c:1108! > invalid opcode: 0000 [#1] SMP > last sysfs file: /sys/kernel/uevent_seqnum > CPU 1 > Modules linked in: ath5k ath > Pid: 10, comm: events/1 Not tainted 2.6.32-rc8-mm1_64 #905 To Be Filled > By O.E.M. > RIP: 0010:[] [] > scsi_setup_fs_cmnd+0x8a/0xa0 > RSP: 0018:ffff8801cb88db20 EFLAGS: 00010046 > RAX: 0000000000000000 RBX: ffff8801c472b800 RCX: ffff8801c403a000 > RDX: 0000000001082421 RSI: ffff8801c3d01000 RDI: ffff8801c472b800 > RBP: ffff8801cb88db30 R08: 0000000000000000 R09: 0000000000000000 > R10: ffff8801c53e68a0 R11: 0000000000000000 R12: ffff8801c3d01000 > R13: ffff8801c472b800 R14: 0000000000000000 R15: ffff8801c472b848 > FS: 0000000000000000(0000) GS:ffff880028280000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b > CR2: 00007f401b0065c0 CR3: 00000001c3e03000 CR4: 00000000000006e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process events/1 (pid: 10, threadinfo ffff8801cb88c000, task > ffff8801cb864140) > Stack: > ffff8801c3d01000 ffff8801c53e68a0 ffff8801cb88dba0 ffffffff81299550 > <0> ffff8801cb88db90 ffffffff81193a2a ffff8801cb88dba0 ffff8801c403a000 > <0> 0000000000000000 ffff8801c4038b60 ffff8801c3d01000 ffff8801c3d01000 > Call Trace: > [] sd_prep_fn+0x80/0x800 > [] ? cfq_remove_request+0x14a/0x1d0 > [] blk_peek_request+0xca/0x1a0 > [] scsi_request_fn+0x56/0x3e0 > [] __blk_run_queue+0x6b/0x140 > [] elv_insert+0x144/0x1a0 > [] __elv_add_request+0x62/0xc0 > [] __make_request+0x129/0x3f0 > [] generic_make_request+0x19f/0x360 > [] ? generic_make_request+0x19f/0x360 > [] submit_bio+0x68/0xe0 > [] md_submit_barrier+0xe4/0x170 > [] ? md_submit_barrier+0x0/0x170 > [] worker_thread+0x12c/0x200 > [] ? autoremove_wake_function+0x0/0x40 > [] ? worker_thread+0x0/0x200 > [] kthread+0x8e/0xa0 > [] child_rip+0xa/0x20 > [] ? kthread+0x0/0xa0 > [] ? child_rip+0x0/0x20 > Code: 41 5c c9 c3 48 8b 00 48 85 c0 74 b7 48 8b 40 48 48 85 c0 74 ae 4c > 89 e6 48 89 df ff d0 85 c0 74 a2 eb dc b0 02 0f 1f 40 00 eb d4 <0f> 0b > 0f 1f 40 00 eb fa 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 > RIP [] scsi_setup_fs_cmnd+0x8a/0xa0 > RSP > ---[ end trace 64ebbf58ad5b90ce ]--- > > > > > > I have raids 0 and 1, ext3 on the former, LVM+ext3 on the latter. It is > 100% reproducible, each time while booting. But even after some services > start (opensuse 11.2). Plain singlemode doesn't trigger it. I didn't > investigate that further though. > > regards, -- 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/