Hi,
        I’m currently trying to build full system under x86 in order to run 
splash2 benchmarks with multi-cpus processor.
        Here’s my system environment: 32-bit ubuntu linux system under VM on OS 
X.
        To achieve my cache requirements, I built X86_MOESI_hammer in order to 
have private l2caches.
        Here are my steps to build full system so far:

        1. Downloaded x86-system and config-x86 packages and extracted them. 
Moved them to dictionary ~/gem5.
        2. Downloaded ALPHA full system files and copied linux-bigswap2.img to 
~/gem5/x86-system/disks/.
        3. Modified path in /configs/common/SysPath.py to "path = [ 
'/dist/m5/system', '~/gem5/x86-system’ ]”.
        4. Changed name of ~/gem5/x86-system/disks/linux-x86.img to x86root.img.
        
        Then I typed following command "build/X86_MOESI_hammer/gem5.opt -d 
m5out configs/example/fs.py —kernel=x86_64-vmlinux-2.6.22.9”.
        I didn’t get error but the program terminated due to “stack smashing 
detected”.
        Here’s what I got after typing the commands above:
        
        gem5 Simulator System. http://gem5.org <http://gem5.org/> 
        gem5 is copyrighted software; use the --copyright option for details. 
        gem5 compiled Apr 20 2015 18:12:20 
        gem5 started Apr 21 2015 16:17:51 
        gem5 executing on ubuntu 
        command line: build/X86_MOESI_hammer/gem5.opt -d m5out 
configs/example/fs.py --kernel=x86_64-vmlinux-2.6.22.9 
        Global frequency set at 1000000000000 ticks per second 
        warn: DRAM device capacity (8192 Mbytes) does not match the address 
range assigned (512 Mbytes) 
        info: kernel located at: 
/home/hancle/gem5/x86-system/binaries/x86_64-vmlinux-2.6.22.9 
        Listening for com_1 connection on port 3456 
                 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 
        0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 
        warn: Reading current count from inactive timer. 
        **** REAL SIMULATION ****
        info: Entering event queue @ 0. Starting simulation… 
        warn: Don't know what interrupt to clear for console. 
        *** stack smashing detected ***: build/X86_MOESI_hammer/gem5.opt 
terminated 
        Program aborted at cycle 7027708000 
        Aborted (core dumped)

        I couldn’t find any idea in previous postings, if anyone knows where 
the problem is please let know. 
        
        Thanks 
        Hancle  
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to