From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755169Ab1GEKPm (ORCPT ); Tue, 5 Jul 2011 06:15:42 -0400 Received: from frost.carfax.org.uk ([212.13.194.111]:52560 "EHLO frost.carfax.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395Ab1GEKPk (ORCPT ); Tue, 5 Jul 2011 06:15:40 -0400 Date: Tue, 5 Jul 2011 11:15:37 +0100 From: Hugo Mills To: Tarkan Erimer Cc: Linux Kernel Mailing List , Btrfs mailing list Subject: Re: [BUG] Btrfs: Corrupted root filesystem Message-ID: <20110705101537.GA5481@carfax.org.uk> Mail-Followup-To: Hugo Mills , Tarkan Erimer , Linux Kernel Mailing List , Btrfs mailing list References: <4E12BC70.5020702@turknetserver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <4E12BC70.5020702@turknetserver.com> X-GPG-Fingerprint: 8C59 86C7 81F3 93FE BB02 DDB1 20AC B3BE 515C 238D X-GPG-Key: 515C238D X-Parrot: It is no more. It has joined the choir invisible. X-IRC-Nicks: darksatanic darkersatanic darkling darkthing User-Agent: Mutt/1.5.20 (2009-06-14) X-frost.carfax.org.uk-Spam-Score: -0.0 (/) X-frost.carfax.org.uk-Spam-Report: Spam detection software, running on the system "spamd1.lon.bitfolk.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [added cc to linux-btrfs] On Tue, Jul 05, 2011 at 10:25:36AM +0300, Tarkan Erimer wrote: > At the weekend; I updated my Linux Box. After the update, I rebooted > my box as usually. When I tried to log in, X or KDM was frozen. I > had no choice but hard reset. After the hard reset; when powered on > again, I hit the below btrfs bug : > > [ 22.588566] udev[1411]: starting version 166 > [ 23.343133] device-mapper: uevent: version 1.0.3 > [ 23.343327] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) > initialised: dm-devel@redhat.com > [ 183.992833] Btrfs loaded > [ 184.000282] device fsid 6e4eba2e662daff1-956db2b6443294be devid 1 > transid 156509 /dev/sda1 > [ 184.026900] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.027365] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.033328] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.054422] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.054895] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.055045] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058274] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058281] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058306] [ cut here ] > [ 184.058312] kernel BUG at /usr/src/packages/BUILD/kernel-default-2.6.37.1/linux-2.6.37/fs/btrfs/disk-io.c:1004! > [ 184.058320] invalid opcode: 0000 [#1] SMP > [ 184.058326] last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent > [ 184.058332] CPU 0 > [ 184.058335] Modules linked in: btrfs zlib_deflate dm_mod nls_utf8 > usb_storage ata_generic parport_pc parport arc4 ecb acpi_cpufreq > mperf fan thermal nfs nfs_acl lockd fscache auth_rpcgss sunrpc > nls_iso8859_1 nls_cp437 af_packet st usbhid uhci_hcd processor sky2 > sg sr_mod button cdrom ehci_hcd thermal_sys usbcore edd squashfs > loop > [ 184.058384] > [ 184.058388] Pid: [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [added cc to linux-btrfs] On Tue, Jul 05, 2011 at 10:25:36AM +0300, Tarkan Erimer wrote: > At the weekend; I updated my Linux Box. After the update, I rebooted > my box as usually. When I tried to log in, X or KDM was frozen. I > had no choice but hard reset. After the hard reset; when powered on > again, I hit the below btrfs bug : > > [ 22.588566] udev[1411]: starting version 166 > [ 23.343133] device-mapper: uevent: version 1.0.3 > [ 23.343327] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) > initialised: dm-devel@redhat.com > [ 183.992833] Btrfs loaded > [ 184.000282] device fsid 6e4eba2e662daff1-956db2b6443294be devid 1 > transid 156509 /dev/sda1 > [ 184.026900] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.027365] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.033328] parent transid verify failed on 712880873472 wanted > 156509 found 156065 > [ 184.054422] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.054895] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.055045] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058274] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058281] parent transid verify failed on 485440565248 wanted > 156055 found 156498 > [ 184.058306] ------------[ cut here ]------------ > [ 184.058312] kernel BUG at /usr/src/packages/BUILD/kernel-default-2.6.37.1/linux-2.6.37/fs/btrfs/disk-io.c:1004! > [ 184.058320] invalid opcode: 0000 [#1] SMP > [ 184.058326] last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent > [ 184.058332] CPU 0 > [ 184.058335] Modules linked in: btrfs zlib_deflate dm_mod nls_utf8 > usb_storage ata_generic parport_pc parport arc4 ecb acpi_cpufreq > mperf fan thermal nfs nfs_acl lockd fscache auth_rpcgss sunrpc > nls_iso8859_1 nls_cp437 af_packet st usbhid uhci_hcd processor sky2 > sg sr_mod button cdrom ehci_hcd thermal_sys usbcore edd squashfs > loop > [ 184.058384] > [ 184.058388] Pid: 1975, comm: mount Not tainted > 2.6.37.1-1.2-default #1 LENOVO INVALID/To be filled by O.E.M. > [ 184.058400] RIP: 0010:[] [] > find_and_setup_root+0xf7/0x100 [btrfs] > [ 184.058427] RSP: 0018:ffff88006b851c48 EFLAGS: 00010282 > [ 184.058429] RAX: 00000000fffffffe RBX: ffff88006e318800 RCX: > 0000000000000001 > [ 184.058432] RDX: 00000000fffffffb RSI: ffff880072e0bf40 RDI: > ffff8800669f6140 > [ 184.058435] RBP: ffff88006e318000 R08: 0000000000000000 R09: > 0000000000000000 > [ 184.058437] R10: 0000000000000001 R11: 0000000000000000 R12: > 0000000000000002 > [ 184.058440] R13: 00000000ffffffea R14: ffff880066850000 R15: > ffff88006e318000 > [ 184.058443] FS: 00007f15180bd7e0(0000) GS:ffff880075600000(0000) > knlGS:0000000000000000 > [ 184.058446] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > [ 184.058448] CR2: 00007f236f078ca0 CR3: 000000006e4fb000 CR4: > 00000000000406f0 > [ 184.058451] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [ 184.058453] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > 0000000000000400 > [ 184.058456] Process mount (pid: 1975, threadinfo > ffff88006b850000, task ffff88006b474700) > [ 184.058459] Stack: > [ 184.058460] 0000000000000002 ffffffffa02abbf5 ffff88006e76e000 > ffff880066851d18 > [ 184.058465] ffff88006e554800 ffffffffa02adbd7 0000000000000003 > ffff88006b851d18 > [ 184.058469] ffff88006b851dd8 ffffffff817a6279 ffff88006e318800 > ffff88006e76e800 > [ 184.058473] Call Trace: > [ 184.058509] [] open_ctree+0xfc7/0x16e0 [btrfs] > [ 184.058536] [] btrfs_mount+0x411/0x520 [btrfs] > [ 184.058544] [] vfs_kern_mount+0x89/0x250 > [ 184.058550] [] do_kern_mount+0x53/0x130 > [ 184.058555] [] do_mount+0x1e2/0x210 > [ 184.058560] [] sys_mount+0x9a/0xf0 > [ 184.058566] [] system_call_fastpath+0x16/0x1b > [ 184.058571] [<00007f15175abe4a>] 0x7f15175abe4a > [ 184.058573] Code: 45 10 31 c0 eb 93 66 0f 1f 44 00 00 8b 95 a8 02 > 00 00 eb b8 48 8b 7d 00 e8 47 71 02 00 b8 fb ff ff ff e9 72 ff ff ff > 31 ff eb ed <0f> 0b 0f 1f 80 00 00 00 00 48 83 ec 58 48 89 6c 24 30 > 48 8b 2d > [ 184.058597] RIP [] > find_and_setup_root+0xf7/0x100 [btrfs] > [ 184.058607] RSP > [ 184.058609] ---[ end trace 4e464313e039d2d9 ]--- > [ 208.206581] JFS: nTxBlock = 8192, nTxLock = 65536 > > > > > So, this bug ate all of my root file system :-\ When mounting or > running btrfsck, the same error occurs. I tried with 2.6.37-38 and > 3.0-rc5 kernels and the result is all the same. It looks like a long > time bug that sits in btrfs code. I hope the above error message can > help. Because, I had to re-format my disk :-\ > > > Tarkan > > > > > > > > > > > -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Once is happenstance; twice is coincidence; three times --- is enemy action. --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFOEuRJIKyzvlFcI40RAgAOAJsGG2zw62uaFl/FF4pj3ejT9QwMYgCfSadK H8KyxS1eahnalbC+Awe1AvY= =rStK -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--