I see,

The VExpress_EMM(64) is an old platform and we are slowly removing its support.
It might be the problem is the prebuilt kernel not fully supporting the PCI IDE 
controller, but this is just speculation.

May I suggest you to use a more up to date platform (VExpress_GEM5_V1 or 
VExpress_GEM5_Foundation) ?
(Unless you are really willing to use VExpress_EMM(64))

This comes with using updated guest binaries as well.

You will be able to find prebuilt kernel and disk images at the following page:

http://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries

Let me know if this solves your problem,

Kind Regards

Giacomo

> -----Original Message-----
> From: Csq via gem5-dev <gem5-dev@gem5.org>
> Sent: 26 March 2021 02:53
> To: gem5-dev@gem5.org
> Cc: 3152506...@qq.com
> Subject: [gem5-dev] Re: gem5:stopping fetching and kernel panic
>
> It is a great honor to receive your reply, and I have added some new
> information below.
>
> ************************************
>   m5out/system.workload.dmesg
> ************************************
> [0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd070]
> [0.000000] Linux version 4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64
> (root@SZV1000357782) (gcc version 7.3.0 (SDK V200R003C00B515)) #5 SMP
> PREEMPT Wed Jul 29 20:51:14 CST 2020 [0.000000] Memory limited to 512MB
> [0.000000] efi: Getting EFI parameters from FDT:
> [0.000000] efi: UEFI not found.
> [0.000000] parse cmdline param err, kbox reserve memory max size =
> 0x8000000, cur size = 0x0 [0.000000] cma: Reserved 16 MiB at
> 0x000000009f000000 [0.000000] memory reserve information:
> [0.000000]   reserved type: 7
> [0.000000]   enable       : no
> [0.000000] NUMA: No NUMA configuration found [0.000000] NUMA: Faking a
> node at [mem 0x0000000000000000-0x000000009fffffff]
> [0.000000] NUMA: NODE_DATA [mem 0x9eff0dc0-0x9eff257f] [0.000000]
> Zone ranges:
> [0.000000]   DMA32    [mem 0x0000000080000000-0x000000009fffffff]
> [0.000000]   Normal   empty
> [0.000000] Movable zone start for each node [0.000000] Early memory node
> ranges
> [0.000000]   node   0: [mem 0x0000000080000000-0x000000009fffffff]
> [0.000000] Initmem setup node 0 [mem 0x0000000080000000-
> 0x000000009fffffff]
> [0.000000] On node 0 totalpages: 131072
> [0.000000]   DMA32 zone: 2048 pages used for memmap
> [0.000000]   DMA32 zone: 0 pages reserved
> [0.000000]   DMA32 zone: 131072 pages, LIFO batch:31
> [0.000000] random: get_random_bytes called from start_kernel+0xac/0x44c
> with crng_init=0 [0.000000] percpu: Embedded 23 pages/cpu
> @(____ptrval____) s54232 r8192 d31784 u94208 [0.000000] pcpu-alloc:
> s54232 r8192 d31784 u94208 alloc=23*4096 [0.000000] pcpu-alloc: [0] 0 [0] 1
> [0.000000] Detected PIPT I-cache on CPU0 [0.000000] CPU features: enabling
> workaround for ARM erratum 832075 [0.000000] CPU features: enabling
> workaround for Mismatched cache type [0.000000] CPU features: enabling
> workaround for EL2 vector hardening [0.000000] CPU features: detected:
> Kernel page table isolation (KPTI) [0.000000] Built 1 zonelists, mobility
> grouping on.  Total pages: 129024 [0.000000] Policy zone: DMA32 [0.000000]
> Kernel command line: earlyprintk=pl011,0x1c090000 console=ttyAMA0
> lpj=19988480 norandmaps rw loglevel=8 mem=512MB root=/dev/sda1
> [0.000000] Memory: 479980K/524288K available (7420K kernel code, 550K
> rwdata, 2328K rodata, 576K init, 252K bss, 27924K reserved, 16384K cma-
> reserved) [0.000000] E820: [mem 0x0000000080000000-0x000000009fffffff]
> usable [0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2,
> Nodes=1 [0.000000] rcu: Preemptible hierarchical RCU implementation.
> [0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
> [0.000000] Tasks RCU enabled.
> [0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
> [0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [0.000077]
> sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
> [0.000880] arch_timer: cp15 timer(s) running at 25.16MHz (virt).
> [0.000953] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:
> 0x5cdd39714, max_idle_ns: 440795202620 ns [0.001019] sched_clock: 56 bits
> at 25MHz, resolution 39ns, wraps every 4398046511084ns [0.001756] Console:
> colour dummy device 80x25 [0.002213] Calibrating delay loop (skipped)
> preset value.. 9994.24 BogoMIPS (lpj=19988480) [0.002326] pid_max: default:
> 32768 minimum: 301 [0.003965] Dentry cache hash table entries: 65536 (order:
> 7, 524288 bytes) [0.004687] Inode-cache hash table entries: 32768 (order: 6,
> 262144 bytes) [0.004931] Mount-cache hash table entries: 1024 (order: 1,
> 8192 bytes) [0.005032] Mountpoint-cache hash table entries: 1024 (order: 1,
> 8192 bytes) [0.242428] ASID allocator initialised with 128 entries [0.322625]
> rcu: Hierarchical SRCU implementation.
> [0.403712] EFI services will not be available.
> [0.483435] smp: Bringing up secondary CPUs ...
> [10.894791] CPU1: failed to come online
> [10.894868] CPU1: failed in unknown state : 0x0 [10.895446] smp: Brought up
> 1 node, 1 CPU [10.895511] SMP: Total of 1 processors activated.
> [10.895572] CPU features: detected: Privileged Access Never [10.895610]
> CPU features: detected: 32-bit EL0 Support [10.895644] CPU features:
> detected: Scalable Vector Extension [10.895684] CPU features: detected:
> Data cache clean to the PoU not required for I/D coherence [10.905139] SVE:
> maximum available vector length 16 bytes per vector [10.905203] SVE:
> default vector length 16 bytes per vector [10.905327] CPU: All CPU(s) started
> at EL1 [10.905529] alternatives: patching kernel code [10.913454] devtmpfs:
> initialized [10.922492] genirq: IRQ affinity hint notify enabled [10.924436]
> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:
> 7645041785100000 ns [10.924715] futex hash table entries: 512 (order: 3,
> 32768 bytes) [10.947533] DMI not present or invalid.
> [10.949090] NET: Registered protocol family 16 [11.754389] cpuidle: using
> governor menu [11.755308] vdso: 2 pages (1 code @ (____ptrval____), 1
> data @ (____ptrval____)) [11.755397] hw-breakpoint: found 2 breakpoint
> and 2 watchpoint registers.
> [11.759613] DMA: preallocated 256 KiB pool for atomic allocations [11.759702]
> Serial: AMBA PL011 UART driver [11.765229] OF: /rtc@1c170000: could not
> find phandle [11.765316] ERROR: could not get clock
> /rtc@1c170000:apb_pclk(0) [11.765405] OF: amba_device_add() failed (-2)
> for /rtc@1c170000 [11.772599] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000
> (irq = 7, base_baud = 0) is a PL011 rev3 [11.801771] console [ttyAMA0]
> enabled [11.828929] OF: amba_device_add() failed (-2) for /kmi@1c070000
> [11.830299] OF: amba_device_add() failed (-2) for /kmi@1c060000 [12.346745]
> HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [12.385941]
> ACPI: Interpreter disabled.
> [12.390994] vgaarb: loaded
> [12.392631] SCSI subsystem initialized
> [12.423766] libata version 3.00 loaded.
> [12.425785] usbcore: registered new interface driver usbfs [12.426604]
> usbcore: registered new interface driver hub [12.427464] usbcore: registered
> new device driver usb [12.428381] pps_core: LinuxPPS API ver. 1 registered
> [12.428720] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
> Giometti <giome...@linux.it> [12.429403] PTP clock support registered
> [12.429976] EDAC MC: Ver: 3.0.0 [12.472413] clocksource: Switched to
> clocksource arch_sys_counter [12.474517] pnp: PnP ACPI: disabled
> [12.721812] NET: Registered protocol family 2 [12.725501]
> tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes)
> [12.726392] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> [12.727073] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
> [12.727743] TCP: Hash tables configured (established 4096 bind 4096)
> [12.728904] UDP hash table entries: 256 (order: 1, 8192 bytes) [12.729438]
> UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [12.730787] NET:
> Registered protocol family 1 [12.872863] RPC: Registered named UNIX socket
> transport module.
> [12.873290] RPC: Registered udp transport module.
> [12.873592] RPC: Registered tcp transport module.
> [12.873886] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [12.874319] PCI: CLS 0 bytes, default 64 [12.904584] workingset:
> timestamp_bits=60 max_order=17 bucket_order=0 [12.905070]
> [memstat]starting init memstat for modules [13.163471] fuse init (API version
> 7.27) [13.172065] 9p: Installing v9fs 9p2000 file system support [13.200584] 
> io
> scheduler noop registered [13.201934] io scheduler cfq registered (default)
> [13.202301] io scheduler mq-deadline registered [13.202601] io scheduler
> kyber registered [13.203863] atomic64_test: passed [13.341219] Serial:
> 8250/16550 driver, 4 ports, IRQ sharing disabled [13.478548] libphy: Fixed
> MDIO Bus: probed [13.483791] hclge is initializing [13.484079] hclgevf is
> initializing [13.484326] hns3: Hisilicon Ethernet Network Driver for Hip08
> Family - version [13.484758] hns3: Copyright (c) 2017 Huawei Corporation.
> [13.486007] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-
> NAPI [13.486469] e1000: Copyright (c) 1999-2006 Intel Corporation.
> [13.487168] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [13.487551]
> e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [13.488345] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
> [13.488793] igb: Copyright (c) 2007-2014 Intel Corporation.
> [13.489442] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version
> 5.1.0-k [13.489925] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
> [13.598432] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network
> Driver - version 4.1.0-k [13.599039] ixgbevf: Copyright (c) 2009 - 2015 Intel
> Corporation.
> [13.641457] i40e: Intel(R) Ethernet Connection XL710 Network Driver -
> version 2.3.2-k [13.641979] i40e: Copyright (c) 2013 - 2014 Intel Corporation.
> [13.685975] ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-
> NAPI [13.686458] ixgb: Copyright (c) 1999-2008 Intel Corporation.
> [13.687136] i40evf: Intel(R) 40-10 Gigabit Virtual Function Network Driver -
> version 3.2.2-k [13.687656] Copyright (c) 2013 - 2015 Intel Corporation.
> [13.734978] usbcore: registered new interface driver usb-storage [13.744383]
> mousedev: PS/2 mouse device common for all mice [13.752806] usbcore:
> registered new interface driver usbhid [13.753209] usbhid: USB HID core
> driver [13.767093] NET: Registered protocol family 17 [13.767643] 9pnet:
> Installing 9P2000 support [13.786085] VFS: Cannot open root device "sda1" or
> unknown-block(0,0): error -6 [13.786566] Please append a correct "root="
> boot option; here are the available partitions:
>
> ****************************
>    Here is my run script.
> ****************************
>
> ./build/ARM/gem5.debug configs/example/fs.py --machine-
> type=VExpress_EMM64 --disk-image=/home/gem5/aarch-system-
> 20170616/disks/linaro-minimal-aarch64.img --kernel=/home/gem5/aarch-
> system-20170616/binaries/vmlinux.euler --cpu-type=DerivO3CPU --caches --
> smt _______________________________________________
> gem5-dev mailing list -- gem5-dev@gem5.org To unsubscribe send an email
> to gem5-dev-
> le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
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-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to