Can you also try to use the full path to vmlinux.arm64 instead of just basename? I suspect it is currently searching for it on M5_PATH (because not slashes in the path) and finding some broken image there. Better still, get rid of M5_PATH altogether if possible.
My full non minimized CLI with gem5 b1623cb2087873f64197e503ab8894b5e4d4c7b4 is: M5_OVERRIDE_PY_SOURCE=true \ /home/ciro/bak/git/linux-kernel-module-cheat/out/gem5/master3/build/ARM/gem5.opt \ --debug-file trace.txt \ --listener-mode on \ --outdir /home/ciro/bak/git/linux-kernel-module-cheat/out/run/gem5/aarch64/0/m5out \ /home/ciro/bak/git/linux-kernel-module-cheat/data/gem5/master3/configs/example/fs.py \ --kernel /mnt/hd/gem5-images/aarch-system-201901106/binaries/vmlinux.arm64 \ --num-cpus 1 \ --script /home/ciro/bak/git/linux-kernel-module-cheat/out/run/gem5/aarch64/0/readfile \ --disk-image /home/ciro/bak/git/linux-kernel-module-cheat/out/buildroot/build/default/aarch64/images/rootfs.ext2 \ --machine-type VExpress_GEM5_V1 \ --command-line 'earlyprintk=pl011,0x1c090000 lpj=19988480 rw loglevel=8 mem=256MB root=/dev/sda console_msg_format=syslog nokaslr norandmaps panic=-1 printk.devkmsg=on printk.time=y rw console=ttyAMA0 - lkmc_home=/lkmc' \ --param 'system.workload.panic_on_panic = True' \ --bootloader /home/ciro/bak/git/linux-kernel-module-cheat/out/gem5/master3/system/binaries/boot.arm64 \ --mem-size 256MB \ ; On Sat, Apr 25, 2020 at 1:49 PM Taiyu Zhou via gem5-users <gem5-users@gem5.org> wrote: > > Hi Ciro. > Thanks for you reply.Could you show me the script you run on > vmlinux.arm64 and your config? > Because I think I don’t run on right command. > I run > "./build/X86/gem5.opt configs/example/fs.py --kernel=vmlinux.arm64 > --disk-image=aarch64-ubuntu-trusty-headless.img" gem5 reports that > fatal: could not load kernel symbols > > But when I run > “./build/X86/gem5.opt configs/example/fs.py --kernel=boot.arm64 > --disk-image=aarch64-ubuntu-trusty-headless.img" > > It works ,but not a system. I use m5term connect to it .It just show a line > "==== m5 slave terminal: Terminal 0 ====" > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s