Thank you, this did fix the root device error but now the error being given is the following:
[ 0.700742] Freeing unused kernel memory: 384K [ 0.700787] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. [ 0.700799] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0+ #1 [ 0.700806] Hardware name: V2P-AARCH64 (DT) [ 0.700812] Call trace: [ 0.700820] [<ffffff8008089178>] dump_backtrace+0x0/0x380 [ 0.700829] [<ffffff800808950c>] show_stack+0x14/0x20 [ 0.700838] [<ffffff8008633ab4>] dump_stack+0x8c/0xb0 [ 0.700846] [<ffffff80080b8714>] panic+0x118/0x26c [ 0.700855] [<ffffff80086458ec>] kernel_init+0xec/0x100 [ 0.700864] [<ffffff8008085350>] ret_from_fork+0x10/0x18 [ 0.700872] SMP: stopping secondary CPUs [ 0.700879] Kernel Offset: disabled [ 0.700885] CPU features: 0x002492 [ 0.700891] Memory Limit: 1024 MB [ 0.700902] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ________________________________ De: gem5-users <[email protected]> em nome de Giacomo Travaglini <[email protected]> Enviado: sexta-feira, 7 de fevereiro de 2020 08:34 Para: [email protected] <[email protected]> Assunto: Re: [gem5-users] Kernel Panic in FS ARM simulation 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
