You're probably the first person to ever try an run two processors in SPARC_FS. One processor should work fine. You're getting an error because the second processor is never reset.
Getting two processors to work will be some work. The code was written, but never really tested. The best way to make two processors work is: a) Get 2 processor versions of the hv.bin and md.bin from Sun's Legion simulator (part of the OpenSPARC tools). They have premade ones or you can use the included tools to make your own based on the configuration you want. Unfortunately, we never wrote code in m5 to automatically generate these files as we were hoping to get the actual hypervisor that would create them from Sun. They describe the system (processors, memory addresses, etc). b) Get the Legion simulator from Sun's website. c) Run the two in lockstep fixing any problems as they occur. I have an interface I wrote for m5 and modified for legion for the communication. However, it would have to be expanded to multiple processors. Ali On Feb 22, 2009, at 6:01 PM, Polina Dudnik wrote: > Hi, > > I am trying to run SPARC_FS and it's not clear what the kernel > should be set to. It is set to vmlinux for Alpha, so I do the same > thing for SPARC_FS but I doubt that is the right thing to do. > Regardless of what the kernel is set to I get the following error: > > > **** REAL SIMULATION **** > warn: Entering event queue @ 0. Starting simulation... > panic: What state are we in?! > @ cycle 10000 > [readFSReg:build/SPARC_FS/arch/sparc/ua2005.cc, line 280] > Program aborted at cycle 10000 > Abort > > > When I run: ./build/SPARC_FS/m5.debug configs/example/fs.py -n 2 > > Could it be a problem with fs.py? > > Thanks. > > Polina > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
