Thank you for your donation


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
1st Jul, 2016, 06:30 AM
Post: #1
[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
I am using Ubuntu Studio 16.04

... 4.4.0-28-lowlatency #47-Ubuntu SMP PREEMPT Fri Jun 24 10:57:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

and I can't mount the BTRFS-Partition on the SD-Card.

Is there something missing in the Kernel-Config?
Huh


Attached File(s)
.txt  config-4.4 .0-28-lowlatency.txt (Size: 185.02 KB / Downloads: 0)
Quote this message in a reply
1st Jul, 2016, 06:41 AM
Post: #2
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Often discussed here - you need kernel with LZ4 compression enabled for BTRFS
Find all posts by this user
Quote this message in a reply
3rd Jul, 2016, 12:28 AM
Post: #3
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
lz4.patch from

https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch

is not working on 4.4 with

https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.14.tar.xz

I get a reject message with patch -p1 < lz4.patch .

Is there a newer lz4-patch for btrfs available?
Quote this message in a reply
3rd Jul, 2016, 02:34 AM
Post: #4
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Try this one.

This patch I'm using for my kernel 4.4.6 running on my Cubieboard 2
Find all posts by this user
Quote this message in a reply
5th Jul, 2016, 04:40 AM
Post: #5
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Many thanks for the patch.

0001-Btrfs-LZ4-compression-patch.patch, i renamed it to lz4-2.patch, was working without rejection after

patch -p1 < lz4-2.patch

Now I am trying to build a new kernel with the sources from

https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.14.tar.xz

could take an hour or more ...

But, i was also able to built a kernel with your sources from

https://github.com/xbianonpi/xbian-sources-kernel/tree/rpi-4.4.y

That kernel was also able to mount the fat and btrfs partitition under ubuntu 16.04 Smile
Quote this message in a reply
5th Jul, 2016, 05:46 AM
Post: #6
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Congratulations Smile

Thanks for your feedback
Find all posts by this user
Quote this message in a reply
5th Jul, 2016, 06:51 AM
Post: #7
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
The new patch is working!

Thanks Smile

After installing the new patched kernel, with your patch, i was also able to mount the fat and btrfs formated partition on the sd-card under ubuntu 16.04.

Nice work Smile
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Restoring btrfs autosnap with ubuntu? pix3l 4 4,121 18th Aug, 2014 06:06 PM
Last Post: pix3l

Forum Jump: