From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.scalarmail.ca ([98.158.95.75]:39856 "EHLO ironport-01.sms.scalar.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750900Ab2GEUEw (ORCPT ); Thu, 5 Jul 2012 16:04:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by sms-zimbra-mta-02.sms.scalar.ca (Postfix) with ESMTP id 191B287BDC for ; Thu, 5 Jul 2012 15:52:50 -0400 (EDT) Received: from sms-zimbra-mta-02.sms.scalar.ca ([127.0.0.1]) by localhost (sms-zimbra-mta-02.sms.scalar.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q2OVZYDSwfRH for ; Thu, 5 Jul 2012 15:52:47 -0400 (EDT) Received: from mail.ellipticsemi.com (dsl-67-204-24-19.acanac.net [67.204.24.19]) (Authenticated sender: nbowler@elliptictech.com) by sms-zimbra-mta-02.sms.scalar.ca (Postfix) with ESMTPSA id 218D94C09E for ; Thu, 5 Jul 2012 15:52:44 -0400 (EDT) Date: Thu, 5 Jul 2012 15:52:43 -0400 From: Nick Bowler To: linux-btrfs@vger.kernel.org Subject: Oops on mounting (presumably damaged) btrfs filesystem Message-ID: <20120705195243.GA11787@elliptictech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hi folks, I got bored while running the Debian installer (installing to btrfs) so I hard-reset the machine during install. The filesystem presumably suffered due to the reset, but I'm now getting oopses on attempts to mount it again. I get dropped back to the shell after the first attempt, attempting to mount it again appears to hang forever. All of this was with Linus' git as of yesterday (July 4th, 2012). Oops output is appended. The crash seems to be reproducible, so I can probably test things on the image I'm creating of it now. btrfs: bdev /dev/mmcblk0p2 errs: wr 0, rd 0, flush 0, corrupt 0, gen 0 Btrfs detected SSD devices, enabling SSD mode ------------[ cut here ]------------ kernel BUG at /scratch_space/linux/fs/btrfs/inode.c:3758! Internal error: Oops - BUG: 0 [#1] PREEMPT ARM Modules linked in: CPU: 0 Not tainted (3.5.0-rc5-00017-g3fbd764 #89) PC is at btrfs_evict_inode+0xcc/0x324 LR is at btrfs_lookup_first_ordered_extent+0x6c/0xdc pc : [] lr : [] psr: 60000013 sp : ef18dc70 ip : 00000000 fp : ef342200 r10: eec6b150 r9 : ef35e800 r8 : 00001000 r7 : 00001000 r6 : ffffffff r5 : eec6b150 r4 : ef37cc00 r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 18c5387d Table: 2f36c059 DAC: 00000015 Process exe (pid: 36, stack limit = 0xef18c2e8) Stack: (0xef18dc70 to 0xef18e000) dc60: ffffffff ffffffff ef1ed4c0 c0035fc8 dc80: ef18dc80 eec6b150 c03d2218 ffffffff ffffffff eec1c428 ef35e800 eec6b150 dca0: ef342200 c00a12d8 00000000 eec18738 ef37cc00 c01d29d8 00000001 00000001 dcc0: eec186c8 fff986d0 ffffffff 9930ffff 00000015 f9000000 ffffffff 30ffffff dce0: 00001599 00000000 eec18738 eec18738 ef35e000 ef35c000 00000000 eec1c428 dd00: ef35e400 c01d5bd0 00000000 00000000 00000077 00000000 00000000 00000000 dd20: 00000000 00000002 ef37cc00 eec1c428 c01d4690 fffffffa ffffffff ffffff84 dd40: ffffffff fffffaff ffffffff 010084ff 00000000 01000000 00000000 ff840000 dd60: ffffffff faffffff ffffffff 84ffffff 00000100 00000000 ef342200 ef35e400 dd80: 00001000 ef35c000 ef358000 ef344000 ef35c3cc c018fae4 00001000 ef35c000 dda0: 00000077 00000000 00000076 00000000 08fcd000 00000000 ef3280c0 ef344400 ddc0: ef344800 ef35c1a8 00001000 ef35e800 ef35c2bc ef35c2ec ef35c40c ef35c44c dde0: ef35c5cc ef35c60c ef35c68c ef35c48c ef35c4cc ef35c50c ef35c54c ef35c58c de00: ef35c6cc ef35c64c 00001000 00001000 ef35c304 ef35c0ac 00000003 c0749f50 de20: 10008000 c0220ffc ef18de8c 00000009 00000000 00000000 c0749f50 ef342200 de40: ef35c000 00000001 00000000 ef35c000 00000003 c0749f50 10008000 c016763c de60: eec0c050 ef18dec8 ef18c000 c0096938 ef18de88 ef18dea3 00000000 00000000 de80: ef0f1240 00000000 00000000 62636d6d 70306b6c ef180032 c076a368 0000000e dea0: ef006840 00000000 ef18c000 c0219e04 ef18dec8 ef0101b8 00000000 c0088824 dec0: c076b414 ef3280c0 c076a368 ef0f1240 0000000f ef00fec0 c0749f50 00008000 dee0: 00000000 c0749f50 ef18c000 ef31c1c0 001803b9 c008e1e4 c0749f50 00008000 df00: ef00fec0 ef0f1240 00008000 c00a47c8 c0749f50 ef31c1c0 00000000 ef0f1240 df20: 00008000 c00a4870 00000020 ef0f1240 00008000 00008000 00000000 c00a6454 df40: ef00fb10 eec101a0 00000000 0000000f beadffbe c0071184 ef12c000 beadffbe df60: 00008000 00000000 c000d8a4 ef18c000 00000000 c00a6560 00000000 ef1ed4c0 df80: c001f224 ef31c1c0 ef0f1240 00000000 00000000 00000000 00000000 beadffbe dfa0: 00000015 c000d700 00000000 00000000 beadffbe beadffcd 001971e0 00008000 dfc0: 00000000 00000000 beadffbe 00000015 beadffcd 00000000 001971e0 001803b9 dfe0: 001964e0 beadfb08 0007263c 0000b960 60000010 beadffbe 00000100 00000000 [] (btrfs_evict_inode+0xcc/0x324) from [] (evict+0xc0/0x1a0) [] (evict+0xc0/0x1a0) from [] (fixup_inode_link_counts+0x210/0x24c) [] (fixup_inode_link_counts+0x210/0x24c) from [] (btrfs_recover_log_trees+0x3b4/0x53c) [] (btrfs_recover_log_trees+0x3b4/0x53c) from [] (open_ctree+0x12d8/0x1628) [] (open_ctree+0x12d8/0x1628) from [] (btrfs_mount+0x448/0x8cc) [] (btrfs_mount+0x448/0x8cc) from [] (mount_fs+0x10/0xb0) [] (mount_fs+0x10/0xb0) from [] (vfs_kern_mount+0x4c/0xc0) [] (vfs_kern_mount+0x4c/0xc0) from [] (do_kern_mount+0x34/0xd0) [] (do_kern_mount+0x34/0xd0) from [] (do_mount+0x634/0x6b4) [] (do_mount+0x634/0x6b4) from [] (sys_mount+0x84/0xc4) [] (sys_mount+0x84/0xc4) from [] (ret_fast_syscall+0x0/0x30) Code: 0a000003 e5153068 e3130020 1a000090 (e7f001f2) ---[ end trace 17a5b691ca137350 ]--- Let me know if you need any more info, -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)