This is the key: [ 0.704992] VFS: Cannot open root device "sda1" or unknown-block(8,1): error -6 [ 0.705000] Please append a correct "root=" boot option; here are the available partitions: [ 0.705010] 0800 4194304 sda [ 0.705013] driver: sd
Just run simulation with the --root=/dev/sda option and let me know if it works Giacomo ________________________________ From: gem5-users <[email protected]> on behalf of Iago . <[email protected]> Sent: 07 February 2020 06:34 To: [email protected] <[email protected]> Subject: [gem5-users] Kernel Panic in FS ARM simulation I've been trying to make some simulations with the files available at m5 website called aarch-system-20180409.tar.xz and been getting the following error during full system emulation, the kernel and disk images used are as follow: --disk-image=linaro-minimal-aarch64.img --kernel=vmlinux.vexpress_gem5_v1_64 --machine-type=VExpress_GEM5_V1 --dtb=armv8_gem5_v1_4cpu.dtb And the error ive been getting is [ 0.704992] VFS: Cannot open root device "sda1" or unknown-block(8,1): error -6 [ 0.705000] Please append a correct "root=" boot option; here are the available partitions: [ 0.705010] 0800 4194304 sda [ 0.705013] driver: sd [ 0.705024] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1) [ 0.705033] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0+ #1 [ 0.705040] Hardware name: V2P-AARCH64 (DT) [ 0.705046] Call trace: [ 0.705054] [<ffffff8008089178>] dump_backtrace+0x0/0x380 [ 0.705063] [<ffffff800808950c>] show_stack+0x14/0x20 [ 0.705072] [<ffffff8008633ab4>] dump_stack+0x8c/0xb0 [ 0.705080] [<ffffff80080b8714>] panic+0x118/0x26c [ 0.705090] [<ffffff80088710e4>] mount_block_root+0x184/0x25c [ 0.705099] [<ffffff80088712d8>] mount_root+0x11c/0x134 [ 0.705108] [<ffffff800887142c>] prepare_namespace+0x13c/0x184 [ 0.705118] [<ffffff8008870d28>] kernel_init_freeable+0x1b0/0x1d0 [ 0.705127] [<ffffff8008645810>] kernel_init+0x10/0x100 [ 0.705136] [<ffffff8008085350>] ret_from_fork+0x10/0x18 [ 0.705144] SMP: stopping secondary CPUs [ 0.705151] Kernel Offset: disabled [ 0.705157] CPU features: 0x002492 [ 0.705164] Memory Limit: 1024 MB [ 0.705174] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1) 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 [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
