From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from magic.merlins.org ([209.81.13.136]:35327 "EHLO mail1.merlins.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754020Ab2IUDqx (ORCPT ); Thu, 20 Sep 2012 23:46:53 -0400 Received: from [173.11.111.150] (port=46709 helo=gandalfthegreat.merlins.org) by mail1.merlins.org with esmtpa (Exim 4.77 #2) id 1TEuCb-0001u3-7W by authid with srv_auth_plain for ; Thu, 20 Sep 2012 20:46:53 -0700 Received: from merlin by gandalfthegreat.merlins.org with local (Exim 4.77) (envelope-from ) id 1TEuCa-0004XQ-9M for linux-btrfs@vger.kernel.org; Thu, 20 Sep 2012 20:46:52 -0700 Date: Thu, 20 Sep 2012 20:46:52 -0700 From: Marc MERLIN To: linux-btrfs@vger.kernel.org Subject: Re: kernel BUG at fs/btrfs/extent_io.c:1884! Message-ID: <20120921034652.GA871@merlins.org> References: <20120920171747.GG26105@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120920171747.GG26105@merlins.org> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Thu, Sep 20, 2012 at 10:17:47AM -0700, Marc MERLIN wrote: > I had a btrfs built on top of 5 drives (dmcrypt devices). > > The drive then died while I was writing to the filesystem and my system > crashed and rebooted: > > [384555.534020] sd 10:0:0:0: rejecting I/O to offline device > [384555.535057] sd 10:0:0:0: rejecting I/O to offline device > [384556.666885] ------------[ cut here ]------------ > [384556.667909] sd 10:0:0:0: [sdj] Synchronizing SCSI cache > [384556.677509] kernel BUG at fs/btrfs/ctree.c:3451! > [384556.682551] invalid opcode: 0000 [#1] PREEMPT SMP > [384556.687878] CPU 2 > Oh my, now I'm trying again with a new drive, and a big cp from an existing array to a new one dies with: [32042.079411] ------------[ cut here ]------------ [32042.085799] kernel BUG at fs/btrfs/extent_io.c:1884! [32042.092528] invalid opcode: 0000 [#1] PREEMPT SMP [32042.099227] CPU 1 [32042.101095] Modules linked in:[32042.105950] raid456 async_raid6_recov async _pq raid6_pq async_xor xor async_memcpy async_tx ppdev lp tun autofs4 kl5kusb105 ftdi_sio keyspan nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc rc_ati_x10 s nd_timer i915 usbserial snd drm_kms_helper eeepc_wmi drm ati_remote asus_wmi rc_ core sparse_keymap int repair_io_failure(struct btrfs_mapping_tree *map_tree, u64 start, u64 length, u64 logical, struct page *page, int mirror_num) { struct bio *bio; struct btrfs_device *dev; DECLARE_COMPLETION_ONSTACK(compl); u64 map_length = 0; u64 sector; struct btrfs_bio *bbio = NULL; int ret; BUG_ON(!mirror_num); <<<<< This is more of a problem since I can't backup my filesystem (source is ext4 and destination is btrfs). Any suggestion on what went wrong here? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/