Hi all,

I'm building and running gem5 using the guest binary Ubuntu 18.04 image for 
ARM64 linked from the gem5 guest binaries page 
(https://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries). 
However, when running the system in full system for ARM bigLITTLE 

```
gem5-workspace/gem5/build/ARM/base-gem5.opt 
gem5-workspace/gem5/configs/example/arm/fs_bigLITTLE.py --kernel 
gem5-workspace/gem5/dist/binaries/vmlinux.arm64 --cpu-type atomic --dtb 
gem5-workspace/gem5/system/arm/dt/armv8_gem5_v1_big_little_2_2.dtb --disk 
gem5-workspace/gem5/dist/disks/ubuntu-18.04-arm64-docker.img --bootscript 
gem5-workspace/gem5/bootscripts/test.rcS
```

I get the following error

```
[    3.915428] Kernel panic - not syncing: Requested init /sbin/init failed 
(error -2).
[    3.915434] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.18.0+ #1
[    3.915439] Hardware name: V2P-AARCH64 (DT)
[    3.915442] Call trace:
[    3.915447]  dump_backtrace+0x0/0x1c0
[    3.915453]  show_stack+0x14/0x20
[    3.915458]  dump_stack+0x8c/0xac
[    3.915462]  panic+0x130/0x288
[    3.915467]  kernel_init+0xa8/0x108
[    3.915472]  ret_from_fork+0x10/0x18
[    3.915477] Kernel Offset: disabled
[    3.915481] CPU features: 0x21c06492
[    3.915485] Memory Limit: 2048 MB
[    3.915492] ---[ end Kernel panic - not syncing: Requested init /sbin/init 
failed (error -2). ]---
```

And a kernel panic in the host terminal process.

I mounted the Ubuntu 18.04 disk image into a temporary directory to examine the 
contents of the /sbin/ directory to confirm that there wasn't an init file 
there (which there was not).

My next step was to look at the /sbin/ directory of an Ubuntu 18.04 virtual 
machine to see if perhaps there was a different kernel init file being used 
under this version of Ubuntu (I also have the 
"aarch64-ubuntu-trusty-headless.img" downloaded from gem5 guest binaries, and 
there is a file /sbin/init in that image) so that I could just change where 
gem5 looks for this binary, but - based on the VM - it seems as though this 
file structure hasn't changed.

Is this an issue with gem5's released version of Ubuntu 18.04 for ARM? And if 
so, is there either (a) an alternative image file for Ubuntu 18.04 for ARM with 
the appropriate kernel initialization files or (b) a place where those files 
exist where I can install them onto the current Ubuntu 18.04 image?

Thank you for your help!

Sam
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to