Hi, In the tutorial (SimFlex-tutorial.pdf, page 9) it is mentioned that Flexus can perform in-order timings on any Simics target, but all the examples uses a Sparc v9 target. We would like simulate a chip multi core with the alpha or powerpc ISA. Is this possible with Flexus+Simics?
I got the feeling that Flexus is dependent on the micro architectural interface of Simics which is only available on Sparc and X86 (simics-micro-architectural-interface.pdf, page 8), so I am a little confused. I would appreciate a clarification on this. Carsten From ssomogyi at ece.cmu.edu Wed Nov 14 17:10:48 2007 From: ssomogyi at ece.cmu.edu (Stephen Somogyi) List-Post: [email protected] Date: Wed Nov 14 17:11:21 2007 Subject: [Simflex] CMP timings on powerpc or alpha In-Reply-To: <[email protected]> References: <[email protected]> Message-ID: <pine.lnx.4.53l-ece.cmu.edu.0711141704050.15...@aprile.ece.cmu.edu> Flexus' in-order timing can support any Simics target because it does not rely on the microarchitectural interface (which, as you point out, is only supported for x86 and sparc). Thus, all the .OoO simulators are out, but the trace simulators (e.g., TraceCMPFlex) and in-order simulators (e.g., CMPFlex) can work. However, we have never tested Flexus with other targets - and while most general-purpose instructions should work without modification, some architectural/OS-specific instructions may need special support in the DecoupledFeeder/InorderSimicsFeeder components. Cheers, Stephen On Tue, 13 Nov 2007, Carsten Varming wrote: > Hi, > > In the tutorial (SimFlex-tutorial.pdf, page 9) it is mentioned that Flexus can > perform in-order timings on any Simics target, but all the examples uses a > Sparc v9 target. We would like simulate a chip multi core with the alpha or > powerpc ISA. Is this possible with Flexus+Simics? > > I got the feeling that Flexus is dependent on the micro architectural > interface of Simics which is only available on Sparc and X86 > (simics-micro-architectural-interface.pdf, page 8), so I am a little confused. > > I would appreciate a clarification on this. > > Carsten > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > From hetu at cs.cmu.edu Mon Nov 19 18:04:23 2007 From: hetu at cs.cmu.edu (Hetu) List-Post: [email protected] Date: Wed Nov 21 11:33:46 2007 Subject: [Simflex] Problems when running prepare-test-app Message-ID: <[email protected]> Hi, I've been trying to install flexus on my machine for the last couple of days. I've managed to install and build flexus and simics but when I try to run prepare-test-app, I get an error saying that /mnt/src does not exist(see file attached for the exact error). I get the same error with both solaris 8 and solaris 9. This is after I run a make uninstall to go around the CXX_ABI_1.2 error mentioned in getting-started document. I'm trying to run this on an x86-64 machine with gcc-4.1.0, though I've compiled everything to give 32 bit executables. Has anyone else faced this problem? Am I missing something simple? Thanks in advance for your time, Hetu $ ./prepare-test-app Checking out a license... done: academic license. +----------------+ Copyright 1998-2005 by Virtutech, All Rights Reserved | Virtutech | Version: simics-2.2.19 | Simics | Compiled: Tue Aug 16 20:22:30 CEST 2005 +----------------+ www.simics.com "Virtutech" and "Simics" are trademarks of Virtutech AB Type 'copyright' for details on copyright. Type 'license' for details on warranty, copying, etc. Type 'readme' for further information about this version. Type 'help help' for info on the on-line documentation. Using user-specified disk files pci bootbus-controller pci Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. Device 1 SUNW,hme Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. Device 2 Nothing there Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. Device 3 Nothing there Probing /s...@0,0/p...@18,600000Non-printable char (0x0) on console. Device 1 Nothing there pci pci Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. Device 1 Nothing there Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. Device 2 scsi disk tape Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. Device 3 Nothing there Probing /s...@0,0/p...@19,600000Non-printable char (0x0) on console. Device 1 Nothing there Simics Serengeti System Copyright 2001-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. SmartFirmware, Copyright (C) 1996-2001. All rights reserved. Boot path: /s...@0,0/p...@19,700000/s...@2/d...@0,0:a Boot args: -v Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54. FCode UFS Reader 1.12 00/07/17 15:48:16. Loading: /platform/SUNW,Sun-Fire/ufsboot Loading: /platform/sun4u/ufsboot The boot filesystem is logging. The ufs log is empty and will not be used. Size: 0x61693+0x25355+0x64f2f Bytes Unknown callback, arg is 20628 . Ignoring... SunOS Release 5.9 Version Generic_118558-34 64-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Ethernet address = 10:10:10:10:10:24 mem = 262144K (0x10000000) avail mem = 176824320 root nexus = Sun Fire 6800 ssm0 at root: SSM Node 0 ssm0 is /s...@0,0 pci108e,80010 at ssm0: Node 0 Safari id 24 0xc700000 pcisch0 is /s...@0,0/p...@18,700000 pci108e,80011 at ssm0: Node 0 Safari id 24 0xc600000 pcisch1 is /s...@0,0/p...@18,600000 pci108e,80012 at ssm0: Node 0 Safari id 25 0xcf00000 pcisch2 is /s...@0,0/p...@19,700000 pci108e,80013 at ssm0: Node 0 Safari id 25 0xce00000 pcisch3 is /s...@0,0/p...@19,600000 /s...@0,0/p...@19,700000/s...@2 (glm0): Rev. 4 Symbios 53c876 found. PCI-device: s...@2, glm0 glm0 is /s...@0,0/p...@19,700000/s...@2 PCI-device: s...@2, glm0 glm0 is /s...@0,0/p...@19,700000/s...@2 sd0 at glm0: target 0 lun 0 sd0 is /s...@0,0/p...@19,700000/s...@2/s...@0,0 sd1 at glm0: target 1 lun 0 sd1 is /s...@0,0/p...@19,700000/s...@2/s...@1,0 sd6 at glm0: target 6 lun 0 sd6 is /s...@0,0/p...@19,700000/s...@2/s...@6,0 WARNING: Last shutdown is later than time on time-of-day chip; check date. root on /s...@0,0/p...@19,700000/s...@2/d...@0,0:a fstype ufs memory-controller0 at ssm0: Node 0 Safari id 0 0x400000 ... mc-us30 is /s...@0,0/memory-control...@0,400000 PCI-device: bootbus-control...@4, sgsbbc0 sgsbbc0 is /s...@0,0/p...@18,700000/bootbus-control...@4 Hardware watchdog enabled cpu0: UltraSPARC-III (portid 0 impl 0x14 ver 0x35 clock 75 MHz) wrsm0 at root: SAFARI 0xffff 0x0 wrsm0 is /w...@ffff,0 pseudo-device: wrsm100 wrsm100 is /pseudo/w...@100 pseudo-device: wrsm101 wrsm101 is /pseudo/w...@101 pseudo-device: wrsm102 wrsm102 is /pseudo/w...@102 pseudo-device: wrsm103 wrsm103 is /pseudo/w...@103 pseudo-device: wrsm104 wrsm104 is /pseudo/w...@104 pseudo-device: wrsm105 wrsm105 is /pseudo/w...@105 pseudo-device: wrsm106 wrsm106 is /pseudo/w...@106 pseudo-device: wrsm107 wrsm107 is /pseudo/w...@107 pseudo-device: wrsm108 wrsm108 is /pseudo/w...@108 pseudo-device: wrsm109 wrsm109 is /pseudo/w...@109 pseudo-device: wrsm110 wrsm110 is /pseudo/w...@110 pseudo-device: wrsm111 wrsm111 is /pseudo/w...@111 pseudo-device: wrsm112 wrsm112 is /pseudo/w...@112 pseudo-device: wrsm113 wrsm113 is /pseudo/w...@113 pseudo-device: wrsm114 wrsm114 is /pseudo/w...@114 pseudo-device: wrsm115 wrsm115 is /pseudo/w...@115 SUNW,hme1 : PCI IO 2.0 (Rev Id = c1) Found SUNW,hme1 : Local Ethernet address = 10:10:10:10:10:24 PCI-device: SUNW,h...@1, hme1 hme1 is /s...@0,0/p...@18,700000/SUNW,h...@1 ifconfig: SIOCSLIFNAME for ip: hme0: no such interface [sc0 info] OBP 0x6006 moving addresses from failed IPv4 interfaces: hme0 (couldn't move, no alternative interface). Hostname: sarek.network.sim dump on /dev/dsk/c0t0d0s1 size 512 MB pseudo-device: devinfo0 devinfo0 is /pseudo/devi...@0 The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t0d0s7: is logging. starting rpc services: rpcbind done. Setting default IPv4 interface for multicast: add net 224.0/4: gateway sarek.network.sim syslog service starting. Jun 2 07:00:43 sarek.network.sim pseudo: pseudo-device: tod0 Jun 2 07:00:43 sarek.network.sim genunix: tod0 is /pseudo/t...@0 Jun 2 07:00:43 sarek.network.sim pseudo: pseudo-device: pm0 Jun 2 07:00:43 sarek.network.sim genunix: pm0 is /pseudo/p...@0 Jun 2 07:00:44 sarek.network.sim pseudo: pseudo-device: fcode0 Jun 2 07:00:44 sarek.network.sim genunix: fcode0 is /pseudo/fc...@0 volume management starting. Jun 2 07:00:46 sarek.network.sim pseudo: pseudo-device: vol0 Jun 2 07:00:46 sarek.network.sim genunix: vol0 is /pseudo/v...@0 The system is ready. sarek.network.sim console login: root Jun 2 07:00:48 sarek.network.sim login: ROOT LOGIN /dev/console Last login: Sun Jun 2 07:02:01 on console Sun Microsystems Inc. SunOS 5.9 Generic May 2002 # Prompt reached [cpu0] v:0x00000000010486a0 p:0x0000000002c486a0 bne,pn %icc, 0x10486bc mount /dev/dsk/c0t1d0s0 /mnt; cd /mnt/src; ./filter_v9 ../inputs/filter.blur3x3 1 < ../inputs/calcm.ppm > ../inputs/calcm.out.ppm mount: /dev/dsk/c0t1d0s0 or /mnt, no such file or directory /mnt/src: does not exist # Who is calling? [prepare-test-app.simics:146] the command did not complete properly; interrupting script simics> From evlachos at ece.cmu.edu Wed Nov 21 12:39:24 2007 From: evlachos at ece.cmu.edu (Evangelos Vlachos) List-Post: [email protected] Date: Wed Nov 21 12:39:27 2007 Subject: [Simflex] Problems when running prepare-test-app In-Reply-To: <[email protected]> References: <[email protected]> Message-ID: <[email protected]> Hello Hetu, The prepare-test-app script doesn't use Flexus at all. It just boots the system, log in and start the application. The script didn't work properly because the simulated machine while booting didn't recognize the disk that contains the flexus-test-app, and thus the mount command failed (Boot arguments were "-v" ) > Boot path: /s...@0,0/p...@19,700000/s...@2/d...@0,0:a Boot args: -v You need to change this to "-rv" in order for the simulated OS to check for newly installed devices. One way to do this is in the sarek-common.simics script found in SIMICS_ROOT/home/sarek. Just uncomment the followin line: # system.set-prom-env "boot-command" "boot disk -rv" # reconfigure devices and enable verbose mode during boot I believe this will solve your problem. If not, let us know. Regards, Evangelos Vlachos On Mon, 19 Nov 2007, Hetu wrote: > Hi, > > I've been trying to install flexus on my machine for the last couple of days. > I've managed to install and build flexus and simics but when I try to run > prepare-test-app, I get an error saying that /mnt/src does not exist(see file > attached for the exact error). I get the same error with both solaris 8 and > solaris 9. This is after I run a make uninstall to go around the CXX_ABI_1.2 > error mentioned in getting-started document. > > I'm trying to run this on an x86-64 machine with gcc-4.1.0, though I've > compiled everything to give 32 bit executables. > > Has anyone else faced this problem? Am I missing something simple? > > Thanks in advance for your time, > Hetu > > > $ ./prepare-test-app > Checking out a license... done: academic license. > > +----------------+ Copyright 1998-2005 by Virtutech, All Rights Reserved > | Virtutech | Version: simics-2.2.19 > | Simics | Compiled: Tue Aug 16 20:22:30 CEST 2005 > +----------------+ > www.simics.com "Virtutech" and "Simics" are trademarks of Virtutech AB > > Type 'copyright' for details on copyright. > Type 'license' for details on warranty, copying, etc. > Type 'readme' for further information about this version. > Type 'help help' for info on the on-line documentation. > > Using user-specified disk files > > pci bootbus-controller pci > Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. > Device 1 SUNW,hme > Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. > Device 2 Nothing there > Probing /s...@0,0/p...@18,700000Non-printable char (0x0) on console. > Device 3 Nothing there > Probing /s...@0,0/p...@18,600000Non-printable char (0x0) on console. > Device 1 Nothing there > pci pci > Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. > Device 1 Nothing there > Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. > Device 2 scsi disk tape > Probing /s...@0,0/p...@19,700000Non-printable char (0x0) on console. > Device 3 Nothing there > Probing /s...@0,0/p...@19,600000Non-printable char (0x0) on console. > Device 1 Nothing there > Simics Serengeti System > Copyright 2001-2004 Sun Microsystems, Inc. All rights reserved. > Use is subject to license terms. > SmartFirmware, Copyright (C) 1996-2001. All rights reserved. > > Boot path: /s...@0,0/p...@19,700000/s...@2/d...@0,0:a Boot args: -v > Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54. > FCode UFS Reader 1.12 00/07/17 15:48:16. > Loading: /platform/SUNW,Sun-Fire/ufsboot > Loading: /platform/sun4u/ufsboot > The boot filesystem is logging. > The ufs log is empty and will not be used. > Size: 0x61693+0x25355+0x64f2f Bytes > Unknown callback, arg is 20628 . Ignoring... > SunOS Release 5.9 Version Generic_118558-34 64-bit > Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. > Use is subject to license terms. > Ethernet address = 10:10:10:10:10:24 > mem = 262144K (0x10000000) > avail mem = 176824320 > root nexus = Sun Fire 6800 > ssm0 at root: SSM Node 0 > ssm0 is /s...@0,0 > pci108e,80010 at ssm0: Node 0 Safari id 24 0xc700000 > pcisch0 is /s...@0,0/p...@18,700000 > pci108e,80011 at ssm0: Node 0 Safari id 24 0xc600000 > pcisch1 is /s...@0,0/p...@18,600000 > pci108e,80012 at ssm0: Node 0 Safari id 25 0xcf00000 > pcisch2 is /s...@0,0/p...@19,700000 > pci108e,80013 at ssm0: Node 0 Safari id 25 0xce00000 > pcisch3 is /s...@0,0/p...@19,600000 > /s...@0,0/p...@19,700000/s...@2 (glm0): > Rev. 4 Symbios 53c876 found. > PCI-device: s...@2, glm0 > glm0 is /s...@0,0/p...@19,700000/s...@2 > PCI-device: s...@2, glm0 > glm0 is /s...@0,0/p...@19,700000/s...@2 > sd0 at glm0: target 0 lun 0 > sd0 is /s...@0,0/p...@19,700000/s...@2/s...@0,0 > sd1 at glm0: target 1 lun 0 > sd1 is /s...@0,0/p...@19,700000/s...@2/s...@1,0 > sd6 at glm0: target 6 lun 0 > sd6 is /s...@0,0/p...@19,700000/s...@2/s...@6,0 > WARNING: Last shutdown is later than time on time-of-day chip; check > date. > root on /s...@0,0/p...@19,700000/s...@2/d...@0,0:a fstype ufs > memory-controller0 at ssm0: Node 0 Safari id 0 0x400000 ... > mc-us30 is /s...@0,0/memory-control...@0,400000 > PCI-device: bootbus-control...@4, sgsbbc0 > sgsbbc0 is /s...@0,0/p...@18,700000/bootbus-control...@4 > Hardware watchdog enabled > cpu0: UltraSPARC-III (portid 0 impl 0x14 ver 0x35 clock 75 MHz) > wrsm0 at root: SAFARI 0xffff 0x0 > wrsm0 is /w...@ffff,0 > pseudo-device: wrsm100 > wrsm100 is /pseudo/w...@100 > pseudo-device: wrsm101 > wrsm101 is /pseudo/w...@101 > pseudo-device: wrsm102 > wrsm102 is /pseudo/w...@102 > pseudo-device: wrsm103 > wrsm103 is /pseudo/w...@103 > pseudo-device: wrsm104 > wrsm104 is /pseudo/w...@104 > pseudo-device: wrsm105 > wrsm105 is /pseudo/w...@105 > pseudo-device: wrsm106 > wrsm106 is /pseudo/w...@106 > pseudo-device: wrsm107 > wrsm107 is /pseudo/w...@107 > pseudo-device: wrsm108 > wrsm108 is /pseudo/w...@108 > pseudo-device: wrsm109 > wrsm109 is /pseudo/w...@109 > pseudo-device: wrsm110 > wrsm110 is /pseudo/w...@110 > pseudo-device: wrsm111 > wrsm111 is /pseudo/w...@111 > pseudo-device: wrsm112 > wrsm112 is /pseudo/w...@112 > pseudo-device: wrsm113 > wrsm113 is /pseudo/w...@113 > pseudo-device: wrsm114 > wrsm114 is /pseudo/w...@114 > pseudo-device: wrsm115 > wrsm115 is /pseudo/w...@115 > SUNW,hme1 : PCI IO 2.0 (Rev Id = c1) Found > SUNW,hme1 : Local Ethernet address = 10:10:10:10:10:24 > PCI-device: SUNW,h...@1, hme1 > hme1 is /s...@0,0/p...@18,700000/SUNW,h...@1 > ifconfig: SIOCSLIFNAME for ip: hme0: no such interface > [sc0 info] OBP 0x6006 > moving addresses from failed IPv4 interfaces: hme0 (couldn't move, no > alternative interface). > Hostname: sarek.network.sim > dump on /dev/dsk/c0t0d0s1 size 512 MB > pseudo-device: devinfo0 > devinfo0 is /pseudo/devi...@0 > The system is coming up. Please wait. > checking ufs filesystems > /dev/rdsk/c0t0d0s7: is logging. > starting rpc services: rpcbind done. > Setting default IPv4 interface for multicast: add net 224.0/4: gateway > sarek.network.sim > syslog service starting. > Jun 2 07:00:43 sarek.network.sim pseudo: pseudo-device: tod0 > Jun 2 07:00:43 sarek.network.sim genunix: tod0 is /pseudo/t...@0 > Jun 2 07:00:43 sarek.network.sim pseudo: pseudo-device: pm0 > Jun 2 07:00:43 sarek.network.sim genunix: pm0 is /pseudo/p...@0 > Jun 2 07:00:44 sarek.network.sim pseudo: pseudo-device: fcode0 > Jun 2 07:00:44 sarek.network.sim genunix: fcode0 is /pseudo/fc...@0 > volume management starting. > Jun 2 07:00:46 sarek.network.sim pseudo: pseudo-device: vol0 > Jun 2 07:00:46 sarek.network.sim genunix: vol0 is /pseudo/v...@0 > The system is ready. > > sarek.network.sim console login: root > Jun 2 07:00:48 sarek.network.sim login: ROOT LOGIN /dev/console > Last login: Sun Jun 2 07:02:01 on console > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > # > Prompt reached > [cpu0] v:0x00000000010486a0 p:0x0000000002c486a0 bne,pn %icc, 0x10486bc > mount /dev/dsk/c0t1d0s0 /mnt; cd /mnt/src; ./filter_v9 > ../inputs/filter.blur3x3 1 < ../inputs/calcm.ppm > ../inputs/calcm.out.ppm > mount: /dev/dsk/c0t1d0s0 or /mnt, no such file or directory > /mnt/src: does not exist > # Who is calling? > [prepare-test-app.simics:146] the command did not complete properly; > interrupting script > simics> > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex >
