Am Fri, 29 Jul 2022 13:02:55 +0200 schrieb Sara Alonso <[email protected]>:
> Dear Henning, > > Thanks a lot for your help. It worked with insmod. Now I can do > *modprobe jailhouse*, but then, when I do* jailhouse enable > /boot/zynqmp-zcu102.cell* I get this message:* -sh: jailhouse: > command not found*. Is there another step I have to do before, or do > you know how I could fix this? I bet you made some mistake in actually installing all jailhouse components into that rootfs. So that module was somehow missing, now you are missing the jailhouse binary ... next will be the hypervisor binary and so on. Please double check that "make install" maybe with a V=1 to see what gets installed where. You should be able to specify any temporary dir as DESTDIR and all you find there should exist in that rootfs at the same location. Maybe the jailhouse binary was installed just fine but in a directory not in your PATH, something like "/usr/local/bin". In that case maybe add that to your PATH or try calling it absolute. But i guess for the later runs where you might want to have a linux non-root it would be good if all things are installed and binaries all found via PATH. Henning > Thank you very much, > Sara > > El vie, 29 jul 2022 a las 12:44, Henning Schild > (<[email protected]>) escribió: > > > Am Fri, 29 Jul 2022 11:33:32 +0200 > > schrieb Sara Alonso <[email protected]>: > > > > > Hi! > > > > > > I am trying to run jailhouse in a zcu102 board following this > > > tutorial: > > > > > https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md > > > > > But I am new at this and I have some troubles. > > > > > > I have built the petalinux-project and also jailhouse. I have > > > copied into the SD: the image.ub, BOOT.BIN, system.dtb, > > > inmate-zynqmp.dtb, zynqmp-zcu102.cell and > > > zynqmp-zcu102-inmate-demo.cell in the BOOT partition and the > > > rootfs.cpio + the lib and usr files installed when jailhouse is > > > compiled in the ROOT partition. I don't know if something else is > > > required or if something is not needed. > > > > > > The project is running, but if I do "modprobe jailhouse" it says: > > > modprobe: module jailhouse not found in modules.dep > > > I think I have followed all the steps of the tutorial. What could > > > be happening? > > > > Jailhouse uses a kernel module which you have to copy as well. > > Double check that you did. It should be called jailhouse.ko and end > > up somewhere in /lib/modules/<kernel>/extra or something. For > > "modprobe" to work you might have to run "depmod -a" first, > > otherwise you can also "insmod /lib/.../jailhouse.ko" and load it > > by file instead of by name. > > > > regards, > > Henning > > > > > Thank you very much, > > > Sara > > > > > > > -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20220729143439.11e5a2d8%40md1za8fc.ad001.siemens.net.
