Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any experience with new kernel parm dm-mod.create ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5372
Location: Bavaria

PostPosted: Sat Mar 14, 2020 7:24 pm    Post subject: Any experience with new kernel parm dm-mod.create ? Reply with quote

I dont like initrd / initramfs (better: I hate it).
I read this Mail from Helen Koike and with her beginnig I completly agree:

Quote:
As mentioned in previous discussions, the need to create an initramfs adds
another layer of complexity when performing tests or preparing a BSP for
a board.
Taking care of initramfs is always a bit painful, it also occupies space and is
another level of complexity in the stack.
A practical example as mentioned by Kees is that Chrome OS has a limited amount
of storage available for the boot image as it is covered by the static root of
trust signature.
This feature is already used by Android and Chrome OS in devices already shipped
to the market/end-users.

from https://www.redhat.com/archives/dm-devel/2019-February/msg00108.html

But I didnt found much when I googled "dm-mod.create".
So, does anybody has useful infos about (or links) ?


Last edited by pietinger on Thu Apr 02, 2020 10:47 am; edited 1 time in total
Back to top
View user's profile Send private message
pa4wdh
l33t
l33t


Joined: 16 Dec 2005
Posts: 910

PostPosted: Sun Mar 15, 2020 8:41 am    Post subject: Reply with quote

I don't like initrd's either so i think it's a nice feature.

I haven't tested it, but i will as soon as a kernel with this feature is stable in portage. I have a few systems with encrypted root devices and they have initrd's just for that reason.
I checked at https://www.kernel.org/ and i see it's merged into the linux-next, 5.6-rc5, 5.5.9 and 5.4.25 kernels. You'll need to enable the CONFIG_DM_INIT option to be able use it.
_________________
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5372
Location: Bavaria

PostPosted: Thu Apr 02, 2020 12:43 am    Post subject: Reply with quote

I did some research and also contacted Helen. See more here: https://forums.gentoo.org/viewtopic-t-1110764-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum