installing bundle using streaming giving error : BLK_DEV_NBD not enabled in kernel #51
Replies: 9 comments 1 reply
-
Hi @abdo12007, Which Yocto release and branch for meta-rauc-raspberrypi are you using? Best regards, Leon |
Beta Was this translation helpful? Give feedback.
-
hello @leon-anavi |
Beta Was this translation helpful? Give feedback.
-
Hi @abdo12007, Support for streaming installation from a HTTP(S) server for bundles in verity was added in RAUC version v1.7 and I see meta-rauc dunfell as of the moment provide v1.8 so in this aspect you should be ok. Have you added Best regards, |
Beta Was this translation helpful? Give feedback.
-
yes i have added CONFIG_BLK_DEV_NBD=y . always the same issue |
Beta Was this translation helpful? Give feedback.
-
hello @leon-anavi |
Beta Was this translation helpful? Give feedback.
-
@abdo12007 please check if the kernel generated actually has DM enabled. It does not look like if this would be the case. In your kernel build dir you should see the actual |
Beta Was this translation helpful? Give feedback.
-
hello, |
Beta Was this translation helpful? Give feedback.
-
This could mean you have enabled DM support but not DM_VERITY. |
Beta Was this translation helpful? Give feedback.
-
i have bitbaked a core-image-base for the rspberry pi
i have made sure that this options kernel are enable in the rauc.cfg :
CONFIG_BLK_DEV_LOOP=y
CONFIG_SQUASHFS=y
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_DM_VERITY=y
CONFIG_CRYPTO_SHA256=y
then i generate the img , flashing it on an sd card and it works on the raspberry pi3
then i generate a bundle in the plain format and i installed it using rauc install ... and it works fine.
then
uncommenting this option on the .bb file
RAUC_BUNDLE_FORMAT = "verity"
and i generated another bundle in the verity format and i installed it using streaming
but i get this error :
failed mounting bundle: failed to resolve 'ndb' netlink family - BLK_DEV_NBD not enabled in kernel
why i got BLK_DEV_NBD not enabled in kernel although i have enable it on the rauc.cfg ?
could that be because i am using an sd card ?
how can i solve this ?
Beta Was this translation helpful? Give feedback.
All reactions