Hi all,

I am trying to boot up a modified version of Gem5 in ARM, FS, multicore
mode. The boot process would hang in the process. Here's the terminal
output:

==== m5 slave terminal: Terminal 0 ====
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 4.4.0+ (root@bbdeb8fab105) (gcc version 5.4.0
20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Fri Jun 16
09:13:26 UTC 2017
[    0.000000] Boot CPU: AArch64 Processor [410fc0f0]
[    0.000000] Memory limited to 512MB
[    0.000000] cma: Reserved 16 MiB at 0x000000009f000000
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   DMA zone: 2048 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 15 pages/cpu @ffffffc01efd5000 s23320 r8192
d29928 u61440
[    0.000000] pcpu-alloc: s23320 r8192 d29928 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 129024
[    0.000000] Kernel command line: earlyprintk=pl011,0x1c090000
console=ttyAMA0 lpj=19988480 norandmaps rw loglevel=8 mem=512MB
root=/dev/sda1
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[    0.000000] software IO TLB [mem 0x99c00000-0x9dc00000] (64MB) mapped at
[ffffffc019c00000-ffffffc01dbfffff]
[    0.000000] Memory: 416308K/524288K available (5342K kernel code, 347K
rwdata, 1964K rodata, 232K init, 237K bss, 91596K reserved, 16384K
cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000   (
 246 GB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (
 8 GB maximum)
[    0.000000]               0xffffffbdc2000000 - 0xffffffbdc2800000   (
 8 MB actual)
[    0.000000]     fixed   : 0xffffffbffa7fd000 - 0xffffffbffac00000   (
4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000   (
16 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (
64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc020000000   (
 512 MB)
[    0.000000]       .init : 0xffffffc0007a4000 - 0xffffffc0007de000   (
 232 KB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc0007a3b54   (
7311 KB)
[    0.000000]       .data : 0xffffffc0007f1000 - 0xffffffc000847ec0   (
 348 KB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 64.
[    0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 timer(s) running at 25.16MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x5cdd39714, max_idle_ns: 440795202620 ns
[    0.000001] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every
4398046511084ns
[    0.000046] Console: colour dummy device 80x25
[    0.000049] Calibrating delay loop (skipped) preset value.. 9994.24
BogoMIPS (lpj=19988480)
[    0.000053] pid_max: default: 32768 minimum: 301
[    0.000075] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000079] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
bytes)
[    0.000255] ASID allocator initialised with 256 entries
[    0.032013] Detected PIPT I-cache on CPU1
[    0.032021] CPU1: Booted secondary processor [410fc0f0]
[    0.040031] Brought up 2 CPUs
[    0.040035] SMP: Total of 2 processors activated.
[    0.040039] CPU: All CPU(s) started at EL1
[    0.040178] devtmpfs: initialized
[    0.048043] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.052247] atomic64_test: passed
[    0.060722] NET: Registered protocol family 16
[    0.080409] vdso: 2 pages (1 code @ ffffffc0007f9000, 1 data @
ffffffc0007f8000)
[    0.080418] hw-breakpoint: found 2 breakpoint and 2 watchpoint registers.
[    0.080773] DMA: preallocated 256 KiB pool for atomic allocations
[    0.080777] Serial: AMBA PL011 UART driver
[    0.081315] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 8,
base_baud = 0) is a PL011 rev3
[    0.081464] console [ttyAMA0] enabled
[    0.112166] vgaarb: loaded
[    0.112297] SCSI subsystem initialized
[    0.120087] libata version 3.00 loaded.
[    0.120189] usbcore: registered new interface driver usbfs
[    0.120215] usbcore: registered new interface driver hub
[    0.120234] usbcore: registered new device driver usb
[    0.120279] pps_core: LinuxPPS API ver. 1 registered
[    0.120282] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <giome...@linux.it>
[    0.120297] PTP clock support registered
[    0.120630] clocksource: Switched to clocksource arch_sys_counter
[    0.128758] NET: Registered protocol family 2
[    0.128940] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[    0.128966] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.128997] TCP: Hash tables configured (established 4096 bind 4096)
[    0.129011] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.129020] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.129070] NET: Registered protocol family 1
[    0.129142] RPC: Registered named UNIX socket transport module.
[    0.129146] RPC: Registered udp transport module.
[    0.129149] RPC: Registered tcp transport module.
[    0.129152] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.129158] PCI: CLS 0 bytes, default 128
[    0.129322] kvm [1]: HYP mode not available
[    0.129603] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.129965] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.151214] fuse init (API version 7.23)
[    0.156685] io scheduler noop registered
[    0.156760] io scheduler cfq registered (default)
[    0.156860] PCI host bridge /pci ranges:
[    0.156864]   No bus range found for /pci, using [bus 00-ff]
[    0.156871]    IO 0x2f000000..0x2f00ffff -> 0x00000000
[    0.156877]   MEM 0x40000000..0x7fffffff -> 0x40000000
[    0.158023] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
[    0.158029] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.158034] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.158039] pci_bus 0000:00: root bus resource [mem
0x40000000-0x7fffffff]
[    0.158044] pci_bus 0000:00: scanning bus
[    0.158052] pci 0000:00:01.0: [8086:7111] type 00 class 0x010185
[    0.158059] pci 0000:00:01.0: reg 0x10: [io  0x0000-0x0007]
[    0.158065] pci 0000:00:01.0: reg 0x14: [io  0x0000-0x0003]
[    0.158071] pci 0000:00:01.0: reg 0x18: [io  0x0000-0x0007]
[    0.158077] pci 0000:00:01.0: reg 0x1c: [io  0x0000-0x0003]
[    0.158083] pci 0000:00:01.0: reg 0x20: [io  0x0000-0x000f]
[    0.158090] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.158177] pci_bus 0000:00: fixups for bus
[    0.158182] pci_bus 0000:00: bus scan returning with max=00
[    0.158191] pci 0000:00:01.0: fixup irq: got 10
[    0.158196] pci 0000:00:01.0: assigning IRQ 10
[    0.158204] pci 0000:00:01.0: BAR 6: assigned [mem 0x40000000-0x400007ff
pref]
[    0.158209] pci 0000:00:01.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.158215] pci 0000:00:01.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.158221] pci 0000:00:01.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.158227] pci 0000:00:01.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.158233] pci 0000:00:01.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.159638] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.164362] ata_piix 0000:00:01.0: version 2.13
[    0.164367] ata_piix 0000:00:01.0: enabling device (0000 -> 0001)
[    0.164389] ata_piix 0000:00:01.0: enabling bus mastering
[    0.177204] scsi host0: ata_piix
[    0.181364] scsi host1: ata_piix
[    0.181454] ata1: PATA max UDMA/33 cmd 0x1010 ctl 0x1020 bmdma 0x1000
irq 10
[    0.181458] ata2: PATA max UDMA/33 cmd 0x1018 ctl 0x1024 bmdma 0x1008
irq 10
[    0.181650] e1000: Intel(R) PRO/1000 Network Driver - version
7.3.21-k8-NAPI
[    0.181653] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.181684] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.181687] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.181718] igb: Intel(R) Gigabit Ethernet Network Driver - version
5.3.0-k
[    0.181722] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.181753] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver -
version 4.2.1-k
[    0.181757] ixgbe: Copyright (c) 1999-2015 Intel Corporation.
[    0.181790] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function
Network Driver - version 2.12.1-k
[    0.181794] ixgbevf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.181824] i40e: Intel(R) Ethernet Connection XL710 Network Driver -
version 1.3.46-k
[    0.181828] i40e: Copyright (c) 2013 - 2014 Intel Corporation.
[    0.181861] ixgb: Intel(R) PRO/10GbE Network Driver - version
1.0.135-k2-NAPI
[    0.181865] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    0.181896] i40evf: Intel(R) XL710/X710 Virtual Function Network Driver
- version 1.3.33
[    0.181900] Copyright (c) 2013 - 2015 Intel Corporation.
[    0.182085] usbcore: registered new interface driver usb-storage
[    0.184644] mousedev: PS/2 mouse device common for all mice
[    0.192984] usbcore: registered new interface driver usbhid
[    0.192987] usbhid: USB HID core driver
[    0.193050] NET: Registered protocol family 17
[    0.344658] ata1.00: ATA-7: M5 IDE Disk, , max UDMA/66
[    0.344662] ata1.00: 44039680 sectors, multi 0: LBA
[    0.344686] ata1.00: configured for UDMA/33
[    0.348775] scsi 0:0:0:0: Direct-Access     ATA      M5 IDE Disk
n/a  PQ: 0 ANSI: 5
[    0.349119] sd 0:0:0:0: [sda] 44039680 512-byte logical blocks: (22.5
GB/20.9 GiB)
[    0.349172] sd 0:0:0:0: [sda] Write Protect is off
[    0.349177] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.349202] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[    0.349459] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.349482]  sda: sda1
[    0.349765] sd 0:0:0:0: [sda] Attached SCSI disk

Does anyone have an idea where I could start debugging this?

Thanks,
Haiyang
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to