Hey guys, I've recently updated to changeset 8457:7cdc5570d884 in the http://repo.gem5.org/gem5 <http://repo.gem5.org/gem5-stable> repo. I can confirm that the readfile function works using Ruby in this changeset. It definitely didn't work before Brad and Nilay pushed changeset 8436, which added functional accesses in Ruby. Hope this helps, Joel
2011/7/12 Martí Torrents Lapuerta <[email protected]> > I answer between lines: > > 2011/7/13 Gabriel Michael Black <[email protected]> > >> Some basic questions that will give people a better picture of what's >> happening: >> >> 1. How old is your gem5 source? >> > > my gem5 source is the last version in http://repo.gem5.org/gem5-stable > > >> 2. Where did you get your disk image? >> > > I downloaded it from the Download area in www.gem5.org/Download, I > downloaded both the X86 image and the kernel, actually I'm currently using > x86_64-vmlinux-2.6.22.9.smp kernel > > 3. Where did you get your kernel? >> > > Already answered > > >> 4. What did the panic say? >> > > The panic message is something like: > RubyPort::PioPort::recvAtomic() not implemented! > > 5. recvAtomic can't (as far as I know) be used with ruby. Are you actually >> using ruby, or did you just compile in support for it? >> > > That's the problem, it shouldn't, but it does... I use this command to > compile: > > scons build/X86_FS/gem5.fast PROTOCOL=MOESI_CMP_token RUBY=true > > And this other to run it: > > ./build/X86_FS/gem5.fast ./configs/example/ruby_fs.py -n 4 --l1i_size=16kB > --l1d_size=16kB --l2_size=32MB --num-l2caches=4 --num-dirs=4 --topology=Mesh > --timing --garnet-network=fixed > --script=../system/scripts/blackscholes_4c_simsmall.rcS > > Note: I added the suport for reading scripts in the ruby_fs.py > configuration script > > Hope this is the information you need. > > Thanks > > Marti > >> >> Gabe >> >> >> Quoting Martí Torrents Lapuerta <[email protected]>: >> >> Hello, >>> >>> When executing RUBY in X86_FS and trying to send a script from the >>> command >>> line, it seems that there is a problem when the image boots and the >>> system >>> is calling /sbin/m5/readfile /tmp/script. What actually is happening is >>> that >>> the system executes a panic function in recvAtomic() that stops the >>> simulation. >>> >>> I've been searching in google for possible solutions and I've realized >>> that >>> may be a problem in vtophys function, however I don't get how to solve >>> it. >>> Can you help me? >>> >>> Thanks in advance. >>> >>> >> >> ______________________________**_________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> >> > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Joel Hestness PhD Student, Computer Architecture Dept. of Computer Science, University of Texas - Austin http://www.cs.utexas.edu/~hestness
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
