# UBI error within kernel (-2)

**URL:** https://hub.mender.io/t/ubi-error-within-kernel-2/3681
**Category:** General Discussions
**Created:** [May 26, 2021, 2:57pm UTC](https://hub.mender.io/t/ubi-error-within-kernel-2/3681 "2021-05-26T14:57:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![buffo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/buffo/32/909_2.png) [@buffo](https://hub.mender.io/u/buffo)
#### Post date: [May 26, 2021, 2:57pm UTC](https://hub.mender.io/t/ubi-error-within-kernel-2/3681/1 "2021-05-26T14:57:22Z")

</div>

Hi there,  
after the porting work to my hardware, I think I am almost there, but the kernel throws an error when trying to get access my rootfs on my ubi0\_0 volume (see attached image). I can, though, access this volume through my u-boot and load the kernel and the dtb file from there into the RAM and boot. What could the root cause here? As far as I understand, the kernel is able to locate the volume but is unable to open it. Could it be a Kernel misconfiguration? On the other hand, no volume is available as a bootable partition (only the sd card)…

 ![kernel_panic](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/a/ad88e63b06643c39c635f4d0e667e345102fc1c5.png)

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [May 26, 2021, 7:19pm UTC](https://hub.mender.io/t/ubi-error-within-kernel-2/3681/2 "2021-05-26T19:19:33Z")

</div>

My initial guess would be that you are missing some required kernel configs. It’s hard to say from that snippet though as all that really confirms is that it "don’t work’. 😉

Drew

---

<div class="post-metadata">

### Author: ![buffo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/buffo/32/909_2.png) [@buffo](https://hub.mender.io/u/buffo)
#### Post date: [June 1, 2021, 7:10am UTC](https://hub.mender.io/t/ubi-error-within-kernel-2/3681/3 "2021-06-01T07:10:52Z")

</div>

Thanks for the reply and for pointing me in the right direction. In the end, it was nothing Mender-related but through solving this I am finally able to boot and connect my device to the hosted Mender backend. Appreciate your effort! 👍
