Re: HELP about Jailhouse image
you need scientific network. (acrocess Great Firewall) 在2021年5月10日星期一 UTC+8 下午9:26:07<曹宏鹏> 写道: > Dear sir: > > I use the jailhouse-image and choose the 11th option Raspberry Pi 4 (1-8 > GB editions). > git clone https://github.com/siemens/jailhouse-images.git > However there are some error information : > > ERROR: mc:rpi4-jailhouse-demo:linux-jailhouse-rpi-5.4.59-r0 do_fetch: > Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset > _PYTHON_SYSCONFIGDATA_NAME; export GIT_PROXY_COMMAND="oe-git-proxy"; export > NO_PROXY="*"; export > PATH="/work/isar/scripts:/work/isar/bitbake/bin:/usr/sbin:/usr/bin:/sbin:/bin"; > > export HOME="/tmp/tmp_61yteqn"; /usr/bin/env wget -t 2 -T 30 --passive-ftp > --no-check-certificate -O > /work/build/downloads/linux-108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz > -P /work/build/downloads ' > https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz' > > --progress=dot -v failed with exit code 4, output: > --2021-05-10 13:12:51-- > https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz > Resolving github.com (github.com)... 52.74.223.119 > Connecting to github.com (github.com)|52.74.223.119|:443... connected. > HTTP request sent, awaiting response... Read error (Success.) in headers. > Retrying. > > --2021-05-10 13:13:23-- (try: 2) > https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz > Connecting to github.com (github.com)|52.74.223.119|:443... failed: > Connection timed out. > Resolving github.com (github.com)... 52.74.223.119 > Connecting to github.com (github.com)|52.74.223.119|:443... failed: > Connection timed out. > Giving up. > > > ERROR: mc:rpi4-jailhouse-demo:linux-jailhouse-rpi-5.4.59-r0 do_fetch: > Fetcher failure for URL: ' > https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz;downloadfilename=linux-108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz'. > > Unable to fetch URL from any source. > ERROR: Logfile of failure stored in: > /work/build/tmp/work/jailhouse-demo-arm64/linux-jailhouse-rpi/5.4.59-r0/temp/log.do_fetch.253 > ERROR: Task > (mc:rpi4-jailhouse-demo:/repo/recipes-kernel/linux/linux-jailhouse-rpi_5.4.59.bb:do_fetch) > > failed with exit code '1' > > so whether someone meet this problem, thanks for your generous help. > > -- 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/9c0074e9-6aba-44dd-b0a3-619df4c196e4n%40googlegroups.com.
Re: Windows on Jailhouse
Am Mon, 10 May 2021 17:24:25 +0200 schrieb Ralf Ramsauer : > Hi Bram, > > On 10/05/2021 16:19, Bram Hooimeijer wrote: > > Dear Jailhouse community, > > > > Is there anyone who has tried to get Windows running in a Jailhouse > > cell? > > > > Given that Windows is often used as HMI, it would be interesting to > > see whether it would be possible to use it alongside Jailhouse. > > > > What are the fundamental limitations one would run into? > > You MUST emulate every trap that Windows would cause, as you have no > chance to adjust Windows, as we can do it with Linux. And Windows > 'expects' a certain defined environment to be present at boot, such as > ACPI / Bios / EFI. But we arrive in Jailhouse with in a void > environment. E.g., there's no regular hardware discovery available for > platform devices. The most realistic way would be to bring nested virtualization to jailhouse, which would enable kvm on the root-cell. I think Jan has once started that but it never reached a merge-point into jailhouse. Not too many people seem to care, and it would probably increase the complexity of jailhouse significantly ... maybe to a point where a working implementation would still not get merged. You can most likely run Windows in qemu, performance might be "not acceptable". There is "llvm-qemu" to maybe mitigate that to some degree, but i am not sure that is still in the research state or "ready for a product". And then there is wine, or choosing QT/GTK for your HMI ... if you can. I guess QT for HMI is the best way, but you might already have an HMI which might not be QT ... regards, Henning > I could rather imagine to run Windows in the root-cell rather than in > a non-root cell. But that would require to port the driver to Windows > and is probably combined with a huge amount of pain. And who knows > what Windows is doing with your platform while it is running… > > Maybe there's a better chance with Windows for ARM, but I never looked > into that. > > Ralf > > > > > Thanks, > > > > Best regards, Bram Hooimeijer > > > -- 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/20210510194902.40fc1ff9%40md1za8fc.ad001.siemens.net.
Re: Windows on Jailhouse
Hi Bram, On 10/05/2021 16:19, Bram Hooimeijer wrote: > Dear Jailhouse community, > > Is there anyone who has tried to get Windows running in a Jailhouse cell? > > Given that Windows is often used as HMI, it would be interesting to see > whether it would be possible to use it alongside Jailhouse. > > What are the fundamental limitations one would run into? You MUST emulate every trap that Windows would cause, as you have no chance to adjust Windows, as we can do it with Linux. And Windows 'expects' a certain defined environment to be present at boot, such as ACPI / Bios / EFI. But we arrive in Jailhouse with in a void environment. E.g., there's no regular hardware discovery available for platform devices. I could rather imagine to run Windows in the root-cell rather than in a non-root cell. But that would require to port the driver to Windows and is probably combined with a huge amount of pain. And who knows what Windows is doing with your platform while it is running… Maybe there's a better chance with Windows for ARM, but I never looked into that. Ralf > > Thanks, > > Best regards, Bram Hooimeijer > -- 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/7c85c613-eea3-4e5f-3bb4-7d1fdb7db826%40oth-regensburg.de.
Windows on Jailhouse
Dear Jailhouse community, Is there anyone who has tried to get Windows running in a Jailhouse cell? Given that Windows is often used as HMI, it would be interesting to see whether it would be possible to use it alongside Jailhouse. What are the fundamental limitations one would run into? Thanks, Best regards, Bram Hooimeijer -- 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/AS8PR02MB666306E1B7F04C85B36BFC40B6549%40AS8PR02MB6663.eurprd02.prod.outlook.com.
HELP about Jailhouse image
Dear sir: I use the jailhouse-image and choose the 11th option Raspberry Pi 4 (1-8 GB editions). git clone https://github.com/siemens/jailhouse-images.git However there are some error information : ERROR: mc:rpi4-jailhouse-demo:linux-jailhouse-rpi-5.4.59-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export GIT_PROXY_COMMAND="oe-git-proxy"; export NO_PROXY="*"; export PATH="/work/isar/scripts:/work/isar/bitbake/bin:/usr/sbin:/usr/bin:/sbin:/bin"; export HOME="/tmp/tmp_61yteqn"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /work/build/downloads/linux-108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz -P /work/build/downloads 'https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz' --progress=dot -v failed with exit code 4, output: --2021-05-10 13:12:51-- https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz Resolving github.com (github.com)... 52.74.223.119 Connecting to github.com (github.com)|52.74.223.119|:443... connected. HTTP request sent, awaiting response... Read error (Success.) in headers. Retrying. --2021-05-10 13:13:23-- (try: 2) https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz Connecting to github.com (github.com)|52.74.223.119|:443... failed: Connection timed out. Resolving github.com (github.com)... 52.74.223.119 Connecting to github.com (github.com)|52.74.223.119|:443... failed: Connection timed out. Giving up. ERROR: mc:rpi4-jailhouse-demo:linux-jailhouse-rpi-5.4.59-r0 do_fetch: Fetcher failure for URL: 'https://github.com/siemens/linux/archive/108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz;downloadfilename=linux-108bab72978d4ec29ef6ac32506eb1783af599a2.tar.gz'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /work/build/tmp/work/jailhouse-demo-arm64/linux-jailhouse-rpi/5.4.59-r0/temp/log.do_fetch.253 ERROR: Task (mc:rpi4-jailhouse-demo:/repo/recipes-kernel/linux/linux-jailhouse-rpi_5.4.59.bb:do_fetch) failed with exit code '1' so whether someone meet this problem, thanks for your generous help. -- 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/71b9b404.86dc.1795674be56.Coremail.caohp19%40lzu.edu.cn.
Bug report: CONFIG_JAILHOUSE_DBGCON configuration as module does not compile
Hello, enabling the jailhouse debug console as a kernel module CONFIG_JAILHOUSE_DBGCON=m breaks kernel compile stage. The error message is related to "jailhouse_paravirt" which can not be resolved in the module. When configuring it as compiled in driver CONFIG_JAILHOUSE_DBGCON=y the kernel compiles. The CONFIG_JAILHOUSE_GUEST=y is also set. I do not know if this is related to the debug console bug. So either remove the "module" option or fix it. Hans -- Siemens AG Corporate Technology Research & Technology Center T RDA IOT SES-DE Room 33.413 Otto-Hahn-Ring 6 81739 Muenchen, Germany mailto: johann.pfeff...@siemens.com phone: +49 1520 3450 138 fax: +49 89 636 33045 _ SIEMENS AG: Chairman of the Supervisory Board: Jim Hagemann Snabe Managing Board: Joe Kaeser, Chairman, President and Chief Executive Officer Roland Busch, Klaus Helmrich, Cedrik Neike, Ralf P. Thomas Registered offices: Berlin and Munich, Germany Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684 WEEE-Reg.-No. DE 23691322 -- 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/YJkWk7LaSAKG7FwN%40hpjp.jpnet.
Re: Can Jailhouse work with CentOS
There is no reason for "sudo" for a simple "make". It is likely you are missing kernel sources, or tools that the build process needs. Or - given that distro - things are outdated. Jailhouse does not need much, but also centos does not offer much ;) try a fresh clone, no "sudo", "make V=1 -j1" Henning Am Sat, 8 May 2021 11:19:01 +0530 schrieb Prashant Kalikotay : > Thank you so much for your reply. While my installation I run sudo > make and that fails with the error : /path/to/build no such file or > directory is present. I checked the path/to/build and it exists and i > have also given superuser privileges to the user. > Could anyone get me anything on this. I am using CentOS 8. > > Regards, > Prashant K > > On Fri, 7 May 2021, 14:37 Bram Hooimeijer, < > bram.hooimei...@prodrive-technologies.com> wrote: > > > > > > Dear Sir/Madam, > > > > > > I am trying to install jailhouse in > > > CentOS > > but the installation did > > > not work or it did not get installed. Whereas when I tried to > > > install in > > Ubuntu > > > it readily installed. My query is does Jailhouse install in > > > CentOS or is > > there any > > > additional things to be done to install it?. > > > > What errors do you get? Maybe there's someone on the list who > > encountered those before. > > > > As far as I know, Jailhouse should run given that the kernel is > > properly configured. > > For newer Linux kernels, you might need some patches: > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit.kiszka.org%2F%3Fp%3Dlinux.git%3Ba%3Dsummarydata=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C0e6b87ebf9ab493372b708d911e504e8%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637560497853991126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=ppGRrGseipDA4Jlu%2BQkvXdFOCw5RKP8P6Y2LD6Nh4iY%3Dreserved=0 > > I have it running with minimal modifications on Linux 5.4 > > > > Best, Bram Hooimeijer > > > > > > > > > > Thanking you in advance. > > > > > > > > > Regards, > > > > > > Prashant K > > > > > > -- > > > -- 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/20210510123616.15344255%40md1za8fc.ad001.siemens.net.
HELP about Jailhouse
Dear sir, Dear sir, Dear sir, Last year, I used the rapi-linux-demo.cell to launch a second cell on my Raspberry Pi 4 model B. And the memory size of second cell was about 184M. However, that is not enough to me to execute some test on it. So I try to change the size of the cell in the rpi-linux-demo.c, but it failed (maybe occupied other's memory, I don't know). A good news is, someone fixed this problem. The demo can provide 1G memory size, and I git clone the new project. BUT when I executed the operations same with before, I can not build the jailhouse my operations is: 1. git clone https://github.com/siemens/jailhouse.git 2. sudo make make modules_install make install 3. sudo insmod driver/jailhouse.ko 4. sudo jailhouse enable configs/arm64/rpi4.cell The 4th step is failed, the error is: JAILHOUSE_ENABLE: Invalid argument I don't know why it occurs. Because there are two project on my Raspberry (one is new, the other is cloned in last year ), the old one can run properly. If I can get your generous help, I will appreciate. This means that the hypervisor memory region configured in rpi4.cell does not match a memory reservation done via the device tree. It likely overlaps RAM that is in use by Linux, thus can't be taken by the hypervisor. If you move the hypervisor memory region, make sure to adjust https://github.com/siemens/jailhouse-images/blob/master/recipes-bsp/rpi-firmware/files/debian/jailhouse.dts as well. Thanks for your advice again! From my perspective, whether it was caused by Linux version or not. And I execute 1.git clone https://github.com/siemens/linux.git 2.git checkout -b jailhouse-enabling/5.4-rpi 3.git reset --hard 57e5db56e9c9511c4371c61065334a689af60a72 //I want to clone this version 4.make menuconfig 5.make make modules_install make install However it is failed and still not to enable rpi4.cell. My solutions is right or not. By the way, according to your advice, I need to alter the jailhouse.dts right? If I can get your generous help, I will appreciate ! Yours sincerely, Hongpeng Cao. -- 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/2d145c5.8415.179558bd06b.Coremail.caohp19%40lzu.edu.cn.