Am Freitag, 14. Februar 2020 16:15:53 UTC+1 schrieb Jan Kiszka: > Check if your non-root Linux comes with CONFIG_X86_X2APIC=y - I suspect > it doesn't. > It didn't. Fixed that and now I can start the non-root cell. Thank you!
You can find a working x86 inmate kernel config in > > https://github.com/siemens/jailhouse-images/blob/master/recipes-kernel/linux/files/amd64_defconfig_5.4 > > (multi-purpose config, thus a bit larger than technically needed). > > > > > Is there a guide somewhere that documents the steps necessary for > > adjusting the linux-x86-demo cell config? > > Nope, unfortunately not. The mid-term plan is still to enhance the > config generator to build also non-root configs. Any contribution, > including "just" documentation, would be very welcome! > I'll prepare a pull request to update the documentation. Although I cannot see any errors in the Jailhouse console anymore, my Linux guest still appears to be stuck somewhere. The console output I get is: Adding virtual PCI device 00:0c.0 to cell "linux-x86-demo" Adding virtual PCI device 00:0d.0 to cell "linux-x86-demo" Adding virtual PCI device 00:0e.0 to cell "linux-x86-demo" Adding virtual PCI device 00:0f.0 to cell "linux-x86-demo" Created cell "linux-x86-demo" Page pool usage after cell creation: mem 375/975, remap 16395/131072 Cell "linux-x86-demo" can be loaded CPU 2 received SIPI, vector 100 CPU 3 received SIPI, vector 100 Started cell "linux-x86-demo" CPU 3 received SIPI, vector 9a I added the JAILHOUSE_CELL_VIRTUAL_CONSOLE_ACTIVE bit to the linux-x86-demo cell flags to get kernel message output in /dev/jailhouse in the root cell. Is that supposed to be working or do I need to use UART? At first there was a PIO read access violation at port 87, I went to check my root cell config and found the following: /* Port I/O: 0080-008f : dma page reg */ /* PIO_RANGE(0x80, 0x10), */ So I added that exact range (0x80, 0x10) to the linux-x86-demo PIO configs and the error disappeared. Could that be related to the cell being stuck issue? To ensure it's not related to other missing guest kernel options, I will build a kernel with your amd64_defconfig_5.4 <https://github.com/siemens/jailhouse-images/blob/master/recipes-kernel/linux/files/amd64_defconfig_5.4> and see if I get the same results. -- 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/dfe23f77-f16a-41c9-9f6e-8e67b853b66e%40googlegroups.com.
