Error : The process linux-3.2.64-ghost with pid 16773 allowing the simulation of computer m2 died unexpectedly. It was necessary to stop "m2" to maintain a consistent state.

Asked by Michael Tagoe on 2018-12-06

I installed marionnet on my machine running kali linux using the marionet from scratch script. Has always been working fine.
Today trying to work on an exercise I get the error I wrote in the header and the virtual machines consoles will not start.

this is the log I get after placing the machin in debug mode :

[14157.0]: You toggled the option (debug), now to true
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 1080, characters 13-59
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.8]: task_runner: Executing the task "Startup m2"
[14157.8]: Starting up the device m2...
[14157.8]: Creating processes for m2 first...
[14157.8]: About to create the simulated device m2: it's connected to 0 cables.
[14157.8]: Relevant states for m2 are 3
[14157.8]: About to start the machine m2
  with filesystem: /usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  cow file: /tmp/marionnet-524268169.dir/primarete/states/37138-51872-35612.cow
  kernel: /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  xnest: false
[14157.8]: reserved_socket_name#initializer:
 socket name "/tmp/marionnet-524268169.dir/hublet-0-socket-693397145" reserved for vde_switch
[14157.8]: reserved_socket_name#initializer:
 socket name "/tmp/marionnet-524268169.dir/hublet-1-socket-820424324" reserved for vde_switch
[14157.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-524268169.dir/hublet-0-socket-693397145
[14157.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-524268169.dir/hublet-0-socket-693397145
---
[14157.8]: process#spawn: a process (vde_switch) was just spawned (pid 16720).
00000000faaa92a1: 00000002 00000000 00010000 0001 01 1081280 /tmp/marionnet-524268169.dir/hublet-0-socket-693397145/ctl
[14157.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[14157.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-524268169.dir/hublet-1-socket-820424324
[14157.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-524268169.dir/hublet-1-socket-820424324
---
[14157.8]: process#spawn: a process (vde_switch) was just spawned (pid 16725).
00000000229b20cd: 00000002 00000000 00010000 0001 01 1082357 /tmp/marionnet-524268169.dir/hublet-1-socket-820424324/ctl
[14157.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[14157.8]: uml_process: creating m2: eth42 has IP 172.23.0.2
[14157.8]: uml_process: creating m2: using default console arguments for new pairs filesystem/kernels
[14157.8]: Processes for m2 were created...
[14157.8]: Starting up the device m2...
[14157.109]: process#spawn: `wirefilter' called with 18 arguments; the complete command line is:
---
  wirefilter -l LR0.000000 -D LR0.000000 --noise LR0 -d
  LR0.000000+0.000000 -l RL0.000000 -D RL0.000000 --noise RL0
  -d RL0.000000+0.000000 -v
  /tmp/marionnet-524268169.dir/hublet-1-socket-820424324:/tmp/marionnet-524268169.dir/hublet-0-socket-693397145
---
172.23.0.2 being added to access control list
[14157.109]: process#spawn: a process (wirefilter) was just spawned (pid 16755).
[14157.108]: Executing: dd if=/dev/zero bs=1024 seek=1048576 count=1 of='/tmp/marionnet-524268169.dir/sparse-swap-692391411'
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 3.2365e-05 s, 31.6 MB/s
[14157.108]: m2#create_swap_file: created the swap file /tmp/marionnet-524268169.dir/sparse-swap-692391411.
[14157.108]: Executing: export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin; mkswap '/tmp/marionnet-524268169.dir/sparse-swap-692391411'
mkswap: /tmp/marionnet-524268169.dir/sparse-swap-692391411: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=b3c9df87-16cb-4405-9106-9c7f030ef11f
[14157.108]: m2#create_swap_file: executed mkswap on the swap file /tmp/marionnet-524268169.dir/sparse-swap-692391411.
[14157.108]: process#spawn: `linux-3.2.64-ghost' called with 17 arguments; the complete command line is:
---
  /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  console_no=1 numeric_TZ=+01:00 timezone=Europe/Rome
  keyboard_layout=en
  eth0=daemon,02:04:06:cf:36:0c,unix,/tmp/marionnet-524268169.dir/hublet-1-socket-820424324/ctl
  ubda=/tmp/marionnet-524268169.dir/primarete/states/37138-51872-35612.cow,/usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  ubdb=/tmp/marionnet-524268169.dir/sparse-swap-692391411
  umid=m2 mem=96M root=98:0
  hostfs=/tmp/marionnet-524268169.dir/primarete/hostfs/2
  hostname=m2 guestkind=machine xterm=xterm,-T,-e
  eth42=tuntap,tap975526,42:42:89:8c:10:9d,172.23.0.254
  debug_mode=true con0=xterm
---
[14157.108]: process#spawn: a process (linux-3.2.64-ghost) was just spawned (pid 16773).
[14157.8]: The device m2 was started up
[14157.8]: A progress bar dialog window was destroyed.
[14157.8]: A progress bar dialog window was destroyed.
[14157.8]: task_runner: The task "Startup m2" succeeded.
[14157.8]: task_runner: I'm ready for the next task...
[14157.112]: process#start_thread_waiting: waitpid 16773 exited.
[14157.8]: task_runner: Executing the task "Startup m1"
[14157.8]: Starting up the device m1...
[14157.8]: Creating processes for m1 first...
[14157.8]: About to create the simulated device m1: it's connected to 0 cables.
[14157.8]: Relevant states for m1 are 3
[14157.8]: About to start the machine m1
  with filesystem: /usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  cow file: /tmp/marionnet-524268169.dir/primarete/states/18108-17774-48778.cow
  kernel: /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  xnest: false
[14157.8]: reserved_socket_name#initializer:
 socket name "/tmp/marionnet-524268169.dir/hublet-0-socket-200018310" reserved for vde_switch
[14157.8]: reserved_socket_name#initializer:
 socket name "/tmp/marionnet-524268169.dir/hublet-1-socket-1004927280" reserved for vde_switch
[14157.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-524268169.dir/hublet-0-socket-200018310
[14157.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-524268169.dir/hublet-0-socket-200018310
---
[14157.8]: process#spawn: a process (vde_switch) was just spawned (pid 16794).
00000000dd47a124: 00000002 00000000 00010000 0001 01 1078161 /tmp/marionnet-524268169.dir/hublet-0-socket-200018310/ctl
[14157.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[14157.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-524268169.dir/hublet-1-socket-1004927280
[14157.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-524268169.dir/hublet-1-socket-1004927280
---
[14157.8]: process#spawn: a process (vde_switch) was just spawned (pid 16830).
000000006ac723b6: 00000002 00000000 00010000 0001 01 1084260 /tmp/marionnet-524268169.dir/hublet-1-socket-1004927280/ctl
[14157.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[14157.6]: You don't deadlock here m2, do you? -1
[14157.6]: You don't deadlock here m2, do you? 0
[14157.6]: About to destroy the simulated device m2
[14157.6]: (destroying the on/sleeping device m2. Powering it off first...)
[14157.6]: Powering off the device m2...
[14157.6]: machine_or_router#terminate_processes_private: about to terminate the internal cable processes of m2...
[14157.119]: m2#gracefully_terminate: uml_mconsole failed in sending a 'sysrq e' to m2. Trying again (loop no. 1/1)...
[14157.110]: process#start_thread_waiting: waitpid 16755 exited.
[14157.8]: uml_process: creating m1: eth42 has IP 172.23.0.1
[14157.8]: uml_process: creating m1: using default console arguments for new pairs filesystem/kernels
[14157.8]: Processes for m1 were created...
[14157.8]: Starting up the device m1...
[14157.124]: process#spawn: `wirefilter' called with 18 arguments; the complete command line is:
---
  wirefilter -l LR0.000000 -D LR0.000000 --noise LR0 -d
  LR0.000000+0.000000 -l RL0.000000 -D RL0.000000 --noise RL0
  -d RL0.000000+0.000000 -v
  /tmp/marionnet-524268169.dir/hublet-1-socket-1004927280:/tmp/marionnet-524268169.dir/hublet-0-socket-200018310
---
172.23.0.1 being added to access control list
[14157.124]: process#spawn: a process (wirefilter) was just spawned (pid 16863).
[14157.123]: Executing: dd if=/dev/zero bs=1024 seek=1048576 count=1 of='/tmp/marionnet-524268169.dir/sparse-swap-391062336'
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 3.6955e-05 s, 27.7 MB/s
[14157.123]: m1#create_swap_file: created the swap file /tmp/marionnet-524268169.dir/sparse-swap-391062336.
[14157.123]: Executing: export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin; mkswap '/tmp/marionnet-524268169.dir/sparse-swap-391062336'
mkswap: /tmp/marionnet-524268169.dir/sparse-swap-391062336: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=59287d24-fc05-4e46-881a-fc6aefcaf099
[14157.123]: m1#create_swap_file: executed mkswap on the swap file /tmp/marionnet-524268169.dir/sparse-swap-391062336.
[14157.123]: process#spawn: `linux-3.2.64-ghost' called with 17 arguments; the complete command line is:
---
  /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  console_no=1 numeric_TZ=+01:00 timezone=Europe/Rome
  keyboard_layout=en
  eth0=daemon,02:04:06:b0:90:5f,unix,/tmp/marionnet-524268169.dir/hublet-1-socket-1004927280/ctl
  ubda=/tmp/marionnet-524268169.dir/primarete/states/18108-17774-48778.cow,/usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  ubdb=/tmp/marionnet-524268169.dir/sparse-swap-391062336
  umid=m1 mem=96M root=98:0
  hostfs=/tmp/marionnet-524268169.dir/primarete/hostfs/1
  hostname=m1 guestkind=machine xterm=xterm,-T,-e
  eth42=tuntap,tap100871,42:42:42:b5:c0:53,172.23.0.254
  debug_mode=true con0=xterm
---
[14157.123]: process#spawn: a process (linux-3.2.64-ghost) was just spawned (pid 16886).
[14157.8]: The device m1 was started up
[14157.8]: A progress bar dialog window was destroyed.
[14157.8]: A progress bar dialog window was destroyed.
[14157.8]: task_runner: The task "Startup m1" succeeded.
[14157.8]: task_runner: I'm ready for the next task...
[14157.127]: process#start_thread_waiting: waitpid 16886 exited.
[14157.119]: m2#gracefully_terminate: uml_mconsole failed in sending a 'sysrq i' to m2. Trying again (loop no. 1/1)...
[14157.119]: m2#gracefully_terminate: uml_mconsole failed in sending a 'halt' to m2. Trying again (loop no. 1/1)...
[14157.119]: m2#terminate: killing whole hierarchy of pid 16773 with SIGKILL...
[14157.119]: m2#terminate: waiting pid 16773...
[14157.119]: m2#terminate: pid 16773 correctly waited. Fine.
[14157.119]: m2#terminate: removing swap file allocated for 16773
[14157.119]: Executing: rm -f '/tmp/marionnet-524268169.dir/sparse-swap-692391411'
[14157.119]: m2#delete_swap_file: deleted the swap file '/tmp/marionnet-524268169.dir/sparse-swap-692391411'
[14157.119]: m2#terminate: asking to remove tap allocated for 16773
[14157.119]: m2#terminate: UML process with pid 16773 successfully terminated.
[14157.6]: About to destroy the simulated device m2
[14157.6]: (destroying the off device m2: decrementing its cables rc...)
[14157.6]: (destroying the simulated device implementing m2...)
[14157.6]: device#destroy: resuming m2 before destruction...
[14157.6]: device#destroy: shutting down m2 before destruction...
[14157.6]: device#destroy: about to terminate m2's hublets...
[14157.6]: device#terminate_hublets: terminating a device hublet process (pid 16720) of m2...
[14157.102]: process#start_thread_waiting: waitpid 16720 exited.
[14157.6]: device#terminate_hublets: ok, a hublet process (pid 16720) of m2 was terminated
[14157.6]: device#terminate_hublets: terminating a device hublet process (pid 16725) of m2...
[14157.104]: process#start_thread_waiting: waitpid 16725 exited.
[14157.6]: device#terminate_hublets: ok, a hublet process (pid 16725) of m2 was terminated
[14157.6]: device#destroy: Ok, the hublets of m2 were destroyed.
[14157.6]: We're not deadlocked yet (m2). Great.
[14157.6]: The simulated device m2 was destroyed with success
[14157.6]: About to destroy the simulated device m2
[14157.6]: (destroying the already 'no-device' device m2. Doing nothing...)
[14157.6]: The simulated device m2 was destroyed with success
[14157.6]: The simulated device m2 was destroyed with success
[14157.6]: You don't deadlock here m1, do you? -1
[14157.6]: You don't deadlock here m1, do you? 0
[14157.6]: About to destroy the simulated device m1
[14157.6]: (destroying the on/sleeping device m1. Powering it off first...)
[14157.6]: Powering off the device m1...
[14157.6]: machine_or_router#terminate_processes_private: about to terminate the internal cable processes of m1...
[14157.132]: m1#gracefully_terminate: uml_mconsole failed in sending a 'sysrq e' to m1. Trying again (loop no. 1/1)...
[14157.125]: process#start_thread_waiting: waitpid 16863 exited.
[14157.132]: m1#gracefully_terminate: uml_mconsole failed in sending a 'sysrq i' to m1. Trying again (loop no. 1/1)...
[14157.132]: m1#gracefully_terminate: uml_mconsole failed in sending a 'halt' to m1. Trying again (loop no. 1/1)...
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.132]: m1#terminate: killing whole hierarchy of pid 16886 with SIGKILL...
[14157.132]: m1#terminate: waiting pid 16886...
[14157.132]: m1#terminate: pid 16886 correctly waited. Fine.
[14157.132]: m1#terminate: removing swap file allocated for 16886
[14157.132]: Executing: rm -f '/tmp/marionnet-524268169.dir/sparse-swap-391062336'
[14157.132]: m1#delete_swap_file: deleted the swap file '/tmp/marionnet-524268169.dir/sparse-swap-391062336'
[14157.132]: m1#terminate: asking to remove tap allocated for 16886
[14157.132]: m1#terminate: UML process with pid 16886 successfully terminated.
[14157.6]: About to destroy the simulated device m1
[14157.6]: (destroying the off device m1: decrementing its cables rc...)
[14157.6]: (destroying the simulated device implementing m1...)
[14157.6]: device#destroy: resuming m1 before destruction...
[14157.6]: device#destroy: shutting down m1 before destruction...
[14157.6]: device#destroy: about to terminate m1's hublets...
[14157.6]: device#terminate_hublets: terminating a device hublet process (pid 16794) of m1...
[14157.115]: process#start_thread_waiting: waitpid 16794 exited.
[14157.6]: device#terminate_hublets: ok, a hublet process (pid 16794) of m1 was terminated
[14157.6]: device#terminate_hublets: terminating a device hublet process (pid 16830) of m1...
[14157.117]: process#start_thread_waiting: waitpid 16830 exited.
[14157.6]: device#terminate_hublets: ok, a hublet process (pid 16830) of m1 was terminated
[14157.6]: device#destroy: Ok, the hublets of m1 were destroyed.
[14157.6]: We're not deadlocked yet (m1). Great.
[14157.6]: The simulated device m1 was destroyed with success
[14157.6]: About to destroy the simulated device m1
[14157.6]: (destroying the already 'no-device' device m1. Doing nothing...)
[14157.6]: The simulated device m1 was destroyed with success
[14157.6]: The simulated device m1 was destroyed with success
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 1080, characters 13-59
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 1080, characters 13-59
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[14157.20]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54

Question information

Language:
English Edit question
Status:
Open
For:
marionnet Edit question
Assignee:
No assignee Edit question
Last query:
2018-12-06
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Michael Tagoe for more information if necessary.

To post a message you must log in.