Am Mon, 21 Nov 2016 11:58:31 -0800
schrieb Intelsat <[email protected]>:

> Hi guys,
> 
> I was trying to get Jailhouse running on my system. While the
> installation was successful, besides the fact that I had some strange
> ssl .pem error, enabling Jailhouse caused my linux to hang. I
> reserved 80M of RAM during boot.
> 
> To give you some overview of the situation, this is my machine:
> 
> - Intel Xeon E5630 (2x on my motherboard, so 2 Processors with 8
> Cores in total)
> - Ubuntu 16.04
> - Linux Kernel 4.4.0 generic
> 
> I am not using kvm or qemu. This is what I did:
> 
> 1.) Clone Jailhouse from git repository
> 
> 2.) Go to directory and 
> #sudo make install
> 
> 3.) Generate sysconfig.cell
> #sudo jailhouse config create sysconfig.c
> #mv sysconfig.c configs/sysconfig.c
> #sudo make
> 
> 4.) Check hardware
> #sudo jailhouse hardware check configs/sysconfig.cell
> => Check passed  
> 
> 5.) Add memmap and iommu to /etc/default/grub
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=off
> memmap=80M\\\$0x3b000000
> 
> #sudo update-grub
> #sudo reboot
> 
> 6.) Memory was successfully reserved, checked with dmesg

You reserved the memory after generating the root-cell config and you
did not use the default 66M. So you root-cell config probably still
assumes the 66M.
To get a config that matches the "memmap", either generate the config
while /proc/cmdline already contains the "bigger" memmap, or use the
options --mem-inmates and --mem-hv.

While this is an inconsistency that should be corrected, it is likely
not the cause of your problem.

> 7.) Go to Jailhouse directory 
> #sudo insmod driver/jailhouse.ko
> (Module was loaded, checked via lsmod | grep jailhouse)
> 
> 8.) Enable Jailhouse
> #sudo jailhouse enable configs/sysconfig.cell
> 
> And at this point the system hangs and never returns. I saw once a
> error message "Input/Ouput Error", but I unfortunately don't know
> anymore how I got this....
> 
> Does anybody has a clue what is causing the failure? I would
> appreciate every help.
> 
> Greetings
> Intelsat
> 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to