Hi saras,

Could you post an extract of the kernel panic from m5out/system.terminal?

Kind Regards

Giacomo

From: saras nanda via gem5-users <gem5-users@gem5.org>
Date: Sunday, 26 November 2023 at 22:13
To: The gem5 Users mailing list <gem5-users@gem5.org>
Cc: saras nanda <sarasnand...@gmail.com>
Subject: [gem5-users] Query regarding Running Custom FS image for ARM FS 
simulation
Hello Everyone ,

I am trying to run some benchmarks on ARM FS simulation , I have modified my 
disk image using qemu and runs successfully on qemu emulator (running qemu as 
VM ) but when I pass the same disk image to the ARM FS I get the kernel panic 
error
These are the commands I used in qemu to modify my image :

sudo qemu-system-aarch64 -m 1024 -cpu cortex-a57 -M virt -nographic -pflash 
flash0.img -pflash flash1.img -drive 
if=none,file=ubuntu-18.04-server-cloudimg-arm64.img,id=hd0 -drive 
file=user-data.img,format=raw,id=cloud -device virtio-blk-device,drive=hd0 -net 
user,hostfwd=tcp::8080-:22 -net nic -vnc :3

I have

Passed the same image to ARM FS in gem5  using the following command :

/build/ARM/gem5.opt configs/example/arm/fs_power.py 
--kernel=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/binaries/vmlinux.arm64
 
--disk=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/disks/ubuntu-18.04-server-cloudimg-arm64.img
 --caches

I have also resized the image size using qemuing command

I want to avoid the kernel panic error and mount my image successfully on gem5 
ARM FS mode .
Kindly let me know what needs to be rectified.

Thankyou

Regards
Saras


IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to