On 10.01.21 10:41, Richi Dubey wrote: > Hi, > > I am new to Jailhouse and am trying to test linux on jailhouse on a Zynq > UltraScale+ MPSoC ZCU102 board. I have copied the Image and the rootfs > file, but when I try to run the command: > > jailhouse cell linux zynqmp-zcu102-linux-demo.cell abc/Image -d > dts/inmate-zynqmp.dtb -i abc/rootfs.cpio -c "console=ttyPS0,115200" > > I get the following error: > > [ 536.015073] CPU2: shutdown > > [ 536.017777] psci: CPU2 killed. > > [ 536.034988] CPU3: shutdown > > [ 536.037680] psci: CPU3 killed. > > Adding virtual PCI device 00:01.0 to cell "ZynqMP-linux-demo" > > Shared memory connection established, peer cells: > > "ZynqMP-ZCU102" > > Adding virtual PCI device 00:03.0 to cell "ZynqMP-linux-demo" > > Created cell "ZynqMP-linux-demo" > > Page pool usage after cell creation: mem 82/994, remap 5/131072 > > [ 536.066780] Created Jailhouse cell "ZynqMP-linux-demo" > > Cell "ZynqMP-linux-demo" can be loaded > > Traceback (most recent call last): > > File "/usr/share/jailhouse/tools//jailhouse-cell-linux", line 857, in > <module> > cell.load(args.initrd.read(), arch.ramdisk_address()) > > File "/usr/lib/python3.7/site-packages/pyjailhouse/cell.py", line 44, > in load > fcntl.ioctl(self.dev <http://self.dev>, self.JAILHOUSE_CELL_LOAD, > load) > OSError: [Errno 22] Invalid argument > > > > Can someone please help me with this? I saw that someone else also had > this > error: > https://www.mail-archive.com/jailhouse-dev@googlegroups.com/msg07264.html > <https://www.mail-archive.com/jailhouse-dev@googlegroups.com/msg07264.html>, > but I have not modified any memory addresses. >
Which revision of Jailhouse are you using? How did you set up the root Linux system? Does the kernel driver report anything in system log about this error? If not: You can ask Jailhouse to report the origin of errors via CONFIG_TRACE_ERROR, see Documentation/hypervisor-configuration.md. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- 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 jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/e4de1075-d9d7-a666-7b4e-4511d2f81111%40siemens.com.