Discussion:
[gem5-users] Gem5 fs multicore stuck at Booting processor 1/8 APIC 0x1
Sarabjeet Singh
2018-08-18 08:34:48 UTC
Permalink
*Hi,*
*I am trying to run a multicore config on Gem5, which freezes at "Booting
processor 1/8 APIC 0x1", and doesn't move forward. This doesn't happen when
my num-cpu is 1 (single core). Please help. *

==== m5 slave terminal: Terminal 0 ====
Linux version 2.6.22.9 (***@fajita) (gcc version 4.1.2 (Gentoo 4.1.2
p1.1)) #12 SMP Fri Feb 27 22:10:33 PST 2009
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 0000000020000000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
end_pfn_map = 1048576
kernel direct mapping tables up to 100000000 @ 8000-d000
DMI 2.5 present.
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
early_node_map[2] active PFN ranges
0: 0 -> 159
0: 256 -> 131072
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: MPTABLE: Product ID: MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
Processor #1
Processor #2
Processor #3
Processor #4
Processor #5
Processor #6
Processor #7
I/O APIC #8 at 0xFEC00000.
Setting APIC routing to flat
Processors: 8
Allocating PCI resources starting at c4000000 (gap: c0000000:3fff0000)
PERCPU: Allocating 34160 bytes of per cpu data
Built 1 zonelists. Total pages: 127573
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923
root=/dev/hda1
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 1269.044 MHz processor.
Console: colour dummy device 80x25
console handover: boot [earlyser0] -> real [ttyS0]
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Checking aperture...
Memory: 509012k/524288k available (3699k kernel code, 14716k reserved,
1767k data, 248k init)
Calibrating delay loop (skipped)... 3999.96 BogoMIPS preset
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
using mwait in idle threads.
Freeing SMP alternatives: 34k freed
Using local APIC timer interrupts.
result 4957171
Detected 4.957 MHz APIC timer.
Booting processor 1/8 APIC 0x1
--
Best Regards,
Sarabjeet Singh
Ciro Santilli
2018-08-18 21:28:23 UTC
Permalink
Here is a working setup for ARM and x86 multicore, try it out and diff it
out with yours:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/b57baebe8744366ca7c4e3e1d02d2e2488cf1346#gem5-getting-started

./run -g -c 2

On Sat, Aug 18, 2018 at 9:34 AM, Sarabjeet Singh <
Post by Sarabjeet Singh
*Hi,*
*I am trying to run a multicore config on Gem5, which freezes at "Booting
processor 1/8 APIC 0x1", and doesn't move forward. This doesn't happen when
my num-cpu is 1 (single core). Please help. *
==== m5 slave terminal: Terminal 0 ====
p1.1)) #12 SMP Fri Feb 27 22:10:33 PST 2009
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 0000000020000000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
end_pfn_map = 1048576
DMI 2.5 present.
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
early_node_map[2] active PFN ranges
0: 0 -> 159
0: 256 -> 131072
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: MPTABLE: Product ID: MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
Processor #1
Processor #2
Processor #3
Processor #4
Processor #5
Processor #6
Processor #7
I/O APIC #8 at 0xFEC00000.
Setting APIC routing to flat
Processors: 8
Allocating PCI resources starting at c4000000 (gap: c0000000:3fff0000)
PERCPU: Allocating 34160 bytes of per cpu data
Built 1 zonelists. Total pages: 127573
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923
root=/dev/hda1
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 1269.044 MHz processor.
Console: colour dummy device 80x25
console handover: boot [earlyser0] -> real [ttyS0]
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Checking aperture...
Memory: 509012k/524288k available (3699k kernel code, 14716k reserved,
1767k data, 248k init)
Calibrating delay loop (skipped)... 3999.96 BogoMIPS preset
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
using mwait in idle threads.
Freeing SMP alternatives: 34k freed
Using local APIC timer interrupts.
result 4957171
Detected 4.957 MHz APIC timer.
Booting processor 1/8 APIC 0x1
--
Best Regards,
Sarabjeet Singh
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...