Thank you, adding --disk-image option solves the problem. Vào Th 4, 17 thg 3, 2021 vào lúc 00:25 Giacomo Travaglini via gem5-users < gem5-users@gem5.org> đã viết:
> Hi, > > You are not providing a --disk-image option to fs.py > > You should download the latest AArch32 disk image from the link you > mentioned and pass it to the command line: > > https://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries > > Kind Regards > > Giacomo > > > -----Original Message----- > > From: Đức Anh via gem5-users <gem5-users@gem5.org> > > Sent: 16 March 2021 15:44 > > To: gem5 users mailing list <gem5-users@gem5.org> > > Cc: Đức Anh <daut...@gmail.com> > > Subject: [gem5-users] Running ARM FS mode > > > > Dear all, > > > > I am trying to run the Gem5 simulation in FS mode and ARM architecture > with > > the resource provided from the repo. However, I am running into this > error > > > > > > No filesystem could mount root, tried: > > ext3 > > ext4 > > ext2 > > squashfs > > vfat > > fuseblk > > > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(1,0) > > > > > > The error occurred in both stable and develop branch. The command I use > it: > > > > > > ./build/ARM/gem5.opt configs/example/fs.py > > --kernel=configs/thesis/arm/binaries/vmlinux.arm > > --machine-type=VExpress_GEM5_V1 > > --dtb-file=system/arm/dt/armv7_gem5_v1_1cpu.dtb > > --bootloader=system/arm/bootloader/arm/boot.arm > > --command-line 'earlyprintk=pl011,0x1c090000 lpj=19988480 rw > > loglevel=8 mem=256MB root=/dev/ram0 console_msg_format=syslog > > nokaslr norandmaps panic=-1 printk.devkmsg=on printk.time=y rw > > console=ttyAMA0 - lkmc_home=/lkmc' > > > > > > The kernel and bootloader I got from the guest binaries page > > <https://www.gem5.org/documentation/general_docs/fullsystem/guest_bi > > naries> , latest Linux Kernel Image / Bootloader (recommended). DTB file > is > > generated by the command make -C system/arm/dt. > > > > > > Before I used this command line instead > > > > ./build/ARM/gem5.opt configs/example/fs.py > > --kernel=configs/thesis/arm/binaries/vmlinux.arm > > --machine-type=VExpress_GEM5_V1 > > --dtb-file=system/arm/dt/armv7_gem5_v1_1cpu.dtb > > --bootloader=system/arm/bootloader/arm/boot.arm > > > > > > The same as the above except for the command-line arg. I got the > following > > error > > > > > > VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6 > > [ 0.764532] Please append a correct "root=" boot option; here are > > the available partitions: > > [ 0.764537] 0100 4096 ram0 > > [ 0.764538] (driver?) > > [ 0.764545] 0101 4096 ram1 > > [ 0.764546] (driver?) > > [ 0.764552] 0102 4096 ram2 > > [ 0.764553] (driver?) > > [ 0.764560] 0103 4096 ram3 > > [ 0.764561] (driver?) > > [ 0.764567] 0104 4096 ram4 > > [ 0.764569] (driver?) > > [ 0.764575] 0105 4096 ram5 > > [ 0.764576] (driver?) > > [ 0.764583] 0106 4096 ram6 > > [ 0.764584] (driver?) > > [ 0.764590] 0107 4096 ram7 > > [ 0.764591] (driver?) > > [ 0.764598] 0108 4096 ram8 > > [ 0.764599] (driver?) > > [ 0.764605] 0109 4096 ram9 > > [ 0.764606] (driver?) > > [ 0.764613] 010a 4096 ram10 > > [ 0.764614] (driver?) > > [ 0.764620] 010b 4096 ram11 > > [ 0.764622] (driver?) > > [ 0.764628] 010c 4096 ram12 > > [ 0.764629] (driver?) > > [ 0.764636] 010d 4096 ram13 > > [ 0.764637] (driver?) > > [ 0.764643] 010e 4096 ram14 > > [ 0.764644] (driver?) > > [ 0.764651] 010f 4096 ram15 > > [ 0.764652] (driver?) > > [ 0.764662] Kernel panic - not syncing: VFS: Unable to mount root fs > > on unknown-block(0,0) > > > > > > That why I add the command-line option and specify ram0 as the root, but > > the simulation is still not working. > > > > Can anyone help me with this? > > > > Thank you, > > Duc Anh > 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 > %(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