Re: "bad tree block start" when trying to mount on ARM
From: Erik Jensen <hidden>
Date: 2021-01-19 14:38:03
On Mon, Jan 18, 2021 at 9:22 PM Erik Jensen [off-list ref] wrote:
On Mon, Jan 18, 2021 at 4:12 AM Erik Jensen [off-list ref] wrote:quoted
The offending system is indeed ARMv7 (specifically a Marvell ARMADA® 388), but I believe the Broadcom BCM2835 in my Raspberry Pi is actually ARMv6 (with hardware float support).Using NBD, I have verified that I receive the same error when attempting to mount the filesystem on my ARMv6 Raspberry Pi: [ 3491.339572] BTRFS info (device dm-4): disk space caching is enabled [ 3491.394584] BTRFS info (device dm-4): has skinny extents [ 3492.385095] BTRFS error (device dm-4): bad tree block start, want 26207780683776 have 3395945502747707095 [ 3492.514071] BTRFS error (device dm-4): bad tree block start, want 26207780683776 have 3395945502747707095 [ 3492.553599] BTRFS warning (device dm-4): failed to read tree root [ 3492.865368] BTRFS error (device dm-4): open_ctree failed The Raspberry Pi is running Linux 5.4.83.
Okay, after some more testing, ARM seems to be irrelevant, and 32-bit is the key factor. On a whim, I booted up an i686, 5.8.14 kernel in a VM, attached the drives via NBD, ran cryptsetup, tried to mount, and… I got the exact same error message.