[gem5-users] ?????? gem5 killed when booting linux

2018-06-21 Thread web
Hello, Jason


It is not likely running out of menory, since I try my boot on both 8G machine 
with 8G swap, and 16G machine with 2G swap. Both failed. Anything else I can do 
to debug this issue?


Thanks.
 
 
--  --
??: "Jason Lowe-Power";
: 2018??6??21??(??) 0:15
??: "gem5 users mailing l"; 

????: Re: [gem5-users] gem5 killed when booting linux

 
Hello,

It looks like your host OS killed the gem5 process 


"Program terminated with signal SIGKILL, Killed.The program no longer exists."


Could you have run out of memory on the host?


Jason
 


On Tue, Jun 19, 2018 at 7:54 PM web  wrote:

Hi, All


I am trying to boot my ubuntu with gem5 under instruction of this page. 
http://www.lowepower.com/jason/setting-up-gem5-full-system.html
However, gem5 is killed with unknow reason and the log is below, anyone could 
help?


= gem5 log =
Starting program: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled May 17 2018 21:48:59
gem5 started Jun 19 2018 21:03:00
gem5 executing on x1c, pid 31549
command line: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py


Global frequency set at 1 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (2048 Mbytes)
info: kernel located at: linux/vmlinux
system.pc.com_1.device: Listening for connections on port 3456
  0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
Running the simulation
info: Entering event queue @ 0.  Starting simulation...
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: instruction 'fninit' unimplemented
warn: Don't know what interrupt to clear for console.
warn: instruction 'sgdt_Ms' unimplemented
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: Tried to clear PCI interrupt 14
warn: Write to unknown i8042 (keyboard controller) command port.
hack: Assuming logical destinations are 1 << id.
warn: instruction 'fwait' unimplemented
1836401387040: system.pc.com_1.device: attach terminal 0
warn: instruction 'prefetch_t1' unimplemented
warn: instruction 'prefetch_t2' unimplemented
warn: instruction 'prefetch_nta' unimplemented


Program terminated with signal SIGKILL, Killed.
The program no longer exists.



== term log ==
 Linux version 4.14.0 (jmst@x1c) (gcc version 5.4.0 20160609 (Ubuntu 
5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=723 root=/dev/hda1
CPU: vendor_id 'M5 Simulator' unknown, using generic init.
CPU: Your system may be unstable.
x86/fpu: x87 FPU will use FXSAVE
e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x-0x0009fbff] usable
BIOS-e820: [mem 0x0009fc00-0x000f] reserved
BIOS-e820: [mem 0x0010-0x7fff] usable
BIOS-e820: [mem 0x8000-0xbfff] reserved
BIOS-e820: [mem 0x-0x] reserved
bootconsole [earlyser0] enabled
NX (Execute Disable) protection: active
SMBIOS 2.5 present.
DMI:  , BIOS  06/08/2008
random: fast init done
tsc: Fast TSC calibration using PIT
AGP: No AGP bridge found
e820: last_pfn = 0x8 max_arch_pfn = 0x4
MTRR: Disabled
x86/PAT: MTRRs disabled, skipping PAT initialization too.
CPU MTRRs all blank - virtualized system.
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at [ff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
  DMA  [mem 0x1000-0x00ff]
  DMA32[mem 0x0100-0x7fff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x1000-0x0009efff]
  node   0: [mem 0x0010-0x7fff]
Initmem setup node 0 [mem 0x1000-0x7fff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: 
MPTABLE: Product ID: 
MPTABLE: APIC at: 0xFEE0
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec0, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc000-0xfffe] ava

Re: [gem5-users] gem5 killed when booting linux

2018-06-20 Thread Jason Lowe-Power
Hello,

It looks like your host OS killed the gem5 process

"Program terminated with signal SIGKILL, Killed.
The program no longer exists."

Could you have run out of memory on the host?

Jason

On Tue, Jun 19, 2018 at 7:54 PM web  wrote:

> Hi, All
>
> I am trying to boot my ubuntu with gem5 under instruction of this page.
> http://www.lowepower.com/jason/setting-up-gem5-full-system.html
> However, gem5 is killed with unknow reason and the log is below, anyone
> could help?
>
> = gem5 log =
> Starting program:
> /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt configs/run.py
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled May 17 2018 21:48:59
> gem5 started Jun 19 2018 21:03:00
> gem5 executing on x1c, pid 31549
> command line: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt
> configs/run.py
>
> Global frequency set at 1 ticks per second
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (2048 Mbytes)
> info: kernel located at: linux/vmlinux
> system.pc.com_1.device: Listening for connections on port 3456
>   0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
> 0: system.remote_gdb: listening for remote gdb on port 7000
> warn: Reading current count from inactive timer.
> Running the simulation
> info: Entering event queue @ 0.  Starting simulation...
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: instruction 'fninit' unimplemented
> warn: Don't know what interrupt to clear for console.
> warn: instruction 'sgdt_Ms' unimplemented
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: x86 cpuid family 0x: unimplemented function 6
> warn: Tried to clear PCI interrupt 14
> warn: Write to unknown i8042 (keyboard controller) command port.
> hack: Assuming logical destinations are 1 << id.
> warn: instruction 'fwait' unimplemented
> 1836401387040: system.pc.com_1.device: attach terminal 0
> warn: instruction 'prefetch_t1' unimplemented
> warn: instruction 'prefetch_t2' unimplemented
> warn: instruction 'prefetch_nta' unimplemented
>
> Program terminated with signal SIGKILL, Killed.
> The program no longer exists.
>
> == term log ==
> Linux version 4.14.0 (jmst@x1c) (gcc version 5.4.0 20160609 (Ubuntu
> 5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
> Command line: earlyprintk=ttyS0 console=ttyS0 lpj=723 root=/dev/hda1
> CPU: vendor_id 'M5 Simulator' unknown, using generic init.
> CPU: Your system may be unstable.
> x86/fpu: x87 FPU will use FXSAVE
> e820: BIOS-provided physical RAM map:
> BIOS-e820: [mem 0x-0x0009fbff] usable
> BIOS-e820: [mem 0x0009fc00-0x000f] reserved
> BIOS-e820: [mem 0x0010-0x7fff] usable
> BIOS-e820: [mem 0x8000-0xbfff] reserved
> BIOS-e820: [mem 0x-0x] reserved
> bootconsole [earlyser0] enabled
> NX (Execute Disable) protection: active
> SMBIOS 2.5 present.
> DMI:  , BIOS  06/08/2008
> random: fast init done
> tsc: Fast TSC calibration using PIT
> AGP: No AGP bridge found
> e820: last_pfn = 0x8 max_arch_pfn = 0x4
> MTRR: Disabled
> x86/PAT: MTRRs disabled, skipping PAT initialization too.
> CPU MTRRs all blank - virtualized system.
> x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
> found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at
> [ff200050]
> ACPI: Early table checksum verification disabled
> ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
> Zone ranges:
>   DMA  [mem 0x1000-0x00ff]
>   DMA32[mem 0x0100-0x7fff]
>   Normal   empty
> Movable zone start for each node
> Early memory node ranges
>   node   0: [mem 0x1000-0x0009efff]
>   node   0: [mem 0x0010-0x7fff]
> Initmem setup node 0 [mem 0x1000-0x7fff]
> Intel MultiProcessor Specification v1.4
> MPTABLE: OEM ID:
> MPTABLE: Product ID:
> MPTABLE: APIC at: 0xFEE0
> Processor #0 (Bootup-CPU)
> IOAPIC[0]: apic_id 1, version 20, address 0xfec0, GSI 0-23
> Processors: 1
> smpboot: Allowing 1 CPUs, 0 hotplug CPUs
> e820: [mem 0xc000-0xfffe] available for PCI devices
> Booting paravirtualized kernel on bare hardware
> clocksource: refined-jiffies: mask: 0x max_cycles: 0x,
> max_idle_ns: 1910969940391419 ns
> setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
> percpu: Embedded 34 pages/cpu 

[gem5-users] gem5 killed when booting linux

2018-06-19 Thread web
Hi, All


I am trying to boot my ubuntu with gem5 under instruction of this page. 
http://www.lowepower.com/jason/setting-up-gem5-full-system.html
However, gem5 is killed with unknow reason and the log is below, anyone could 
help?


= gem5 log =
Starting program: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled May 17 2018 21:48:59
gem5 started Jun 19 2018 21:03:00
gem5 executing on x1c, pid 31549
command line: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py


Global frequency set at 1 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (2048 Mbytes)
info: kernel located at: linux/vmlinux
system.pc.com_1.device: Listening for connections on port 3456
  0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
Running the simulation
info: Entering event queue @ 0.  Starting simulation...
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: instruction 'fninit' unimplemented
warn: Don't know what interrupt to clear for console.
warn: instruction 'sgdt_Ms' unimplemented
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: Tried to clear PCI interrupt 14
warn: Write to unknown i8042 (keyboard controller) command port.
hack: Assuming logical destinations are 1 << id.
warn: instruction 'fwait' unimplemented
1836401387040: system.pc.com_1.device: attach terminal 0
warn: instruction 'prefetch_t1' unimplemented
warn: instruction 'prefetch_t2' unimplemented
warn: instruction 'prefetch_nta' unimplemented


Program terminated with signal SIGKILL, Killed.
The program no longer exists.



== term log ==
 Linux version 4.14.0 (jmst@x1c) (gcc version 5.4.0 20160609 (Ubuntu 
5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=723 root=/dev/hda1
CPU: vendor_id 'M5 Simulator' unknown, using generic init.
CPU: Your system may be unstable.
x86/fpu: x87 FPU will use FXSAVE
e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x-0x0009fbff] usable
BIOS-e820: [mem 0x0009fc00-0x000f] reserved
BIOS-e820: [mem 0x0010-0x7fff] usable
BIOS-e820: [mem 0x8000-0xbfff] reserved
BIOS-e820: [mem 0x-0x] reserved
bootconsole [earlyser0] enabled
NX (Execute Disable) protection: active
SMBIOS 2.5 present.
DMI:  , BIOS  06/08/2008
random: fast init done
tsc: Fast TSC calibration using PIT
AGP: No AGP bridge found
e820: last_pfn = 0x8 max_arch_pfn = 0x4
MTRR: Disabled
x86/PAT: MTRRs disabled, skipping PAT initialization too.
CPU MTRRs all blank - virtualized system.
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at [ff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
  DMA  [mem 0x1000-0x00ff]
  DMA32[mem 0x0100-0x7fff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x1000-0x0009efff]
  node   0: [mem 0x0010-0x7fff]
Initmem setup node 0 [mem 0x1000-0x7fff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: 
MPTABLE: Product ID: 
MPTABLE: APIC at: 0xFEE0
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec0, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc000-0xfffe] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0x max_cycles: 0x, 
max_idle_ns: 1910969940391419 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
percpu: Embedded 34 pages/cpu @88007fc0 s100120 r8192 d30952 u2097152
Built 1 zonelists, mobility grouping on.  Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=723 root=/dev/hda1
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
AGP: Checking aperture...
AGP: No AGP bridge found
Memory: