On 09/06/2017 05:20 AM, Qu Wenruo wrote:
>>
>> BTW I compiled successfully the patches, and these seems to work.
>>
>> PS: I tried to cross-compile mkfs.btrfs ton arm, but mkfs.btrfs was unable 
>> to work:
>>
>> $ uname -a
>> Linux bananapi 4.4.66-bananian #2 SMP Sat May 6 19:26:50 UTC 2017 armv7l 
>> GNU/Linux
>> $ sudo ./mkfs.btrfs /dev/loop0
>> btrfs-progs v4.12.1-5-g3c9451cd
>> See http://btrfs.wiki.kernel.org for more information.
>>
>> ERROR: superblock magic doesn't match
>> Performing full device TRIM /dev/loop0 (10.00GiB) ...
>> ERROR: open ctree failed
>>
>> However this problem exists even with a plain v4.12.1. The first error seems 
>> to suggest that there is some endian-ness issue
> 
> I'd better get one cheap ARM board if I want to do native debug.
> 
> BTW, what's the output of dump-super here?

Further tests seems to highlight that it was a my setup problem. Before I build 
mkfs.btrfs cross-compiling from an amd64, and I got the error; retrying on the 
native environment I was unable to reproduce the problem.

So please ignore the previous email.

> Which may gives us some clue to fix it.
> 
> Thanks,
> Qu


-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to