Hi!

First of all, I'm happy to see that PTLsim is still living ;)


I've tried to run your simple example 'writeint' located in the ubuntu image provided on the web site and got kind of arbitrary problems:

Some examples:
- assertion error: `ctx.get_cs_eip() == uop.rip' failed.
- assertion error: `ctx.page_fault_addr != 0' failed.
- kernel panic: reason: attempted to kill the idle process
- segmentation fault of the observed process when manually stopping the simulation

This looks to me like some problem with my version of compiler, lib, arch, whatever. Therefore I'm asking if someone else knows about restrictions not mentioned on the web site.


My system:
----------

Arch: x86_64
Mem: 4GB
CPU: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz
OS: Ubuntu 10.04
Kernel: 2.6.32-30-generic #59-Ubuntu SMP
scons: v1.2.0.d20100117.r4629
gcc: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
SDL: libsdl1.2-dev - 1.2.14-4ubuntu1.1


Just to make sure it was not the procedure I've chosen - here is ...

What I've done:
---------------

1. Build marss version 0.1.2:
   > scons -Q c=8
   (later even without the 'c' option: scons -Q -c ; scons -Q)
2. Run your image:
   > qemu/qemu-system-x86_64 -hda ../ubuntu904.qcow2
   (I've even tried -m 1024 and -smp 8, the latter is deprecated)
3. Logged in as root
4. Manually switched to simulation mode
   CTRL-ALT-2
   (qemu) simconfig -run -stats test.log
5. Started the ./writeint located in /root




Thanks in advance
 Holger


--
Holger Machens (MSc.)
Tel.: +49 40 42878 3703
Institut of Telematics
Hamburg University of Technology
Building E, Room: 4.090
Schwarzenbergstrasse 95
21073 Hamburg

_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to