Discussion:
[gem5-users] gem5 killed when booting linux
web
2018-06-20 02:54:14 UTC
Permalink
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 1000000000000 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 (***@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=7999923 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 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] 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 = 0x80000 max_arch_pfn = 0x400000000
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 [ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
DMA [mem 0x0000000000001000-0x0000000000ffffff]
DMA32 [mem 0x0000000001000000-0x000000007fffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009efff]
node 0: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID:
MPTABLE: Product ID:
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 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 @ffff88007fc00000 s100120 r8192 d30952 u2097152
Built 1 zonelists, mobility grouping on. Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K rwdata, 1720K rodata, 904K init, 388K bss, 46200K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf, model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <***@linux.it>
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io 0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io 0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007
ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b498860f6c, max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.


Welcome to Ubuntu 16.04.4 LTS!


systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[ OK ] Reached target User and Group Name Lookups.
[ OK ] Reached target Swap.
Starting Create Static Device Nodes in /dev...
Starting Nameserver information manager...
Starting Uncomplicated firewall...
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
Starting Set console keymap...
Starting Load Kernel Modules...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Started Read required files in advance.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started LVM2 metadata daemon.
Starting udev Kernel Device Manager...
[ OK ] Started Journal Service.
[ OK ] Started udev Kernel Device Manager.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Set console keymap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting LSB: AppArmor initialization...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started LSB: AppArmor initialization.
Starting Raise network interfaces...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
Starting Socket activation for snappy daemon.
[ OK ] Listening on ACPID Listen Socket.
Starting LXD - unix socket.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Timer to automatically refresh installed snaps.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started ACPI Events Check.
[ OK ] Reached target Paths.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Listening on LXD - unix socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting System Logging Service...
[ OK ] Started Deferred execution scheduler.
Starting LXD - container startup/shutdown...
Starting Login Service...
[ OK ] Started ACPI event daemon.
Starting LSB: MD monitoring daemon...
Starting LSB: Record successful boot for GRUB...
[ OK ] Started FUSE filesystem for LXC.
[ OK ] Started D-Bus System Message Bus.
Starting Snappy daemon...
Starting Accounts Service...
[ OK ] Started Regular background program processing daemon.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: MD monitoring daemon.
[ OK ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[ OK ] Started LSB: Record successful boot for GRUB.
[ OK ] Started LXD - container startup/shutdown.
[ OK ] Started Snappy daemon.
[ OK ] Started Set console font and keymap.
[ OK ] Created slice system-getty.slice.
Jason Lowe-Power
2018-06-20 16:15:21 UTC
Permalink
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
Post by 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 =========================
/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 1000000000000 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
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 ======================
5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] 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 = 0x80000 max_arch_pfn = 0x400000000
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
[ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
DMA [mem 0x0000000000001000-0x0000000000ffffff]
DMA32 [mem 0x0000000001000000-0x000000007fffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009efff]
node 0: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1910969940391419 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
Built 1 zonelists, mobility grouping on. Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K rwdata, 1720K
rodata, 904K init, 388K bss, 46200K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf, model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io 0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io 0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized
audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007
ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b498860f6c,
max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all
legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA
+APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ
-LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.
Welcome to Ubuntu 16.04.4 LTS!
systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[ OK ] Reached target User and Group Name Lookups.
[ OK ] Reached target Swap.
Starting Create Static Device Nodes in /dev...
Starting Nameserver information manager...
Starting Uncomplicated firewall...
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
Starting Set console keymap...
Starting Load Kernel Modules...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Started Read required files in advance.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started LVM2 metadata daemon.
Starting udev Kernel Device Manager...
[ OK ] Started Journal Service.
[ OK ] Started udev Kernel Device Manager.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Set console keymap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting LSB: AppArmor initialization...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started LSB: AppArmor initialization.
Starting Raise network interfaces...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
Starting Socket activation for snappy daemon.
[ OK ] Listening on ACPID Listen Socket.
Starting LXD - unix socket.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Timer to automatically refresh installed snaps.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started ACPI Events Check.
[ OK ] Reached target Paths.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Listening on LXD - unix socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting System Logging Service...
[ OK ] Started Deferred execution scheduler.
Starting LXD - container startup/shutdown...
Starting Login Service...
[ OK ] Started ACPI event daemon.
Starting LSB: MD monitoring daemon...
Starting LSB: Record successful boot for GRUB...
[ OK ] Started FUSE filesystem for LXC.
[ OK ] Started D-Bus System Message Bus.
Starting Snappy daemon...
Starting Accounts Service...
[ OK ] Started Regular background program processing daemon.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: MD monitoring daemon.
[ OK ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[ OK ] Started LSB: Record successful boot for GRUB.
[ OK ] Started LXD - container startup/shutdown.
[ OK ] Started Snappy daemon.
[ OK ] Started Set console font and keymap.
[ OK ] Created slice system-getty.slice.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
web
2018-06-21 06:47:33 UTC
Permalink
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"<***@lowepower.com>;
·¢ËÍʱŒä: 2018Äê6ÔÂ21ÈÕ(ÐÇÆÚËÄ) Á賿0:15
ÊÕŒþÈË: "gem5 users mailing l"<gem5-***@gem5.org>;

Ö÷Ìâ: 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 <***@jimmystone.cn> 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 1000000000000 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 (***@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=7999923 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 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] 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 = 0x80000 max_arch_pfn = 0x400000000
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 [ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
DMA [mem 0x0000000000001000-0x0000000000ffffff]
DMA32 [mem 0x0000000001000000-0x000000007fffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009efff]
node 0: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID:
MPTABLE: Product ID:
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 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 @ffff88007fc00000 s100120 r8192 d30952 u2097152
Built 1 zonelists, mobility grouping on. Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K rwdata, 1720K rodata, 904K init, 388K bss, 46200K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf, model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <***@linux.it>
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io 0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io 0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007
ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b498860f6c, max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.


Welcome to Ubuntu 16.04.4 LTS!


systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[ OK ] Reached target User and Group Name Lookups.
[ OK ] Reached target Swap.
Starting Create Static Device Nodes in /dev...
Starting Nameserver information manager...
Starting Uncomplicated firewall...
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
Starting Set console keymap...
Starting Load Kernel Modules...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Started Read required files in advance.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started LVM2 metadata daemon.
Starting udev Kernel Device Manager...
[ OK ] Started Journal Service.
[ OK ] Started udev Kernel Device Manager.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Set console keymap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting LSB: AppArmor initialization...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started LSB: AppArmor initialization.
Starting Raise network interfaces...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
Starting Socket activation for snappy daemon.
[ OK ] Listening on ACPID Listen Socket.
Starting LXD - unix socket.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Timer to automatically refresh installed snaps.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started ACPI Events Check.
[ OK ] Reached target Paths.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Listening on LXD - unix socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting System Logging Service...
[ OK ] Started Deferred execution scheduler.
Starting LXD - container startup/shutdown...
Starting Login Service...
[ OK ] Started ACPI event daemon.
Starting LSB: MD monitoring daemon...
Starting LSB: Record successful boot for GRUB...
[ OK ] Started FUSE filesystem for LXC.
[ OK ] Started D-Bus System Message Bus.
Starting Snappy daemon...
Starting Accounts Service...
[ OK ] Started Regular background program processing daemon.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: MD monitoring daemon.
[ OK ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[ OK ] Started LSB: Record successful boot for GRUB.
[ OK ] Started LXD - container startup/shutdown.
[ OK ] Started Snappy daemon.
[ OK ] Started Set console font and keymap.
[ OK ] Created slice system-getty.slice.




_______________________________________________
gem5-users mailing list
gem5-***@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Éder F. Zulian
2018-06-21 10:11:15 UTC
Permalink
Hello,
you could try this (superuser privileges are required):

grep -i 'killed process' /var/log/messages

Check if gem5 was killed by the OOM-killer.

As a quick workaround or just for testing and gathering more information
you could try this:

echo 1 > /proc/sys/vm/overcommit_memory

Documentation here:

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

Best Regards,
Post by 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.
------------------0„2Ô­ÊŒÓÊŒþ0„2------------------
*·¢ËÍʱŒä:*0„22018Äê6ÔÂ21ÈÕ(ÐÇÆÚËÄ) Á賿0:15
*Ö÷Ìâ:*0„2Re: [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
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 =========================
/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
/home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt
configs/run.py
Global frequency set at 1000000000000 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„2 0„2 0„2 0: rtc: Real-time clock set to Sun Jan0„2 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
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 ======================
(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=7999923
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
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] reserved
bootconsole [earlyser0] enabled
NX (Execute Disable) protection: active
SMBIOS 2.5 present.
DMI:0„2 , BIOS0„2 06/08/2008
random: fast init done
tsc: Fast TSC calibration using PIT
AGP: No AGP bridge found
e820: last_pfn = 0x80000 max_arch_pfn = 0x400000000
MTRR: Disabled
x86/PAT: MTRRs disabled, skipping PAT initialization too.
CPU MTRRs all blank - virtualized system.
x86/PAT: Configuration [0-7]: WB0„2 WT0„2 UC- UC WB0„2 WT0„2 UC- UC
found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at [ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found
(20170728/tbxfroot-244)
0„2 DMA0„2 0„2 0„2 [mem 0x0000000000001000-0x0000000000ffffff]
0„2 DMA320„2 0„2 [mem 0x0000000001000000-0x000000007fffffff]
0„2 Normal0„2 0„2empty
Movable zone start for each node
Early memory node ranges
0„2 node0„2 0„20: [mem 0x0000000000001000-0x000000000009efff]
0„2 node0„2 0„20: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
0xffffffff, max_idle_ns: 1910969940391419 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
Built 1 zonelists, mobility grouping on.0„2 Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K
rwdata, 1720K rodata, 904K init, 388K bss, 46200K reserved, 0K
cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf,
model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io0„2 0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io0„2 0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io0„2 0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io0„2 0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
0„2 0„2 ide0: BM-DMA at 0x1000-0x1007
0„2 0„2 ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
0x2b498860f6c, max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for
probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
0„2hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network
Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature
incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature
incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT
+SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.
Welcome to Ubuntu 16.04.4 LTS!
systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[0„2 OK0„2 ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[0„2 OK0„2 ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[0„2 OK0„2 ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[0„2 OK0„2 ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[0„2 OK0„2 ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[0„2 OK0„2 ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[0„2 OK0„2 ] Created slice system-serial\x2dgetty.slice.
0„2 0„2 0„2 0„2 0„2Mounting POSIX Message Queue File System...
[0„2 OK0„2 ] Reached target Encrypted Volumes.
[0„2 OK0„2 ] Started Forward Password Requests to Wall Directory Watch.
0„2 0„2 0„2 0„2 0„2Starting Monitoring of LVM2 mirrors... dmeventd or
progress polling...
[0„2 OK0„2 ] Reached target User and Group Name Lookups.
[0„2 OK0„2 ] Reached target Swap.
0„2 0„2 0„2 0„2 0„2Starting Create Static Device Nodes in /dev...
0„2 0„2 0„2 0„2 0„2Starting Nameserver information manager...
0„2 0„2 0„2 0„2 0„2Starting Uncomplicated firewall...
[0„2 OK0„2 ] Started Trigger resolvconf update for networkd DNS.
[0„2 OK0„2 ] Listening on Journal Socket (/dev/log).
[0„2 OK0„2 ] Listening on Syslog Socket.
0„2 0„2 0„2 0„2 0„2Starting Journal Service...
0„2 0„2 0„2 0„2 0„2Starting Set console keymap...
0„2 0„2 0„2 0„2 0„2Starting Load Kernel Modules...
[0„2 OK0„2 ] Listening on udev Kernel Socket.
[0„2 OK0„2 ] Listening on LVM2 poll daemon socket.
[0„2 OK0„2 ] Listening on /dev/initctl Compatibility Named Pipe.
[0„2 OK0„2 ] Started Read required files in advance.
[0„2 OK0„2 ] Created slice User and Session Slice.
[0„2 OK0„2 ] Reached target Slices.
[0„2 OK0„2 ] Listening on fsck to fsckd communication Socket.
[0„2 OK0„2 ] Mounted POSIX Message Queue File System.
[0„2 OK0„2 ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[0„2 OK0„2 ] Started Nameserver information manager.
[0„2 OK0„2 ] Reached target Network (Pre).
0„2 0„2 0„2 0„2 0„2Starting Apply Kernel Variables...
0„2 0„2 0„2 0„2 0„2Mounting FUSE Control File System...
[0„2 OK0„2 ] Started Create Static Device Nodes in /dev.
[0„2 OK0„2 ] Mounted FUSE Control File System.
[0„2 OK0„2 ] Started Apply Kernel Variables.
[0„2 OK0„2 ] Started LVM2 metadata daemon.
0„2 0„2 0„2 0„2 0„2Starting udev Kernel Device Manager...
[0„2 OK0„2 ] Started Journal Service.
[0„2 OK0„2 ] Started udev Kernel Device Manager.
0„2 0„2 0„2 0„2 0„2Starting Remount Root and Kernel File Systems...
[0„2 OK0„2 ] Started Remount Root and Kernel File Systems.
0„2 0„2 0„2 0„2 0„2Starting udev Coldplug all Devices...
0„2 0„2 0„2 0„2 0„2Starting Load/Save Random Seed...
0„2 0„2 0„2 0„2 0„2Starting Flush Journal to Persistent Storage...
[0„2 OK0„2 ] Started Load/Save Random Seed.
[0„2 OK0„2 ] Started Flush Journal to Persistent Storage.
[0„2 OK0„2 ] Started udev Coldplug all Devices.
[0„2 OK0„2 ] Found device /dev/ttyS0.
[0„2 OK0„2 ] Started Set console keymap.
[0„2 OK0„2 ] Started Dispatch Password Requests to Console Directory
Watch.
[0„2 OK0„2 ] Started Monitoring of LVM2 mirrors,...ng dmeventd or
progress polling.
[0„2 OK0„2 ] Reached target Local File Systems (Pre).
[0„2 OK0„2 ] Reached target Local File Systems.
0„2 0„2 0„2 0„2 0„2Starting LSB: AppArmor initialization...
0„2 0„2 0„2 0„2 0„2Starting Create Volatile Files and Directories...
0„2 0„2 0„2 0„2 0„2Starting Tell Plymouth To Write Out Runtime Data...
0„2 0„2 0„2 0„2 0„2Starting Set console font and keymap...
[0„2 OK0„2 ] Started Tell Plymouth To Write Out Runtime Data.
[0„2 OK0„2 ] Started Create Volatile Files and Directories.
0„2 0„2 0„2 0„2 0„2Starting Network Time Synchronization...
0„2 0„2 0„2 0„2 0„2Starting Update UTMP about System Boot/Shutdown...
[0„2 OK0„2 ] Started LSB: AppArmor initialization.
0„2 0„2 0„2 0„2 0„2Starting Raise network interfaces...
[0„2 OK0„2 ] Started Network Time Synchronization.
[0„2 OK0„2 ] Reached target System Time Synchronized.
[0„2 OK0„2 ] Started Update UTMP about System Boot/Shutdown.
[0„2 OK0„2 ] Reached target System Initialization.
0„2 0„2 0„2 0„2 0„2Starting Socket activation for snappy daemon.
[0„2 OK0„2 ] Listening on ACPID Listen Socket.
0„2 0„2 0„2 0„2 0„2Starting LXD - unix socket.
[0„2 OK0„2 ] Listening on UUID daemon activation socket.
[0„2 OK0„2 ] Listening on D-Bus System Message Bus Socket.
[0„2 OK0„2 ] Started Timer to automatically refresh installed snaps.
[0„2 OK0„2 ] Started Daily apt download activities.
[0„2 OK0„2 ] Started Daily apt upgrade and clean activities.
[0„2 OK0„2 ] Started ACPI Events Check.
[0„2 OK0„2 ] Reached target Paths.
[0„2 OK0„2 ] Started Daily Cleanup of Temporary Directories.
[0„2 OK0„2 ] Reached target Timers.
[0„2 OK0„2 ] Listening on Socket activation for snappy daemon.
[0„2 OK0„2 ] Listening on LXD - unix socket.
[0„2 OK0„2 ] Reached target Sockets.
[0„2 OK0„2 ] Reached target Basic System.
0„2 0„2 0„2 0„2 0„2Starting System Logging Service...
[0„2 OK0„2 ] Started Deferred execution scheduler.
0„2 0„2 0„2 0„2 0„2Starting LXD - container startup/shutdown...
0„2 0„2 0„2 0„2 0„2Starting Login Service...
[0„2 OK0„2 ] Started ACPI event daemon.
0„2 0„2 0„2 0„2 0„2Starting LSB: MD monitoring daemon...
0„2 0„2 0„2 0„2 0„2Starting LSB: Record successful boot for GRUB...
[0„2 OK0„2 ] Started FUSE filesystem for LXC.
[0„2 OK0„2 ] Started D-Bus System Message Bus.
0„2 0„2 0„2 0„2 0„2Starting Snappy daemon...
0„2 0„2 0„2 0„2 0„2Starting Accounts Service...
[0„2 OK0„2 ] Started Regular background program processing daemon.
[0„2 OK0„2 ] Started System Logging Service.
[0„2 OK0„2 ] Started LSB: MD monitoring daemon.
[0„2 OK0„2 ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[0„2 OK0„2 ] Started LSB: Record successful boot for GRUB.
[0„2 OK0„2 ] Started LXD - container startup/shutdown.
[0„2 OK0„2 ] Started Snappy daemon.
[0„2 OK0„2 ] Started Set console font and keymap.
[0„2 OK0„2 ] Created slice system-getty.slice.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
web
2018-06-22 15:18:52 UTC
Permalink
Hi, Éder


Thanks for your help. I finally boot my linux with setting
echo 1 > /proc/sys/vm/overcommit_memory
on the 16G RAM/16G Swap machine, which gem5 used 16G RAM and 4G swap.


I have no idea why gem5 eat up so much memory. I configure model is only 512MB RAM and hda1 is 8G image installed ubuntu 16.04.4
Is it normal? How can I make gem5 use less memory?




------------------ 原始邮件 ------------------
发件人: "Éder F. Zulian"<***@gmail.com>;
发送时闎: 2018幎6月21日(星期四) 晚䞊6:11
收件人: "gem5 users mailing l"<gem5-***@gem5.org>;

䞻题: Re: [gem5-users]回倍 gem5 killed when booting linux



Hello,
you could try this (superuser privileges are required):

grep -i 'killed process' /var/log/messages

Check if gem5 was killed by the OOM-killer.

As a quick workaround or just for testing and gathering more information you could try this:

echo 1 > /proc/sys/vm/overcommit_memory

Documentation here:

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

Best Regards,


On 06/21/2018 08:47 AM, web wrote:

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"<***@lowepower.com>;
发送时闎: 2018幎6月21日(星期四) 凌晚0:15
收件人: "gem5 users mailing l"<gem5-***@gem5.org>;
䞻题: 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 <***@jimmystone.cn> 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 1000000000000 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 (***@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=7999923 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 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] 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 = 0x80000 max_arch_pfn = 0x400000000
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 [ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
DMA [mem 0x0000000000001000-0x0000000000ffffff]
DMA32 [mem 0x0000000001000000-0x000000007fffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009efff]
node 0: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID:
MPTABLE: Product ID:
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 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 @ffff88007fc00000 s100120 r8192 d30952 u2097152
Built 1 zonelists, mobility grouping on. Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K rwdata, 1720K rodata, 904K init, 388K bss, 46200K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf, model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <***@linux.it>
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io 0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io 0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007
ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b498860f6c, max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.


Welcome to Ubuntu 16.04.4 LTS!


systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[ OK ] Reached target User and Group Name Lookups.
[ OK ] Reached target Swap.
Starting Create Static Device Nodes in /dev...
Starting Nameserver information manager...
Starting Uncomplicated firewall...
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
Starting Set console keymap...
Starting Load Kernel Modules...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Started Read required files in advance.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started LVM2 metadata daemon.
Starting udev Kernel Device Manager...
[ OK ] Started Journal Service.
[ OK ] Started udev Kernel Device Manager.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Set console keymap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting LSB: AppArmor initialization...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started LSB: AppArmor initialization.
Starting Raise network interfaces...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
Starting Socket activation for snappy daemon.
[ OK ] Listening on ACPID Listen Socket.
Starting LXD - unix socket.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Timer to automatically refresh installed snaps.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started ACPI Events Check.
[ OK ] Reached target Paths.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Listening on LXD - unix socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting System Logging Service...
[ OK ] Started Deferred execution scheduler.
Starting LXD - container startup/shutdown...
Starting Login Service...
[ OK ] Started ACPI event daemon.
Starting LSB: MD monitoring daemon...
Starting LSB: Record successful boot for GRUB...
[ OK ] Started FUSE filesystem for LXC.
[ OK ] Started D-Bus System Message Bus.
Starting Snappy daemon...
Starting Accounts Service...
[ OK ] Started Regular background program processing daemon.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: MD monitoring daemon.
[ OK ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[ OK ] Started LSB: Record successful boot for GRUB.
[ OK ] Started LXD - container startup/shutdown.
[ OK ] Started Snappy daemon.
[ OK ] Started Set console font and keymap.
[ OK ] Created slice system-getty.slice.



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





_______________________________________________ gem5-users mailing list gem5-***@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Éder F. Zulian
2018-06-22 17:30:52 UTC
Permalink
Hi,

the first thing is to do is to analyse the memory consumption and
understand it, for that you can try valgrind. Then you can try to figure
out a way to reduce gem5's memory footprint.

Best Regards,
Post by web
Hi, Éder
Thanks for your help. I finally boot my linux with setting
echo 1 > /proc/sys/vm/overcommit_memory
 on the 16G RAM/16G Swap machine, which gem5 used 16G RAM and 4G swap.
I have no idea why gem5 eat up so much memory. I configure model is
only 512MB RAM and hda1 is 8G image installed ubuntu 16.04.4
Is it normal? How can I make gem5 use less memory?
------------------ 原始邮件 ------------------
*发送时闎:* 2018幎6月21日(星期四) 晚䞊6:11
*䞻题:* Re: [gem5-users]回倍 gem5 killed when booting linux
Hello,
grep -i 'killed process' /var/log/messages
Check if gem5 was killed by the OOM-killer.
As a quick workaround or just for testing and gathering more
echo 1 > /proc/sys/vm/overcommit_memory
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
Best Regards,
Post by 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.
------------------ 原始邮件 ------------------
*发送时闎:* 2018幎6月21日(星期四) 凌晚0:15
*䞻题:* 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
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 =========================
/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
/home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt configs/run.py
Global frequency set at 1000000000000 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
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: unimplemented function 6
warn: x86 cpuid family 0x0000: 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 ======================
(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=7999923
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
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
BIOS-e820: [mem 0x0000000080000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] 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 = 0x80000 max_arch_pfn = 0x400000000
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 [ffffffffff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found
(20170728/tbxfroot-244)
  DMA      [mem 0x0000000000001000-0x0000000000ffffff]
  DMA32    [mem 0x0000000001000000-0x000000007fffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009efff]
  node   0: [mem 0x0000000000100000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
Intel MultiProcessor Specification v1.4
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc0000000-0xfffeffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
0xffffffff, max_idle_ns: 1910969940391419 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1
nr_node_ids:1
Built 1 zonelists, mobility grouping on.  Total pages: 515977
Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 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: 2050560K/2096760K available (4921K kernel code, 492K
rwdata, 1720K rodata, 904K init, 388K bss, 46200K reserved, 0K
cma-reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
Console: colour dummy device 80x25
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlyser0] disabled
bootconsole [earlyser0] disabled
tsc: Fast TSC calibration using PIT
tsc: Detected 3003.052 MHz processor
Calibrating delay loop (skipped) preset value.. 15999.84 BogoMIPS (lpj=7999923)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
CPU: CPU feature xsave disabled, no CPUID level 0xd
mce: CPU supports 4 MCE banks
mce: unknown CPU type - not enabling MCE support
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Freeing SMP alternatives memory: 24K
smpboot: Max logical packages: 1
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
smpboot: CPU0: M5 Simulator Fake M5 x86_64 CPU (family: 0xf,
model: 0x25, stepping: 0x1)
Performance Events: no PMU driver, software events only.
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
smpboot: Total of 1 processors activated (15999.84 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1911260446275000 ns
futex hash table entries: 256 (order: 2, 16384 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
PCI: Using configuration type 1 for base access
ACPI: Interpreter disabled.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
PTP clock support registered
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:04.0: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
pci 0000:00:04.0: legacy IDE quirk: reg 0x14: [io  0x03f6]
pci 0000:00:04.0: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
pci 0000:00:04.0: legacy IDE quirk: reg 0x1c: [io  0x0376]
clocksource: Switched to clocksource refined-jiffies
pnp: PnP ACPI: disabled
pci 0000:00:04.0: BAR 6: assigned [mem 0xc0000000-0xc00007ff pref]
pci 0000:00:04.0: BAR 4: assigned [io 0x1000-0x100f]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1325376000.155:1): state=initialized audit_enabled=0 res=1
workingset: timestamp_bits=46 max_order=19 bucket_order=0
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 8250
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00)
pci 0000:00:04.0: enabling device (0000 -> 0001)
pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 16
piix 0000:00:04.0: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007
    ide1: BM-DMA at 0x1008-0x100f
hda: M5 IDE Disk, ATA DISK drive
hda: UDMA/33 mode selected
0x2b498860f6c, max_idle_ns: 440795269214 ns
clocksource: Switched to clocksource tsc
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for
probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 16777216 sectors (8589 MB), CHS=16644/16/63
 hda: hda1
ide-cd driver 5.00
Loading iSCSI transport class v2.0-870.
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
ixgbe: Copyright (c) 1999-2016 Intel Corporation.
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network
Driver - version 4.1.0-k
ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
ixgb: Copyright (c) 1999-2008 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
i8042: PNP: No PS/2 controller found.
i8042: Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
i2c-parport-light: adapter type unspecified
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
oprofile: using NMI timer interrupt.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
mce: Unable to init MCE device (rc: -5)
sched_clock: Marking stable (1324676961, 0)->(1426032374, -101355413)
EXT4-fs (hda1): couldn't mount as ext3 due to feature
incompatibilities
EXT4-fs (hda1): couldn't mount as ext2 due to feature
incompatibilities
EXT4-fs (hda1): recovery complete
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 3:1.
devtmpfs: mounted
Freeing unused kernel memory: 904K
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 1212K
Freeing unused kernel memory: 328K
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT
+SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture x86-64.
Welcome to Ubuntu 16.04.4 LTS!
systemd[1]: Set hostname to <gem5-x86>.
systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
         Starting Monitoring of LVM2 mirrors... dmeventd or
progress polling...
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Swap.
         Starting Create Static Device Nodes in /dev...
         Starting Nameserver information manager...
         Starting Uncomplicated firewall...
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
         Starting Set console keymap...
         Starting Load Kernel Modules...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Started Read required files in advance.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started LVM2 metadata daemon.
         Starting udev Kernel Device Manager...
[  OK  ] Started Journal Service.
[  OK  ] Started udev Kernel Device Manager.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Set console keymap.
[  OK  ] Started Dispatch Password Requests to Console Directory
Watch.
[  OK  ] Started Monitoring of LVM2 mirrors,...ng dmeventd or
progress polling.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting LSB: AppArmor initialization...
         Starting Create Volatile Files and Directories...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Set console font and keymap...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
         Starting Socket activation for snappy daemon.
[  OK  ] Listening on ACPID Listen Socket.
         Starting LXD - unix socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Timer to automatically refresh installed snaps.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Listening on LXD - unix socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting System Logging Service...
[  OK  ] Started Deferred execution scheduler.
         Starting LXD - container startup/shutdown...
         Starting Login Service...
[  OK  ] Started ACPI event daemon.
         Starting LSB: MD monitoring daemon...
         Starting LSB: Record successful boot for GRUB...
[  OK  ] Started FUSE filesystem for LXC.
[  OK  ] Started D-Bus System Message Bus.
         Starting Snappy daemon...
         Starting Accounts Service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: MD monitoring daemon.
[  OK  ] Started Login Service.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Started LXD - container startup/shutdown.
[  OK  ] Started Snappy daemon.
[  OK  ] Started Set console font and keymap.
[  OK  ] Created slice system-getty.slice.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...