Hi ALL,
I try to run kvm-cpu in gem5(develop) full system mode under the arm
architecture, (
https://gem5.atlassian.net/jira/software/c/projects/GEM5/issues/GEM5-663)
the system start is ok, but when I use the m5 checkpoint operation, there
will be illegal instructions, I don't know where the problem is.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x481fd010]
[    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] Machine model: V2P-CA15
[    0.000000] earlycon: pl11 at MMIO 0x000000001c090000 (options '')
[    0.000000] bootconsole [pl11] enabled
[    0.000000] Memory limited to 2048MB
[    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 0x00000000ff000000
[    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-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfefee100-0xfefef8bf]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   DMA32 zone: 8192 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 524288 pages, LIFO batch:63
[    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] 2 [0] 3 [0] 4
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for Mismatched cache type
[    0.000000] CPU features: GIC system register CPU interface present but
disabled by higher exception level
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: earlyprintk earlycon=pl011,0x1c090000
console=ttyAMA0 lpj=19988480 norandmaps loglevel=8 mem=2GB root=/dev/vda1
rw init=/sbin/init vmalloc=768MB
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 16384 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 13668(83%)
[    0.000000] Memory: 2036132K/2097152K available (7420K kernel code, 550K
rwdata, 2328K rodata, 576K init, 252K bss, 44636K reserved, 16384K
cma-reserved)
[    0.000000] E820: [mem 0x0000000080000000-0x00000000ffffffff] usable
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=5, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=5.
[    0.000000] Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=5
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every
89478484971ns
[    0.005999] arch_timer: mmio timer(s) running at 25.16MHz (virt).
[    0.009999] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x5cdd39714, max_idle_ns: 440795202620 ns
[    0.018000] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every
4398046511084ns
[    0.024000] Console: colour dummy device 80x25
[    0.027000] Calibrating delay loop (skipped) preset value.. 9994.24
BogoMIPS (lpj=19988480)
[    0.033000] pid_max: default: 32768 minimum: 301
[    0.040000] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes)
[    0.047000] Inode-cache hash table entries: 131072 (order: 8, 1048576
bytes)
[    0.052000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.057000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768
bytes)
[    0.090000] ASID allocator initialised with 32768 entries
[    0.102000] rcu: Hierarchical SRCU implementation.
[    0.120001] EFI services will not be available.
[    0.135001] smp: Bringing up secondary CPUs ...
[    0.200001] Detected VIPT I-cache on CPU1
[    0.201001] CPU1: Booted secondary processor 0x0000000101 [0x481fd010]
[    0.269002] Detected VIPT I-cache on CPU2
[    0.270002] CPU2: Booted secondary processor 0x0000000102 [0x481fd010]
[    0.338003] Detected VIPT I-cache on CPU3
[    0.339003] CPU3: Booted secondary processor 0x0000000103 [0x481fd010]
[    0.400004] Detected VIPT I-cache on CPU4
[    0.401004] CPU4: Booted secondary processor 0x0000000104 [0x481fd010]
[    0.404004] smp: Brought up 1 node, 5 CPUs
[    0.435004] SMP: Total of 5 processors activated.
[    0.439004] CPU features: detected: Privileged Access Never
[    0.442004] CPU features: detected: RAS Extension Support
[    0.460004] CPU: All CPU(s) started at EL1
[    0.465004] alternatives: patching kernel code
[    0.487005] devtmpfs: initialized
[    0.495005] genirq: IRQ affinity hint notify enabled
[    0.502005] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.509005] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.527005] DMI not present or invalid.
[    0.531005] NET: Registered protocol family 16
[    0.714007] cpuidle: using governor menu
[    0.720007] vdso: 2 pages (1 code @ (____ptrval____), 1 data @
(____ptrval____))
[    0.724007] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.741007] DMA: preallocated 256 KiB pool for atomic allocations
[    0.746007] Serial: AMBA PL011 UART driver
[    0.752007] OF: /rtc@1c170000: could not find phandle
[    0.756007] ERROR: could not get clock /rtc@1c170000:apb_pclk(0)
[    0.760008] OF: amba_device_add() failed (-2) for /rtc@1c170000
[    0.764008] OF: amba_device_add() failed (-2) for /watchdog@2a490000
[    0.769008] OF: amba_device_add() failed (-2) for /watchdog@2b060000
[    0.773008] OF: /watchdog@1c0f0000: could not find phandle
[    0.777008] ERROR: could not get clock /watchdog@1c0f0000:apb_pclk(1)
[    0.782008] OF: amba_device_add() failed (-2) for /watchdog@1c0f0000
[    0.792008] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 12,
base_baud = 0) is a PL011 rev3
[    0.798008] console [ttyAMA0] enabled
[    0.798008] console [ttyAMA0] enabled
[    0.803008] bootconsole [pl11] disabled
[    0.803008] bootconsole [pl11] disabled
[    0.810008] 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 13,
base_baud = 0) is a PL011 rev3
[    0.816008] 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 14,
base_baud = 0) is a PL011 rev3
[    0.823008] 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 15,
base_baud = 0) is a PL011 rev3
[    0.829008] OF: amba_device_add() failed (-2) for /kmi@1c070000
[    0.832008] OF: amba_device_add() failed (-2) for /kmi@1c060000
[    0.946010] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.017010] ACPI: Interpreter disabled.
[    1.024010] vgaarb: loaded
[    1.026010] SCSI subsystem initialized
[    1.053011] libata version 3.00 loaded.
[    1.056011] usbcore: registered new interface driver usbfs
[    1.060011] usbcore: registered new interface driver hub
[    1.063011] usbcore: registered new device driver usb
[    1.066011] pps_core: LinuxPPS API ver. 1 registered
[    1.080011] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <giome...@linux.it>
[    1.084011] PTP clock support registered
[    1.089011] EDAC MC: Ver: 3.0.0
[    1.105011] clocksource: Switched to clocksource arch_sys_counter
[    1.108011] Clockevents: could not switch to one-shot mode: dummy_timer
is not functional.
[    1.108011] Could not switch to high resolution mode on CPU 0
[    1.109011] Clockevents: could not switch to one-shot mode:
[    1.110011] Clockevents: could not switch to one-shot mode:
[    1.111011] Clockevents: could not switch to one-shot mode:
[    1.112011] Clockevents: could not switch to one-shot mode:
[    1.113011]  dummy_timer is not functional.
[    1.114011]  dummy_timer is not functional.
[    1.115011]  dummy_timer is not functional.
[    1.116011] Could not switch to high resolution mode on CPU 2
[    1.117011] pnp: PnP ACPI: disabled
[    1.118011] Could not switch to high resolution mode on CPU 4
[    1.119011] Could not switch to high resolution mode on CPU 3
[    1.120011]  dummy_timer is not functional.
[    1.121011] Could not switch to high resolution mode on CPU 1
[    1.329014] NET: Registered protocol family 2
[    1.333014] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2,
16384 bytes)
[    1.338014] TCP established hash table entries: 16384 (order: 5, 131072
bytes)
[    1.342014] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.346014] TCP: Hash tables configured (established 16384 bind 16384)
[    1.350014] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.353014] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.357014] NET: Registered protocol family 1
[    1.368014] RPC: Registered named UNIX socket transport module.
[    1.371014] RPC: Registered udp transport module.
[    1.374014] RPC: Registered tcp transport module.
[    1.376014] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.380014] PCI: CLS 0 bytes, default 64
[    1.396014] workingset: timestamp_bits=60 max_order=19 bucket_order=0
[    1.400014] [memstat]starting init memstat for modules
[    1.495015] fuse init (API version 7.27)
[    1.499015] 9p: Installing v9fs 9p2000 file system support
[    1.516016] io scheduler noop registered
[    1.519016] io scheduler cfq registered (default)
[    1.522016] io scheduler mq-deadline registered
[    1.524016] io scheduler kyber registered
[    1.536016] atomic64_test: passed
[    1.547016] pci-host-generic 30000000.pci: host bridge /pci ranges:
[    1.551016] pci-host-generic 30000000.pci:   No bus range found for
/pci, using [bus 00-ff]
[    1.555016] pci-host-generic 30000000.pci: Parsing ranges property...
[    1.559016] pci-host-generic 30000000.pci:    IO 0x2f000000..0x2f00ffff
-> 0x00000000
[    1.562016] random: fast init done
[    1.563016] pci-host-generic 30000000.pci:   MEM 0x40000000..0x7fffffff
-> 0x00000000
[    1.563016] pci-host-generic 30000000.pci: ECAM at [mem
0x30000000-0x3fffffff] for [bus 00-ff]
[    1.564016] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
[    1.577016] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.580016] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.584016] pci_bus 0000:00: root bus resource [mem
0x40000000-0x7fffffff] (bus address [0x00000000-0x3fffffff])
[    1.589016] pci_bus 0000:00: scanning bus
[    1.591017] pci 0000:00:01.0: [1af4:1000] type 00 class 0xff0000
[    1.595017] pci 0000:00:01.0: reg 0x10: [io  0x0000-0x001f]
[    1.598017] pci 0000:00:01.0: reg 0x30: [mem 0x40000000-0x400007ff pref]
[    1.604017] pci_bus 0000:00: fixups for bus
[    1.606017] pci_bus 0000:00: bus scan returning with max=00
[    1.609017] pci 0000:00:01.0: BAR 6: assigned [mem 0x40000000-0x400007ff
pref]
[    1.613017] pci 0000:00:01.0: BAR 0: assigned [io  0x1000-0x101f]
[    1.630017] virtio-pci 0000:00:01.0: assign IRQ: got 18
[    1.633017] virtio-pci 0000:00:01.0: enabling device (0000 -> 0001)
[    1.636017] virtio-pci 0000:00:01.0: virtio_pci: leaving for legacy
driver
[    1.640017] virtio-pci 0000:00:01.0: enabling bus mastering
[    1.710018] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.726018] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.732018] virtio_blk virtio0: [vda] 44039680 512-byte logical blocks
(22.5 GB/21.0 GiB)
[    1.748018]  vda: vda1
[    1.771018] libphy: Fixed MDIO Bus: probed
[    1.781019] hclge is initializing
[    1.788019] hclgevf is initializing
[    1.790019] hns3: Hisilicon Ethernet Network Driver for Hip08 Family -
version
[    1.794019] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.797019] e1000: Intel(R) PRO/1000 Network Driver - version
7.3.21-k8-NAPI
[    1.801019] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.804019] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.807019] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.810019] igb: Intel(R) Gigabit Ethernet Network Driver - version
5.4.0-k
[    1.814019] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.817019] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver -
version 5.1.0-k
[    1.821019] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    1.828019] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function
Network Driver - version 4.1.0-k
[    1.833019] ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
[    1.843019] i40e: Intel(R) Ethernet Connection XL710 Network Driver -
version 2.3.2-k
[    1.847019] i40e: Copyright (c) 2013 - 2014 Intel Corporation.
[    1.859019] ixgb: Intel(R) PRO/10GbE Network Driver - version
1.0.135-k2-NAPI
[    1.863019] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    1.866019] i40evf: Intel(R) 40-10 Gigabit Virtual Function Network
Driver - version 3.2.2-k
[    1.870020] Copyright (c) 2013 - 2015 Intel Corporation.
[    1.881020] usbcore: registered new interface driver usb-storage
[    1.889020] mousedev: PS/2 mouse device common for all mice
[    1.897020] usbcore: registered new interface driver usbhid
[    1.907020] usbhid: USB HID core driver
[    1.910020] NET: Registered protocol family 17
[    1.913020] 9pnet: Installing 9P2000 support
[    1.960021] EXT4-fs (vda1): mounted filesystem without journal. Opts:
(null)
[    1.963021] VFS: Mounted root (ext4 filesystem) on device 254:1.
[    1.983021] devtmpfs: mounted
[    1.986021] Freeing unused kernel memory: 576K
[    1.988021] Run /sbin/init as init process

INIT: version 2.88 booting

Starting udev
[    2.337025] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.341025] caller is debug_smp_processor_id+0x1c/0x28
[    2.344025] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.348025] Hardware name: V2P-CA15 (DT)
[    2.350025] Call trace:
[    2.351025]  dump_backtrace+0x0/0x198
[    2.353025]  show_stack+0x14/0x20
[    2.355025]  dump_stack+0xa4/0xcc
[    2.356025]  check_preemption_disabled+0x154/0x158
[    2.359025]  debug_smp_processor_id+0x1c/0x28
[    2.361025]  __access_remote_vm+0x4c/0x268
[    2.363025]  access_remote_vm+0x24/0x30
[    2.365025]  proc_pid_cmdline_read+0x1c0/0x368
[    2.367025]  __vfs_read+0x30/0x158
[    2.369025]  vfs_read+0x88/0x138
[    2.370025]  ksys_read+0x60/0xd8
[    2.372025]  __arm64_sys_read+0x14/0x20
[    2.373025]  el0_svc_common+0x5c/0x100
[    2.375025]  el0_svc_handler+0x24/0x88
[    2.377025]  el0_svc+0x8/0xc
[    2.382025] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.386025] caller is debug_smp_processor_id+0x1c/0x28
[    2.388025] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.393025] Hardware name: V2P-CA15 (DT)
[    2.395025] Call trace:
[    2.396025]  dump_backtrace+0x0/0x198
[    2.397025]  show_stack+0x14/0x20
[    2.399025]  dump_stack+0xa4/0xcc
[    2.401025]  check_preemption_disabled+0x154/0x158
[    2.403025]  debug_smp_processor_id+0x1c/0x28
[    2.405025]  __access_remote_vm+0x4c/0x268
[    2.407025]  access_remote_vm+0x24/0x30
[    2.409025]  proc_pid_cmdline_read+0x1c0/0x368
[    2.411025]  __vfs_read+0x30/0x158
[    2.412025]  vfs_read+0x88/0x138
[    2.414025]  ksys_read+0x60/0xd8
[    2.416025]  __arm64_sys_read+0x14/0x20
[    2.417025]  el0_svc_common+0x5c/0x100
[    2.419025]  el0_svc_handler+0x24/0x88
[    2.421025]  el0_svc+0x8/0xc
[    2.436026] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.440026] caller is debug_smp_processor_id+0x1c/0x28
[    2.442026] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.446026] Hardware name: V2P-CA15 (DT)
[    2.448026] Call trace:
[    2.449026]  dump_backtrace+0x0/0x198
[    2.451026]  show_stack+0x14/0x20
[    2.453026]  dump_stack+0xa4/0xcc
[    2.454026]  check_preemption_disabled+0x154/0x158
[    2.456026]  debug_smp_processor_id+0x1c/0x28
[    2.458026]  __access_remote_vm+0x4c/0x268
[    2.460026]  access_remote_vm+0x24/0x30
[    2.462026]  proc_pid_cmdline_read+0x1c0/0x368
[    2.464026]  __vfs_read+0x30/0x158
[    2.466026]  vfs_read+0x88/0x138
[    2.468026]  ksys_read+0x60/0xd8
[    2.469026]  __arm64_sys_read+0x14/0x20
[    2.471026]  el0_svc_common+0x5c/0x100
[    2.473026]  el0_svc_handler+0x24/0x88
[    2.475026]  el0_svc+0x8/0xc
[    2.476026] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.480026] caller is debug_smp_processor_id+0x1c/0x28
[    2.483026] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.487026] Hardware name: V2P-CA15 (DT)
[    2.488026] Call trace:
[    2.490026]  dump_backtrace+0x0/0x198
[    2.491026]  show_stack+0x14/0x20
[    2.493026]  dump_stack+0xa4/0xcc
[    2.495026]  check_preemption_disabled+0x154/0x158
[    2.497026]  debug_smp_processor_id+0x1c/0x28
[    2.499026]  __access_remote_vm+0x4c/0x268
[    2.501026]  access_remote_vm+0x24/0x30
[    2.503026]  proc_pid_cmdline_read+0x1c0/0x368
[    2.505026]  __vfs_read+0x30/0x158
[    2.506026]  vfs_read+0x88/0x138
[    2.508026]  ksys_read+0x60/0xd8
[    2.510026]  __arm64_sys_read+0x14/0x20
[    2.512026]  el0_svc_common+0x5c/0x100
[    2.513026]  el0_svc_handler+0x24/0x88
[    2.515026]  el0_svc+0x8/0xc
[    2.517027] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.521027] caller is debug_smp_processor_id+0x1c/0x28
[    2.523027] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.528027] Hardware name: V2P-CA15 (DT)
[    2.530027] Call trace:
[    2.531027]  dump_backtrace+0x0/0x198
[    2.533027]  show_stack+0x14/0x20
[    2.534027]  dump_stack+0xa4/0xcc
[    2.536027]  check_preemption_disabled+0x154/0x158
[    2.538027]  debug_smp_processor_id+0x1c/0x28
[    2.540027]  __access_remote_vm+0x4c/0x268
[    2.542027]  access_remote_vm+0x24/0x30
[    2.544027]  proc_pid_cmdline_read+0x1c0/0x368
[    2.546027]  __vfs_read+0x30/0x158
[    2.548027]  vfs_read+0x88/0x138
[    2.549027]  ksys_read+0x60/0xd8
[    2.551027]  __arm64_sys_read+0x14/0x20
[    2.552027]  el0_svc_common+0x5c/0x100
[    2.554027]  el0_svc_handler+0x24/0x88
[    2.556027]  el0_svc+0x8/0xc
[    2.558027] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.562027] caller is debug_smp_processor_id+0x1c/0x28
[    2.564027] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.568027] Hardware name: V2P-CA15 (DT)
[    2.570027] Call trace:
[    2.571027]  dump_backtrace+0x0/0x198
[    2.573027]  show_stack+0x14/0x20
[    2.575027]  dump_stack+0xa4/0xcc
[    2.576027]  check_preemption_disabled+0x154/0x158
[    2.578027]  debug_smp_processor_id+0x1c/0x28
[    2.581027]  __access_remote_vm+0x4c/0x268
[    2.583027]  access_remote_vm+0x24/0x30
[    2.584027]  proc_pid_cmdline_read+0x1c0/0x368
[    2.587027]  __vfs_read+0x30/0x158
[    2.588027]  vfs_read+0x88/0x138
[    2.590027]  ksys_read+0x60/0xd8
[    2.591027]  __arm64_sys_read+0x14/0x20
[    2.593027]  el0_svc_common+0x5c/0x100
[    2.595027]  el0_svc_handler+0x24/0x88
[    2.597027]  el0_svc+0x8/0xc
[    2.599027] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.603027] caller is debug_smp_processor_id+0x1c/0x28
[    2.605027] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.610028] Hardware name: V2P-CA15 (DT)
[    2.612028] Call trace:
[    2.613028]  dump_backtrace+0x0/0x198
[    2.615028]  show_stack+0x14/0x20
[    2.617028]  dump_stack+0xa4/0xcc
[    2.619028]  check_preemption_disabled+0x154/0x158
[    2.621028]  debug_smp_processor_id+0x1c/0x28
[    2.623028]  __access_remote_vm+0x4c/0x268
[    2.626028]  access_remote_vm+0x24/0x30
[    2.628028]  proc_pid_cmdline_read+0x1c0/0x368
[    2.630028]  __vfs_read+0x30/0x158
[    2.632028]  vfs_read+0x88/0x138
[    2.633028]  ksys_read+0x60/0xd8
[    2.635028]  __arm64_sys_read+0x14/0x20
[    2.637028]  el0_svc_common+0x5c/0x100
[    2.639028]  el0_svc_handler+0x24/0x88
[    2.641028]  el0_svc+0x8/0xc
[    2.643028] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.647028] caller is debug_smp_processor_id+0x1c/0x28
[    2.650028] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.655028] Hardware name: V2P-CA15 (DT)
[    2.657028] Call trace:
[    2.658028]  dump_backtrace+0x0/0x198
[    2.660028]  show_stack+0x14/0x20
[    2.662028]  dump_stack+0xa4/0xcc
[    2.663028]  check_preemption_disabled+0x154/0x158
[    2.666028]  debug_smp_processor_id+0x1c/0x28
[    2.668028]  __access_remote_vm+0x4c/0x268
[    2.670028]  access_remote_vm+0x24/0x30
[    2.672028]  proc_pid_cmdline_read+0x1c0/0x368
[    2.674028]  __vfs_read+0x30/0x158
[    2.676028]  vfs_read+0x88/0x138
[    2.677028]  ksys_read+0x60/0xd8
[    2.679028]  __arm64_sys_read+0x14/0x20
[    2.681028]  el0_svc_common+0x5c/0x100
[    2.683028]  el0_svc_handler+0x24/0x88
[    2.685028]  el0_svc+0x8/0xc
[    2.687028] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.691028] caller is debug_smp_processor_id+0x1c/0x28
[    2.694028] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.698028] Hardware name: V2P-CA15 (DT)
[    2.700029] Call trace:
[    2.701029]  dump_backtrace+0x0/0x198
[    2.703029]  show_stack+0x14/0x20
[    2.705029]  dump_stack+0xa4/0xcc
[    2.707029]  check_preemption_disabled+0x154/0x158
[    2.709029]  debug_smp_processor_id+0x1c/0x28
[    2.711029]  __access_remote_vm+0x4c/0x268
[    2.713029]  access_remote_vm+0x24/0x30
[    2.715029]  proc_pid_cmdline_read+0x1c0/0x368
[    2.717029]  __vfs_read+0x30/0x158
[    2.719029]  vfs_read+0x88/0x138
[    2.721029]  ksys_read+0x60/0xd8
[    2.722029]  __arm64_sys_read+0x14/0x20
[    2.724029]  el0_svc_common+0x5c/0x100
[    2.726029]  el0_svc_handler+0x24/0x88
[    2.728029]  el0_svc+0x8/0xc
[    2.730029] BUG: using smp_processor_id() in preemptible [00000000]
code: pidof/810
[    2.734029] caller is debug_smp_processor_id+0x1c/0x28
[    2.737029] CPU: 4 PID: 810 Comm: pidof Not tainted
4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64 #5
[    2.741029] Hardware name: V2P-CA15 (DT)
[    2.743029] Call trace:
[    2.745029]  dump_backtrace+0x0/0x198
[    2.746029]  show_stack+0x14/0x20
[    2.748029]  dump_stack+0xa4/0xcc
[    2.750029]  check_preemption_disabled+0x154/0x158
[    2.752029]  debug_smp_processor_id+0x1c/0x28
[    2.754029]  __access_remote_vm+0x4c/0x268
[    2.757029]  access_remote_vm+0x24/0x30
[    2.758029]  proc_pid_cmdline_read+0x1c0/0x368
[    2.761029]  __vfs_read+0x30/0x158
[    2.763029]  vfs_read+0x88/0x138
[    2.764029]  ksys_read+0x60/0xd8
[    2.766029]  __arm64_sys_read+0x14/0x20
[    2.768029]  el0_svc_common+0x5c/0x100
[    2.770029]  el0_svc_handler+0x24/0x88
[    2.772029]  el0_svc+0x8/0xc
[    2.846030] udevd[812]: starting version 182
[    3.449037] EXT4-fs (vda1): re-mounted. Opts:
block_validity,delalloc,barrier,user_xattr
Starting Bootlog daemon: bootlogd.
[    3.510037] random: dd: uninitialized urandom read (512 bytes read)
Populating dev cache

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.all.rp_filter = 1

hwclock: can't open '/dev/misc/rtc': No such file or directory

Mon Jan 27 08:00:00 UTC 2014

hwclock: can't open '/dev/misc/rtc': No such file or directory


INIT: Entering runlevel: 5


Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device

Starting rpcbind daemon...rpcbind: cannot create socket for udp6


rpcbind: cannot create socket for tcp6


done.

rpcbind: cannot get uid of '': Success


creating NFS state directory: done

starting statd: done

Starting auto-serial-console: done

Stopping Bootlog daemon: [    4.460048] call_undef_hook instuction
0xff500110, pc 401114
[    4.463048] current name is m5
bootlogd.


INIT: no more processes left in this runlevel[    4.482048] call_undef_hook
instuction 0xff500110, pc 401114
[    4.486048] current name is m5


/usr/bin/auto-root-login: line 5:  1192 Illegal instruction     /sbin/m5
readfile > /tmp/script
root@genericarmv8:~# m5
usage: m5 exit [delay]
       m5 fail <code> [delay]
       m5 resetstats [delay [period]]
       m5 dumpstats [delay [period]]
       m5 dumpresetstats [delay [period]]
       m5 readfile
       m5 writefile <filename>
       m5 execfile
       m5 checkpoint [delay [period]]
       m5 addsymbol <address> <symbol>
       m5 loadsymbol
       m5 initparam [key] // key must be shorter than 16 chars
       m5 sw99param
       m5 pin <cpu> <program> [args ...]

All times in nanoseconds!
root@genericarmv8:~# m5 checkpoint
[    9.209099] call_undef_hook instuction 0xff430110, pc 40110c
[    9.212099] current name is m5
Illegal instruction


command line: ./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py
--cpu-type=kvm
--kernel=/home/tracy/gem5/fs_image_arm/binaries/vmlinux.vexpress_gem5_v1_64.20170616
--disk=/home/tracy/gem5/fs_image_arm/disks/linaro-minimal-aarch64.img
--big-cpus=1 --little-cpus=0 --caches --mem-size=4GB

Host CPU Achitecture: ARMV8

Host OS: ubuntu 18.04.4
_______________________________________________
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

Reply via email to