Hi Anmol,

sorry for the very late reply.

On 25.06.21 16:38, Anmol karn wrote:
> Hi,
> 
> I am currently working on a GSoC'21 project "VirtIO-blk implementation
> with AGL on Jailhouse".
> 
> I am new to the Jailhouse and trying to get jailhouse(v0.12) work with
> QEmu(x86-64) with a custom agl-image.
> 
> I have been using a 5.4 kernel(jailhouse-enabling/5.4).
> 
> We are getting Kernel panics and unknown failures with
> `jailhouse-enabling/5.4`, so we decided to shift to `queues/jailhouse`
> (452bfd9102265f67afd5818024ca2664aa3afa60), and then we somehow managed
> to QEmulate it without kernel panics, but now it's showing some unknown
> behaviors, and also not booting properly:
> 
> Log:
> [    0.007617] [Firmware Bug]: TSC_DEADLINE disabled due to Errata;
> please update microcode to version: 0xb2 (or later)
> [    0.525808] kvm: already loaded the other module
> [    0.567138] hdaudio hdaudioC0D0: Unable to bind the codec
> 
> Automotive Grade Linux 11.91.0 qemux86-64 ttyS0
> 
> qemux86-64 login: [   27.731494] virtio_gpu virtio0: [drm] *ERROR*
> fbdev: Failed to setup generic emulation (ret=-22)
> [   27.841660] Out of memory: Killed process 161 (systemd-udevd)
> total-vm:12276kB, anon-rss:556kB, file-rss:0kB, shmem-rss:0kB, UID:0
> pgtables:64kB oom_score_adj:0
> 
> qemux86-64 login: 
> qemux86-64 login: 
> qemux86-64 login: root
> 
> ^C^C^C^C^C
> 
> [  236.927354] Out of memory: Killed process 167 ((agetty))
> total-vm:8260kB, anon-rss:1488kB, file-rss:0kB, shmem-rss:0kB, UID:0
> pgtables:48kB oom_score_adj:0
> [  437.781132] Out of memory: Killed process 166 (systemd-udevd)
> total-vm:13548kB, anon-rss:1500kB, file-rss:0kB, shmem-rss:0kB, UID:0
> pgtables:64kB oom_score_adj:0
> [  457.378023] Out of memory: Killed process 170 ((agetty))
> total-vm:8260kB, anon-rss:1488kB, file-rss:0kB, shmem-rss:0kB, UID:0
> pgtables:48kB oom_score_adj:0
> [  516.062574] Out of memory: Killed process 171 ((agetty))
> total-vm:8260kB, anon-rss:1488kB, file-rss:0kB, shmem-rss:0kB, UID:0
> pgtables:48kB oom_score_adj:0
> QEMU 4.2.0 monitor - type 'help' for more information
> (qemu) q
> 
> 
> Questions: 
> - Is there any solution for the 5.4.x(jailhouse-enabling/5.4) kernel
> with some patchset.

I would recommend to switch to 5.10 or queues/jailhouse as I'm no longer
updating 5.4 with potential fixes.

> - Any hints to get it working properly with the "queues/jailhouse" branch.

Is that failing cell your non-root Linux cell? I suppose it ran out of
RAM. How much did you assign to it?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/089c15bf-194d-c84b-431c-461cc8a608e1%40siemens.com.

Reply via email to