Other option is to change permissions on '/dev/mem' to allow everyone to read/write using:
$ chmod a+rw /dev/mem - Avadh On Wed, Jun 1, 2011 at 7:59 PM, Furat Afram <[email protected]> wrote: > Hi > try to start the benchmark with root-account and use seteuid inside the > code to change between privilage and non-privilege user > -Furat > > On Wed, Jun 1, 2011 at 7:47 PM, DRAM Ninjas <[email protected]> wrote: > >> I would guess that you can't. I think the ptlcalls do some magic with some >> MMIO memory space which you probably can't access as a normal user. >> >> I am curious though, why would you want to run as a normal user? >> >> On Wed, Jun 1, 2011 at 6:28 PM, Zhaoshi Zheng <[email protected]>wrote: >> >>> Hi, >>> >>> It seems my benchmarks always crash before it reaches the starting point >>> of timing simulation (ptlcall_switch_to_sim()). I tried to launch them with >>> non-root account and they run to end. But in this case timing simulation is >>> never started due to permission issues. >>> >>> Is there a way to launch benchmarks with non-root account but still get >>> ptlcalls run correclty? >>> >>> Best regards, >>> >>> _______________________________________________ >>> http://www.marss86.org >>> Marss86-Devel mailing list >>> [email protected] >>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel >>> >>> >> >> _______________________________________________ >> http://www.marss86.org >> Marss86-Devel mailing list >> [email protected] >> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel >> >> > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > >
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
