From mboxrd@z Thu Jan 1 00:00:00 1970 From: Badari Pulavarty Subject: DIO panic on 2.6.21.5 Date: Wed, 27 Jun 2007 20:01:45 -0700 Message-ID: <46832499.40807@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit To: linux-fsdevel , Zach Brown Return-path: Received: from e4.ny.us.ibm.com ([32.97.182.144]:45205 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759235AbXF1DBe (ORCPT ); Wed, 27 Jun 2007 23:01:34 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l5S31Xxf026077 for ; Wed, 27 Jun 2007 23:01:33 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l5S31XXk395150 for ; Wed, 27 Jun 2007 23:01:33 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l5S31Xvf000332 for ; Wed, 27 Jun 2007 23:01:33 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi Zach, One of our perf. team ran into this while doing some runs. I didn't see anything obvious - it looks like we converted async IO to synchronous one. I didn't spend much time digging around. Is this a known issue ? Any ideas ? Thanks, Badari ------------[ cut here ]------------ kernel BUG at fs/direct-io.c:1113! invalid opcode: 0000 [1] SMP CPU 11 Modules linked in: oprofile raw capability commoncap qla2xxx ipv6 button battery ac loop dm_mod tg3 ext3 jbd edd fan thermal processor scsi_transport_fc sg aic94xx libsas firmware_class scsi_transport_sas serverworks sd_mod scsePid: 9709, comm: db2sysc Not tainted 2.6.21.5-smp #1 RIP: 0010:[] [] __blockdev_direct_IO+0x96c/0xa4a RSP: 0018:ffff810c3d3efc08 EFLAGS: 00010202 RAX: 0000000000000246 RBX: ffff810041768b24 RCX: ffffffff80406918 RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffff810041768b24 RBP: ffff810041768800 R08: 0000000000000086 R09: ffff81003f0a2370 R10: ffff810c3f3ee9d8 R11: ffffffff802e9716 R12: 0000000000000001 R13: fffffffffffffdef R14: ffff810c5beb42b0 R15: 0000000000000000 FS: 00002b3d14ffe940(0000) GS:ffff810c444c95c0(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002b3e84f57000 CR3: 000000004511c000 CR4: 00000000000006e0 Process db2sysc (pid: 9709, threadinfo ffff810c3d3ee000, task ffff810041fee760) Stack: ffff810c42f0fbc0 000000004c1f4000 ffff811836306d48 00000011803e7f95 0000000000000009 0000000000000000 0000000000000008 0000000000000000 ffff810041fee760 0000000900000001 0000000000000001 ffff810024ac9948 Call Trace: [] blkdev_direct_IO+0x45/0x4a [] blkdev_get_blocks+0x0/0x96 [] generic_file_direct_IO+0xbd/0xfb [] generic_file_direct_write+0x60/0xf5 [] __generic_file_aio_write_nolock+0x2e7/0x410 [] aio_read_evt+0x9a/0x108 [] generic_file_aio_write_nolock+0x34/0x80 [] generic_file_aio_write_nolock+0x0/0x80 [] aio_rw_vect_retry+0x72/0x14a [] aio_run_iocb+0x9a/0x134 [] io_submit_one+0x311/0x35e [] sys_io_submit+0x9b/0x101 [] default_wake_function+0x0/0xe [] system_call+0x7e/0x83 Code: 0f 0b eb fe 4d 85 e4 75 1d 48 8b 74 24 08 44 89 ea 48 89 ef RIP [] __blockdev_direct_IO+0x96c/0xa4a RSP