What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
LarsClarsen
Level 2
Level 2
Posts: 53
Joined: Sat Jan 05, 2019 4:47 pm

What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by LarsClarsen »

The background of the question is that LM21.0 needs a kernel >=6.1 for the long awaited use of becachefs.

Said kernel was released on 2022-12-11 by Linus Torvalds:
https://web.archive.org/web/20230205021000/
https://evilpiepirate.org/git/bcachefs.git
https://evilpiepirate.org/git/bcachefs.git/tag/?h=v6.1

bcachefs-tools:
* Is already available in LM21 via the application management.
Last edited by LockBot on Sat Aug 05, 2023 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20117
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by Pjotr »

You can already install kernel 6.1.0-1004.4-oem (based on upstream kernel 6.1.1) from the official Ubuntu/Mint sources like this:
https://easylinuxtipsproject.blogspot.c ... html#ID8.1
(item 8.1)

Verify the upstream version number like this:
https://easylinuxtipsproject.blogspot.c ... .html#ID19
(item 19)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
LarsClarsen
Level 2
Level 2
Posts: 53
Joined: Sat Jan 05, 2019 4:47 pm

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by LarsClarsen »

Pjotr wrote: Sun Feb 05, 2023 6:01 pm You can already install kernel 6.1.0-1004.4-oem (based on upstream kernel 6.1.1) from the official Ubuntu/Mint sources like this:
https://easylinuxtipsproject.blogspot.c ... html#ID8.1
(item 8.1)

Verify the upstream version number like this:
https://easylinuxtipsproject.blogspot.c ... .html#ID19
(item 19)
WOW. Thats realy looks working.
I tested the kernel update from 5.x to 6.1x, by a inside a VM running LM21 Cinnamon.

THX!!!
LarsClarsen
Level 2
Level 2
Posts: 53
Joined: Sat Jan 05, 2019 4:47 pm

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by LarsClarsen »

Pjotr wrote: Sun Feb 05, 2023 6:01 pm You can already install kernel 6.1.0-1004.4-oem (based on upstream kernel 6.1.1) from the official Ubuntu/Mint sources like this:
...
Before Kernel update, I had a 5.x Kernel.
I checked it by:

Code: Select all

uname -r
After the follow:

Code: Select all

sudo apt-get install linux-oem-22.04c

Code: Select all

Reboot
I got by follow:

Code: Select all

uname -r
Kernel 6.1.0-1004-0em

Code: Select all

sudo apt-get install linux-oem-22.04c
Now testing bcachefs inside a VM:

Now created by gparted:

Code: Select all

a unformated /dev/sdb1
Now tryed to format /dev/sdb1 by betachefs:

Code: Select all

sudo bcachefs format /dev/sdb1
[sudo] password for user:       
External UUID:			6bfd296b-c434-429f-a578-8a443fdb5e34
Internal UUID:			1052708c-892c-440a-95a7-a57cc17a9a17
Device index:			0
Label:				
Version:			14
Oldest version on disk:		14
Created:			Mon Feb  6 22:33:15 2023
Squence number:			0
Block_size:			512
Btree node size:		128.0K
Error action:			ro
Clean:				0
Features:			new_siphash,new_extent_overwrite,btree_ptr_v2,extents_above_btree_updates,btree_updates_journalled,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes
Compat features:		
Metadata replicas:		1
Data replicas:			1
Metadata checksum type:		crc32c (1)
Data checksum type:		crc32c (1)
Compression type:		none (0)
Foreground write target:	none
Background write target:	none
Promote target:			none
Metadata target:                none
String hash type:		siphash (2)
32 bit inodes:			1
GC reserve percentage:		8%
Root reserve percentage:	0%
Devices:			1 live, 1 total
Sections:			members
Superblock size:		816

Members (size 64):
  Device 0:
    UUID:			ce095d27-6e80-421b-8811-78ee0fb95396
    Size:			2.0G
    Bucket size:		128.0K
    First bucket:		0
    Buckets:			16000
    Last mount:			(never)
    State:			rw
    Group:			(none)
    Data allowed:		journal,btree,user
    Has data:			(none)
    Replacement policy:		lru
    Discard:			0
initializing new filesystem
going read-write
mounted with opts: (null)

Now created the follow folder on desktop:
/home/user/Schreibtisch/my_moutpoint
Now tryed to mount:

Code: Select all

sudo mount -t bcachefs /dev/sdb1 /home/user/Schreibtisch/my_moutpoint
I got the follow error message:

Code: Select all

mount: /home/user/Schreibtisch/my_moutpoint: unknown filesystem type 'bcachefs'.
Any idea?
* possible I was doing anything wrong by trying to format the /dev/sdb1 by becachefs ?
* possible the installed kernel dont support becachefs ?

Now i updated by "Aktualisierungsverwaltung" to follow kernel, rebooted and checked it by uname -r:

Code: Select all

6.1.0-1006-oem
Now I tryed to formad /dev/sdb1 by becachefs and mount like above.
I got the samne result like above.

Any Idea ?

Possible I need to install the follow kernel, which should support becachefs:
Said kernel was released on 2022-12-11 by Linus Torvalds:

Code: Select all

https://web.archive.org/web/20230205021000/
https://evilpiepirate.org/git/bcachefs.git
https://evilpiepirate.org/git/bcachefs.git/tag/?h=v6.1
How to install this kernel ?
User avatar
Pjotr
Level 24
Level 24
Posts: 20117
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by Pjotr »

I don't know. But the official 6.1.0-1006.6-oem = the upstream 6.1.2:

Code: Select all

pjotr@lenovo-ideapad-3-ryzen-7:~$ cat /proc/version_signature
Ubuntu 6.1.0-1006.6-oem 6.1.2
.... so that's a dead end.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11180
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by AZgl1800 »

Maxwell-J wrote: Tue Feb 07, 2023 1:02 am interesting
yes, interesting, was wondering if would be of any benefit for me, as I was on 5.x until now.
and wondered how to get to 6.x

as my Timeshift is always update, it just went through with it until he started VM stuff, and that is where I quit.

have not gone any further than to return to this thread, but "as of now", I don't notice anything different.

Host: FX705GM Kernel: 6.1.0-1004-oem x86_64 bits: 64
Desktop: Cinnamon 5.6.7 Distro: Linux Mint 21.1 Vera

then I went to Upgrade Manager to see if it would detect the change and install the newest 6.x and yes it will, as soon as I get off this post.


kernel 6 upgrade.jpg
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
AZgl1800
Level 20
Level 20
Posts: 11180
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by AZgl1800 »

AFTER the Reboot,
i lost my kybd and mouse,

so, Update Manager killed the 6.x kernels, and now I am back to where I was again.

Code: Select all

john@FX705GM:~$ uname -r
5.17.0-1026-oem
john@FX705GM:~$ 

LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
LarsClarsen
Level 2
Level 2
Posts: 53
Joined: Sat Jan 05, 2019 4:47 pm

Re: What is the estimated time, until the update of LM21 Cinnamon, to the bcachefs supporting kernel version >=6.1 ?

Post by LarsClarsen »

AZgl1800 wrote: Tue Feb 07, 2023 3:27 am AFTER the Reboot,
i lost my kybd and mouse,
That didnt happen by me, as I runned it inside a VirtualBox VM.
AZgl1800 wrote: Tue Feb 07, 2023 3:27 am so, Update Manager killed the 6.x kernels, and now I am back to where I was again.
I got by the updatemanager a offer for a update to a newer 6.1 kernel and fr one 5.x kernel.
I didnt run the update for the 5.x kernel, so I got only the newer 6.1 one.

Its looks like its also possibel by updatemanager to set unwanted updates to the non update list and possible updates for old 5,x kernel will stopp, after uninstall the old 5.x kernel by updatemanager.

Any idea how to get bcacache running. Possible the kernel are working fine and I dont know how to do the follow on right way ?
Try to format:

Code: Select all

sudo bcachefs format /dev/sdb1
Try to mount:

Code: Select all

sudo mount -t bcachefs /dev/sdb1 /home/user/Schreibtisch/my_moutpoint
Locked

Return to “Other topics”