On Thu, January 24, 2013 11:18 pm, Lu Hang wrote:
> I see. I miss-config the vmlinux binary path. The kernal can now booted
> up. However, there is also another issue coming up. There are two warn
> messages while simulating and it exits really fast. I'm not sure if the
> benchmark has finished running normally. Does it have something to do with
> the check point?
>
> ***************************************screen
> print**************************************************************
> [luhang113@attl113 gem5]$ gem5.opt configs/example/fs.py
> --script=configs/boot/blackscholes.rcS
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
> gem5 compiled Jan 17 2013 11:55:58
> gem5 started Jan 25 2013 12:12:16
> gem5 executing on attl113.arch
> command line: gem5.opt configs/example/fs.py
> --script=configs/boot/blackscholes.rcS
> Global frequency set at 1000000000000 ticks per second
> info: kernel located at: /home/luhang113/bin/gem5/system/binaries/vmlinux
> Listening for system connection on port 3456
>       0: system.tsunami.io.rtc: Real-time clock set to Thu Jan  1 00:00:00
> 2009
> warn: CoherentBus system.membus has no snooping ports attached!
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> warn: Prefetch instructions in Alpha do not do anything
> warn: Prefetch instructions in Alpha do not do anything
> hack: be nice to actually delete the event here
> Exiting @ tick 1824172830500 because m5_exit instruction encountered
>
> ********************************script I
> use**************************************************************************
> #!/bin/sh
> # File to run the blackscholes benchmark
> cd /parsec/install/bin
> /sbin/m5 dumpstats
> /sbin/m5 resetstats
> ./blackscholes     1    /parsec/install/inputs/blackscholes/in_4K.txt
> /parsec/install/inputs/blackscholes/prices.txt
> echo "Done :D"
> /sbin/m5 exit
> /sbin/m5 exit
>
> **************************************system.terminal in m5out
> folder**********************************************
> M5 console: m5AlphaAccess @ 0xFFFFFD0200000000
> Got Configuration 623
> memsize 8000000 pages 4000
> First free page after ROM 0xFFFFFC0000018000
> HWRPB 0xFFFFFC0000018000 l1pt 0xFFFFFC0000040000 l2pt 0xFFFFFC0000042000
> l3pt_rpb 0xFFFFFC0000044000 l3pt_kernel 0xFFFFFC0000048000 l2reserv
> 0xFFFFFC0000046000
> kstart = 0xFFFFFC0000310000, kend = 0xFFFFFC0000855898, kentry =
> 0xFFFFFC0000310000, numCPUs = 0x1
> CPU Clock at 2000 MHz IntrClockFrequency=1024
> Booting with 1 processor(s)
> KSP: 0x20043FE8 PTBR 0x20
> Console Callback at 0x0, fixup at 0x0, crb offset: 0x510
> Memory cluster 0 [0 - 392]
> Memory cluster 1 [392 - 15992]
> Initalizing mdt_bitmap addr 0xFFFFFC0000038000 mem_pages 4000
> ConsoleDispatch at virt 10000658 phys 18658 val FFFFFC00000100A8
> unix_boot_mem ends at FFFFFC0000076000
> k_argc = 0
> jumping to kernel at 0xFFFFFC0000310000, (PCBB 0xFFFFFC0000018180 pfn
> 1067)
> CallbackFixup 0 18000, t7=FFFFFC000070C000
> Linux version 2.6.13 ([email protected]) (gcc version 3.4.3) #1 SMP
> Sun Oct 8 19:52:07 EDT 2006
> Booting GENERIC on Tsunami variation DP264 using machine vector DP264 from
> SRM
> Major Options: SMP LEGACY_START VERBOSE_MCHECK
> Command line: root=/dev/hda1 console=ttyS0
> memcluster 0, usage 1, start        0, end      392
> memcluster 1, usage 0, start      392, end    16384
> freeing pages 1069:16384
> reserving pages 1069:1070
> SMP: 1 CPUs probed -- cpu_present_mask = 1
> Built 1 zonelists
> Kernel command line: root=/dev/hda1 console=ttyS0
> PID hash table entries: 1024 (order: 10, 32768 bytes)
> Using epoch = 1900
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 32768 (order: 5, 262144 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 131072 bytes)
> Memory: 118784k/131072k available (3314k kernel code, 8952k reserved, 983k
> data, 224k init)
> Mount-cache hash table entries: 512
> SMP mode deactivated.
> Brought up 1 CPUs
> SMP: Total of 1 processors activated (4002.20 BogoMIPS).
> NET: Registered protocol family 16
> EISA bus registered
> pci: enabling save/restore of SRM state
> SCSI subsystem initialized
> srm_env: version 0.0.5 loaded successfully
> Installing knfsd (copyright (C) 1996 [email protected]).
> Initializing Cryptographic API
> rtc: Standard PC (1900) epoch (1900) detected
> Real Time Clock Driver v1.12
> Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 8250
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> loop: loaded (max 8 devices)
> nbd: registered device at major 43
> ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
> PCI: Setting latency timer of device 0000:00:01.0 to 64
> eth0: ns83820.c: 0x22c: 00000000, subsystem: 0000:0000
> eth0: enabling optical transceiver
> eth0: using 64 bit addressing.
> eth0: ns83820 v0.22: DP83820 v1.3: 00:90:00:00:00:01 io=0x09000000 irq=30
> f=h,sg
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> PIIX4: IDE controller at PCI slot 0000:00:00.0
> PIIX4: chipset revision 0
> PIIX4: 100% native mode on irq 31
> PCI: Setting latency timer of device 0000:00:00.0 to 64
>     ide0: BM-DMA at 0x8400-0x8407, BIOS settings: hda:DMA, hdb:DMA
>     ide1: BM-DMA at 0x8408-0x840f, BIOS settings: hdc:DMA, hdd:DMA
> hda: M5 IDE Disk, ATA DISK drive
> hdb: M5 IDE Disk, ATA DISK drive
> ide0 at 0x8410-0x8417,0x8422 on irq 31
> hda: max request size: 128KiB
> hda: 2866752 sectors (1467 MB), CHS=2844/16/63, UDMA(33)
> hda: cache flushes not supported
>  hda: hda1
> hdb: max request size: 128KiB
> hdb: 2866752 sectors (1467 MB), CHS=2844/16/63, UDMA(33)
> hdb: cache flushes not supported
>  hdb: hdb1
> mice: PS/2 mouse device common for all mice
> NET: Registered protocol family 2
> IP route cache hash table entries: 4096 (order: 2, 32768 bytes)
> TCP established hash table entries: 16384 (order: 5, 262144 bytes)
> TCP bind hash table entries: 16384 (order: 5, 262144 bytes)
> TCP: Hash tables configured (established 16384 bind 16384)
> TCP reno registered
> ip_conntrack version 2.1 (512 buckets, 4096 max) - 296 bytes per
> conntrack
> ip_tables: (C) 2000-2002 Netfilter core team
> arp_tables: (C) 2002 David S. Miller
> TCP bic registered
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> NET: Registered protocol family 15
> Bridge firewalling registered
> 802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
> All bugs added by David S. Miller <[email protected]>
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 224k freed
>
> init started:  BusyBox v1.1.0 (2007.03.04-01:07+0000) multi-call binary
> mounting filesystems...
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> loading script...
> Done :D
>

The output seems fine to. You can print the contents of the file
/parsec/install/inputs/blackscholes/prices.txt after blackscholes is done
executing and check if they make sense. It is expected that those prefetch
instruction are not too necessary for the simulation.

--
Nilay

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to