Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mounting verity partition results in Can't open blockdev error #41

Open
sla89 opened this issue Dec 3, 2020 · 1 comment
Open

Mounting verity partition results in Can't open blockdev error #41

sla89 opened this issue Dec 3, 2020 · 1 comment

Comments

@sla89
Copy link

sla89 commented Dec 3, 2020

Hello together,

when I mount my verity device after creating it using

dmsetup --noudevrules --noudevsync --readonly create vroot 
        --table "0 ${DATA_SECTORS} verity 1 ${root} ${root} 4096 4096 ..."

the mount succeeds but dmesg gives me the error

[    4.754279] 007: /dev/mapper/vroot: Can't open blockdev

The content mounted looks good and everything works and even dmsetup status gives me

....
vroot: 0 203112 verity V

I am a little bit worried about the error message Can't open blockdev even everything is working as expected..

I am currently on v2_02_181 with linux kernel 5.4.77-rt43. I have tried to update to v2_03_10 but the error remains.
Maybe I have to add that before I was using kernel 4.19.148-rt64 and there I didn't had that message.

Any suggestion is welcome.

Thank you and with best regards,
Stefan

@lgela18
Copy link

lgela18 commented Jun 16, 2021

Hi, I had similar issue, caused by snap-store, and here is my solution.

Warning:: I do NOT guarantee, that this will work for you as well, so
do your own research before proceeding.

Problem:: [ 8.661416] /dev/loop5: Can't open blockdev
Solution:: sudo losetup -d /dev/loop5
Sol_Source:: guysoft/CustomPiOS#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants